@font-face{font-family:"Figtree";src:url("/assets/fonts/figtree/figtree-latin-variable.woff2") format("woff2");font-weight:300 900;font-style:normal;font-display:swap}
/* Proxima Nova is licensed, so the demo is set in Figtree (OFL), with semibold at 550. */
:root {
  --ink: #15171b;
  --muted: #565e6d;
  --line: #dcdde4;
  --surface: #fcfcfd;
  --rail: #f8f8fa;
  --cyan: #0891b2;
  --purple: #6d28d9;
  --positive: #009e48;
  --negative: #f54a2a;
  --neutral: #b5b9c5;
  --elevation-raised:
    0 0 0 1px oklch(0 0 0 / 0.05),
    0 1px 3px oklch(0 0 0 / 0.05),
    0 4px 10px -4px oklch(0 0 0 / 0.05);
  --elevation-raised-hover:
    0 0 0 1px oklch(0 0 0 / 0.07),
    0 1px 3px oklch(0 0 0 / 0.07),
    0 4px 10px -4px oklch(0 0 0 / 0.08);
  --floating: 0 1px 3px #1118270d, 0 12px 35px #11182726;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  font-family: Figtree, Arial, sans-serif;
  color: var(--ink);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.4;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  overflow: hidden;
  background: white;
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  color: inherit;
}
button:disabled {
  cursor: default;
  opacity: 0.45;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #0891b280;
  outline-offset: 3px;
}
button {
  border: 0;
  background: none;
}
button img {
  pointer-events: none;
}
input,
textarea,
select {
  min-width: 0;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  padding: 10px 12px;
}
input::placeholder,
textarea::placeholder {
  color: oklch(0.54 0.025 264.4);
}
input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: var(--cyan);
  margin: 0;
}
img {
  display: block;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.45px;
  font-weight: 550;
}
h2 {
  font-size: 24px;
  line-height: 1.25;
  font-weight: 550;
  letter-spacing: -0.25px;
}
h3 {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 550;
}
p {
  line-height: 1.45;
}
a {
  color: var(--purple);
  text-decoration: none;
}
strong {
  font-weight: 550;
}
[hidden] {
  display: none !important;
}
::selection {
  background: #c9f0f7;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
#app {
  height: 100dvh;
  isolation: isolate;
  overflow: clip;
  position: relative;
}
.sidebar {
  position: absolute;
  inset: 0 auto 0 0;
  width: 262px;
  background: var(--rail);
  border-right: 1px solid #ececf0;
  display: flex;
  flex-direction: column;
  z-index: 10;
}
.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  width: 100%;
  height: 80px;
  font-weight: 550;
  font-size: 20px;
  text-align: left;
}
.sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sidebar nav button {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 40px;
  padding: 0 14px;
  font-size: 18px;
  text-align: left;
  color: #495160;
  border-left: 2px solid transparent;
}
.sidebar nav img {
  width: 20px;
  height: 20px;
}
.sidebar nav button[aria-current="page"] {
  background: #eeeef2;
  border-left-color: var(--cyan);
  color: #141c28;
}
.sidebar-foot {
  margin-top: auto;
  border-top: 1px solid #ececf0;
  padding: 18px 18px;
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 14px;
  color: var(--muted);
}
.sidebar-foot button {
  margin-left: auto;
  font-size: 23px;
  line-height: 20px;
}
.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}
#main {
  position: absolute;
  inset: 0 0 0 262px;
  overflow: auto;
  scrollbar-gutter: stable;
  padding: 24px;
  outline: none;
}
.view {
  max-width: 1660px;
  margin: 0 auto;
}
.page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 48px;
  margin-bottom: 32px;
}
.head-actions,
.actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #b9becc;
  background: #fff;
  min-height: 40px;
  padding: 9px 15px;
  border-radius: 4px;
  color: #414b5a;
  font-weight: 550;
  white-space: nowrap;
  box-shadow: 0 1px 2px #11182708;
}
.button.primary {
  background: var(--purple);
  border-color: var(--purple);
  color: white;
}
.button.small {
  font-size: 14px;
  min-height: 34px;
  padding: 6px 12px;
}
.button img,
.icon-button img {
  width: 20px;
  height: 20px;
}
.saved-reports-chevron {
  display: block;
  flex: none;
}
.button.date {
  height: 48px;
  font-size: 18px;
  gap: 10px;
}
.button.date img {
  width: 24px;
  height: 24px;
}
.icon-button {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  padding: 6px;
}
.icon-button.wide {
  width: 54px;
}
.text-button {
  color: var(--purple);
  text-decoration: underline;
  text-decoration-color: transparent;
  padding: 5px 0;
  font-size: 14px;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-weight: 550;
}
.text-button img {
  width: 16px;
  height: 16px;
}
.panel {
  background: var(--surface);
  border-radius: 16px;
  box-shadow: var(--elevation-raised);
  overflow: hidden;
}
.panel-pad {
  padding: 24px;
}
.heading-line {
  display: flex;
  align-items: center;
  gap: 16px;
}
.heading-line .text-button {
  margin-left: auto;
}
.ai-badge {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  padding: 4px 11px;
  border-radius: 20px;
  color: white;
  background: linear-gradient(100deg, oklch(0.54 0.099 221.7), #6d28d9);
  font-size: 12px;
  font-weight: 550;
  line-height: 16px;
  white-space: nowrap;
}
.ai-badge img {
  width: 16px;
  height: 16px;
}
.disclaimer {
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
}
.muted {
  color: var(--muted);
}
.caption {
  font-size: 14px;
  color: var(--muted);
}
.mono {
  font-variant-numeric: tabular-nums;
}
.overview {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}
.stats {
  display: grid;
  gap: 24px;
}
.stat {
  height: 120px;
  padding: 16px 24px;
}
.stat-top {
  display: flex;
  gap: 14px;
  align-items: center;
}
.stat-number {
  color: var(--cyan);
  font-size: 56px;
  line-height: 1.08;
  letter-spacing: -1px;
  font-weight: 550;
}
.stat-label {
  font-size: 24px;
  color: var(--muted);
  line-height: 1.35;
}
.delta {
  font-size: 24px;
  font-weight: 550;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.delta img {
  height: 24px;
  width: 24px;
}
.up {
  color: #087439;
}
.down {
  color: #b32b14;
}
.moving {
  padding: 16px;
  border-radius: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.moving-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  flex: 1;
}
.moving-card {
  padding: 16px;
  background: white;
  border-radius: 16px;
  box-shadow: var(--elevation-raised);
  transition: box-shadow 150ms ease-out;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 136px;
}
.moving-card h3 {
  font-size: 18px;
}
.moving-card p {
  font-size: 14px;
  line-height: 1.3;
}
.roster-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 24px 16px;
}
.segmented {
  display: flex;
  border: 1px solid #b9becc;
  border-radius: 4px;
  overflow: hidden;
}
.segmented button {
  border-radius: 0;
}
.segmented button + button {
  border-left: 1px solid #b9becc;
}
.segmented [aria-pressed="true"] {
  background: #eeeef2;
}
.roster-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 18px;
  table-layout: fixed;
}
.roster-table th {
  font-weight: 400;
  color: var(--muted);
  height: 40px;
  padding: 6px 8px;
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.roster-table th:first-child {
  width: 22%;
}
.roster-table th:nth-child(2) {
  width: 12%;
}
.roster-table th:nth-child(n + 3):nth-child(-n + 5) {
  width: 13%;
}
.roster-table th:last-child {
  width: 27%;
  text-align: left;
  padding-left: 18px;
}
.roster-table th button {
  padding: 0;
  font: inherit;
  width: 100%;
}
.roster-table .positive-head {
  border-bottom: 3px solid #087d3c;
}
.roster-table .neutral-head {
  border-bottom: 3px solid #b5b9c5;
}
.roster-table .negative-head {
  border-bottom: 3px solid #df3617;
}
.group-row th {
  height: 50px;
  text-align: left !important;
  padding: 12px 16px !important;
  font-size: 14px;
  background: #fff;
  border-top: 1px solid var(--line);
}
.player-row {
  height: 80px;
  background: #fff;
  cursor: pointer;
  outline-offset: -3px !important;
}
.player-row td {
  text-align: center;
  padding: 14px 12px;
  transition: background-color 120ms;
}
.player-row td:first-child {
  text-align: left;
  padding-left: 24px;
  font-size: 20px;
  font-weight: 550;
}
.player-row td:nth-child(2) {
  font-weight: 550;
  font-size: 20px;
}
.player-name {
  display: flex;
  align-items: center;
  gap: 12px;
}
.player-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b5b9c5;
  flex-shrink: 0;
}
.player-dot.owned {
  background: var(--cyan);
}
.player-row .positive-cell {
  background: #e6fbef;
}
.player-row .neutral-cell {
  background: #f0f0f4;
}
.player-row .negative-cell {
  background: #ffede8;
}
.scout-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  white-space: nowrap;
}
.avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
  outline: 1px solid oklch(0 0 0 / 0.1);
  outline-offset: -1px;
}
.avatar.initials {
  background: #e3edf0;
  color: #326773;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 550;
}
.scout-cell .chevron {
  margin-left: auto;
  width: 20px;
  height: 20px;
}
.table-foot {
  display: flex;
  justify-content: space-between;
  padding: 14px 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
.roster-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 8px 24px 24px;
}
.roster-card {
  padding: 20px;
  text-align: left;
  border-radius: 12px;
  background: white;
  box-shadow: var(--elevation-raised);
  transition: box-shadow 150ms ease-out;
}
.roster-card .metric {
  margin: 12px 0;
}
.metric {
  font-size: 24px;
  font-weight: 550;
}
.metric-label {
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 7px;
}
.sentiment {
  margin: 16px 0 0;
}
.sentiment-track {
  display: flex;
  height: 16px;
  gap: 2px;
  border-radius: 20px;
  overflow: hidden;
  background: #eeeef2;
}
.sentiment-track span {
  min-width: 0;
}
.sentiment-track .positive {
  background: var(--positive);
}
.sentiment-track .neutral {
  background: var(--neutral);
}
.sentiment-track .negative {
  background: var(--negative);
}
.sentiment-labels {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 5px;
  font-size: 14px;
}
.sentiment-labels span {
  white-space: nowrap;
}
.divider {
  height: 1px;
  background: var(--line);
  margin: 24px 0;
}
.pill {
  font-size: 12px;
  font-weight: 550;
  line-height: 1.2;
  padding: 4px 8px;
  border-radius: 20px;
  display: inline-flex;
  white-space: nowrap;
}
.pill.positive {
  background: #e3fbec;
  color: #007536;
}
.pill.neutral {
  background: #eeeef2;
  color: #505866;
}
.pill.negative {
  background: #ffe9e4;
  color: #b6240b;
}
.driver-list + .metric-label {
  margin-top: 24px;
}
.driver-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}
.driver {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  font-size: 14px;
}
.keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}
.keyword {
  font-size: 12px;
  color: #525c6c;
  border: 1px solid var(--line);
  padding: 2px 8px;
  border-radius: 20px;
  line-height: 1.3;
  background: #fff;
}
.search-tools {
  display: flex;
  gap: 16px;
  margin-bottom: 26px;
  align-items: center;
}
.search-field {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  background: #fff;
  padding: 6px 8px 6px 12px;
  gap: 8px;
  flex: 1;
  min-width: 0;
  min-height: 48px;
  box-shadow: 0 1px 2px #11182709;
}
.search-field > img {
  width: 20px;
  height: 20px;
  opacity: 0.65;
}
.search-field input {
  border: 0;
  outline-offset: 0;
  box-shadow: none;
  flex: 1;
  min-width: 0;
  padding: 4px 0;
  background: none;
  font-size: 18px;
}
.search-field .button {
  flex-shrink: 0;
}
.search-tools > .button {
  height: 48px;
  font-size: 18px;
}
.insight-panel {
  padding: 24px;
  margin-bottom: 24px;
}
.insight-panel > p {
  margin: 18px 0 22px;
  font-size: 18px;
}
.insight-copy {
  position: relative;
  margin: 18px 0 22px;
  font-size: 18px;
}
.insight-copy.is-loading > p,
.navi-result.is-loading .navi-result-content {
  visibility: hidden;
}
.insight-loading.processing {
  position: absolute;
  inset: 0;
  margin: 0;
  align-items: flex-start;
  padding-top: 3px;
}
.insight-loading .processing-dot {
  flex-shrink: 0;
  margin-top: 6px;
}
.insight-panel h3 {
  margin-top: 24px;
}
.insight-panel .disclaimer {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 24px;
  font-size: 12px;
}
.source-tabs {
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  background: #fff;
  scrollbar-width: thin;
}
.source-tabs button {
  white-space: nowrap;
  padding: 11px 12px;
  color: #626d80;
  font-size: 14px;
  border-bottom: 2px solid transparent;
}
.source-tabs button[aria-selected="true"] {
  border-color: var(--cyan);
  color: var(--ink);
  font-weight: 550;
}
.source-tabs span {
  font-size: 12px;
  margin-left: 7px;
  color: #626d80;
}
.empty {
  padding: 64px 24px;
  text-align: center;
  min-height: 188px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
}
.empty h3 {
  font-size: 20px;
}
.empty p {
  font-size: 18px;
  color: var(--muted);
  max-width: 48ch;
}
.empty .suggestions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.feed {
  padding: 16px;
  display: grid;
  gap: 10px;
}
.feed-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px 0;
  font-size: 13px;
  color: var(--muted);
}
.post {
  padding: 14px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.post-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
}
.post-head .pill {
  margin-left: auto;
}
.post-author {
  font-size: 18px;
  font-weight: 550;
}
.post-meta {
  font-size: 14px;
  color: var(--muted);
}
.post p {
  font-size: 18px;
  line-height: 1.4;
}
.post-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 14px;
  margin-top: 12px;
}
.post-actions button {
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
}
.post-actions img {
  width: 16px;
  height: 16px;
}
.post-actions .post-source {
  margin-left: auto;
  color: var(--purple);
  font-size: 13px;
}
.active-filters {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: -12px 0 18px;
  flex-wrap: wrap;
}
.active-filters .keyword {
  padding: 5px 9px;
}
.explorer-inputs,
.compare-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}
.explorer-input label {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 6px;
}
.explorer-input .search-field {
  width: 100%;
}
.compare-card {
  padding: 24px;
}
.compare-card .card-title {
  display: flex;
  align-items: start;
  gap: 8px;
  justify-content: space-between;
  min-height: 35px;
}
.compare-card .card-title h2 {
  padding-top: 3px;
}
.compare-card .metric-label {
  margin-top: 24px;
}
.compare-card h3 {
  margin-top: 26px;
}
.compare-card .sentiment-labels {
  font-size: 12px;
}
.compare-card .analysis-text {
  font-size: 18px;
  margin-top: 20px;
}
.compare-card .heading-line {
  gap: 10px;
  flex-wrap: wrap;
}
.compare-card .heading-line h3 {
  margin: 0;
}
.compare-card .disclaimer {
  margin-top: 24px;
}
.compare-empty {
  align-self: start;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--rail);
  padding: 24px 16px;
  text-align: center;
  min-height: 235px;
}
.compare-empty h3 {
  font-size: 18px;
  margin: 3px 0 8px;
}
.compare-empty p {
  font-size: 14px;
  color: var(--muted);
}
.scout-list {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}
.scout-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  text-align: left;
  font-size: 14px;
}
.scout-row .pill {
  margin-left: auto;
}
.scout-row .post-count {
  white-space: nowrap;
  min-width: 55px;
  text-align: right;
  font-size: 14px;
}
.compare-card .scout-row {
  flex-wrap: wrap;
}
.compare-card .scout-row .scout-name {
  flex: 1;
  min-width: 100px;
}
.save-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.save-bar .actions {
  flex-wrap: wrap;
}
.skeleton {
  display: grid;
  gap: 12px;
  padding: 10px 0;
}
.skeleton span {
  height: 12px;
  background: #e6e7eb;
  border-radius: 6px;
  animation: pulse 1.2s ease-in-out infinite;
}
.skeleton span:nth-child(2) {
  width: 88%;
}
.skeleton span:nth-child(3) {
  width: 68%;
}
.skeleton[data-motion-offscreen] span,
.processing-dot[data-motion-offscreen] {
  animation-play-state: paused;
}
.processing {
  display: flex;
  gap: 9px;
  align-items: center;
  font-size: 14px;
  color: var(--muted);
  margin: 15px 0;
}
.processing-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse 1s infinite;
}
@keyframes pulse {
  50% {
    opacity: 0.35;
  }
}
.drawer {
  position: absolute;
  inset: 0 0 0 auto;
  width: 418px;
  background: #f8f8fa;
  box-shadow: -10px 0 32px #11182719;
  border-left: 1px solid var(--line);
  z-index: 30;
  transform: translateX(105%);
  transition: transform 240ms var(--ease);
  display: flex;
  flex-direction: column;
  visibility: hidden;
}
.drawer.open {
  transform: translateX(0);
  visibility: visible;
}
.drawer.closing {
  visibility: visible;
  transition: transform 180ms var(--ease-in);
}
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 24px 24px 16px;
  flex-shrink: 0;
  background: #f8f8fa;
}
.drawer-header h2 {
  font-size: 24px;
}
.drawer-body {
  padding: 14px 24px 28px;
  overflow: auto;
  flex: 1;
  scrollbar-gutter: stable;
}
.drawer-metrics {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 18px;
  margin-bottom: 28px;
}
.drawer-metrics .scout-cell {
  font-size: 16px;
  white-space: normal;
}
.drawer .analysis-text {
  font-size: 18px;
  line-height: 1.42;
  margin: 20px 0 24px;
}
.drawer .disclaimer {
  margin-top: 24px;
}
.drawer .post {
  margin-top: 12px;
}
.drawer .post p {
  font-size: 16px;
}
.drawer-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 10px;
  background: #fff;
  flex-shrink: 0;
}
.drawer-footer .button {
  flex: 1;
}
.navi-toggle {
  position: absolute;
  right: 32px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 15px #11182726;
  z-index: 42;
  transition: transform 150ms ease;
}
.navi-toggle:active {
  transform: scale(0.96);
}
.navi {
  position: absolute;
  right: 32px;
  bottom: 82px;
  width: 640px;
  max-width: calc(100% - 300px);
  max-height: calc(100% - 110px);
  background: #fcfcfd;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--floating);
  z-index: 41;
  transform: translateY(12px);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 230ms var(--ease),
    opacity 230ms var(--ease);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  visibility: hidden;
}
.navi.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}
.navi.closing {
  visibility: visible;
  transition:
    transform 180ms var(--ease-in),
    opacity 180ms var(--ease-in);
}
.navi-head {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: #fff;
  flex-shrink: 0;
}
.navi-head .navi-mark {
  width: 23px;
  height: 23px;
  background: var(--cyan);
  border-radius: 5px;
  padding: 2px;
}
.navi-head strong {
  font-size: 18px;
  flex: 1;
  font-weight: 400;
}
.navi-head .icon-button {
  width: 26px;
  height: 26px;
}
.navi-body {
  padding: 24px;
  overflow: auto;
  overscroll-behavior: contain;
  min-height: 0;
}
.navi-result,
.navi-result-content {
  display: flow-root;
  position: relative;
}
.navi-result-loading {
  position: absolute;
  inset: 0;
}
.navi-body .insight-panel {
  padding: 16px;
  margin: 0 0 24px;
  background: #fff;
}
.navi-body .insight-panel p {
  margin: 16px 0 0;
}
.navi-body .heading-line h3 {
  margin: 0;
}
.navi .suggestions {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}
.suggestions button {
  text-align: left;
  font-size: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 5px 10px;
  color: #4f596a;
  line-height: 1.2;
  background: #fff;
}
.navi-mark img {
  width: 100%;
  height: 100%;
}
.navi-form {
  display: flex;
  gap: 8px;
  border: 1px solid var(--line);
  padding: 6px 8px 6px 12px;
  background: #fff;
  align-items: center;
}
.navi-form input {
  border: 0;
  flex: 1;
  min-width: 0;
  padding: 4px 0;
  font-size: 18px;
}
.navi-footer {
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
  background: #fff;
  flex-shrink: 0;
}
.navi-footer .icon-button {
  width: 24px;
  height: 24px;
}
.navi-footer .icon-button img {
  width: 16px;
  height: 16px;
}
.navi-footer .download-answer {
  margin-left: auto;
}
.navi .followup {
  padding: 0 24px 24px;
}
.answer-context {
  font-size: 13px;
  color: var(--muted);
  margin: 16px 0;
}
.pair-head {
  display: grid;
  grid-template-columns: repeat(var(--comparison-count, 2), minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
  text-align: center;
  font-size: 20px;
  font-weight: 550;
}
.pair-head i {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  margin-right: 8px;
}
.pair-head span:nth-child(2) i {
  background: #ff6329;
}
.pair-head span:nth-child(3) i {
  background: var(--purple);
}
.pair-metric {
  margin: 18px 0;
}
.pair-track {
  height: 12px;
  display: flex;
  gap: 2px;
  margin: 6px 0;
  border-radius: 8px;
  overflow: hidden;
}
.pair-track span:first-child {
  background: var(--cyan);
}
.pair-track span:nth-child(2) {
  background: #ff6329;
}
.pair-track span:nth-child(3) {
  background: var(--purple);
}
.pair-values {
  display: grid;
  grid-template-columns: repeat(var(--comparison-count, 2), minmax(0, 1fr));
  text-align: center;
  font-size: 18px;
  color: var(--muted);
}
.pair-values span:first-child {
  text-align: left;
}
.pair-values span:last-child {
  text-align: right;
}
.navi-history {
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--muted);
}
.navi-history p {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.navi-history summary {
  cursor: pointer;
}
.popover {
  position: absolute;
  top: 138px;
  right: 110px;
  width: 342px;
  max-height: calc(100% - 170px);
  overflow: auto;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--floating);
  z-index: 52;
  opacity: 0;
  transform: translateY(var(--popover-y, -4px)) scale(0.97);
  transform-origin: var(--popover-origin, top right);
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 180ms var(--ease),
    transform 180ms var(--ease);
}
.popover.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
  pointer-events: auto;
}
.popover.closing {
  visibility: visible;
  pointer-events: none;
  transition:
    opacity 150ms var(--ease-in),
    transform 150ms var(--ease-in);
}
.popover label {
  display: block;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--muted);
}
.popover select {
  display: block;
  width: 100%;
  margin-top: 6px;
  height: 44px;
  font-size: 16px;
}
.popover .actions {
  justify-content: flex-end;
  margin-top: 22px;
  gap: 8px;
}
.popover-menu {
  display: grid;
  gap: 5px;
}
.popover-menu button {
  text-align: left;
  padding: 10px;
  border-radius: 6px;
  font-size: 16px;
}
.popover-menu button[aria-pressed="true"] {
  background: #edf8fb;
  color: #067b97;
}
.popover h3 {
  margin-bottom: 16px;
}
.popover p {
  font-size: 14px;
  color: var(--muted);
}
dialog {
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--floating);
  background: #fcfcfd;
  width: 420px;
  max-height: calc(100dvh - 64px);
  padding: 24px;
  color: var(--ink);
  opacity: 0;
  transform: scale(0.97);
  transition:
    opacity 220ms var(--ease),
    transform 220ms var(--ease);
}
dialog.is-open {
  opacity: 1;
  transform: scale(1);
}
dialog.is-closing {
  transition:
    opacity 160ms var(--ease-in),
    transform 160ms var(--ease-in);
}
dialog::backdrop {
  background: transparent;
  transition: background-color 220ms var(--ease);
}
dialog.is-open::backdrop {
  background: #11141999;
}
dialog.is-closing::backdrop {
  transition: background-color 160ms var(--ease-in);
}
dialog h2 {
  font-size: 20px;
}
dialog .subheading {
  font-size: 14px;
  color: var(--muted);
  margin: 6px 0 18px;
}
dialog .modal-list {
  display: grid;
  gap: 14px;
  margin: 18px 0;
  max-height: 390px;
  overflow: auto;
}
dialog .modal-list label {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 18px;
}
dialog .actions {
  justify-content: flex-end;
  margin-top: 22px;
}
dialog input[type="text"] {
  width: 100%;
  font-size: 18px;
}
dialog .error {
  font-size: 14px;
  color: #b6240b;
  margin-top: 8px;
}
dialog .review-player {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  font-size: 18px;
}
.demo {
  position: absolute;
  left: 16px;
  bottom: 70px;
  width: 310px;
  max-height: 75dvh;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  box-shadow: var(--floating);
  z-index: 80;
  background: white;
}
.demo h3 {
  font-size: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.demo p {
  font-size: 12px;
  color: var(--muted);
  margin: 8px 0 14px;
}
.demo-links {
  display: grid;
  gap: 2px;
}
.demo-links a {
  display: block;
  padding: 7px 9px;
  border-radius: 5px;
  font-size: 14px;
  color: var(--muted);
}
.demo-links a[aria-current="true"] {
  background: #edf8fb;
  color: #057790;
}
.demo .button {
  width: 100%;
  margin-top: 12px;
}
.toast {
  position: absolute;
  left: calc(50% + 131px);
  bottom: 28px;
  transform: translate(-50%, 12px);
  opacity: 0;
  pointer-events: none;
  z-index: 90;
  background: #263443;
  color: #fff;
  border-radius: 7px;
  padding: 11px 18px;
  box-shadow: var(--floating);
  font-size: 15px;
  transition:
    opacity 150ms var(--ease-in),
    transform 150ms var(--ease-in);
  max-width: 480px;
  text-align: center;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
  transition:
    opacity 210ms var(--ease),
    transform 210ms var(--ease);
}
.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.support-card {
  padding: 24px;
}
.support-card h3 {
  margin-bottom: 12px;
}
.support-card p {
  color: var(--muted);
  margin-bottom: 18px;
}
.support-card .avatar {
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
}
.report-list {
  display: grid;
  gap: 12px;
}
.report-item {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  text-align: left;
}
.report-item p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 3px;
}
.input-error {
  font-size: 13px;
  color: #b6240b;
  margin-top: 7px;
  min-height: 18px;
}
@media (hover: hover) and (pointer: fine) {
  .sidebar nav button,
  .button,
  .icon-button,
  .popover-menu button,
  .source-tabs button,
  .suggestions button,
  .keyword,
  .demo-links a {
    transition:
      background-color 140ms ease,
      border-color 140ms ease,
      color 140ms ease;
  }
  .text-button {
    transition:
      color 140ms ease,
      text-decoration-color 140ms ease;
  }
  .navi-toggle {
    transition:
      background-color 140ms ease,
      transform 150ms ease;
  }
  .player-row td {
    transition: box-shadow 140ms ease;
  }
  .sidebar nav button:hover {
    background: #efeff3;
  }
  .button:hover {
    background: #f6f6f8;
  }
  .button.primary:hover {
    background: #5c20bf;
  }
  .icon-button:hover,
  .popover-menu button:hover {
    background: #eeeef2;
  }
  .moving-card:hover,
  .roster-card:hover {
    box-shadow: var(--elevation-raised-hover);
  }
  .player-row:hover td {
    box-shadow: inset 0 0 0 999px #0891b20a;
  }
  .text-button:hover {
    text-decoration-color: currentColor;
  }
  .source-tabs button:hover {
    color: #172230;
    background: #f9f9fb;
  }
  .suggestions button:hover {
    border-color: #b1a0cf;
    background: #fcfaff;
  }
  .keyword:hover {
    border-color: #afa1ce;
  }
  .navi-toggle:hover {
    background: #087e9c;
  }
  .demo-links a:hover {
    background: #f4f4f7;
  }
}
@media (max-width: 1250px) {
  .sidebar {
    width: 224px;
  }
  #main {
    left: 224px;
    padding: 22px;
  }
  .overview {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 20px;
  }
  .stat {
    padding: 20px;
  }
  .stat-number {
    font-size: 46px;
  }
  .stat-label {
    font-size: 21px;
  }
  .delta {
    font-size: 20px;
  }
  .moving-cards {
    gap: 10px;
  }
  .moving-card {
    padding: 12px;
    min-height: 148px;
  }
  .moving-card h3 {
    font-size: 16px;
  }
  .roster-table {
    font-size: 16px;
  }
  .player-row td:first-child,
  .player-row td:nth-child(2) {
    font-size: 18px;
  }
  .scout-cell {
    gap: 6px;
  }
  .scout-cell .avatar {
    width: 26px;
    height: 26px;
  }
  .compare-grid,
  .explorer-inputs {
    gap: 18px;
  }
  .compare-card {
    padding: 18px;
  }
  .compare-card .sentiment-labels {
    font-size: 11px;
  }
  .button.date {
    font-size: 16px;
  }
  .head-actions {
    gap: 8px;
  }
  .toast {
    left: calc(50% + 112px);
  }
}
@media (max-width: 1050px) {
  .sidebar {
    width: 190px;
  }
  .brand {
    gap: 8px;
  }
  .sidebar nav button {
    font-size: 16px;
  }
  #main {
    left: 190px;
    padding: 20px;
  }
  .overview {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .stat {
    height: 110px;
  }
  .moving-cards {
    gap: 16px;
  }
  .moving-card {
    min-height: 125px;
  }
  .search-tools {
    flex-wrap: wrap;
  }
  .search-tools .search-field {
    flex-basis: 100%;
  }
  .compare-grid,
  .explorer-inputs {
    gap: 12px;
  }
  .compare-card {
    padding: 14px;
  }
  .compare-card h2 {
    font-size: 20px;
  }
  .roster-table th:last-child {
    width: 23%;
  }
  .roster-table th:first-child {
    width: 25%;
  }
  .player-row td {
    padding: 12px 6px;
  }
  .player-row td:first-child {
    padding-left: 14px;
  }
  .scout-cell {
    white-space: normal;
  }
  .navi {
    max-width: calc(100% - 230px);
  }
  .head-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .page-head {
    gap: 12px;
  }
  .roster-head {
    padding: 20px 16px;
  }
  .drawer {
    width: 400px;
  }
  .button.date {
    font-size: 14px;
  }
  .support-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 760px) {
  .sidebar {
    width: 72px;
  }
  .brand {
    padding: 14px;
  }
  .brand span,
  .sidebar nav button {
    font-size: 0;
  }
  .sidebar nav button {
    justify-content: center;
    padding: 0;
  }
  .sidebar-foot {
    justify-content: center;
    padding: 16px 10px;
  }
  .sidebar-foot span {
    display: none;
  }
  #main {
    left: 72px;
    padding: 16px;
  }
  .overview {
    gap: 16px;
  }
  .moving-cards {
    grid-template-columns: 1fr;
  }
  .moving-card {
    min-height: 0;
  }
  .stats {
    gap: 12px;
  }
  .stat {
    padding: 16px;
  }
  .stat-number {
    font-size: 34px;
  }
  .stat-label {
    font-size: 18px;
  }
  .delta {
    font-size: 16px;
  }
  .stat-top {
    gap: 8px;
  }
  .delta img {
    display: none;
  }
  .page-head {
    align-items: start;
  }
  h1 {
    font-size: 24px;
  }
  .button.date {
    max-width: 210px;
    white-space: normal;
    line-height: 1.15;
  }
  .roster-table {
    min-width: 750px;
  }
  .roster-scroll {
    overflow: auto;
  }
  .roster-grid,
  .compare-grid,
  .explorer-inputs {
    grid-template-columns: 1fr;
  }
  .compare-empty {
    min-height: 150px;
  }
  .drawer {
    width: min(418px, calc(100% - 72px));
  }
  .navi {
    right: 16px;
    max-width: calc(100% - 104px);
    bottom: 80px;
  }
  .navi-toggle {
    right: 16px;
  }
  .navi-body {
    padding: 18px;
  }
  .navi .followup {
    padding: 0 18px 18px;
  }
  .popover {
    right: 16px;
    max-width: calc(100% - 104px);
  }
  .head-actions .button {
    font-size: 13px;
    padding: 7px;
  }
  .toast {
    left: calc(50% + 36px);
    max-width: calc(100% - 120px);
  }
  .sentiment-labels {
    font-size: 12px;
  }
  .search-tools > .button {
    font-size: 16px;
  }
  .roster-head h2 {
    font-size: 20px;
  }
  .roster-head .actions {
    gap: 4px;
  }
  .icon-button.wide {
    width: 36px;
  }
  .pair-head {
    font-size: 17px;
  }
  .insight-panel {
    padding: 18px;
  }
  .panel-pad {
    padding: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

#app:has(.drawer.open) .navi-toggle {
  right: 442px;
}
#app:has(.drawer.open) .navi {
  right: 442px;
  max-width: calc(100% - 466px);
}
.explorer-inputs {
  margin-bottom: 20px;
}
.input-error:empty {
  display: none;
}
.compare-grid {
  align-items: start;
}
@media (max-width: 1050px) {
  #app:has(.drawer.open) .navi-toggle {
    right: 424px;
  }
  #app:has(.drawer.open) .navi {
    right: 424px;
    max-width: calc(100% - 448px);
  }
}
@media (max-width: 760px) {
  #app:has(.drawer.open) .navi-toggle {
    right: 16px;
    bottom: 96px;
  }
  #app:has(.drawer.open) .navi {
    right: 16px;
    bottom: 154px;
    max-width: calc(100% - 104px);
  }
  .icon-button {
    min-width: 40px;
    min-height: 40px;
  }
  .keyword {
    padding: 7px 9px;
  }
  .source-tabs button {
    min-height: 44px;
  }
}

