:root {
  --poi-border: rgba(15, 23, 42, 0.1);
  --poi-border-strong: rgba(30, 64, 175, 0.24);
  --poi-muted: #64748b;
  --poi-soft: #f8fafc;
  --poi-accent: #1e40af;
}

.poi-main {
  color: var(--text, #0f172a);
}

.poi-hero {
  padding-top: 42px;
  padding-bottom: 20px;
}

.poi-hero .tp-hero-card {
  text-align: left;
  padding: 18px 20px;
}

.poi-hero .tp-subtitle {
  max-width: 760px;
  margin-inline: 0;
  font-size: 0.98rem;
}

.poi-hero-badge {
  background: rgba(15, 23, 42, 0.2);
  border-color: rgba(255, 255, 255, 0.34);
  font-size: 0.75rem;
}

.poi-section {
  padding-top: 18px;
}

.poi-inline-note {
  margin: 0 0 10px;
  color: #475569;
  font-size: 0.78rem;
  line-height: 1.45;
}

.poi-filters-card {
  margin-bottom: 12px;
  border-radius: 14px;
}

.poi-filters-card .tp-filter-block {
  padding: 14px 16px;
}

.poi-filters-card .tp-filter-block + .tp-filter-block {
  border-top: 1px solid var(--poi-border);
}

.poi-filters-card .tp-filter-block__head {
  margin-bottom: 10px;
  align-items: flex-end;
}

.poi-filters-card .tp-filter-block__title {
  font-size: 0.98rem;
  color: #1e3a8a;
}

.poi-filters-card .tp-filter-block__hint {
  margin: 0;
  font-size: 0.84rem;
  color: var(--poi-muted);
}

.poi-date-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
}

.poi-date-tab {
  border: 1px solid rgba(30, 64, 175, 0.24);
  background: rgba(239, 246, 255, 0.66);
  color: #1e3a8a;
  border-radius: 12px;
  padding: 9px 10px;
  text-align: left;
  cursor: pointer;
  display: grid;
  gap: 2px;
  line-height: 1.15;
}

.poi-date-tab__top {
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 760;
  color: #334155;
}

.poi-date-tab__date {
  font-size: 0.88rem;
  font-weight: 840;
}

.poi-date-tab__count {
  width: fit-content;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid rgba(37, 99, 235, 0.2);
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.66rem;
  font-weight: 760;
}

.poi-date-tab.is-active {
  border-color: #1d4ed8;
  background: #1d4ed8;
  color: #eff6ff;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.22);
}

.poi-date-tab.is-active .poi-date-tab__top {
  color: rgba(239, 246, 255, 0.86);
}

.poi-date-tab.is-active .poi-date-tab__count {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.14);
  color: #eff6ff;
}

.poi-date-tabs.is-all-dates .poi-date-tab:not(.is-active) {
  opacity: 0.72;
}

.poi-quick-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
}

.poi-mode-section {
  margin-bottom: 10px;
}

.poi-mode-chips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.poi-mode-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 3px;
  min-height: 84px;
  border: 1.5px solid #2a4ba7;
  border-radius: 10px;
  background: #ffffff;
  color: #2a4ba7;
  font-weight: 700;
  cursor: pointer;
  padding: 11px 8px 9px;
  transition: background .2s, color .2s, box-shadow .2s, border-color .2s;
}

.poi-mode-chip:hover:not(.is-active) {
  background: rgba(41, 75, 167, 0.07);
}

.poi-mode-chip.is-active {
  background: #2a4ba7;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(41, 75, 167, 0.28);
}

.poi-mode-chip__name {
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.15;
}

.poi-mode-chip__hint {
  font-size: 0.68rem;
  opacity: 0.85;
  line-height: 1.1;
}

.poi-mode-chip__stats {
  margin-top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  min-height: 18px;
}

.poi-mode-chip__rate {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  background: rgba(41, 75, 167, 0.12);
  border-radius: 999px;
  padding: 2px 8px;
  color: #2a4ba7;
  white-space: nowrap;
}

.poi-mode-chip__count {
  font-size: 0.62rem;
  font-weight: 600;
  color: rgba(41, 75, 167, 0.58);
  white-space: nowrap;
}

.poi-mode-chip.is-active .poi-mode-chip__rate {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.poi-mode-chip.is-active .poi-mode-chip__count {
  color: rgba(255, 255, 255, 0.76);
}

.poi-mode-chip__rate--high {
  background: rgba(22, 163, 74, 0.15);
  color: #15803d;
}

.poi-mode-chip__rate--mid {
  background: rgba(245, 158, 11, 0.15);
  color: #b45309;
}

.poi-mode-chip__rate--low {
  background: rgba(239, 68, 68, 0.13);
  color: #dc2626;
}

.poi-mode-chip--sig-high:not(.is-active) {
  border-color: rgba(22, 163, 74, 0.55);
}

.poi-mode-chip--sig-mid:not(.is-active) {
  border-color: rgba(245, 158, 11, 0.55);
}

.poi-mode-chip--sig-low:not(.is-active) {
  border-color: rgba(239, 68, 68, 0.5);
}

.poi-profile-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(41, 75, 167, 0.2);
}

.poi-profile-wrap {
  position: relative;
  flex: 1;
}

#poi-mode-menu-button {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #2a4ba7;
  border-radius: 10px;
  background: rgba(41, 75, 167, 0.05);
  color: #2a4ba7;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s;
  white-space: nowrap;
  min-height: 0;
  line-height: 1.3;
}

#poi-mode-menu-button:hover {
  background: rgba(41, 75, 167, 0.12);
}

#poi-mode-menu-panel {
  position: absolute;
  left: 0;
  top: calc(100% + 6px);
  min-width: 240px;
  max-height: 380px;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid var(--poi-border);
  border-radius: 12px;
  padding: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
  z-index: 2100;
}

#poi-mode-menu-profiles {
  padding: 8px 8px 0;
}

