/* 4F Phase 4 — scoped matchup analytics, mobile-first and consistent with dark theme. */
#analytics .fa-note{color:#aebdd1;font-size:13px;line-height:1.5}
#analytics .fa-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0}
#analytics .fa-field{min-width:0}
#analytics .fa-field label{display:block;font-size:12px;color:#bdd0e2;margin-bottom:7px;font-weight:800}
#analytics .fa-field select{display:block;width:100%;box-sizing:border-box;min-height:43px;background:#182a40;border:1px solid #425a75;color:#eef5fd;border-radius:10px;padding:9px;font:inherit}
#analytics .fa-matchup{border:1px solid #374b65;background:#152337;border-radius:14px;padding:14px 17px;margin:10px 0 14px;display:flex;gap:12px;align-items:center;flex-wrap:wrap}
#analytics .fa-matchup img,#analytics .fa-heading img{width:46px;height:46px;object-fit:contain;box-sizing:border-box;padding:5px;border-radius:10px;background:#fff}
#analytics .fa-matchup strong{font-size:16px;color:#f4f8ff}
#analytics .fa-matchup p{color:#b8c8db;font-size:12px;margin:3px 0 0}
#analytics .fa-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:17px}
#analytics .fa-stat{background:#19293f;border:1px solid #344a63;border-radius:12px;padding:14px}
#analytics .fa-stat small{display:block;color:#a9bdd4;font-size:11px}
#analytics .fa-stat strong{display:block;color:#f6c95f;font-size:25px;margin-top:5px;font-variant-numeric:tabular-nums}
#analytics .fa-panel{background:#142237;border:1px solid #34475f;border-radius:15px;padding:16px;margin-bottom:16px;min-width:0}
#analytics .fa-heading{display:flex;gap:12px;align-items:center;margin:0 0 9px}
#analytics .fa-heading h3{font-size:18px;color:#f1f6ff;margin:0 0 3px}
#analytics .fa-heading p{color:#b4c4d7;font-size:12px;margin:0}
#analytics .fa-chart-hint{color:#9db0c8;font-size:11px;margin:0 0 5px}
#analytics .fa-scroll{overflow-x:auto;padding:6px 2px 11px;scrollbar-color:#46617f transparent}
#analytics .fa-chart{display:flex;align-items:stretch;gap:7px;height:283px;min-width:max-content;border-bottom:1px solid #52647c}
#analytics .fa-column{width:52px;min-width:52px;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:0;min-height:0}
#analytics .fa-value{position:absolute;left:0;right:0;height:19px;color:#f3f7ff;font-size:11px;font-weight:800;font-variant-numeric:tabular-nums;display:flex;align-items:center;justify-content:center}
#analytics .fa-bar-slot{height:213px;position:relative;display:flex;align-items:flex-end;justify-content:center;width:100%}
#analytics .fa-bar{width:32px;min-height:0;border:0;border-radius:6px 6px 0 0;background:#5c94d4;cursor:pointer;transition:filter .15s;display:block;padding:0}
#analytics .fa-bar:hover{filter:brightness(1.22)}
#analytics .fa-bar[aria-pressed="true"]{background:#f6c95f}
#analytics .fa-bar:focus-visible{outline:3px solid #f6c95f;outline-offset:3px}
#analytics .fa-pa .fa-bar{background:#66b5ab}
#analytics .fa-pa .fa-bar[aria-pressed="true"]{background:#f6c95f}
#analytics .fa-week{height:22px;display:flex;align-items:center;justify-content:center;color:#b9cbe0;font-size:11px;font-weight:700}
#analytics .fa-logo-line{height:42px;display:flex;align-items:center;justify-content:center}
#analytics .fa-logo-line img{width:33px;height:33px;object-fit:contain;box-sizing:border-box;border-radius:7px;background:white;padding:3px}
#analytics .fa-logo-line span{font-size:10px;color:#aebed1}
#analytics .fa-empty{min-height:140px;display:flex;align-items:center;justify-content:center;padding:10px;color:#b1c1d4;font-size:13px;line-height:1.5;text-align:center}
#analytics .fa-details{margin-top:13px;border:1px solid #3d526d;border-radius:12px;padding:12px;background:#101e30}
#analytics .fa-details-top{display:flex;justify-content:space-between;align-items:start;gap:12px;flex-wrap:wrap;margin-bottom:10px}
#analytics .fa-details h4{color:#f6c95f;font-size:14px;margin:0}
#analytics .fa-details button{background:#233a56;color:#e0eaf7;border:1px solid #526780;border-radius:8px;padding:5px 9px;cursor:pointer}
#analytics .fa-table-wrap{overflow-x:auto}
#analytics .fa-table{border-collapse:collapse;width:100%;font-size:12px;color:#e1ebf7;white-space:nowrap}
#analytics .fa-table th,#analytics .fa-table td{padding:8px 9px;border-bottom:1px solid #2e415b;text-align:right;font-variant-numeric:tabular-nums}
#analytics .fa-table th:nth-child(-n+2),#analytics .fa-table td:nth-child(-n+2){text-align:left}
#analytics .fa-table th{color:#a9c2da;font-size:11px}
#analytics .fa-error{background:#362331;border:1px solid #935a66;color:#ffcfca;border-radius:12px;padding:15px}
@media(max-width:600px){#analytics .fa-controls{grid-template-columns:1fr}#analytics .fa-panel{padding:12px}#analytics .fa-chart{gap:5px}#analytics .fa-column{width:45px;min-width:45px}#analytics .fa-bar{width:28px}#analytics .fa-summary{gap:8px}#analytics .fa-stat{padding:10px}#analytics .fa-stat strong{font-size:21px}}

/* Phase 4 refinement: original layout retained, variable week count and 25-point ticks */
#analytics .fa-matchup{display:none!important}
#analytics .fa-team-picker{position:relative}
#analytics #fa-team-trigger{display:flex;align-items:center;gap:9px;width:100%;min-height:47px;text-align:left;background:#182a40;border:1px solid #425a75;color:#eef5fd;border-radius:10px;padding:5px 10px;font:inherit;cursor:pointer}
#analytics #fa-team-trigger img,#analytics .fa-team-option img{height:30px;width:30px;object-fit:contain;padding:3px;background:#fff;border-radius:7px;box-sizing:border-box;flex-shrink:0}
#analytics .fa-chevron{margin-left:auto;color:#bacce1}
#analytics .fa-team-options{position:absolute;z-index:20;left:0;right:0;top:calc(100% + 4px);max-height:305px;overflow-y:auto;background:#15253a;border:1px solid #4a6582;box-shadow:0 12px 25px #0008;border-radius:10px;padding:4px}
#analytics .fa-team-options[hidden]{display:none}
#analytics .fa-team-option{display:flex;align-items:center;gap:10px;width:100%;border:0;background:transparent;color:#e9f3ff;padding:5px 7px;border-radius:7px;text-align:left;cursor:pointer;font:inherit}
#analytics .fa-team-option:hover,#analytics .fa-team-option:focus-visible,#analytics .fa-team-option[aria-selected="true"]{background:#304762}
#analytics .fa-graph{width:100%;min-width:max-content}
#analytics .fa-plot-wrap{display:flex;align-items:stretch;gap:6px;min-width:100%}
#analytics .fa-y-axis{width:34px;min-width:34px;height:200px;position:relative;align-self:flex-start;margin-top:53px;border-right:1px solid #718399}
#analytics .fa-y-tick{position:absolute;left:0;right:0;height:1px;background:#718399}
#analytics .fa-y-tick span{position:absolute;right:7px;top:-7px;color:#a9c0da;font-size:10px;font-variant-numeric:tabular-nums}
#analytics .fa-chart{height:275px;min-width:0;width:100%;justify-content:space-around;gap:3px;align-items:flex-start;border-bottom:0}
#analytics .fa-column{flex:1 0 45px;width:auto;min-width:45px;justify-content:flex-start;height:275px}
#analytics .fa-bar-slot{height:200px;flex-shrink:0}
#analytics .fa-week{flex-shrink:0}
#analytics .fa-top-logo{height:53px;display:flex;justify-content:center;align-items:center;flex-shrink:0}
#analytics .fa-top-logo img{width:36px;height:36px;object-fit:contain;background:#fff;padding:3px;border-radius:8px;box-sizing:border-box}
#analytics .fa-top-logo span{font-size:11px;color:#b4c7dc}
#analytics .fa-chart:not(.fa-pa) .fa-column:before{content:'';display:block;height:53px;flex-shrink:0}
#analytics .fa-value{pointer-events:none}
@media(max-width:600px){#analytics .fa-chart{gap:2px}#analytics .fa-column{min-width:44px;flex-basis:44px}#analytics .fa-top-logo img{width:32px;height:32px}}

/* Phase 4 refinement v2: axis/grid alignment, bye labels, per-chart metrics. */
#analytics .fa-summary{display:none}
#analytics .fa-chart-layout{display:grid;grid-template-columns:minmax(0,1fr) 170px;align-items:stretch;gap:14px}
#analytics .fa-chart-main{min-width:0}
#analytics .fa-metrics{display:flex;flex-direction:column;gap:10px;justify-content:center}
#analytics .fa-metric{background:#19293f;border:1px solid #344a63;border-radius:11px;padding:12px}
#analytics .fa-metric small{display:block;color:#afc4da;font-size:11px;line-height:1.3}
#analytics .fa-metric strong{display:block;margin-top:6px;font-size:22px;line-height:1.15;color:#f6c95f;font-variant-numeric:tabular-nums}
#analytics .fa-graph{width:100%;min-width:max-content}
#analytics .fa-plot-wrap{display:flex;align-items:flex-start;gap:0;min-width:100%}
#analytics .fa-y-axis{position:relative;flex:0 0 45px;width:45px;min-width:45px;height:200px;margin:0;border:0;align-self:flex-start}
#analytics .fa-axis-tick{position:absolute;left:0;right:0;height:0;border:0}
#analytics .fa-axis-tick span{position:absolute;right:8px;top:0;transform:translateY(-50%);color:#b6c9dc;font-size:11px;line-height:14px;font-variant-numeric:tabular-nums}
#analytics .fa-plot-area{position:relative;flex:1;min-width:0}
#analytics .fa-gridlines{position:absolute;left:0;right:0;top:0;height:200px;pointer-events:none;z-index:0}
#analytics .fa-gridline{position:absolute;left:0;right:0;border-top:1px dotted rgba(174,198,222,.36);height:0}
#analytics .fa-chart{display:flex;position:relative;z-index:1;width:100%;min-width:0;height:auto;gap:3px;align-items:flex-start;justify-content:space-around;border:0}
#analytics .fa-column{height:auto;flex:1 0 46px;width:auto;min-width:46px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start}
#analytics .fa-bar-slot{height:200px;flex-shrink:0;position:relative;width:100%;display:flex;align-items:flex-end;justify-content:center}
#analytics .fa-value{position:absolute;left:0;right:0;height:17px;font-size:11px;line-height:17px;display:flex;align-items:center;justify-content:center;white-space:nowrap;pointer-events:none;text-shadow:0 1px 3px #101e30}
#analytics .fa-bye{color:#f6c95f;font-weight:800}
#analytics .fa-week{height:22px;flex-shrink:0;display:flex;align-items:center;justify-content:center}
#analytics .fa-logo-line{height:43px;flex-shrink:0;display:flex;justify-content:center;align-items:center}
#analytics .fa-logo-line img{width:34px;height:34px;object-fit:contain;background:#fff;border-radius:7px;padding:3px;box-sizing:border-box}
#analytics .fa-pa .fa-logo-line{margin:0}
#analytics .fa-top-logo{display:none}
#analytics .fa-chart:not(.fa-pa) .fa-column:before{display:none}
@media(max-width:800px){#analytics .fa-chart-layout{grid-template-columns:1fr}#analytics .fa-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}#analytics .fa-metric{padding:9px}#analytics .fa-metric strong{font-size:18px}}
@media(max-width:440px){#analytics .fa-metric small{font-size:10px}#analytics .fa-metric strong{font-size:16px}#analytics .fa-column{min-width:44px;flex-basis:44px}}


/* Historical franchise projections vs. actuals — Points For only. */
#analytics .fa-pf-legend{display:flex;flex-wrap:wrap;align-items:center;gap:15px;margin:2px 0 6px;color:#eaf6ff;font-size:12px;font-weight:700}
#analytics .fa-pf-legend span{display:inline-flex;align-items:center;gap:6px}
#analytics .fa-legend-swatch{display:inline-block;width:12px;height:12px;border-radius:3px}
#analytics .fa-legend-projected{background:#b964ff}
#analytics .fa-legend-actual{background:#14e0c5}
#analytics .fa-pf .fa-column{min-width:80px;flex:1 0 80px}
#analytics .fa-pf .fa-bar-slot{overflow:visible}
#analytics .fa-pair{height:200px;width:100%;display:flex;align-items:flex-end;justify-content:center;gap:4px}
#analytics .fa-pair-item{height:200px;position:relative;flex:1 1 0;min-width:0;display:flex;align-items:flex-end;justify-content:center}
#analytics .fa-pair-item .fa-bar,#analytics .fa-pair-item .fa-projection-bar{width:min(25px,100%);border-radius:5px 5px 0 0;flex-shrink:0}
#analytics .fa-pair-item .fa-bar{background:#14e0c5}
#analytics .fa-pair-item .fa-bar:hover{filter:brightness(1.2)}
#analytics .fa-pair-item .fa-bar[aria-pressed="true"]{background:#f6c95f}
#analytics .fa-pair-item .fa-projection-bar{background:#b964ff}
#analytics .fa-pair-value{position:absolute;left:0;right:0;text-align:center;font-size:10px;font-weight:800;white-space:nowrap;line-height:13px;text-shadow:0 1px 3px #101e30;pointer-events:none;font-variant-numeric:tabular-nums}
#analytics .fa-pair-proj-value{color:#e1b9ff}
#analytics .fa-pair-actual-value{color:#bdfff2}
#analytics .fa-pair-bye{height:200px;width:100%;display:flex;justify-content:center;align-items:flex-end;padding-bottom:5px;box-sizing:border-box;color:#f6c95f;font-size:11px;font-weight:800}
@media(max-width:600px){#analytics .fa-pf .fa-column{min-width:80px;flex-basis:80px}#analytics .fa-pair-value{font-size:9px}}

/* Phase 10 — Analytics branding and grouped-bar readability. */
/* The shared masthead displays the shield; retain the semantic page title for screen readers. */
#analytics #analytics-title {
  position:absolute!important; width:1px!important; height:1px!important;
  padding:0!important; margin:-1px!important; overflow:hidden!important;
  clip:rect(0,0,0,0)!important; white-space:nowrap!important;
  border:0!important;
}
/* Give each week its own distinct slot; keep projected and actual tightly paired. */
#analytics .fa-chart.fa-pf { gap:16px; justify-content:flex-start; }
#analytics .fa-chart.fa-pf .fa-column { flex:1 0 96px; min-width:96px; }
#analytics .fa-chart.fa-pf .fa-pair { width:78px; max-width:100%; gap:2px; }
#analytics .fa-chart.fa-pf .fa-pair-item { flex:1 1 0; }
#analytics .fa-chart.fa-pf .fa-pair-item .fa-bar,
#analytics .fa-chart.fa-pf .fa-pair-item .fa-projection-bar {
  width:28px; max-width:100%;
}
#analytics .fa-pf-legend { justify-content:center; margin:13px 0 3px; gap:22px; }
/* Match Points Against to the actual-bar teal used in Points For. */
#analytics .fa-chart.fa-pa .fa-bar { background:#14e0c5; }
#analytics .fa-chart.fa-pa .fa-bar:hover { filter:brightness(1.2); }
#analytics .fa-chart.fa-pa .fa-bar[aria-pressed="true"] { background:#f6c95f; }
@media(max-width:600px) {
  #analytics .fa-chart.fa-pf { gap:12px; }
  #analytics .fa-chart.fa-pf .fa-column { flex:1 0 92px; min-width:92px; }
  #analytics .fa-chart.fa-pf .fa-pair { width:76px; }
}


/* Analytics sections and refined graph summaries. */
#analytics .fa-subnav {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin:16px 0 12px;
}
#analytics .fa-subnav-button {
  min-height:55px;
  min-width:0;
  padding:10px 12px;
  border:1.5px solid #14e0c5;
  border-radius:10px;
  background:linear-gradient(135deg,#5d10a5,#310b63 65%,#1a1038);
  color:white;
  font-size:14px; font-weight:600; line-height:1.25;
  font-family:inherit;
  cursor:pointer;
  box-shadow:0 5px 15px #0004;
}
#analytics .fa-subnav-button[aria-pressed="true"] {
  background:linear-gradient(135deg,#7a00ff,#4a0a91);
  box-shadow:0 0 14px #14e0c54d;
}
#analytics .fa-subnav-button:hover {filter:brightness(1.15)}
#analytics .fa-subnav-button:focus-visible {outline:3px solid white;outline-offset:3px}
#analytics .fa-intro {
  background:#251044;
  border:1px solid #14e0c5;
  border-radius:12px;
  color:#fff;
  padding:17px 20px;
  font-size:14px;
  line-height:1.65;
  margin-bottom:19px;
}
#analytics .fa-coming-soon {text-align:center;padding:32px 18px}
#analytics .fa-coming-soon h3 {color:#14e0c5;margin:0 0 10px}
#analytics .fa-coming-soon p {color:#fff;margin:0}
/* A logo underneath each week, in both charts. */
#analytics .fa-chart.fa-pf .fa-logo-line {height:43px}
/* Averages: center descriptions and figures inside each card. */
#analytics .fa-metric {display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:66px}
#analytics .fa-metric small,#analytics .fa-metric strong {color:#fff}
/* Bye labels are white in Points For and Points Against. */
#analytics .fa-pair-bye,#analytics .fa-bye {color:#fff}
@media(max-width:600px) {
  #analytics .fa-subnav {gap:6px}
  #analytics .fa-subnav-button {min-height:57px;padding:8px 5px;font-size:11px}
  #analytics .fa-intro {padding:13px 14px;font-size:13px}
}

/* Phase 10: Analytics guidance above section tabs. */
#analytics .fa-intro { margin: 16px 0 12px; }
#analytics .fa-intro p { margin: 0 0 9px; }
#analytics .fa-intro ul { margin: 0; padding-left: 22px; }
#analytics .fa-intro li { margin: 5px 0; }
#analytics .fa-intro li strong { color: #fff; font-weight: 750; }
#analytics .fa-subnav { margin-top: 0; }


/* Team Analytics — compact, sorted franchise comparison. */
#analytics .fa-team-view {margin:8px 0 22px}
#analytics .fa-team-week-field {width:min(100%,380px);margin:0 0 18px}
#analytics .fa-team-list-head {margin:0 0 12px}
#analytics .fa-team-list-head h3 {color:#fff;font-size:20px;margin:0 0 6px}
#analytics .fa-team-list-head p,#analytics .fa-team-footnote {color:#d0c1e4;font-size:12px;line-height:1.5;margin:0 0 8px}
#analytics .fa-team-list {display:flex;flex-direction:column;gap:9px}
#analytics .fa-team-row {
  display:grid;grid-template-columns:30px minmax(150px,1.25fr) minmax(220px,1.65fr) minmax(105px,.7fr) 112px;
  align-items:center;gap:12px;padding:12px 13px;
  background:linear-gradient(115deg,#321253,#1b1037);
  border:1px solid #14e0c5;border-radius:12px;color:white;
}
#analytics .fa-team-rank {font-weight:800;color:#a7f5e9;text-align:center;font-variant-numeric:tabular-nums}
#analytics .fa-team-identity {display:flex;align-items:center;gap:10px;min-width:0;font-size:14px}
#analytics .fa-team-identity strong {line-height:1.3}
#analytics .fa-team-identity img {height:46px;width:46px;flex-shrink:0;object-fit:contain;box-sizing:border-box;background:white;padding:5px;border-radius:9px}
#analytics .fa-team-fixture {display:flex;flex-direction:column;gap:6px;min-width:0}
#analytics .fa-fixture-detail {display:flex;align-items:center;flex-wrap:wrap;gap:7px;font-size:13px;line-height:1.4}
#analytics .fa-fixture-detail img {height:29px;width:29px;object-fit:contain;box-sizing:border-box;background:white;padding:3px;border-radius:6px}
#analytics .fa-team-fixture small {font-size:12px;color:#dacded;line-height:1.3}
#analytics .fa-team-points {display:flex;flex-direction:column;align-items:center;gap:2px;text-align:center;font-variant-numeric:tabular-nums}
#analytics .fa-team-points strong {font-size:23px;color:#14e0c5}
#analytics .fa-team-points small {font-size:11px;color:#ebdff9}
#analytics .fa-used-button {min-height:42px;padding:9px;border-radius:9px;border:1.5px solid #14e0c5;background:#3c1969;color:white;font:600 12px inherit;cursor:pointer;font-family:inherit;font-weight:700}
#analytics .fa-used-button:hover {background:#592393}
#analytics .fa-used-button[aria-pressed="true"] {background:#087b75;color:white;border-color:#6bffe2}
#analytics .fa-used-button:focus-visible {outline:3px solid white;outline-offset:2px}
#analytics .fa-team-used {border-color:#766a83;background:#211b32}
#analytics .fa-team-used .fa-team-identity,#analytics .fa-team-used .fa-team-fixture {opacity:.70}
#analytics .fa-team-used .fa-team-rank {color:#b9b2c6}
#analytics .fa-team-footnote {margin-top:12px}
@media(max-width:900px){
  #analytics .fa-team-row {grid-template-columns:23px minmax(130px,1.1fr) minmax(150px,1.4fr) 100px;gap:8px}
  #analytics .fa-used-button {grid-column:4;grid-row:2;min-height:32px;padding:5px}
  #analytics .fa-team-points {grid-column:4;grid-row:1}
  #analytics .fa-team-identity img {width:39px;height:39px}
}
@media(max-width:600px){
  #analytics .fa-team-row {grid-template-columns:22px minmax(0,1fr) 103px;gap:8px;padding:10px}
  #analytics .fa-team-rank {grid-column:1;grid-row:1}
  #analytics .fa-team-identity {grid-column:2;grid-row:1;font-size:13px}
  #analytics .fa-team-fixture {grid-column:2;grid-row:2}
  #analytics .fa-team-points {grid-column:3;grid-row:1}
  #analytics .fa-used-button {grid-column:3;grid-row:2}
  #analytics .fa-team-points strong {font-size:19px}
  #analytics .fa-team-points small {font-size:10px}
  #analytics .fa-team-fixture small {font-size:11px}
}


/* Advanced Analytics: defensive matchup rankings. */
#analytics .fa-defense-view{margin:10px 0 24px}
#analytics .fa-defense-controls{display:grid;grid-template-columns:repeat(2,minmax(0,320px));gap:12px;margin:8px 0 18px}
#analytics .fa-defense-note{color:#e4d9f2;background:#251044;border:1px solid #625183;border-radius:10px;padding:11px 14px;margin:0 0 15px;font-size:12px;line-height:1.55}
#analytics .fa-defense-list{display:flex;flex-direction:column;gap:8px}
#analytics .fa-defense-row{background:linear-gradient(115deg,#321253,#1b1037);border:1px solid #14e0c5;border-radius:12px;color:white;overflow:hidden}
#analytics .fa-defense-primary{display:grid;grid-template-columns:30px minmax(170px,1fr) 72px repeat(3,minmax(90px,112px));gap:10px;align-items:center;padding:10px 14px}
#analytics .fa-defense-rank{color:#a7f5e9;font-weight:800;text-align:center;font-variant-numeric:tabular-nums}
#analytics .fa-defense-name{display:flex;align-items:center;gap:10px;min-width:0;font-size:14px}
#analytics .fa-defense-name img{width:43px;height:43px;flex-shrink:0;object-fit:contain;background:white;border-radius:9px;padding:5px;box-sizing:border-box}
#analytics .fa-defense-count{text-align:center;font-size:12px;color:#d3c6e5}
#analytics .fa-defense-score{text-align:center;display:flex;flex-direction:column;gap:4px;font-variant-numeric:tabular-nums}
#analytics .fa-defense-score strong{color:#14e0c5;font-size:19px}
#analytics .fa-defense-score small{color:#e6daef;font-size:11px}
#analytics .fa-defense-details{border-top:1px solid #443360;padding:0 15px}
#analytics .fa-defense-details summary{cursor:pointer;color:#e8dafa;font-size:12px;font-weight:700;padding:10px 0;list-style-position:inside}
#analytics .fa-defense-details summary:focus-visible{outline:2px solid #14e0c5}
#analytics .fa-defense-history{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:6px;padding:0 0 12px}
#analytics .fa-defense-history>div{display:flex;gap:10px;align-items:center;padding:7px 9px;background:#180e2b;border-radius:7px;font-size:12px}
#analytics .fa-defense-history>div>span:first-child{color:#a7f5e9;font-weight:800}
#analytics .fa-defense-history-opponent{display:flex;align-items:center;gap:6px;flex:1;min-width:0}
#analytics .fa-defense-history-opponent img{width:25px;height:25px;object-fit:contain;background:white;border-radius:5px;padding:2px;box-sizing:border-box}
#analytics .fa-defense-history strong{font-variant-numeric:tabular-nums}
@media(max-width:740px){
 #analytics .fa-defense-primary{grid-template-columns:25px minmax(0,1fr) repeat(3,minmax(60px,75px));gap:5px;padding:10px}
 #analytics .fa-defense-count{display:none}
 #analytics .fa-defense-name{font-size:12px;gap:6px}
 #analytics .fa-defense-name img{width:34px;height:34px}
 #analytics .fa-defense-score strong{font-size:15px}
 #analytics .fa-defense-score small{font-size:9px}
}
@media(max-width:460px){
 #analytics .fa-defense-controls{grid-template-columns:1fr}
 #analytics .fa-defense-primary{grid-template-columns:24px minmax(0,1fr) 75px 75px;row-gap:9px}
 #analytics .fa-defense-name{grid-column:2/5}
 #analytics .fa-defense-score:nth-last-child(3){grid-column:2;grid-row:2}
 #analytics .fa-defense-score:nth-last-child(2){grid-column:3;grid-row:2}
 #analytics .fa-defense-score:nth-last-child(1){grid-column:4;grid-row:2}
}


/* Advanced Analytics: four individually collapsible purple section panels. */
#analytics .fa-advanced-sections{display:flex;flex-direction:column;gap:13px;margin:16px 0 28px}
#analytics .fa-advanced-panel{border:1px solid #14e0c5;border-radius:13px;background:linear-gradient(120deg,#321253,#1b1037);color:#fff;overflow:hidden}
#analytics .fa-advanced-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;cursor:pointer;padding:18px 20px;font-weight:800;font-size:18px;list-style:none}
#analytics .fa-advanced-heading::-webkit-details-marker{display:none}
#analytics .fa-advanced-heading::marker{content:''}
#analytics .fa-advanced-heading:hover{background:rgba(109,44,180,.25)}
#analytics .fa-advanced-heading:focus-visible{outline:3px solid #14e0c5;outline-offset:-3px}
#analytics .fa-advanced-chevron{color:#14e0c5;font-size:26px;line-height:1;transition:transform .15s}
#analytics .fa-advanced-panel[open] .fa-advanced-chevron{transform:rotate(180deg)}
#analytics .fa-advanced-body{padding:0 18px 19px;border-top:1px solid rgba(20,224,197,.3)}
#analytics .fa-advanced-placeholder{margin:18px 0 0;color:#dfd2ef;font-size:13px;line-height:1.6}
#analytics .fa-advanced-description{margin:0 0 13px;color:#e4d9f2;font-size:13px;line-height:1.5}
#analytics .fa-advanced-body .fa-defense-view{margin:16px 0 0}
#analytics .fa-advanced-body .fa-defense-controls{grid-template-columns:minmax(0,320px);margin:0 0 15px}
@media(max-width:600px){#analytics .fa-advanced-heading{padding:15px;font-size:16px}#analytics .fa-advanced-body{padding:0 11px 14px}}


/* Advanced Analytics — Franchise Consistency */
#analytics .fa-consistency-view{margin:16px 0 0}
#analytics .fa-consistency-controls{margin:0 0 14px;max-width:380px}
#analytics .fa-consistency-list{display:flex;flex-direction:column;gap:8px}
#analytics .fa-consistency-row{background:linear-gradient(115deg,#321253,#1b1037);border:1px solid #14e0c5;border-radius:12px;color:#fff;overflow:hidden}
#analytics .fa-consistency-primary{display:grid;grid-template-columns:28px minmax(150px,1.5fr) repeat(5,minmax(72px,1fr));align-items:center;gap:8px;padding:12px}
#analytics .fa-consistency-rank{text-align:center;color:#a7f5e9;font-weight:800;font-variant-numeric:tabular-nums}
#analytics .fa-consistency-name{display:flex;align-items:center;gap:9px;min-width:0;font-size:13px;line-height:1.3;flex-wrap:wrap}
#analytics .fa-consistency-name img{height:40px;width:40px;object-fit:contain;background:white;border-radius:8px;padding:4px;box-sizing:border-box;flex-shrink:0}
#analytics .fa-consistency-name strong{flex:1;min-width:80px}
#analytics .fa-consistency-name small{font-size:10px;color:#d5c8e5;flex-basis:100%;padding-left:49px;margin-top:-6px}
#analytics .fa-consistency-score{display:flex;flex-direction:column;gap:5px;text-align:center;align-items:center;font-variant-numeric:tabular-nums}
#analytics .fa-consistency-score strong{font-size:17px;color:#14e0c5;white-space:nowrap}
#analytics .fa-consistency-score small{font-size:10px;color:#e6daef;white-space:nowrap}
#analytics .fa-consistency-details{border-top:1px solid #443360;padding:0 14px}
#analytics .fa-consistency-details summary{cursor:pointer;color:#e8dafa;font-size:12px;font-weight:700;padding:10px 0}
#analytics .fa-consistency-details summary:focus-visible{outline:2px solid #14e0c5}
#analytics .fa-consistency-history{display:grid;grid-template-columns:repeat(auto-fill,minmax(225px,1fr));gap:6px;padding:0 0 12px}
#analytics .fa-consistency-history>div{display:flex;gap:9px;align-items:center;padding:7px 9px;background:#180e2b;border-radius:7px;font-size:12px}
#analytics .fa-consistency-history>div>span:first-child{color:#a7f5e9;font-weight:800}
#analytics .fa-consistency-opponent{display:flex;gap:6px;align-items:center;min-width:0;flex:1}
#analytics .fa-consistency-opponent img{width:25px;height:25px;object-fit:contain;background:white;border-radius:5px;padding:2px;box-sizing:border-box}
#analytics .fa-consistency-history strong{font-variant-numeric:tabular-nums}
@media(max-width:900px){
 #analytics .fa-consistency-list{overflow-x:auto}
 #analytics .fa-consistency-row{min-width:690px}
 #analytics .fa-consistency-primary{grid-template-columns:26px minmax(145px,1.5fr) repeat(5,minmax(72px,1fr));gap:5px}
 #analytics .fa-consistency-score strong{font-size:15px}
}

/* Advanced Analytics subtitles under section names */
#analytics .fa-advanced-title-wrap{display:flex;flex-direction:column;gap:5px;min-width:0}
#analytics .fa-advanced-title-wrap strong{font-size:18px;color:#fff;line-height:1.3}
#analytics .fa-advanced-title-wrap small{font-size:12px;color:#d8c6ef;font-weight:500;line-height:1.5}
#analytics .fa-advanced-chevron{flex-shrink:0}

/* Franchise jump picker and scoring-distribution details */
#analytics .fa-consistency-controls{max-width:none;display:grid;grid-template-columns:repeat(2,minmax(0,320px));gap:12px}
#analytics .fa-consistency-highlight{border-color:#f6c95f;box-shadow:0 0 0 1px rgba(246,201,95,.4)}
#analytics .fa-dist-wrap{padding:14px 13px;margin:0 0 14px;background:#130c28;border:1px solid #46305f;border-radius:11px}
#analytics .fa-dist-wrap h4,#analytics .fa-consistency-history-title{font-size:13px;color:#fff;font-weight:800;margin:0 0 10px}
#analytics .fa-dist-scroll{overflow-x:auto;scrollbar-color:#5b467b transparent}
#analytics .fa-dist-chart{display:block;width:100%;min-width:510px;height:auto;overflow:visible}
#analytics .fa-dist-track{fill:#1c1530}
#analytics .fa-sigma-3{fill:#593f73;opacity:.49}
#analytics .fa-sigma-2{fill:#8354a5;opacity:.57}
#analytics .fa-sigma-1{fill:#b55df0;opacity:.7}
#analytics .fa-dist-axis,#analytics .fa-dist-tick{stroke:#c3b4d6;stroke-width:1.5}
#analytics .fa-dist-tick-text{fill:#e8dbf7;font-size:12px;font-weight:600}
#analytics .fa-dist-dot{fill:#14e0c5;stroke:#072b2c;stroke-width:1.8}
#analytics .fa-dist-count{fill:#082a29;font-size:10px;font-weight:900;pointer-events:none}
#analytics .fa-mean-marker{fill:#ffc765;stroke:#2b1a31;stroke-width:1.5}
#analytics .fa-median-marker{fill:#fff;stroke:#36234b;stroke-width:1.5}
#analytics .fa-dist-legend{display:flex;gap:12px;flex-wrap:wrap;margin:7px 0 12px;font-size:11px;color:#ecdefa}
#analytics .fa-dist-legend>span{display:flex;gap:6px;align-items:center}
#analytics .fa-dist-key{display:inline-block;flex:0 0 auto}
#analytics .fa-dist-key-dot{width:12px;height:12px;border-radius:50%;background:#14e0c5}
#analytics .fa-dist-key-mean{width:0;height:0;border-left:7px solid transparent;border-right:7px solid transparent;border-top:12px solid #ffc765}
#analytics .fa-dist-key-median{color:#fff;font-size:17px;line-height:13px;font-style:normal}
#analytics .fa-dist-caption{color:#d4c4e7;font-size:11px;line-height:1.7;margin:0}
#analytics .fa-dist-swatch{display:inline-block;width:15px;height:10px;margin:0 3px 0 9px;vertical-align:middle;border-radius:2px}
#analytics .fa-dist-swatch-1{background:#b55df0}
#analytics .fa-dist-swatch-2{background:#8354a5}
#analytics .fa-dist-swatch-3{background:#593f73}
#analytics .fa-dist-warning{font-size:11px;color:#f6c95f;margin:9px 0 0}
#analytics .fa-consistency-history-title{margin:5px 0 10px}
@media(max-width:650px){
  #analytics .fa-advanced-title-wrap strong{font-size:16px}
  #analytics .fa-advanced-title-wrap small{font-size:11px}
  #analytics .fa-consistency-controls{grid-template-columns:1fr}
  #analytics .fa-dist-wrap{padding:10px}
}

/* Franchise Consistency distribution: reference lines, grouped bubbles and two-tier legend. */
#analytics .fa-dist-average-line,
#analytics .fa-dist-median-line { stroke:#14e0c5; stroke-width:2.8; fill:none; pointer-events:stroke; }
#analytics .fa-dist-average-line {stroke-dasharray:10 5}
#analytics .fa-dist-median-line {stroke-dasharray:2 5;stroke-linecap:round}
#analytics .fa-dist-dot:focus-visible {outline:none;stroke:#fff;stroke-width:3}
#analytics .fa-dist-legend {margin:12px 0 10px;gap:12px 22px;align-items:center}
#analytics .fa-dist-key-average-line,#analytics .fa-dist-key-median-line {width:29px;height:0;border-top:3px solid #14e0c5}
#analytics .fa-dist-key-average-line {border-top-style:dashed}
#analytics .fa-dist-key-median-line {border-top-style:dotted}
#analytics .fa-dist-sigma-legend {border-top:1px solid #46305f;padding-top:10px;color:#ecdefa;font-size:11px}
#analytics .fa-dist-sigma-legend strong {display:block;color:#fff;margin-bottom:9px;font-size:12px}
#analytics .fa-dist-sigma-items {display:flex;align-items:center;gap:10px 22px;flex-wrap:wrap}
#analytics .fa-dist-sigma-items span {display:inline-flex;gap:7px;align-items:center}
#analytics .fa-dist-sigma-items .fa-dist-swatch {margin:0;width:17px;height:11px;flex-shrink:0}

/* Advanced Analytics — Projection Accuracy */
#analytics .fa-accuracy-view{margin:17px 0 3px;color:#fff}
#analytics .fa-accuracy-view h3{margin:19px 0 10px;font-size:17px;color:#fff}
#analytics .fa-accuracy-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:12px 0}
#analytics .fa-accuracy-summary>div{background:#251044;border:1px solid #5a3c7e;border-radius:10px;padding:13px 9px;text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px}
#analytics .fa-accuracy-summary small{font-size:11px;color:#e5d6f4;line-height:1.4}
#analytics .fa-accuracy-summary strong{font-size:23px;color:#14e0c5;font-variant-numeric:tabular-nums}
#analytics .fa-accuracy-context{color:#e0d3f0;font-size:12px;margin:8px 0 15px}
#analytics .fa-accuracy-section{background:#190f30;border:1px solid #4d326d;border-radius:11px;padding:14px;margin:17px 0}
#analytics .fa-accuracy-section h3{margin:2px 0 6px}
#analytics .fa-accuracy-section>p{font-size:12px;color:#d9c7ed;line-height:1.5;margin:0 0 12px}
#analytics .fa-accuracy-scroll{overflow-x:auto;scrollbar-color:#66478d transparent}
#analytics .fa-accuracy-svg{display:block;width:100%;min-width:620px;height:auto;overflow:visible}
#analytics .fa-accuracy-axis-label{fill:#e8ddf4;font-size:12px}
#analytics .fa-accuracy-grid{stroke:#725b8f;stroke-width:1;stroke-dasharray:3 5;opacity:.55}
#analytics .fa-accuracy-zero{stroke:#14e0c5;stroke-width:2;stroke-dasharray:8 5}
#analytics .fa-accuracy-positive{fill:#14e0c5;stroke:#052b29;stroke-width:1.3}
#analytics .fa-accuracy-negative{fill:#c484ff;stroke:#372047;stroke-width:1.3}
#analytics .fa-accuracy-svg circle:focus-visible{stroke:#fff;stroke-width:3;outline:none}
#analytics .fa-accuracy-mae-line{stroke:#14e0c5;stroke-width:3;stroke-linejoin:round;stroke-linecap:round}
#analytics .fa-accuracy-rmse-line{stroke:#bf7cff;stroke-width:3;stroke-linejoin:round;stroke-linecap:round}
#analytics .fa-accuracy-mae-dot{fill:#14e0c5}
#analytics .fa-accuracy-rmse-dot{fill:#bf7cff}
#analytics .fa-accuracy-legend{display:flex;gap:20px;flex-wrap:wrap;justify-content:center;margin:12px 0 3px;color:#e8dafa;font-size:12px}
#analytics .fa-accuracy-legend span{display:flex;align-items:center;gap:7px}
#analytics .fa-accuracy-key{width:16px;height:7px;display:inline-block;border-radius:4px;background:#14e0c5}
#analytics .fa-accuracy-key-minus,#analytics .fa-accuracy-key-rmse{background:#bf7cff}
#analytics .fa-accuracy-key-zero{height:0;background:transparent;border-top:2px dashed #14e0c5;border-radius:0}
#analytics .fa-accuracy-sort{max-width:340px;margin:10px 0 15px}
#analytics .fa-accuracy-team-list{display:flex;flex-direction:column;gap:8px}
#analytics .fa-accuracy-team-row{background:linear-gradient(110deg,#321253,#1b1037);border:1px solid #14e0c5;border-radius:11px;overflow:hidden}
#analytics .fa-accuracy-team-primary{display:grid;grid-template-columns:26px minmax(135px,1.6fr) repeat(5,minmax(65px,1fr));gap:6px;align-items:center;padding:10px}
#analytics .fa-accuracy-rank{color:#a7f5e9;text-align:center;font-weight:800}
#analytics .fa-accuracy-identity{display:flex;align-items:center;gap:8px;min-width:0;font-size:12px}
#analytics .fa-accuracy-identity img{width:36px;height:36px;object-fit:contain;border-radius:7px;background:#fff;padding:3px;box-sizing:border-box;flex-shrink:0}
#analytics .fa-accuracy-team-metric{display:flex;align-items:center;flex-direction:column;gap:5px;text-align:center}
#analytics .fa-accuracy-team-metric strong{color:#14e0c5;font-size:15px;font-variant-numeric:tabular-nums;white-space:nowrap}
#analytics .fa-accuracy-team-metric small{color:#e4d8f2;font-size:10px;text-align:center}
#analytics .fa-accuracy-team-details{border-top:1px solid #4e386c;padding:0 13px}
#analytics .fa-accuracy-team-details summary{cursor:pointer;color:#f2e8ff;font-weight:700;font-size:12px;padding:11px 0}
#analytics .fa-accuracy-history{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:7px;padding:0 0 12px}
#analytics .fa-accuracy-history>div{display:flex;flex-wrap:wrap;gap:7px 12px;align-items:center;background:#160d29;border-radius:7px;padding:9px;font-size:11px}
#analytics .fa-accuracy-history>div>strong{color:#a7f5e9}
#analytics .fa-accuracy-history small{flex-basis:100%;color:#c8b9db}
@media(max-width:860px){#analytics .fa-accuracy-summary{grid-template-columns:repeat(2,minmax(0,1fr))}#analytics .fa-accuracy-team-list{overflow-x:auto}#analytics .fa-accuracy-team-row{min-width:725px}}
@media(max-width:480px){#analytics .fa-accuracy-section{padding:10px}#analytics .fa-accuracy-summary strong{font-size:19px}}

/* Projection Error Distribution — taller, dual-mode chart with 25-point ticks. */
#analytics .fa-accuracy-zero{stroke:#d2ccd9;stroke-width:2;stroke-dasharray:8 5;opacity:.72}
#analytics .fa-accuracy-key-zero{border-top-color:#d2ccd9;opacity:.82}
#analytics .fa-accuracy-chart-top{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 14px}
#analytics .fa-accuracy-chart-top p{flex:1;margin:0;color:#d9c7ed;font-size:12px;line-height:1.5}
#analytics .fa-accuracy-view-toggle{display:flex;align-items:stretch;gap:0;flex-shrink:0;border:1px solid #14e0c5;border-radius:9px;overflow:hidden;background:#251044}
#analytics .fa-accuracy-view-toggle button{font-family:inherit;font-size:12px;font-weight:700;min-height:36px;padding:7px 12px;border:0;background:transparent;color:#e9def7;cursor:pointer}
#analytics .fa-accuracy-view-toggle button+button{border-left:1px solid #52617a}
#analytics .fa-accuracy-view-toggle button[aria-pressed="true"]{background:#5b1ba0;color:#fff}
#analytics .fa-accuracy-view-toggle button:hover{filter:brightness(1.24)}
#analytics .fa-accuracy-view-toggle button:focus-visible{outline:2px solid #fff;outline-offset:-3px}
#analytics .fa-accuracy-error-svg{min-width:720px}
#analytics .fa-accuracy-bar-plus{fill:#14e0c5;stroke:#073736;stroke-width:.5}
#analytics .fa-accuracy-bar-minus{fill:#bf7cff;stroke:#3b2051;stroke-width:.5}
#analytics .fa-accuracy-bar-plus:hover,#analytics .fa-accuracy-bar-minus:hover{filter:brightness(1.3)}
#analytics .fa-accuracy-bar-plus:focus-visible,#analytics .fa-accuracy-bar-minus:focus-visible{stroke:#fff;stroke-width:2;outline:none}
@media(max-width:590px){#analytics .fa-accuracy-chart-top{align-items:flex-start;flex-wrap:wrap}#analytics .fa-accuracy-view-toggle{margin-left:auto}#analytics .fa-accuracy-view-toggle button{padding:7px 10px}}

/* Projection Accuracy: four compact weekly cards per row within Details. */
#analytics .fa-accuracy-history{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
#analytics .fa-accuracy-history>.fa-accuracy-history-card{
  display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;
  gap:10px;min-width:0;padding:11px 9px;background:#160d29;border-radius:8px;
  font-size:11px;font-variant-numeric:tabular-nums
}
#analytics .fa-accuracy-history-week{color:#a7f5e9;text-align:left;white-space:nowrap;font-size:13px}
#analytics .fa-accuracy-history-scores{display:flex;flex-direction:column;gap:6px;min-width:0;white-space:nowrap;color:#e8ddf4}
#analytics .fa-accuracy-history-error{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:49px;text-align:center;color:#14e0c5;font-size:13px;font-weight:800;white-space:nowrap}
#analytics .fa-accuracy-history-error small{flex-basis:auto;color:#c8b9db;font-size:10px;font-weight:500}
@media(max-width:1180px){#analytics .fa-accuracy-history{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){#analytics .fa-accuracy-history{grid-template-columns:minmax(0,1fr)}}

/* Projection Accuracy definitions, collapsible groups, and 8-franchise pagination. */
#analytics .fa-accuracy-definitions{margin:14px 0 19px;padding:15px 20px 15px 35px;background:#251044;border:1px solid #5a3c7e;border-radius:11px;color:#eee4fa;font-size:13px;line-height:1.55}
#analytics .fa-accuracy-definitions li{margin:6px 0}
#analytics .fa-accuracy-definitions strong{color:#fff}
#analytics details.fa-accuracy-section{padding:0;overflow:hidden}
#analytics .fa-accuracy-section-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;cursor:pointer;padding:14px 16px;color:#fff;font-size:17px;font-weight:800;list-style:none}
#analytics .fa-accuracy-section-heading::-webkit-details-marker{display:none}
#analytics .fa-accuracy-section-heading::marker{content:''}
#analytics .fa-accuracy-section-heading:hover{background:#302047}
#analytics .fa-accuracy-section-heading:focus-visible{outline:2px solid #14e0c5;outline-offset:-2px}
#analytics .fa-accuracy-section-chevron{font-size:23px;color:#14e0c5;transition:transform .15s}
#analytics details.fa-accuracy-section:not([open]) .fa-accuracy-section-chevron{transform:rotate(-90deg)}
#analytics .fa-accuracy-section-body{padding:0 14px 15px}
#analytics .fa-accuracy-section-body>p{font-size:12px;color:#d9c7ed;line-height:1.5;margin:0 0 12px}
#analytics .fa-accuracy-ranking-controls{display:grid;grid-template-columns:repeat(2,minmax(0,300px));gap:12px;margin:12px 0 16px}
#analytics .fa-accuracy-pagination{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-top:16px;color:#e2d5ef;font-size:12px}
#analytics .fa-accuracy-pages{display:flex;gap:6px;align-items:center}
#analytics .fa-accuracy-pages button{min-width:34px;height:34px;padding:3px 9px;color:white;background:#321253;border:1px solid #7452a0;border-radius:7px;font:700 12px inherit;font-family:inherit;cursor:pointer}
#analytics .fa-accuracy-pages button[aria-current="page"]{background:#087b75;border-color:#14e0c5}
#analytics .fa-accuracy-pages button:disabled{opacity:.35;cursor:not-allowed}
#analytics .fa-accuracy-pages button:focus-visible{outline:2px solid white;outline-offset:2px}
@media(max-width:600px){#analytics .fa-accuracy-ranking-controls{grid-template-columns:1fr}#analytics .fa-accuracy-section-heading{padding:12px;font-size:15px}#analytics .fa-accuracy-section-body{padding:0 9px 12px}}

/* Season-to-date ranking refinements: clear definitions, independent sorting,
   and eight-franchise pagination without changing the existing row cards. */
#analytics .fa-consistency-definitions{
  margin:14px 0 19px;
  padding:15px 20px 15px 35px;
  background:#251044;
  border:1px solid #5a3c7e;
  border-radius:11px;
  color:#eee4fa;
  font-size:13px;
  line-height:1.55;
}
#analytics .fa-consistency-definitions li{margin:6px 0}
#analytics .fa-consistency-definitions strong{color:#fff}
#analytics .fa-consistency-controls{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,320px));
  gap:12px;
  max-width:none;
  margin:0 0 16px;
}
#analytics .fa-advanced-body .fa-defense-controls{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,320px));
  gap:12px;
  margin:0 0 16px;
}
#analytics .fa-consistency-pagination,#analytics .fa-defense-pagination{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:10px;
  padding:14px 0 3px;
  font-size:12px;
  color:#e2d5ef;
}
#analytics .fa-rank-pages{display:flex;align-items:center;gap:6px}
#analytics .fa-rank-pages button{
  min-width:34px;height:34px;padding:4px 9px;
  border:1px solid #7452a0;border-radius:7px;
  background:#321253;color:#fff;
  font-family:inherit;font-size:12px;font-weight:700;cursor:pointer;
}
#analytics .fa-rank-pages button[aria-current="page"]{background:#087b75;border-color:#14e0c5}
#analytics .fa-rank-pages button:disabled{opacity:.35;cursor:not-allowed}
#analytics .fa-rank-pages button:focus-visible{outline:2px solid #fff;outline-offset:2px}
@media(max-width:850px){#analytics .fa-consistency-controls{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){
  #analytics .fa-consistency-controls,#analytics .fa-advanced-body .fa-defense-controls{grid-template-columns:1fr}
  #analytics .fa-consistency-definitions{padding:12px 14px 12px 29px}
}