.navi-scouts {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 16px 0 8px;
}
.navi-scouts > button {
  padding: 3px;
  margin-right: -5px;
}
.navi-scouts .avatar {
  border: 2px solid white;
  width: 36px;
  height: 36px;
}
.navi-scouts .text-button {
  margin-left: auto;
  padding-left: 16px;
  margin-right: 0;
}
.sidebar-toggle {
  position: absolute;
  left: 100%;
  top: calc(50% - 22px);
  height: 44px;
  width: 24px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sidebar-toggle img {
  width: 24px;
  height: 24px;
}
.sidebar-collapsed .sidebar {
  width: 72px;
}
.sidebar-collapsed .brand {
  padding: 14px;
}
.sidebar-collapsed .brand span,
.sidebar-collapsed .sidebar nav button {
  font-size: 0;
}
.sidebar-collapsed .sidebar nav button {
  justify-content: center;
  padding: 0;
}
.sidebar-collapsed .sidebar-foot {
  justify-content: center;
  padding: 16px 10px;
}
.sidebar-collapsed .sidebar-foot span {
  display: none;
}
.sidebar-collapsed #main {
  left: 72px;
}
.sidebar-collapsed .toast {
  left: calc(50% + 36px);
}
@media (max-width: 760px) {
  .sidebar-toggle {
    display: none;
  }
}