.poi-mode-option {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 10px;
  padding: 8px 10px;
  background: rgba(248, 250, 252, 0.92);
  text-align: left;
  cursor: pointer;
  display: grid;
  gap: 2px;
  margin-bottom: 8px;
}

.poi-mode-option:hover {
  background: rgba(239, 246, 255, 0.92);
  border-color: rgba(37, 99, 235, 0.34);
}

.poi-mode-option.is-active {
  background: rgba(219, 234, 254, 0.9);
  border-color: rgba(37, 99, 235, 0.48);
}

.poi-mode-option__title {
  color: #1e293b;
  font-size: 0.82rem;
  font-weight: 760;
}

.poi-mode-option__desc,
.poi-profile-empty__text {
  color: #64748b;
  font-size: 0.74rem;
  line-height: 1.4;
}

.poi-profile-empty {
  padding: 14px 12px;
  text-align: center;
}

.poi-profile-empty__icon {
  font-size: 1.4rem;
  display: block;
  margin-bottom: 6px;
}

.poi-profile-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 9px;
  background: #2a4ba7;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
}

.poi-profile-menu-footer {
  padding: 8px;
  border-top: 1px solid var(--poi-border);
  margin-top: 4px;
}

.poi-profile-edit-link {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid var(--poi-border);
  color: #475569;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
}

.poi-quick-actions {
  margin-top: 8px;
}

.poi-field {
  min-width: 0;
  display: grid;
  gap: 5px;
}

.poi-field > span {
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--poi-muted);
  font-weight: 760;
}

.poi-select {
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.36);
  background: #fff;
  color: #0f172a;
  font-weight: 620;
}

.poi-select:focus {
  outline: 2px solid rgba(37, 99, 235, 0.24);
  outline-offset: 1px;
}

.poi-advanced-filters {
  margin-top: 9px;
  border: 1px solid var(--poi-border);
  border-radius: 11px;
  background: rgba(248, 250, 252, 0.9);
}

.poi-advanced-filters > summary {
  list-style: none;
  cursor: pointer;
  padding: 10px 12px;
  font-size: 0.78rem;
  font-weight: 730;
  color: #334155;
}

.poi-advanced-filters > summary::-webkit-details-marker {
  display: none;
}

.poi-advanced-filters > summary::after {
  content: "\25BE";
  float: right;
  color: #64748b;
}

.poi-advanced-filters[open] > summary::after {
  content: "\25B4";
}

.poi-advanced-grid {
  border-top: 1px solid var(--poi-border);
  padding: 10px 12px 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.poi-field--range {
  grid-column: 1 / -1;
}

.poi-range {
  width: 100%;
  accent-color: #1d4ed8;
}

.poi-range-value {
  font-size: 0.74rem;
  color: #334155;
  font-weight: 700;
}

.poi-filter-prefs-trigger,
.poi-bookmaker-prefs-trigger {
  grid-column: 1 / -1;
  min-height: 36px;
  border: 1px solid rgba(30, 64, 175, 0.28);
  border-radius: 10px;
  background: rgba(239, 246, 255, 0.9);
  color: #1e3a8a;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.poi-filter-prefs-trigger:hover,
.poi-bookmaker-prefs-trigger:hover {
  background: rgba(219, 234, 254, 0.95);
}

.poi-bookmaker-modal-open {
  overflow: hidden;
}

.poi-bookmaker-modal {
  position: fixed;
  inset: 0;
  z-index: 2500;
  background: rgba(2, 6, 23, 0.55);
  display: grid;
  place-items: center;
  padding: 16px;
}

.poi-bookmaker-modal__dialog {
  width: min(560px, 100%);
  max-height: min(86vh, 740px);
  overflow: auto;
  border-radius: 14px;
  border: 1px solid rgba(15, 23, 42, 0.15);
  background: #ffffff;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.28);
  padding: 16px;
}

.poi-bookmaker-modal__title {
  margin: 0;
  color: #0f172a;
  font-size: 1.08rem;
}

.poi-bookmaker-modal__lead {
  margin: 8px 0 0;
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.45;
}

.poi-bookmaker-modal__toolbar {
  margin-top: 12px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.poi-bookmaker-modal__text-btn {
  border: 0;
  background: transparent;
  padding: 0;
  color: #1d4ed8;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
}

.poi-bookmaker-modal__list {
  margin-top: 10px;
  border: 1px solid var(--poi-border);
  border-radius: 10px;
  padding: 10px;
  display: grid;
  gap: 8px;
}

.poi-bookmaker-modal__item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #0f172a;
  font-size: 0.9rem;
  font-weight: 620;
}

.poi-bookmaker-modal__item span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.poi-bookmaker-modal__item input {
  width: 15px;
  height: 15px;
  accent-color: #1d4ed8;
}

.poi-bookmaker-modal__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 18px;
  padding: 0 6px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 760;
  line-height: 1;
}

.poi-bookmaker-modal__badge--anj {
  border: 1px solid rgba(37, 99, 235, 0.35);
  background: rgba(219, 234, 254, 0.8);
  color: #1e3a8a;
}

.poi-bookmaker-modal__badge--new {
  border: 1px solid rgba(217, 119, 6, 0.34);
  background: rgba(254, 243, 199, 0.85);
  color: #92400e;
}

.poi-bookmaker-modal__error {
  margin: 10px 0 0;
  color: #b91c1c;
  font-size: 0.84rem;
  font-weight: 650;
}

.poi-bookmaker-modal__actions {
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.poi-bookmaker-modal__btn {
  min-height: 36px;
  border-radius: 10px;
  border: 1px solid transparent;
  padding: 8px 12px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}

.poi-bookmaker-modal__btn--ghost {
  border-color: rgba(100, 116, 139, 0.34);
  background: #f8fafc;
  color: #334155;
}

.poi-bookmaker-modal__btn--primary {
  border-color: rgba(37, 99, 235, 0.36);
  background: #1d4ed8;
  color: #eff6ff;
}

.poi-toggle {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #475569;
  font-size: 0.8rem;
  font-weight: 600;
}

.poi-toggle input {
  width: 14px;
  height: 14px;
  accent-color: #1d4ed8;
}

.poi-results-title {
  margin: 0 0 8px;
  font-size: 1.06rem;
}

#poi-grid.tp-grid {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.poi-card {
  position: relative;
  max-width: 100%;
  overflow: hidden;
  padding: 12px 14px 13px;
  border-radius: 14px;
}

.poi-card::before {
  height: 4px;
  background: linear-gradient(90deg, #1d4ed8 0%, #0ea5e9 100%);
}

.poi-card-premium {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 0.63rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 780;
  color: #1d4ed8;
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: 999px;
  padding: 3px 7px;
  background: rgba(239, 246, 255, 0.94);
}

.poi-card-meta {
  padding-top: 2px;
  padding-bottom: 8px;
  margin-bottom: 8px;
}

.poi-card .tp-league-badge {
  font-size: 0.82rem;
}

.poi-card .tp-kickoff {
  font-size: 0.82rem;
}

.poi-team-row {
  margin-bottom: 8px;
  gap: 8px;
}

.poi-card .tp-team-side {
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--poi-muted);
  font-weight: 760;
}

.poi-card .tp-team-logo {
  width: 40px;
  height: 40px;
}

.poi-card .tp-team-name {
  font-size: 0.86rem;
  max-width: 210px;
}

.poi-card .tp-vs {
  font-size: 0.74rem;
}

.poi-card .tp-vs.poi-match-score {
  min-width: 52px;
  font-size: 0.92rem;
  font-weight: 800;
  color: #0f172a;
  display: inline-flex;
  justify-content: center;
}

.poi-card .tp-vs.poi-match-score.poi-match-score--success {
  color: #1f7a49;
}

.poi-card .tp-vs.poi-match-score.poi-match-score--failed {
  color: #b42318;
}

.poi-keyline {
  margin-top: 2px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 7px;
}

.poi-key-item {
  border: 1px solid var(--poi-border);
  border-radius: 9px;
  background: rgba(248, 250, 252, 0.8);
  padding: 7px 8px;
  min-width: 0;
}

.poi-key-item__k {
  display: block;
  margin-bottom: 2px;
  font-size: 0.61rem;
  text-transform: uppercase;
  letter-spacing: 0.045em;
  color: var(--poi-muted);
  font-weight: 760;
}

.poi-key-item__v {
  display: block;
  font-size: 0.8rem;
  line-height: 1.25;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.poi-stability-pill,
.poi-value-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 2px 7px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(241, 245, 249, 0.95);
  font-size: 0.72rem;
  font-weight: 740;
}

.poi-stability-pill.poi-stability--stable {
  border-color: rgba(22, 163, 74, 0.33);
  background: rgba(220, 252, 231, 0.9);
  color: #166534;
}

.poi-stability-pill.poi-stability--correct {
  border-color: rgba(217, 119, 6, 0.32);
  background: rgba(254, 243, 199, 0.9);
  color: #92400e;
}

.poi-stability-pill.poi-stability--risk {
  border-color: rgba(100, 116, 139, 0.32);
  background: rgba(241, 245, 249, 0.95);
  color: #334155;
}

.poi-value-pill.poi-value-pill--high {
  border-color: rgba(13, 148, 136, 0.34);
  background: rgba(204, 251, 241, 0.88);
  color: #0f766e;
}

.poi-value-pill.poi-value-pill--neutral {
  border-color: rgba(217, 119, 6, 0.31);
  background: rgba(254, 243, 199, 0.85);
  color: #92400e;
}

.poi-value-pill.poi-value-pill--low {
  border-color: rgba(100, 116, 139, 0.35);
  background: rgba(241, 245, 249, 0.92);
  color: #334155;
}

.poi-compact-picks {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.poi-compact-picks__label {
  display: block;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.045em;
  color: var(--poi-muted);
  font-weight: 760;
}

.poi-compact-picks__list {
  display: grid;
  gap: 8px;
}

.poi-compact-picks .tp-compact-pick-row {
  grid-template-columns: auto minmax(0, 1fr) auto auto auto;
  grid-template-areas: "type label prob edge result";
  padding: 8px 10px;
  border-radius: 10px;
  gap: 8px;
  border-left-width: 4px;
  border-left-style: solid;
  transition: background-color 120ms ease, border-color 120ms ease;
}

.poi-compact-picks .tp-compact-pick-row--win {
  border-left-color: #16a34a;
}

.poi-compact-picks .tp-compact-pick-row--lose {
  border-left-color: #ef4444;
}

.poi-compact-picks .tp-compact-pick-row--void {
  border-left-color: #3b82f6;
}

.poi-compact-picks .tp-compact-pick-row--win .tp-compact-pick-row__result {
  background: rgba(16, 185, 129, 0.18);
  color: #065f46;
  font-weight: 800;
}

.poi-compact-picks .tp-compact-pick-row--lose .tp-compact-pick-row__result {
  background: rgba(239, 68, 68, 0.18);
  color: #991b1b;
  font-weight: 800;
}

[data-theme="dark"] .poi-compact-picks .tp-compact-pick-row--win .tp-compact-pick-row__result {
  background: rgba(22, 163, 74, 0.3);
  color: #bbf7d0;
}

[data-theme="dark"] .poi-compact-picks .tp-compact-pick-row--lose .tp-compact-pick-row__result {
  background: rgba(220, 38, 38, 0.3);
  color: #fecaca;
}

.poi-compact-picks--detailed .tp-compact-pick-row--win,
.poi-compact-picks--detailed .tp-compact-pick-row--lose,
.poi-compact-picks--detailed .tp-compact-pick-row--void {
  border-left-width: 5px;
}

.poi-compact-picks .tp-compact-pick-row:focus-visible {
  outline: 2px solid rgba(37, 99, 235, 0.45);
  outline-offset: 2px;
}

.poi-compact-picks .tp-compact-pick-row__type {
  min-height: 22px;
  padding: 3px 7px;
  font-size: 0.62rem;
}

.poi-compact-picks .tp-compact-pick-row__label {
  font-size: 0.75rem;
}

.poi-compact-picks .tp-compact-pick-row__prob {
  font-size: 0.74rem;
}

.poi-compact-pick-row__edge {
  grid-area: edge;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  font-size: 0.64rem;
  font-weight: 800;
  white-space: nowrap;
  color: #334155;
  background: rgba(241, 245, 249, 0.92);
}

.poi-compact-pick-row__edge--high {
  border-color: rgba(13, 148, 136, 0.36);
  background: rgba(204, 251, 241, 0.9);
  color: #0f766e;
}

.poi-compact-pick-row__edge--neutral {
  border-color: rgba(217, 119, 6, 0.3);
  background: rgba(254, 243, 199, 0.86);
  color: #92400e;
}

.poi-compact-pick-row__edge--low {
  border-color: rgba(239, 68, 68, 0.28);
  background: rgba(254, 226, 226, 0.88);
  color: #b91c1c;
}

.poi-compact-picks .tp-compact-pick-row__result {
  min-height: 22px;
  padding: 3px 7px;
  font-size: 0.66rem;
}

.poi-compact-picks--detailed {
  margin-top: 9px;
}

.poi-compact-picks--detailed .tp-compact-pick-row {
  padding: 8px 10px;
  gap: 8px;
  border-radius: 12px;
}

.poi-compact-picks--detailed .tp-compact-pick-row__type,
.poi-compact-picks--detailed .tp-compact-pick-row__result,
.poi-compact-picks--detailed .poi-compact-pick-row__edge {
  min-height: 24px;
  padding: 4px 8px;
  font-size: 0.68rem;
}

.poi-compact-picks--detailed .tp-compact-pick-row__label {
  font-size: 0.84rem;
}

.poi-compact-picks--detailed .tp-compact-pick-row__prob {
  font-size: 0.85rem;
}

.poi-card-actions {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.poi-card.is-compact .poi-keyline {
  grid-template-columns: 1fr;
  gap: 6px;
}

.poi-keyline--pick .tp-compact-pick-row {
  grid-template-columns: auto minmax(0, 1fr) auto auto auto;
  grid-template-areas: "type label prob edge result";
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.98), rgba(241, 245, 249, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  border-left-width: 4px;
  border-left-color: #2563eb;
  cursor: pointer;
  text-align: left;
  padding: 6px 8px;
}

.poi-keyline--pick button.tp-compact-pick-row,
.poi-compact-picks button.tp-compact-pick-row {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  color: inherit;
}

.poi-keyline--pick .tp-compact-pick-row:focus-visible {
  outline: 2px solid rgba(37, 99, 235, 0.45);
  outline-offset: 2px;
}

.poi-keyline--pick .tp-compact-pick-row__type {
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
}

.poi-card.is-compact .tp-team-logo {
  display: none;
}

.poi-card.is-compact .tp-team-name {
  max-width: none;
}

.poi-card-actions__buttons {
  display: inline-flex;
  gap: 6px;
  flex-wrap: wrap;
}

.poi-source {
  margin: 0;
  color: #64748b;
  font-size: 0.77rem;
}

.poi-source strong {
  color: #334155;
}

.poi-card.is-compact .poi-source {
  width: 100%;
  margin-bottom: 4px;
}

.poi-card.is-compact .poi-card-actions__buttons {
  width: 100%;
}

.poi-detail-toggle,
.poi-stats-toggle {
  border: 1px solid var(--poi-border-strong);
  background: rgba(239, 246, 255, 0.74);
  color: #1d4ed8;
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 0.74rem;
  font-weight: 730;
  cursor: pointer;
}

.poi-detail-toggle:hover,
.poi-stats-toggle:hover {
  background: rgba(219, 234, 254, 0.92);
}

.poi-detail {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(148, 163, 184, 0.45);
  display: grid;
  gap: 9px;
}

.poi-detail[hidden] {
  display: none !important;
}

.poi-stats-panel {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed rgba(148, 163, 184, 0.45);
}

.poi-stats-panel[hidden] {
  display: none !important;
}

.poi-detail-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 230px);
  gap: 10px;
  align-items: end;
}

.poi-active-source {
  border: 1px solid var(--poi-border);
  border-radius: 10px;
  background: rgba(248, 250, 252, 0.88);
  padding: 8px 9px;
}

.poi-active-source__k {
  display: block;
  font-size: 0.63rem;
  text-transform: uppercase;
  letter-spacing: 0.045em;
  color: var(--poi-muted);
  font-weight: 760;
}

.poi-active-source__v {
  display: block;
  font-size: 0.82rem;
  margin-top: 2px;
}

.poi-source-fallback,
.poi-source-updated {
  margin: 3px 0 0;
  font-size: 0.72rem;
  color: #475569;
}

.poi-detail-source-field .poi-select {
  min-height: 34px;
  padding-top: 6px;
  padding-bottom: 6px;
}

.poi-detail-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.poi-detail-tab {
  border: 1px solid rgba(148, 163, 184, 0.32);
  border-radius: 10px;
  background: rgba(241, 245, 249, 0.7);
  color: #334155;
  font-size: 0.73rem;
  font-weight: 700;
  padding: 7px 9px;
  cursor: pointer;
}

.poi-detail-tab.is-active {
  border-color: #1d4ed8;
  background: #1d4ed8;
  color: #eff6ff;
}

.poi-detail-panel {
  border: 1px solid var(--poi-border);
  border-radius: 12px;
  background: rgba(248, 250, 252, 0.82);
  padding: 10px;
}

.poi-detail-section {
  display: grid;
  gap: 8px;
}

.poi-detail-title {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #475569;
  font-weight: 760;
}

.poi-detail-summary {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #334155;
}

.poi-reading-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.poi-reading-label {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--poi-muted);
  font-weight: 760;
}

.poi-reading-pill {
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 999px;
  padding: 2px 7px;
  font-size: 0.72rem;
  font-weight: 740;
}

.poi-reading-pill--high {
  border-color: rgba(22, 163, 74, 0.35);
  color: #166534;
  background: rgba(220, 252, 231, 0.88);
}

.poi-reading-pill--medium {
  border-color: rgba(14, 116, 144, 0.35);
  color: #0e7490;
  background: rgba(224, 242, 254, 0.88);
}

.poi-reading-pill--low {
  border-color: rgba(100, 116, 139, 0.35);
  color: #334155;
  background: rgba(241, 245, 249, 0.92);
}

.poi-reading-confidence {
  font-size: 0.74rem;
  color: #334155;
}

.poi-signal-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
}

.poi-signal-card {
  border: 1px solid var(--poi-border);
  border-radius: 10px;
  background: #fff;
  padding: 7px 8px;
  min-width: 0;
}

.poi-signal-card__k {
  display: block;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--poi-muted);
  font-weight: 760;
}

.poi-signal-card__v {
  display: block;
  margin-top: 2px;
  font-size: 0.79rem;
  color: #0f172a;
}

.poi-signal-card__meta {
  display: block;
  margin-top: 2px;
  font-size: 0.7rem;
  line-height: 1.35;
  color: #475569;
}

.poi-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.poi-form-card {
  border: 1px solid var(--poi-border);
  border-radius: 10px;
  background: #fff;
  padding: 7px 8px;
}

.poi-form-card__team {
  display: block;
  font-size: 0.79rem;
  font-weight: 730;
}

.poi-form-card__label {
  display: block;
  margin-top: 1px;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--poi-muted);
}

.poi-form-row {
  display: flex;
  gap: 5px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.poi-form-pill {
  min-width: 23px;
  text-align: center;
  border-radius: 6px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  padding: 2px 0;
  font-size: 0.68rem;
  font-weight: 760;
}

.poi-form-pill--win {
  border-color: rgba(22, 163, 74, 0.35);
  background: rgba(220, 252, 231, 0.88);
  color: #166534;
}

.poi-form-pill--draw {
  border-color: rgba(14, 116, 144, 0.35);
  background: rgba(224, 242, 254, 0.88);
  color: #0e7490;
}

.poi-form-pill--loss {
  border-color: rgba(100, 116, 139, 0.35);
  background: rgba(241, 245, 249, 0.92);
  color: #334155;
}

.poi-stat-columns {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  align-items: center;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--poi-muted);
  font-weight: 760;
  margin-top: 2px;
}

.poi-stat-columns span:first-child {
  text-align: left;
}

.poi-stat-columns span:nth-child(2) {
  text-align: center;
}

.poi-stat-columns span:last-child {
  text-align: right;
}

.poi-stat-rows {
  display: grid;
  gap: 6px;
}

.poi-stat-row {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 70px;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--poi-border);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.92);
  padding: 6px 8px;
}

.poi-stat-row__value {
  font-size: 0.77rem;
  font-weight: 760;
  color: #0f172a;
}

.poi-stat-row__value:first-child {
  text-align: left;
}

.poi-stat-row__value:last-child {
  text-align: right;
}

.poi-stat-row__label {
  font-size: 0.72rem;
  color: #475569;
  text-align: center;
  line-height: 1.3;
}

.poi-odds-picked {
  margin: 0;
  font-size: 0.77rem;
  color: #334155;
}

.poi-main-market-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.poi-main-market-card {
  border: 1px solid var(--poi-border);
  border-radius: 10px;
  background: #fff;
  padding: 8px 9px;
  display: grid;
  gap: 2px;
}

.poi-main-market-card__code {
  width: fit-content;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 760;
  color: #1d4ed8;
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: 999px;
  padding: 1px 6px;
}

.poi-main-market-card__team {
  font-size: 0.73rem;
  color: #334155;
  line-height: 1.3;
}

.poi-main-market-card__odds {
  font-size: 0.86rem;
}

.poi-secondary-title {
  margin-top: 8px;
  margin-bottom: 6px;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--poi-muted);
  font-weight: 760;
}

.poi-secondary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.poi-secondary-card {
  border: 1px solid var(--poi-border);
  border-radius: 10px;
  padding: 7px 8px;
  background: rgba(255, 255, 255, 0.94);
  min-width: 0;
  display: grid;
  gap: 4px;
}

.poi-secondary-card--priority {
  border-color: rgba(37, 99, 235, 0.38);
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.9) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.poi-secondary-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.poi-secondary-card__market {
  display: block;
  min-width: 0;
  font-size: 0.75rem;
  line-height: 1.25;
  font-weight: 740;
  color: #334155;
}

.poi-secondary-card__odds {
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1;
  color: #0f172a;
  white-space: nowrap;
}

.poi-secondary-card__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  min-height: 18px;
}

.poi-secondary-card__pick {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 999px;
  padding: 1px 6px;
  font-size: 0.68rem;
  font-weight: 700;
  color: #1e293b;
  background: rgba(248, 250, 252, 0.92);
}

.poi-secondary-card__prob {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 1px 6px;
  font-size: 0.66rem;
  font-weight: 700;
  color: #475569;
  background: rgba(241, 245, 249, 0.9);
}

.poi-secondary-card__edge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 1px 6px;
  font-size: 0.66rem;
  font-weight: 800;
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: #334155;
  background: rgba(241, 245, 249, 0.9);
}

.poi-secondary-card__edge--high {
  border-color: rgba(13, 148, 136, 0.36);
  background: rgba(204, 251, 241, 0.9);
  color: #0f766e;
}

.poi-secondary-card__edge--neutral {
  border-color: rgba(217, 119, 6, 0.3);
  background: rgba(254, 243, 199, 0.86);
  color: #92400e;
}

.poi-secondary-card__edge--low {
  border-color: rgba(239, 68, 68, 0.28);
  background: rgba(254, 226, 226, 0.88);
  color: #b91c1c;
}

.poi-no-secondary {
  margin: 0;
  font-size: 0.78rem;
  color: #64748b;
}

.poi-empty {
  border: 1px dashed rgba(148, 163, 184, 0.6);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
  font-size: 0.84rem;
  color: #64748b;
  background: rgba(248, 250, 252, 0.92);
}

.poi-empty--loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.poi-empty--loading::before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 2px solid rgba(148, 163, 184, 0.42);
  border-top-color: #2563eb;
  flex: 0 0 auto;
  animation: poi-spin 0.82s linear infinite;
}

@keyframes poi-spin {
  to { transform: rotate(360deg); }
}

.poi-kpis {
  width: min(1120px, 100%);
  margin: 0.1rem auto 0.55rem;
  padding: 0 0.5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.52rem;
}

.poi-kpis .stat-chip {
  margin: 0;
  background: var(--background-light);
  border: 1px solid rgba(41, 75, 167, 0.24);
  border-radius: 0.75rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  padding: 0.48rem 0.54rem 0.5rem;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.12rem;
  border-top: 3px solid rgba(41, 75, 167, 0.55);
}

.poi-kpis .stat-label {
  margin: 0;
  font-size: clamp(0.6rem, 0.22vw + 0.54rem, 0.68rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.16;
}

.poi-kpis .stat-value {
  margin: 0;
  font-size: clamp(0.95rem, 0.35vw + 0.83rem, 1.08rem);
  font-weight: 900;
  line-height: 1.04;
  color: var(--text-color-light);
}

.poi-kpis .stat-sub {
  margin: 0;
  font-size: clamp(0.66rem, 0.18vw + 0.6rem, 0.72rem);
  line-height: 1.15;
  color: var(--muted);
}

.poi-kpis .stat-chip--rate.is-high {
  border-top-color: #1f7a49;
}

.poi-kpis .stat-chip--rate.is-high .stat-value {
  color: #1f7a49;
}

.poi-kpis .stat-chip--rate.is-mid {
  border-top-color: #bb7a24;
}

.poi-kpis .stat-chip--rate.is-mid .stat-value {
  color: #8a5a1a;
}

.poi-kpis .stat-chip--rate.is-low {
  border-top-color: #b3483e;
}

.poi-kpis .stat-chip--rate.is-low .stat-value {
  color: #a93f34;
}

.poi-kpis .stat-chip--rate.is-na {
  border-top-color: rgba(41, 75, 167, 0.45);
}

@media (max-width: 1120px) {
  .poi-signal-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1040px) {
  .poi-mode-chips {
    grid-template-columns: 1fr;
  }

  .poi-quick-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .poi-keyline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .poi-secondary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .poi-main-market-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .poi-hero {
    padding-top: 34px;
    padding-bottom: 14px;
  }

  .poi-hero .tp-hero-card {
    text-align: center;
    padding: 16px;
  }

  .poi-hero .tp-subtitle {
    margin-inline: auto;
  }

  .poi-date-tabs,
  .poi-mode-chips,
  .poi-quick-filters,
  .poi-advanced-grid,
  .poi-keyline,
  .poi-kpis,
  .poi-signal-grid,
  .poi-form-grid,
  .poi-secondary-grid,
  .poi-main-market-grid {
    grid-template-columns: 1fr;
  }

  .poi-card-premium {
    position: static;
    width: fit-content;
    margin-bottom: 7px;
  }

  .poi-card .tp-team-logo {
    width: 36px;
    height: 36px;
  }

  .poi-card .tp-team-name {
    max-width: 130px;
    font-size: 0.82rem;
  }

  .poi-card .tp-vs.poi-match-score {
    display: inline-flex;
  }

  .poi-card-actions {
    align-items: flex-start;
  }

  .poi-profile-row {
    flex-wrap: wrap;
  }

  .poi-profile-wrap {
    flex: 1 1 100%;
  }

  .poi-card-actions__buttons {
    width: 100%;
  }

  .poi-detail-toggle,
  .poi-stats-toggle {
    flex: 1 1 0;
    text-align: center;
  }

  .poi-detail-head {
    grid-template-columns: 1fr;
  }

  .poi-detail-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .poi-keyline--pick .tp-compact-pick-row,
  .poi-compact-picks .tp-compact-pick-row {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
      "type label prob"
      "edge result result";
    align-items: start;
  }

  .poi-keyline--pick .tp-compact-pick-row__result,
  .poi-compact-picks .tp-compact-pick-row__result,
  .poi-keyline--pick .poi-compact-pick-row__edge,
  .poi-compact-picks .poi-compact-pick-row__edge {
    justify-self: start;
  }

  .poi-stat-row {
    grid-template-columns: 64px minmax(0, 1fr) 64px;
  }
}

@media (max-width: 520px) {
  .poi-detail-tabs {
    grid-template-columns: 1fr;
  }

  .poi-stat-columns {
    display: none;
  }

  .poi-stat-row {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .poi-stat-row__value,
  .poi-stat-row__label {
    text-align: left;
  }
}

[data-theme="dark"] .poi-inline-note {
  color: #94a3b8;
}

[data-theme="dark"] .poi-date-tab,
[data-theme="dark"] .poi-select,
[data-theme="dark"] .poi-advanced-filters,
[data-theme="dark"] .poi-key-item,
[data-theme="dark"] .poi-active-source,
[data-theme="dark"] .poi-detail-panel,
[data-theme="dark"] .poi-signal-card,
[data-theme="dark"] .poi-form-card,
[data-theme="dark"] .poi-stat-row,
[data-theme="dark"] .poi-main-market-card,
[data-theme="dark"] .poi-secondary-card,
[data-theme="dark"] .poi-empty {
  background: rgba(15, 23, 42, 0.8);
  border-color: #334155;
}

[data-theme="dark"] .poi-date-tab {
  color: #bfdbfe;
}

[data-theme="dark"] .poi-card .tp-vs.poi-match-score {
  color: #e2e8f0;
}

[data-theme="dark"] .poi-card .tp-vs.poi-match-score.poi-match-score--success {
  color: #34d399;
}

[data-theme="dark"] .poi-card .tp-vs.poi-match-score.poi-match-score--failed {
  color: #f87171;
}

[data-theme="dark"] .poi-date-tab__top,
[data-theme="dark"] .poi-date-tab__count,
[data-theme="dark"] .poi-field > span,
[data-theme="dark"] .poi-compact-picks__label,
[data-theme="dark"] .poi-key-item__k,
[data-theme="dark"] .poi-main-market-card__team,
[data-theme="dark"] .poi-secondary-title,
[data-theme="dark"] .poi-secondary-card__market,
[data-theme="dark"] .poi-source,
[data-theme="dark"] .poi-source-updated,
[data-theme="dark"] .poi-source-fallback,
[data-theme="dark"] .poi-stat-row__label,
[data-theme="dark"] .poi-stat-columns,
[data-theme="dark"] .poi-no-secondary,
[data-theme="dark"] .poi-empty,
[data-theme="dark"] .poi-detail-title,
[data-theme="dark"] .poi-detail-summary,
[data-theme="dark"] .poi-reading-label,
[data-theme="dark"] .poi-form-card__label,
[data-theme="dark"] .poi-signal-card__k,
[data-theme="dark"] .poi-signal-card__meta {
  color: #94a3b8;
}

[data-theme="dark"] .poi-date-tab.is-active {
  background: #2563eb;
  border-color: #60a5fa;
  color: #eff6ff;
}

[data-theme="dark"] .poi-date-tab.is-active .poi-date-tab__top,
[data-theme="dark"] .poi-date-tab.is-active .poi-date-tab__count {
  color: #dbeafe;
}

[data-theme="dark"] .poi-card-premium {
  background: rgba(30, 58, 138, 0.45);
  border-color: rgba(96, 165, 250, 0.44);
  color: #bfdbfe;
}

[data-theme="dark"] .poi-key-item__v,
[data-theme="dark"] .poi-source strong,
[data-theme="dark"] .poi-active-source__v,
[data-theme="dark"] .poi-reading-confidence,
[data-theme="dark"] .poi-form-card__team,
[data-theme="dark"] .poi-main-market-card__odds,
[data-theme="dark"] .poi-secondary-card__odds,
[data-theme="dark"] .poi-secondary-card__pick,
[data-theme="dark"] .poi-stat-row__value,
[data-theme="dark"] .poi-odds-picked {
  color: #e2e8f0;
}

[data-theme="dark"] .poi-secondary-card__market {
  color: #e2e8f0;
}

[data-theme="dark"] .poi-secondary-card__meta {
  color: #cbd5e1;
}

[data-theme="dark"] .poi-secondary-card__pick {
  border-color: rgba(96, 165, 250, 0.35);
  background: rgba(30, 58, 138, 0.35);
  color: #bfdbfe;
}

[data-theme="dark"] .poi-secondary-card__prob {
  background: rgba(51, 65, 85, 0.74);
  color: #cbd5e1;
}

[data-theme="dark"] .poi-secondary-card__edge,
[data-theme="dark"] .poi-compact-pick-row__edge {
  border-color: rgba(96, 165, 250, 0.35);
  background: rgba(51, 65, 85, 0.74);
  color: #cbd5e1;
}

[data-theme="dark"] .poi-secondary-card__edge--high,
[data-theme="dark"] .poi-compact-pick-row__edge--high {
  border-color: rgba(45, 212, 191, 0.38);
  background: rgba(15, 118, 110, 0.34);
  color: #5eead4;
}

[data-theme="dark"] .poi-secondary-card__edge--neutral,
[data-theme="dark"] .poi-compact-pick-row__edge--neutral {
  border-color: rgba(251, 191, 36, 0.34);
  background: rgba(120, 53, 15, 0.4);
  color: #fcd34d;
}

[data-theme="dark"] .poi-secondary-card__edge--low,
[data-theme="dark"] .poi-compact-pick-row__edge--low {
  border-color: rgba(248, 113, 113, 0.38);
  background: rgba(127, 29, 29, 0.42);
  color: #fca5a5;
}

[data-theme="dark"] .poi-keyline--pick .tp-compact-pick-row {
  border-color: #334155;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.8), rgba(30, 41, 59, 0.72));
}

[data-theme="dark"] .poi-keyline--pick .tp-compact-pick-row__type {
  background: rgba(96, 165, 250, 0.2);
  color: #bfdbfe;
}

[data-theme="dark"] .poi-secondary-card--priority {
  border-color: rgba(96, 165, 250, 0.5);
  background: linear-gradient(180deg, rgba(30, 58, 138, 0.32) 0%, rgba(15, 23, 42, 0.82) 100%);
}

[data-theme="dark"] .poi-detail-toggle,
[data-theme="dark"] .poi-stats-toggle {
  border-color: rgba(96, 165, 250, 0.38);
  background: rgba(30, 41, 59, 0.8);
  color: #bfdbfe;
}

[data-theme="dark"] .poi-detail-toggle:hover,
[data-theme="dark"] .poi-stats-toggle:hover {
  background: rgba(37, 99, 235, 0.24);
}

[data-theme="dark"] .poi-detail-tab {
  border-color: rgba(96, 165, 250, 0.32);
  background: rgba(30, 41, 59, 0.8);
  color: #bfdbfe;
}

[data-theme="dark"] .poi-detail-tab.is-active {
  background: #2563eb;
  border-color: #60a5fa;
  color: #eff6ff;
}

[data-theme="dark"] .poi-main-market-card__code {
  border-color: rgba(96, 165, 250, 0.4);
  color: #bfdbfe;
}

[data-theme="dark"] .poi-mode-chip {
  background: rgba(15, 23, 42, 0.82);
  border-color: rgba(96, 165, 250, 0.34);
  color: #dbeafe;
}

[data-theme="dark"] .poi-mode-chip:hover:not(.is-active) {
  background: rgba(37, 99, 235, 0.2);
}

[data-theme="dark"] .poi-mode-chip.is-active {
  background: rgba(37, 99, 235, 0.55);
  border-color: rgba(147, 197, 253, 0.7);
  color: #f0f7ff;
}

[data-theme="dark"] .poi-mode-chip__rate {
  background: rgba(96, 165, 250, 0.15);
  color: #93c5fd;
}

[data-theme="dark"] .poi-mode-chip__count {
  color: rgba(96, 165, 250, 0.6);
}

[data-theme="dark"] .poi-mode-chip.is-active .poi-mode-chip__count {
  color: rgba(255, 255, 255, 0.65);
}

[data-theme="dark"] .poi-profile-row {
  border-color: rgba(96, 165, 250, 0.12);
}

[data-theme="dark"] #poi-mode-menu-button {
  background: rgba(37, 99, 235, 0.12);
  border-color: rgba(96, 165, 250, 0.34);
  color: #93c5fd;
}

[data-theme="dark"] #poi-mode-menu-button:hover {
  background: rgba(37, 99, 235, 0.22);
}

[data-theme="dark"] #poi-mode-menu-panel,
[data-theme="dark"] .poi-mode-option {
  background: #0f172a;
  border-color: #1e293b;
}

[data-theme="dark"] .poi-mode-option.is-active {
  background: rgba(37, 99, 235, 0.25);
  border-color: rgba(147, 197, 253, 0.5);
}

[data-theme="dark"] .poi-mode-option__title {
  color: #e2e8f0;
}

[data-theme="dark"] .poi-mode-option__desc,
[data-theme="dark"] .poi-profile-empty__text {
  color: #94a3b8;
}

[data-theme="dark"] .poi-profile-menu-footer,
[data-theme="dark"] .poi-profile-edit-link {
  border-color: #334155;
}

[data-theme="dark"] .poi-profile-edit-link {
  color: #94a3b8;
}

[data-theme="dark"] .poi-reading-pill--high {
  border-color: rgba(74, 222, 128, 0.35);
  color: #86efac;
  background: rgba(20, 83, 45, 0.4);
}

[data-theme="dark"] .poi-reading-pill--medium {
  border-color: rgba(56, 189, 248, 0.35);
  color: #7dd3fc;
  background: rgba(8, 47, 73, 0.45);
}

[data-theme="dark"] .poi-reading-pill--low {
  border-color: rgba(148, 163, 184, 0.35);
  color: #cbd5e1;
  background: rgba(30, 41, 59, 0.9);
}

[data-theme="dark"] .poi-detail,
[data-theme="dark"] .poi-stats-panel {
  border-color: rgba(148, 163, 184, 0.34);
}

[data-theme="dark"] .poi-range-value {
  color: #cbd5e1;
}

[data-theme="dark"] .poi-filter-prefs-trigger,
[data-theme="dark"] .poi-bookmaker-prefs-trigger {
  border-color: rgba(96, 165, 250, 0.38);
  background: rgba(30, 41, 59, 0.82);
  color: #bfdbfe;
}

[data-theme="dark"] .poi-filter-prefs-trigger:hover,
[data-theme="dark"] .poi-bookmaker-prefs-trigger:hover {
  background: rgba(37, 99, 235, 0.24);
}

[data-theme="dark"] .poi-bookmaker-modal__dialog {
  border-color: rgba(96, 165, 250, 0.2);
  background: #0f172a;
}

[data-theme="dark"] .poi-bookmaker-modal__title {
  color: #e2e8f0;
}

[data-theme="dark"] .poi-bookmaker-modal__lead {
  color: #94a3b8;
}

[data-theme="dark"] .poi-bookmaker-modal__text-btn {
  color: #93c5fd;
}

[data-theme="dark"] .poi-bookmaker-modal__list {
  border-color: rgba(148, 163, 184, 0.3);
  background: rgba(15, 23, 42, 0.74);
}

[data-theme="dark"] .poi-bookmaker-modal__item {
  color: #e2e8f0;
}

[data-theme="dark"] .poi-bookmaker-modal__badge--anj {
  border-color: rgba(96, 165, 250, 0.4);
  background: rgba(30, 58, 138, 0.45);
  color: #bfdbfe;
}

[data-theme="dark"] .poi-bookmaker-modal__badge--new {
  border-color: rgba(251, 191, 36, 0.4);
  background: rgba(120, 53, 15, 0.45);
  color: #fde68a;
}

[data-theme="dark"] .poi-bookmaker-modal__btn--ghost {
  border-color: rgba(148, 163, 184, 0.36);
  background: rgba(30, 41, 59, 0.86);
  color: #cbd5e1;
}

.poi-field__label-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.poi-help {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.poi-help__button {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(30, 64, 175, 0.35);
  border-radius: 50%;
  background: rgba(239, 246, 255, 0.9);
  color: #1e3a8a;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.poi-help__button:hover,
.poi-help__button:focus-visible {
  background: rgba(219, 234, 254, 0.95);
  outline: 2px solid rgba(37, 99, 235, 0.4);
  outline-offset: 1px;
}

.poi-help__popover {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 50;
  display: block;
  width: max-content;
  max-width: min(280px, 80vw);
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(30, 64, 175, 0.2);
  background: #ffffff;
  color: #0f172a;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.4;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.18);
  white-space: normal;
}

.poi-help__popover[hidden] { display: none; }

@media (max-width: 560px) {
  .poi-help__popover {
    left: auto;
    right: 0;
    max-width: min(260px, 86vw);
  }
}

[data-theme="dark"] .poi-help__button {
  border-color: rgba(96, 165, 250, 0.45);
  background: rgba(30, 58, 138, 0.45);
  color: #bfdbfe;
}

[data-theme="dark"] .poi-help__popover {
  background: #0f172a;
  border-color: rgba(96, 165, 250, 0.3);
  color: #e2e8f0;
  box-shadow: 0 10px 28px rgba(2, 6, 23, 0.6);
}

.poi-league-link {
  text-decoration: none;
  cursor: pointer;
}
.poi-league-link:hover,
.poi-league-link:focus-visible {
  text-decoration: underline;
}
