#profile-v2-root .profile-v2-header-actions {
  flex: 0 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: clamp(8px, 1vw, 12px);
}

/* Analysis hand drilldown */
#profile-v2-root .profile-v2-analysis-stat-info-button,
#profile-v2-root .profile-v2-analysis-drilldown-button,
#profile-v2-root .profile-v2-performance-side,
#profile-v2-root .profile-v2-performance-pot-types button,
#profile-v2-root button.profile-v2-range-action-row {
  appearance: none;
  border: 0;
  font: inherit;
  color: inherit;
  text-align: inherit;
  cursor: pointer;
}

#profile-v2-root .profile-v2-analysis-stat-info-button,
#profile-v2-root .profile-v2-analysis-drilldown-button,
#profile-v2-root .profile-v2-performance-side,
#profile-v2-root .profile-v2-performance-pot-types button {
  background: transparent;
}

#profile-v2-root .profile-v2-analysis-stat-info-button:hover,
#profile-v2-root .profile-v2-analysis-stat-info-button:focus-visible,
#profile-v2-root .profile-v2-performance-side:hover:not(:disabled),
#profile-v2-root .profile-v2-performance-side:focus-visible:not(:disabled),
#profile-v2-root .profile-v2-performance-pot-types button:focus-visible {
  background: rgba(32, 202, 243, .055);
  box-shadow: inset 0 0 0 1px rgba(32, 202, 243, .24), 0 0 10px rgba(32, 202, 243, .07);
  outline: none;
}

#profile-v2-root .profile-v2-analysis-drilldown-button {
  z-index: 2;
  width: clamp(15px, 1.45vw, 18px);
  height: clamp(15px, 1.45vw, 18px);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  padding: 0;
  border: 1px solid rgba(77, 197, 231, .42);
  border-radius: 50%;
  background: rgba(11, 37, 48, .7);
  color: rgba(117, 221, 247, .78);
  box-shadow: inset 0 0 0 1px rgba(32, 202, 243, .025), 0 0 7px rgba(32, 202, 243, .06);
  cursor: pointer;
}

#profile-v2-root .profile-v2-analysis-drilldown-button span {
  color: inherit;
  font: 850 clamp(10px, 1vw, 12px)/1 system-ui, sans-serif;
  transform: translate(.5px, -1px);
}

#profile-v2-root .profile-v2-analysis-drilldown-button:hover,
#profile-v2-root .profile-v2-analysis-drilldown-button:focus-visible {
  border-color: rgba(72, 214, 245, .72);
  background: rgba(23, 66, 88, .74);
  color: #c3fbfe;
  outline: none;
}

#profile-v2-root .profile-v2-analysis-metric,
#profile-v2-root .profile-v2-analysis-stat-line {
  position: relative;
}

#profile-v2-root button.profile-v2-range-action-row {
  width: 100%;
  background: transparent;
  grid-template-columns: 42px minmax(0, 1fr) 40px 9px;
}

#profile-v2-root button.profile-v2-range-action-row > i {
  color: rgba(77, 197, 231, .55);
  font-style: normal;
  text-align: right;
}

#profile-v2-root button.profile-v2-range-action-row:hover:not(:disabled),
#profile-v2-root button.profile-v2-range-action-row:focus-visible:not(:disabled) {
  filter: brightness(1.12);
  outline: none;
}

#profile-v2-root button.profile-v2-range-action-row:disabled {
  cursor: default;
}

#profile-v2-root .profile-v2-drilldown-view {
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: clamp(6px, .8cqh, 10px);
}

#profile-v2-root .profile-v2-drilldown-header {
  min-height: 46px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 12px;
  border: 1px solid rgba(91, 153, 183, .18);
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(6, 27, 41, .92), rgba(4, 17, 29, .88));
}

#profile-v2-root .profile-v2-drilldown-header button {
  appearance: none;
  min-width: 64px;
  height: 30px;
  border: 1px solid rgba(32, 202, 243, .28);
  border-radius: 8px;
  color: #91e6f8;
  background: rgba(4, 25, 37, .82);
  font: 700 10px/1 system-ui, sans-serif;
  letter-spacing: .08em;
}

#profile-v2-root .profile-v2-drilldown-header > div > span {
  display: block;
  margin-bottom: 2px;
  color: rgba(133, 170, 190, .62);
  font: 700 8px/1 system-ui, sans-serif;
  letter-spacing: .15em;
}

#profile-v2-root .profile-v2-drilldown-header h3 {
  margin: 0;
  color: #dffbff;
  font: 800 clamp(13px, 1.25cqw, 18px)/1.1 system-ui, sans-serif;
  letter-spacing: .045em;
}

#profile-v2-root .profile-v2-drilldown-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(116px, 1.25fr);
  min-height: 52px;
  border: 1px solid rgba(91, 153, 183, .18);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(4, 21, 33, .76);
}

#profile-v2-root .profile-v2-drilldown-summary > div {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3px;
  padding: 6px;
}

#profile-v2-root .profile-v2-drilldown-summary > div + div { border-left: 1px solid rgba(91, 153, 183, .13); }
#profile-v2-root .profile-v2-drilldown-summary span { color: rgba(151, 184, 194, .65); font: 700 7px/1 system-ui, sans-serif; letter-spacing: .09em; }
#profile-v2-root .profile-v2-drilldown-summary strong { color: #20caf3; font: 800 16px/1 system-ui, sans-serif; }
#profile-v2-root .profile-v2-drilldown-summary small { color: rgba(163, 218, 226, .72); font: 700 7px/1 system-ui, sans-serif; letter-spacing: .04em; }
#profile-v2-root .profile-v2-drilldown-summary .is-availability strong { color: #e0f8fb; font-size: 13px; }

#profile-v2-root .profile-v2-drilldown-list {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgba(32, 202, 243, .28) transparent;
  display: grid;
  align-content: start;
  gap: 5px;
  padding-right: 3px;
}

#profile-v2-root .profile-v2-drilldown-filter-context {
  display: block;
  margin-top: 2px;
  color: rgba(149, 190, 210, .58);
  font: 750 clamp(5px, .58vw, 7px)/1.15 system-ui, sans-serif;
  letter-spacing: .055em;
  white-space: nowrap;
}

#profile-v2-root .profile-v2-drilldown-more {
  display: flex;
  justify-content: center;
  padding: 8px 0 3px;
}

#profile-v2-root .profile-v2-drilldown-more button {
  min-width: 112px;
  min-height: 30px;
  border: 1px solid rgba(32, 202, 243, .28);
  border-radius: 8px;
  background: rgba(8, 35, 43, .88);
  color: #bdf8fc;
  font: 800 8px/1 system-ui, sans-serif;
  letter-spacing: .12em;
  cursor: pointer;
}

#profile-v2-root .profile-v2-drilldown-more button:disabled {
  cursor: wait;
  opacity: .58;
}

#profile-v2-root .profile-v2-drilldown-hand {
  appearance: none;
  width: 100%;
  min-height: 43px;
  display: grid;
  grid-template-columns: 76px minmax(70px, 1fr) 52px minmax(90px, 1fr) 62px 68px 10px;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid rgba(91, 153, 183, .16);
  border-radius: 9px;
  background: linear-gradient(90deg, rgba(7, 27, 40, .88), rgba(4, 17, 28, .75));
  color: #c8e5e9;
  text-align: left;
}

#profile-v2-root .profile-v2-drilldown-hand:hover,
#profile-v2-root .profile-v2-drilldown-hand:focus-visible {
  border-color: rgba(32, 202, 243, .45);
  box-shadow: 0 0 11px rgba(32, 202, 243, .08);
  outline: none;
}

#profile-v2-root .profile-v2-drilldown-hand-id { color: rgba(154, 187, 197, .66); font: 700 9px/1 system-ui, sans-serif; }
#profile-v2-root .profile-v2-drilldown-cards { color: #f0fdff; font: 800 13px/1 system-ui, sans-serif; }
#profile-v2-root .profile-v2-drilldown-position { color: #a578ff; font: 800 9px/1 system-ui, sans-serif; }
#profile-v2-root .profile-v2-drilldown-outcome { font: 800 9px/1 system-ui, sans-serif; letter-spacing: .04em; }
#profile-v2-root .profile-v2-drilldown-outcome em {
  display: inline-block;
  margin-left: 5px;
  padding: 2px 4px;
  border: 1px solid rgba(151, 184, 194, .18);
  border-radius: 999px;
  color: rgba(180, 205, 213, .68);
  font: 800 6px/1 system-ui, sans-serif;
  letter-spacing: .07em;
}
#profile-v2-root .profile-v2-drilldown-outcome.is-success { color: #20caf3; }
#profile-v2-root .profile-v2-drilldown-outcome.is-miss { color: #aab8c2; }
#profile-v2-root .profile-v2-drilldown-delta { color: #d8eff2; font: 800 10px/1 system-ui, sans-serif; text-align: right; }
#profile-v2-root .profile-v2-drilldown-hand small { color: rgba(151, 184, 194, .55); font: 700 7px/1 system-ui, sans-serif; text-align: right; }
#profile-v2-root .profile-v2-drilldown-hand i { color: #20caf3; font-style: normal; }

#profile-v2-root .profile-v2-drilldown-status,
#profile-v2-root .profile-v2-drilldown-empty {
  grid-row: 2 / 4;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(91, 153, 183, .16);
  border-radius: 12px;
  color: rgba(159, 194, 203, .7);
  background: rgba(4, 18, 29, .55);
  font: 700 10px/1.2 system-ui, sans-serif;
  letter-spacing: .1em;
}

#profile-v2-root .profile-v2-drilldown-empty { grid-row: auto; height: 100%; }
#profile-v2-root .profile-v2-drilldown-empty strong { color: #d7ecef; }
#profile-v2-root .profile-v2-drilldown-status.is-error { color: #e6a9b3; }

@container profile-v2-shell (max-width: 699px) {
  #profile-v2-root button.profile-v2-range-action-row {
    grid-template-columns: 25px minmax(0, 1fr) 24px 6px;
  }
  #profile-v2-root .profile-v2-drilldown-view { gap: 4px; }
  #profile-v2-root .profile-v2-drilldown-header { min-height: 31px; gap: 6px; padding: 3px 6px; border-radius: 7px; }
  #profile-v2-root .profile-v2-drilldown-header button { min-width: 42px; height: 22px; padding: 0 4px; font-size: 5px; border-radius: 5px; }
  #profile-v2-root .profile-v2-drilldown-header > div > span { font-size: 4px; }
  #profile-v2-root .profile-v2-drilldown-header h3 { font-size: 8px; }
  #profile-v2-root .profile-v2-drilldown-filter-context { margin-top: 1px; font-size: 4.5px; }
  #profile-v2-root .profile-v2-drilldown-summary { min-height: 34px; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(64px, 1.25fr); border-radius: 7px; }
  #profile-v2-root .profile-v2-drilldown-summary > div { gap: 2px; padding: 3px; }
  #profile-v2-root .profile-v2-drilldown-summary span { font-size: 4px; }
  #profile-v2-root .profile-v2-drilldown-summary strong { font-size: 9px; }
  #profile-v2-root .profile-v2-drilldown-summary small { font-size: 4px; }
  #profile-v2-root .profile-v2-drilldown-summary .is-availability strong { font-size: 7px; }
  #profile-v2-root .profile-v2-drilldown-list { gap: 3px; }
  #profile-v2-root .profile-v2-drilldown-hand {
    min-height: 27px;
    grid-template-columns: 39px minmax(34px, .8fr) 25px minmax(45px, 1fr) 31px 34px 5px;
    gap: 3px;
    padding: 3px 5px;
    border-radius: 5px;
  }
  #profile-v2-root .profile-v2-drilldown-hand-id,
  #profile-v2-root .profile-v2-drilldown-position,
  #profile-v2-root .profile-v2-drilldown-outcome { font-size: 4.5px; }
  #profile-v2-root .profile-v2-drilldown-cards { font-size: 7px; }
  #profile-v2-root .profile-v2-drilldown-delta { font-size: 5px; }
  #profile-v2-root .profile-v2-drilldown-hand small { font-size: 3.7px; }
}

#profile-v2-root .profile-v2-header-actions .profile-v2-close {
  margin-left: 0;
}

#profile-v2-root .profile-v2-analysis-info {
  flex: 0 0 auto;
  width: clamp(24px, 4.4vh, 34px);
  height: clamp(24px, 4.4vh, 34px);
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(32, 202, 243, .48);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(32, 202, 243, .075), rgba(7, 19, 30, .88) 72%);
  color: rgba(100, 211, 240, .8);
  filter: drop-shadow(0 0 4px rgba(32, 202, 243, .12));
}

#profile-v2-root .profile-v2-analysis-info[hidden] {
  display: none !important;
}

#profile-v2-root .profile-v2-analysis-info .profile-v2-icon {
  width: clamp(12px, 2vh, 16px);
  height: clamp(12px, 2vh, 16px);
  stroke-width: 1.75;
}

#profile-v2-root .profile-v2-analysis-info:active,
#profile-v2-root .profile-v2-analysis-info[aria-expanded="true"] {
  color: var(--profile-v2-cyan-bright);
  background: radial-gradient(circle, rgba(32, 202, 243, .12), rgba(7, 25, 36, .94) 72%);
}

#profile-v2-root .profile-v2-analysis-info:focus-visible,
#profile-v2-root .profile-v2-guide-close:focus-visible,
#profile-v2-root .profile-v2-guide-tab:focus-visible {
  outline: 1px solid rgba(32, 202, 243, .62);
  outline-offset: 2px;
}

#profile-v2-root .profile-v2-analysis-view {
  min-height: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: #f1f5f7;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  place-items: stretch;
  overflow: hidden;
}

#profile-v2-root .profile-v2-analysis-subtabs {
  display: grid;
  grid-template-rows: clamp(27px, 4.6vh, 32px) auto;
  align-items: stretch;
  padding: 0;
  border-bottom: 1px solid rgba(100, 193, 225, .1);
  background: rgba(3, 10, 17, .38);
}

#profile-v2-root .profile-v2-analysis-tabset {
  min-width: 0;
  display: flex;
  align-items: stretch;
  padding: 0 clamp(8px, 1.2vw, 14px);
}

#profile-v2-root .profile-v2-analysis-contexts {
  min-width: 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, max-content);
  grid-template-rows: 28px;
  align-items: center;
  justify-content: end;
  gap: clamp(5px, .65vw, 8px);
  padding: 2px clamp(8px, 1.2vw, 14px);
  border-top: 1px solid rgba(100, 193, 225, .055);
}

#profile-v2-root .profile-v2-analysis-contexts[hidden] { display: none !important; }

#profile-v2-root .profile-v2-analysis-contexts:not(.is-range-context) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, 28px);
  justify-content: stretch;
  column-gap: clamp(6px, .7vw, 9px);
  row-gap: 0;
}

#profile-v2-root .profile-v2-analysis-contexts:not(.is-range-context) .profile-v2-analysis-period,
#profile-v2-root .profile-v2-analysis-contexts:not(.is-range-context) .profile-v2-analysis-stack {
  justify-self: start;
  justify-content: flex-start;
}

#profile-v2-root .profile-v2-analysis-contexts:not(.is-range-context) .profile-v2-analysis-players,
#profile-v2-root .profile-v2-analysis-contexts:not(.is-range-context) .profile-v2-analysis-position-context {
  justify-self: end;
  justify-content: flex-end;
}

#profile-v2-root .profile-v2-analysis-contexts.is-range-context {
  width: 100%;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  justify-content: stretch;
  column-gap: clamp(32px, 8vw, 112px);
}

#profile-v2-root .profile-v2-analysis-contexts.is-range-context .profile-v2-analysis-period {
  justify-self: start;
  justify-content: flex-start;
}

#profile-v2-root .profile-v2-analysis-contexts.is-range-context .profile-v2-analysis-stack {
  justify-self: end;
  justify-content: flex-end;
}

#profile-v2-root .profile-v2-analysis-period,
#profile-v2-root .profile-v2-analysis-players,
#profile-v2-root .profile-v2-analysis-stack,
#profile-v2-root .profile-v2-analysis-position-context {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5px;
}

#profile-v2-root .profile-v2-analysis-context-label {
  margin-right: 2px;
  color: rgba(132, 179, 201, .55);
  font: 800 clamp(5.5px, .6vw, 7px)/1 system-ui, sans-serif;
  letter-spacing: .11em;
  white-space: nowrap;
}

#profile-v2-root .profile-v2-analysis-contexts > [hidden] { display: none !important; }

#profile-v2-root .profile-v2-analysis-period button,
#profile-v2-root .profile-v2-analysis-players button,
#profile-v2-root .profile-v2-analysis-stack button,
#profile-v2-root .profile-v2-analysis-position-context button {
  appearance: none;
  isolation: isolate;
  position: relative;
  min-width: 38px;
  height: 24px;
  padding: 0 5px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: rgba(180, 201, 211, .5);
  font: 800 clamp(7px, .68vw, 8.5px)/1 system-ui, sans-serif;
  letter-spacing: .055em;
  white-space: nowrap;
}

#profile-v2-root .profile-v2-analysis-period button::before,
#profile-v2-root .profile-v2-analysis-players button::before,
#profile-v2-root .profile-v2-analysis-stack button::before,
#profile-v2-root .profile-v2-analysis-position-context button::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 2px 0;
  border: 1px solid rgba(101, 146, 172, .16);
  border-radius: 7px;
  background: rgba(5, 18, 29, .54);
}

#profile-v2-root .profile-v2-analysis-period button::after,
#profile-v2-root .profile-v2-analysis-players button::after,
#profile-v2-root .profile-v2-analysis-stack button::after,
#profile-v2-root .profile-v2-analysis-position-context button::after {
  content: "";
  position: absolute;
  inset: -2px 0;
}

#profile-v2-root .profile-v2-analysis-players button {
  min-width: 28px;
  padding-inline: 4px;
}

#profile-v2-root .profile-v2-analysis-position-context button {
  min-width: 30px;
  padding-inline: 3px;
}

#profile-v2-root .profile-v2-analysis-stack button {
  min-width: 50px;
  padding-inline: 4px;
}

#profile-v2-root .profile-v2-analysis-stack button span { display: none; }
#profile-v2-root .profile-v2-analysis-stack button small { display: inline; font: inherit; }

#profile-v2-root .profile-v2-stack-range {
  width: clamp(196px, 24vw, 270px);
  height: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px;
  align-items: center;
  gap: 6px;
}

#profile-v2-root .profile-v2-stack-range > strong {
  color: rgba(180, 201, 211, .72);
  font: 800 clamp(7px, .68vw, 8.5px)/1 system-ui, sans-serif;
  letter-spacing: .055em;
  text-align: left;
  white-space: nowrap;
}

#profile-v2-root .profile-v2-stack-range-track {
  position: relative;
  height: 28px;
  display: grid;
  align-items: center;
}

#profile-v2-root .profile-v2-stack-range-track::before {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  top: 13px;
  height: 1px;
  border-radius: 999px;
  background: rgba(224, 238, 242, .46);
}

#profile-v2-root .profile-v2-stack-range-ticks {
  position: absolute;
  z-index: 0;
  inset: 0 14px;
  display: grid;
  grid-template-columns: repeat(11, minmax(0, 1fr));
  pointer-events: none;
}

#profile-v2-root .profile-v2-stack-range-ticks > i {
  position: relative;
  min-width: 0;
}

#profile-v2-root .profile-v2-stack-range-ticks > i::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 10px;
  width: 1px;
  height: 7px;
  background: rgba(225, 236, 240, .28);
  transform: translateX(-50%);
}

#profile-v2-root .profile-v2-stack-range-ticks > i[data-label]::after {
  content: attr(data-label);
  position: absolute;
  left: 50%;
  top: 19px;
  color: rgba(218, 228, 233, .52);
  font: 800 4.5px/1 system-ui, sans-serif;
  letter-spacing: .015em;
  transform: translateX(-50%);
  white-space: nowrap;
}

#profile-v2-root .profile-v2-stack-range-track input {
  position: absolute;
  inset-inline: 0;
  width: 100%;
  height: 28px;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  direction: rtl;
  pointer-events: none;
}

#profile-v2-root .profile-v2-stack-range-track input::-webkit-slider-thumb {
  width: 28px;
  height: 28px;
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  border: 8.5px solid transparent;
  border-radius: 50%;
  background: #f2f5f6;
  background-clip: padding-box;
  pointer-events: auto;
}

#profile-v2-root .profile-v2-stack-range-track input::-moz-range-thumb {
  width: 28px;
  height: 28px;
  box-sizing: border-box;
  border: 8.5px solid transparent;
  border-radius: 50%;
  background: #f2f5f6;
  background-clip: padding-box;
  pointer-events: auto;
}


#profile-v2-root .profile-v2-analysis-period button span { display: none; }
#profile-v2-root .profile-v2-analysis-period button small { display: inline; font: inherit; }
#profile-v2-root .profile-v2-analysis-period button[data-profile-v2-analysis-period="all"] span { display: inline; }

#profile-v2-root .profile-v2-analysis-period button.is-active,
#profile-v2-root .profile-v2-analysis-players button.is-active,
#profile-v2-root .profile-v2-analysis-stack button.is-active,
#profile-v2-root .profile-v2-analysis-position-context button.is-active {
  color: #aaedfc;
}

#profile-v2-root .profile-v2-analysis-period button.is-active::before,
#profile-v2-root .profile-v2-analysis-players button.is-active::before,
#profile-v2-root .profile-v2-analysis-stack button.is-active::before,
#profile-v2-root .profile-v2-analysis-position-context button.is-active::before {
  border-color: rgba(32, 202, 243, .48);
  background: linear-gradient(180deg, rgba(32, 202, 243, .11), rgba(32, 202, 243, .035));
  box-shadow: inset 0 -1px rgba(32, 202, 243, .52), 0 0 8px rgba(32, 202, 243, .07);
}

#profile-v2-root .profile-v2-analysis-period button:focus-visible,
#profile-v2-root .profile-v2-analysis-players button:focus-visible,
#profile-v2-root .profile-v2-analysis-stack button:focus-visible,
#profile-v2-root .profile-v2-analysis-position-context button:focus-visible {
  outline: 1px solid rgba(32, 202, 243, .62);
  outline-offset: 1px;
}

#profile-v2-root .profile-v2-analysis-period em {
  min-width: clamp(45px, 4.6vw, 56px);
  color: rgba(151, 184, 194, .5);
  font: 700 clamp(6px, .62vw, 7.5px)/1 system-ui, sans-serif;
  font-style: normal;
  letter-spacing: .05em;
  text-align: right;
  white-space: nowrap;
}

#profile-v2-root .profile-v2-analysis-period-loading {
  position: absolute;
  z-index: 8;
  left: 50%;
  top: 50%;
  width: clamp(18px, 2.2vmin, 24px);
  height: clamp(18px, 2.2vmin, 24px);
  display: none;
  box-sizing: border-box;
  transform: translate(-50%,-50%);
  border: 2px solid rgba(32, 202, 243, .18);
  border-top-color: #20caf3;
  border-radius: 50%;
  background: rgba(2, 12, 19, .72);
  box-shadow: 0 0 18px rgba(32, 202, 243, .16);
  pointer-events: none;
  animation: profile-v2-analysis-loading-spin .9s linear infinite;
}

@keyframes profile-v2-analysis-loading-spin {
  from { transform: translate(-50%,-50%) rotate(0deg); }
  to { transform: translate(-50%,-50%) rotate(360deg); }
}

#profile-v2-root .profile-v2-analysis-body.is-period-loading .profile-v2-analysis-period-loading { display: block; }
#profile-v2-root .profile-v2-analysis-contexts.is-error em { color: rgba(242, 180, 95, .7); }
#profile-v2-root .profile-v2-analysis-content.is-period-loading { opacity: .62; pointer-events: none; }

#profile-v2-root .profile-v2-analysis-subtab {
  position: relative;
  min-width: clamp(72px, 10vw, 104px);
  border: 0;
  padding: 0 clamp(8px, 1.1vw, 13px);
  background: transparent;
  color: rgba(190, 205, 218, .58);
  font: inherit;
  font-size: clamp(8px, .95vw, 11px);
  font-weight: 900;
  letter-spacing: .09em;
}

#profile-v2-root .profile-v2-analysis-subtab::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 0;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: transparent;
}

#profile-v2-root .profile-v2-analysis-subtab.is-active {
  color: var(--profile-v2-cyan-bright);
  background: linear-gradient(180deg, rgba(32, 202, 243, .04), rgba(32, 202, 243, .015));
}

#profile-v2-root .profile-v2-analysis-subtab.is-active::after {
  background: var(--profile-v2-cyan);
  box-shadow: 0 0 8px rgba(32, 202, 243, .28);
}

#profile-v2-root .profile-v2-analysis-body {
  position: relative;
  min-height: 0;
  padding: clamp(6px, 1vw, 11px);
  overflow: hidden;
}

#profile-v2-root .profile-v2-analysis-content,
#profile-v2-root .profile-v2-analysis-overview,
#profile-v2-root .profile-v2-analysis-preflop-detail,
#profile-v2-root .profile-v2-analysis-postflop-detail {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
}

#profile-v2-root .profile-v2-analysis-content.is-ready {
  animation: profile-v2-content-reveal 140ms ease-out both;
}

#profile-v2-root .profile-v2-analysis-content[hidden],
#profile-v2-root .profile-v2-analysis-status[hidden] {
  display: none !important;
}

#profile-v2-root .profile-v2-analysis-status {
  position: absolute;
  inset: clamp(6px, 1vw, 11px);
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 11px;
  border: 1px solid rgba(130, 197, 230, .1);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(13, 28, 40, .92), rgba(5, 14, 23, .96));
}

#profile-v2-root .profile-v2-analysis-status.is-error .profile-v2-loading-spinner {
  animation: none;
  border-color: rgba(255, 83, 100, .18);
  border-top-color: rgba(255, 83, 100, .7);
}

#profile-v2-root .profile-v2-analysis-status.is-error .profile-v2-analysis-status-copy {
  color: rgba(255, 183, 191, .82);
}

#profile-v2-root .profile-v2-analysis-status-copy {
  color: rgba(145, 193, 214, .74);
  font-size: clamp(8px, 1vw, 11px);
  font-weight: 900;
  letter-spacing: .14em;
}

#profile-v2-root .profile-v2-analysis-stat-popover[hidden] {
  display: none !important;
}

#profile-v2-root .profile-v2-analysis-stat-popover {
  position: absolute;
  z-index: 28;
  width: min(310px, calc(100% - 16px));
  max-height: min(150px, calc(100% - var(--profile-v2-header-height) - 12px));
  overflow: hidden;
  padding: clamp(9px, 1.2vw, 13px);
  border: 1px solid rgba(72, 214, 245, .34);
  border-radius: 10px;
  background: linear-gradient(150deg, rgba(10, 28, 40, .97), rgba(3, 12, 20, .98));
  box-shadow: 0 10px 28px rgba(0, 0, 0, .32), inset 0 1px rgba(115, 221, 247, .035);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 150ms ease, transform 150ms ease;
  pointer-events: none;
  will-change: opacity, transform;
}

#profile-v2-root .profile-v2-analysis-stat-popover.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#profile-v2-root .profile-v2-analysis-stat-popover.is-hiding {
  opacity: 0;
  transform: translateY(2px);
}

#profile-v2-root .profile-v2-analysis-stat-popover strong {
  display: block;
  margin-bottom: 5px;
  color: var(--profile-v2-cyan-bright);
  font-size: clamp(10px, 1.15vw, 13px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: .08em;
}

#profile-v2-root .profile-v2-analysis-stat-popover p {
  margin: 0;
  color: rgba(225, 235, 241, .82);
  font-size: clamp(9px, 1vw, 11px);
  font-weight: 650;
  line-height: 1.55;
  letter-spacing: .015em;
}

#profile-v2-root .profile-v2-analysis-guide[hidden] {
  display: none !important;
}

#profile-v2-root .profile-v2-analysis-guide {
  position: absolute;
  z-index: 24;
  inset: var(--profile-v2-header-height) 0 0;
  display: grid;
  place-items: center;
  padding: clamp(8px, 1.4vw, 16px);
  background: rgba(1, 7, 12, .76);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

#profile-v2-root .profile-v2-analysis-guide-panel {
  width: min(70%, 760px);
  height: min(74%, 430px);
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: clamp(34px, 6vh, 44px) clamp(30px, 5.4vh, 38px) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(55, 191, 229, .22);
  border-radius: 15px;
  background:
    radial-gradient(circle at 50% 0%, rgba(32, 202, 243, .06), transparent 42%),
    linear-gradient(155deg, rgba(13, 30, 43, .985), rgba(4, 12, 21, .99));
  box-shadow: 0 18px 50px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(100, 211, 240, .055);
}

#profile-v2-root .profile-v2-guide-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 clamp(12px, 1.7vw, 18px);
  border-bottom: 1px solid rgba(130, 197, 230, .1);
}

#profile-v2-root .profile-v2-guide-header h2 {
  margin: 0;
  color: var(--profile-v2-cyan-bright);
  font-size: clamp(10px, 1.25vw, 14px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: .13em;
}

#profile-v2-root .profile-v2-guide-close {
  position: relative;
  width: clamp(24px, 3.2vw, 30px);
  height: clamp(24px, 3.2vw, 30px);
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(130, 197, 230, .15);
  border-radius: 7px;
  background: rgba(255, 255, 255, .025);
  color: rgba(224, 236, 244, .72);
  font: inherit;
}

#profile-v2-root .profile-v2-guide-close span {
  font-size: clamp(15px, 1.8vw, 20px);
  font-weight: 300;
  line-height: 1;
}

#profile-v2-root .profile-v2-guide-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 0 clamp(8px, 1.4vw, 14px);
  border-bottom: 1px solid rgba(130, 197, 230, .09);
  background: rgba(3, 10, 17, .34);
}

#profile-v2-root .profile-v2-guide-tab {
  position: relative;
  min-width: 0;
  padding: 0 5px;
  border: 0;
  background: transparent;
  color: rgba(190, 205, 218, .56);
  font: inherit;
  font-size: clamp(7px, .9vw, 10px);
  font-weight: 900;
  letter-spacing: .08em;
}

#profile-v2-root .profile-v2-guide-tab::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 0;
  height: 2px;
  background: transparent;
}

#profile-v2-root .profile-v2-guide-tab.is-active {
  color: var(--profile-v2-cyan-bright);
  background: linear-gradient(180deg, rgba(32, 202, 243, .035), rgba(32, 202, 243, .012));
}

#profile-v2-root .profile-v2-guide-tab.is-active::after {
  background: var(--profile-v2-cyan);
  box-shadow: 0 0 7px rgba(32, 202, 243, .22);
}

#profile-v2-root .profile-v2-guide-body {
  min-width: 0;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(10px, 1.5vw, 16px);
  scrollbar-width: thin;
  scrollbar-color: rgba(32, 202, 243, .24) rgba(80, 121, 145, .08);
}

#profile-v2-root .profile-v2-guide-definitions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

#profile-v2-root .profile-v2-guide-definition,
#profile-v2-root .profile-v2-guide-note {
  min-width: 0;
  margin: 0;
  padding: clamp(8px, 1.1vw, 12px);
  border: 1px solid rgba(130, 188, 218, .085);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(15, 31, 43, .72), rgba(5, 14, 23, .84));
}

#profile-v2-root .profile-v2-guide-definition h3 {
  margin: 0 0 4px;
  color: var(--profile-v2-cyan-bright);
  font-size: clamp(9px, 1vw, 12px);
  line-height: 1.15;
  letter-spacing: .06em;
}

#profile-v2-root .profile-v2-guide-definition strong,
#profile-v2-root .profile-v2-guide-note strong {
  display: block;
  margin-bottom: 4px;
  color: rgba(226, 236, 244, .8);
  font-size: clamp(7px, .82vw, 9px);
  line-height: 1.25;
  letter-spacing: .035em;
}

#profile-v2-root .profile-v2-guide-definition p,
#profile-v2-root .profile-v2-guide-note p {
  margin: 0;
  color: rgba(185, 202, 214, .68);
  font-size: clamp(7px, .78vw, 9px);
  line-height: 1.55;
}

#profile-v2-root .profile-v2-guide-note {
  margin-top: 8px;
  border-color: rgba(32, 202, 243, .12);
  background: linear-gradient(145deg, rgba(12, 35, 44, .62), rgba(5, 16, 24, .84));
}

#profile-v2-root .profile-v2-analysis-overview {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(104px, 1fr) minmax(112px, 1fr);
  align-content: stretch;
  gap: clamp(6px, .8vw, 10px);
  padding-bottom: 0;
}

#profile-v2-root .profile-v2-your-poker {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

#profile-v2-root .profile-v2-your-poker-content {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: clamp(6px, 1vw, 12px);
  color: rgba(166, 193, 205, .52);
  font: 800 clamp(8px, .85vw, 10px)/1.2 system-ui, sans-serif;
  letter-spacing: .08em;
}

#profile-v2-root .profile-v2-your-poker-slot.is-empty {
  min-width: 0;
  width: 100%;
  height: 100%;
  max-height: 100px;
  pointer-events: none;
}

#profile-v2-root .profile-v2-your-poker-insight {
  appearance: none;
  position: relative;
  width: 100%;
  height: 100%;
  max-height: 100px;
  min-width: 0;
  display: grid;
  grid-template-columns: clamp(26px, 3.2vw, 37px) minmax(0, 1fr) auto 11px;
  grid-template-rows: auto auto auto;
  align-content: center;
  gap: 2px clamp(5px, .65vw, 8px);
  padding: clamp(6px, .7vw, 9px) clamp(7px, .9vw, 11px);
  --profile-v2-insight-accent: #20caf3;
  --profile-v2-insight-border: rgba(32, 202, 243, .2);
  --profile-v2-insight-glow: rgba(32, 202, 243, .08);
  border: 1px solid var(--profile-v2-insight-border);
  border-radius: clamp(8px, 1vw, 12px);
  background: linear-gradient(145deg, rgba(8, 28, 40, .82), rgba(4, 16, 26, .84));
  box-shadow: inset 2px 0 0 var(--profile-v2-insight-border), 0 0 12px var(--profile-v2-insight-glow);
  color: rgba(211, 231, 238, .88);
  text-align: left;
}

#profile-v2-root .profile-v2-your-poker-insight.is-accent-green {
  --profile-v2-insight-accent: #74e6a0;
  --profile-v2-insight-border: rgba(116, 230, 160, .23);
  --profile-v2-insight-glow: rgba(75, 205, 128, .07);
}

#profile-v2-root .profile-v2-your-poker-insight.is-accent-purple {
  --profile-v2-insight-accent: #bd9aff;
  --profile-v2-insight-border: rgba(189, 154, 255, .23);
  --profile-v2-insight-glow: rgba(153, 107, 239, .075);
}

#profile-v2-root .profile-v2-your-poker-insight.is-accent-orange {
  --profile-v2-insight-accent: #f4a071;
  --profile-v2-insight-border: rgba(244, 160, 113, .23);
  --profile-v2-insight-glow: rgba(227, 116, 73, .07);
}

#profile-v2-root .profile-v2-your-poker-icon {
  grid-column: 1;
  grid-row: 1 / 4;
  align-self: center;
  width: clamp(25px, 3vw, 35px);
  height: clamp(25px, 3vw, 35px);
  display: grid;
  place-items: center;
  border: 1px solid var(--profile-v2-insight-border);
  border-radius: 50%;
  background: color-mix(in srgb, var(--profile-v2-insight-accent) 8%, transparent);
  color: var(--profile-v2-insight-accent);
  font: 900 clamp(13.5px, 1.6vw, 19px)/1 system-ui, sans-serif;
  box-shadow: 0 0 9px var(--profile-v2-insight-glow);
}

#profile-v2-root .profile-v2-your-poker-title {
  grid-column: 2;
  color: var(--profile-v2-insight-accent);
  font-size: clamp(8.8px, 1vw, 12.3px);
  font-weight: 950;
  letter-spacing: .035em;
  line-height: 1.12;
  white-space: normal;
}

#profile-v2-root .profile-v2-your-poker-insight > p {
  grid-column: 2;
  margin: 0;
  color: rgba(188, 207, 216, .68);
  font: 750 clamp(6.5px, .73vw, 8.7px)/1.15 system-ui, sans-serif;
  letter-spacing: .025em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#profile-v2-root .profile-v2-your-poker-metrics {
  grid-column: 3;
  grid-row: 1 / 4;
  align-self: center;
  min-width: clamp(58px, 6.5vw, 82px);
  display: grid;
  gap: 3px;
  padding-left: clamp(5px, .7vw, 8px);
  border-left: 1px solid rgba(135, 176, 198, .1);
  text-align: right;
}

#profile-v2-root .profile-v2-your-poker-metrics > span {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 4px;
}

#profile-v2-root .profile-v2-your-poker-metrics small {
  color: rgba(158, 188, 199, .58);
  font: 800 clamp(5.5px, .6vw, 7.2px)/1 system-ui, sans-serif;
  letter-spacing: .035em;
  white-space: nowrap;
}

#profile-v2-root .profile-v2-your-poker-metrics strong {
  color: var(--profile-v2-insight-accent);
  font: 950 clamp(12.3px, 1.42vw, 17.5px)/1 system-ui, sans-serif;
  white-space: nowrap;
}

#profile-v2-root .profile-v2-your-poker-insight > em {
  grid-column: 2;
  color: rgba(151, 184, 194, .48);
  font: 800 clamp(5.9px, .63vw, 7.5px)/1 system-ui, sans-serif;
  font-style: normal;
}

#profile-v2-root .profile-v2-your-poker-insight > i {
  grid-column: 4;
  grid-row: 1 / 4;
  align-self: center;
  color: var(--profile-v2-insight-accent);
  font: 900 clamp(15.5px, 1.75vw, 22px)/1.2 system-ui, sans-serif;
  font-style: normal;
  opacity: .65;
}

#profile-v2-root .profile-v2-your-poker-insight:hover,
#profile-v2-root .profile-v2-your-poker-insight:focus-visible {
  border-color: var(--profile-v2-insight-accent);
  background: linear-gradient(145deg, rgba(12, 39, 51, .88), rgba(5, 20, 31, .9));
  outline: 1px solid var(--profile-v2-insight-accent);
  outline-offset: 1px;
}

#profile-v2-root .profile-v2-your-poker-empty {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  gap: 7px;
  text-align: center;
}

#profile-v2-root .profile-v2-your-poker-empty strong {
  color: rgba(198, 220, 228, .7);
  font-size: clamp(10px, 1.1vw, 14px);
}

#profile-v2-root .profile-v2-your-poker-empty span {
  color: rgba(145, 180, 192, .45);
  font-size: clamp(6px, .65vw, 8px);
}

#profile-v2-root .profile-v2-overview-lower {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(6px, .8vw, 10px);
}

#profile-v2-root .profile-v2-context-shift,
#profile-v2-root .profile-v2-sng-snapshot {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

#profile-v2-root .profile-v2-context-shift-groups {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: clamp(2px, .35vw, 4px);
}

#profile-v2-root .profile-v2-overview-title-icon {
  color: var(--profile-v2-cyan);
  font-size: 1.25em;
  line-height: 1;
}

#profile-v2-root .profile-v2-context-shift-group {
  min-height: 0;
  display: grid;
  grid-template-rows: auto minmax(28px, 1fr);
  align-content: center;
  gap: clamp(3px, .45vw, 5px);
  padding-top: clamp(2px, .4vw, 5px);
}

#profile-v2-root .profile-v2-context-shift-group + .profile-v2-context-shift-group {
  border-top: 1px solid rgba(105, 168, 198, .08);
}

#profile-v2-root .profile-v2-context-shift-label {
  display: flex;
  align-items: baseline;
  gap: 5px;
  color: var(--profile-v2-cyan);
  font: 900 clamp(6px, .68vw, 8px)/1 system-ui, sans-serif;
  letter-spacing: .06em;
}

#profile-v2-root .profile-v2-context-shift-label span {
  color: rgba(164, 192, 203, .54);
  font-size: .82em;
}

#profile-v2-root .profile-v2-context-shift-segments {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(105, 168, 198, .11);
  background: rgba(3, 15, 24, .26);
}

#profile-v2-root .profile-v2-context-shift-segments.has-1 {
  grid-template-columns: minmax(0, 150px);
  justify-content: center;
}

#profile-v2-root .profile-v2-context-shift-segments.has-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
#profile-v2-root .profile-v2-context-shift-segments.has-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

#profile-v2-root .profile-v2-context-shift-segment {
  appearance: none;
  min-width: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: clamp(2px, .34vw, 4px);
  padding: 4px 2px;
  border: 0;
  border-left: 1px solid rgba(105, 168, 198, .1);
  background: transparent;
  color: rgba(188, 210, 219, .74);
}

#profile-v2-root .profile-v2-context-shift-segment.is-unavailable {
  cursor: default;
  opacity: .48;
}

#profile-v2-root .profile-v2-context-shift-segment:first-child { border-left: 0; }
#profile-v2-root .profile-v2-context-shift-segment.is-selected {
  box-shadow: inset 0 0 0 1px rgba(32, 202, 243, .5), inset 0 -2px rgba(32, 202, 243, .32);
  background: rgba(32, 202, 243, .055);
}
#profile-v2-root .profile-v2-context-shift-segment:hover,
#profile-v2-root .profile-v2-context-shift-segment:focus-visible {
  background: rgba(32, 202, 243, .07);
  outline: 1px solid rgba(32, 202, 243, .54);
  outline-offset: -1px;
}
#profile-v2-root .profile-v2-context-shift-segment span {
  font: 850 clamp(6px, .65vw, 8px)/1 system-ui, sans-serif;
}
#profile-v2-root .profile-v2-context-shift-segment strong {
  color: #dcf9fc;
  font: 950 clamp(10px, 1.22vw, 15px)/1 system-ui, sans-serif;
}
#profile-v2-root .profile-v2-context-shift-segment small {
  font: 850 clamp(5.5px, .59vw, 7px)/1 system-ui, sans-serif;
  white-space: nowrap;
}
#profile-v2-root .profile-v2-context-shift-segment small.is-up { color: rgba(102, 224, 157, .84); }
#profile-v2-root .profile-v2-context-shift-segment small.is-down { color: rgba(244, 119, 126, .82); }
#profile-v2-root .profile-v2-context-shift-segment small.is-neutral { color: rgba(151, 184, 194, .62); }
#profile-v2-root .profile-v2-context-shift-segment em {
  color: rgba(151, 184, 194, .4);
  font: 750 clamp(4.5px, .48vw, 5.7px)/1 system-ui, sans-serif;
  font-style: normal;
}

#profile-v2-root .profile-v2-snapshot-rows {
  min-height: 0;
  display: grid;
  grid-auto-rows: clamp(28px, 5cqh, 44px);
  align-content: center;
  padding-top: clamp(2px, .4vw, 5px);
}

#profile-v2-root .profile-v2-snapshot-row {
  min-width: 0;
  display: grid;
  grid-template-columns: clamp(18px, 2vw, 25px) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(4px, .55vw, 7px);
  padding: 2px clamp(4px, .55vw, 7px);
  border-top: 1px solid rgba(105, 168, 198, .09);
}
#profile-v2-root .profile-v2-snapshot-row:first-child { border-top: 0; }
#profile-v2-root .profile-v2-snapshot-icon {
  color: rgba(32, 202, 243, .78);
  font: 900 clamp(10px, 1.2vw, 15px)/1 system-ui, sans-serif;
  text-align: center;
}
#profile-v2-root .profile-v2-snapshot-row > strong {
  min-width: 0;
  color: rgba(205, 229, 236, .84);
  font: 850 clamp(8px, .72vw, 8.5px)/1.25 system-ui, sans-serif;
  text-align: left;
}

#profile-v2-root .profile-v2-snapshot-evidence {
  display: grid;
  gap: 2px;
  color: rgba(145, 180, 192, .56);
  text-align: right;
  white-space: nowrap;
}

#profile-v2-root .profile-v2-snapshot-evidence small {
  color: rgba(145, 180, 192, .56);
  font: 800 clamp(5.5px, .54vw, 6.5px)/1.25 system-ui, sans-serif;
}

#profile-v2-root .profile-v2-snapshot-evidence b {
  color: var(--profile-v2-cyan-bright);
  font-weight: 900;
}

#profile-v2-root .profile-v2-snapshot-evidence i {
  padding-inline: 2px;
  color: rgba(145, 180, 192, .42);
  font-style: normal;
}

#profile-v2-root .profile-v2-overview-neutral {
  display: grid;
  place-items: center;
  color: rgba(155, 184, 195, .48);
  font: 800 clamp(6px, .67vw, 8px)/1.25 system-ui, sans-serif;
  text-align: center;
}

#profile-v2-root .profile-v2-analysis-card {
  min-width: 0;
  min-height: 0;
  padding: clamp(8px, 1.15vw, 13px);
  overflow: hidden;
}

#profile-v2-root .profile-v2-analysis-card-title {
  height: clamp(15px, 2.5vh, 21px);
  display: flex;
  align-items: center;
  min-width: 0;
  gap: clamp(5px, .65vw, 7px);
  color: var(--profile-v2-cyan);
  font-size: clamp(8px, 1vw, 12px);
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1;
}

#profile-v2-root .profile-v2-analysis-card-title .profile-v2-icon {
  flex: 0 0 auto;
  width: clamp(12px, 1.35vw, 16px);
  height: clamp(12px, 1.35vw, 16px);
}

#profile-v2-root .profile-v2-analysis-card-title em {
  margin-left: 2px;
  color: rgba(170, 190, 205, .48);
  font-size: 1.17em;
  font-style: normal;
  letter-spacing: .08em;
}

#profile-v2-root .profile-v2-analysis-metric-grid {
  height: calc(100% - clamp(15px, 2.5vh, 21px));
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  padding-top: clamp(4px, .65vh, 7px);
}

#profile-v2-root .profile-v2-analysis-metric {
  position: relative;
  min-width: 0;
}

#profile-v2-root .profile-v2-analysis-metric > .profile-v2-analysis-stat-info-button {
  width: 100%;
  height: 100%;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: clamp(3px, .55vh, 7px);
  padding: 2px;
  border-radius: 7px;
  cursor: help;
}

#profile-v2-root .profile-v2-analysis-metric > .profile-v2-analysis-drilldown-button {
  position: absolute;
  right: 5px;
  bottom: 3px;
}

#profile-v2-root .profile-v2-analysis-metric:nth-child(n+4) {
  border-top: 1px solid rgba(130, 180, 205, .08);
}

#profile-v2-root .profile-v2-analysis-metric:not(:nth-child(3n+1))::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14%;
  bottom: 14%;
  width: 1px;
  background: rgba(130, 180, 205, .09);
}

#profile-v2-root .profile-v2-analysis-metric > .profile-v2-analysis-stat-info-button > span {
  max-width: 100%;
  color: rgba(190, 205, 218, .58);
  font-size: clamp(10.5px, 1.17vw, 13.5px);
  font-weight: 800;
  letter-spacing: .05em;
  white-space: nowrap;
}

#profile-v2-root .profile-v2-analysis-metric > .profile-v2-analysis-stat-info-button > strong {
  color: var(--profile-v2-cyan-bright);
  font-size: clamp(15px, 2.25vw, 25px);
  line-height: .95;
  text-shadow: 0 0 10px rgba(32, 202, 243, .11);
}

#profile-v2-root .profile-v2-analysis-difference {
  min-height: 7px;
  color: rgba(104, 203, 231, .72);
  font: 750 clamp(5.5px, .58vw, 7.5px)/1 system-ui, sans-serif;
  font-style: normal;
  letter-spacing: .025em;
  white-space: nowrap;
}

#profile-v2-root .profile-v2-analysis-difference.is-up { color: rgba(102, 224, 157, .84); }
#profile-v2-root .profile-v2-analysis-difference.is-down { color: rgba(244, 119, 126, .82); }
#profile-v2-root .profile-v2-analysis-difference.is-neutral { color: rgba(151, 184, 194, .62); }

#profile-v2-root .profile-v2-ip-oop-performance {
  position: relative;
  grid-column: 1 / -1;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

#profile-v2-root .profile-v2-performance-header {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

#profile-v2-root .profile-v2-performance-pot-types {
  height: clamp(20px, 3.3vh, 27px);
  display: grid;
  grid-template-columns: repeat(4, minmax(38px, 1fr));
  overflow: hidden;
  border: 1px solid rgba(88, 192, 225, .16);
  border-radius: 7px;
  background: rgba(4, 17, 25, .58);
}

#profile-v2-root .profile-v2-performance-pot-types button {
  min-width: 0;
  padding: 0 clamp(6px, .75vw, 10px);
  border-left: 1px solid rgba(88, 192, 225, .1);
  color: rgba(180, 203, 216, .58);
  font-size: clamp(7px, .78vw, 9px);
  font-weight: 900;
  letter-spacing: .055em;
  text-align: center;
}

#profile-v2-root .profile-v2-performance-pot-types button:first-child { border-left: 0; }

#profile-v2-root .profile-v2-performance-pot-types button.is-active {
  background: rgba(32, 202, 243, .09);
  color: var(--profile-v2-cyan-bright);
  box-shadow: inset 0 -2px rgba(32, 202, 243, .62);
}

#profile-v2-root .profile-v2-performance-sides {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(5px, .7vw, 9px);
  padding-top: clamp(4px, .6vh, 7px);
}

#profile-v2-root .profile-v2-performance-side {
  position: relative;
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(78px, 1.15fr) repeat(3, minmax(62px, 1fr)) 15px;
  align-items: center;
  gap: clamp(4px, .55vw, 8px);
  padding: clamp(5px, .75vh, 8px) clamp(7px, .9vw, 11px);
  border: 1px solid rgba(104, 189, 221, .1);
  border-radius: 9px;
  background: linear-gradient(145deg, rgba(13, 31, 43, .7), rgba(5, 15, 23, .76));
}

#profile-v2-root .profile-v2-performance-bar {
  position: absolute;
  left: clamp(9px, 1vw, 13px);
  right: clamp(18px, 1.8vw, 24px);
  bottom: clamp(3px, .55vh, 6px);
  height: 5px;
  display: block;
  pointer-events: none;
}

#profile-v2-root .profile-v2-performance-bar::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 2px;
  height: 1px;
  background: rgba(111, 159, 186, .13);
}

#profile-v2-root .profile-v2-performance-bar::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 1px;
  height: 5px;
  background: rgba(194, 229, 235, .4);
}

#profile-v2-root .profile-v2-performance-bar > i {
  position: absolute;
  top: 1px;
  height: 3px;
  width: calc(var(--profile-v2-performance-bar-width, 0) * .5%);
  border-radius: 2px;
  background: rgba(32, 202, 243, var(--profile-v2-performance-bar-opacity, 0));
  box-shadow: 0 0 5px rgba(32, 202, 243, calc(var(--profile-v2-performance-bar-opacity, 0) * .28));
}

#profile-v2-root .profile-v2-performance-bar.is-positive > i { left: 50%; }
#profile-v2-root .profile-v2-performance-bar.is-negative > i { right: 50%; }
#profile-v2-root .profile-v2-performance-bar.is-neutral > i,
#profile-v2-root .profile-v2-performance-bar.is-empty > i { width: 0; }

#profile-v2-root .profile-v2-performance-side:disabled {
  cursor: default;
  opacity: .72;
}

#profile-v2-root .profile-v2-performance-side-title {
  color: rgba(208, 225, 233, .78);
  font-size: clamp(8px, .95vw, 11px);
  font-weight: 900;
  letter-spacing: .055em;
  white-space: nowrap;
}

@container profile-v2-shell (max-width: 920px) {
  #profile-v2-root .profile-v2-analysis-contexts:not(.is-range-context) {
    column-gap: 8px;
    row-gap: 0;
  }

  #profile-v2-root .profile-v2-analysis-contexts.is-range-context {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: 28px;
    justify-content: stretch;
    column-gap: clamp(28px, 7vw, 72px);
  }
}

#profile-v2-root .profile-v2-performance-side > span:not(.profile-v2-performance-side-title) {
  min-width: 0;
  display: grid;
  justify-items: center;
  gap: 3px;
}

#profile-v2-root .profile-v2-performance-side small {
  color: rgba(168, 195, 208, .52);
  font-size: clamp(6px, .67vw, 8px);
  font-weight: 900;
  letter-spacing: .065em;
  white-space: nowrap;
}

#profile-v2-root .profile-v2-performance-side strong {
  color: var(--profile-v2-cyan-bright);
  font-size: clamp(10px, 1.3vw, 15px);
  line-height: 1;
  white-space: nowrap;
}

#profile-v2-root .profile-v2-performance-side > i {
  color: rgba(89, 202, 233, .52);
  font: 900 14px/1 system-ui, sans-serif;
  font-style: normal;
}

#profile-v2-root .profile-v2-analysis-tracked {
  position: absolute;
  right: clamp(11px, 1.4vw, 18px);
  bottom: clamp(7px, .9vw, 11px);
  color: rgba(170, 190, 205, .4);
  font-size: clamp(9px, 1.02vw, 12px);
  font-weight: 800;
  letter-spacing: .07em;
}

#profile-v2-root .profile-v2-analysis-tracked > span {
  margin-right: 8px;
  color: rgba(32, 202, 243, .72);
}

#profile-v2-root .profile-v2-analysis-tracked > span.is-test-mode,
#profile-v2-root .profile-v2-range-footer span.is-test-mode {
  color: rgba(242, 185, 92, .9);
  text-shadow: 0 0 8px rgba(242, 185, 92, .12);
}

#profile-v2-root .profile-v2-guide-note.is-scope-hidden { display: none; }

#profile-v2-root .profile-v2-guide-note.is-test-mode {
  border-color: rgba(242, 185, 92, .3);
  background: rgba(90, 57, 11, .16);
}

#profile-v2-root .profile-v2-guide-note.is-test-mode strong { color: rgba(247, 198, 115, .92); }

#profile-v2-root .profile-v2-analysis-tracked strong {
  margin-left: 5px;
  color: rgba(195, 211, 222, .62);
}

#profile-v2-root .profile-v2-analysis-preflop-detail {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(6px, .8vw, 10px);
}

#profile-v2-root .profile-v2-analysis-stat-list-grid {
  height: calc(100% - clamp(15px, 2.5vh, 21px));
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-flow: column;
  grid-template-rows: repeat(4, minmax(0, 1fr));
  column-gap: clamp(20px, 4vw, 60px);
  padding: clamp(3px, .5vh, 6px) clamp(4px, .8vw, 10px) 0;
}

#profile-v2-root .profile-v2-analysis-preflop-detail .profile-v2-analysis-stat-list-grid {
  grid-auto-flow: row;
  grid-template-rows: repeat(5, minmax(0, 1fr));
}

/* Ten preflop metrics: slightly quieter type, unchanged matrix and hit boxes. */
#profile-v2-root .profile-v2-analysis-preflop-detail .profile-v2-analysis-stat-line > .profile-v2-analysis-stat-info-button > span {
  font-size: clamp(10px, 1.2vw, 14px);
}
#profile-v2-root .profile-v2-analysis-preflop-detail .profile-v2-analysis-stat-line strong {
  font-size: clamp(11.4px, 1.5vw, 18px);
}
#profile-v2-root .profile-v2-analysis-preflop-detail .profile-v2-analysis-drilldown-button {
  position: relative;
  transform: scale(.9);
}
#profile-v2-root .profile-v2-analysis-preflop-detail .profile-v2-analysis-drilldown-button::after {
  content: "";
  position: absolute;
  inset: -4px;
}

#profile-v2-root .profile-v2-analysis-stat-list-grid.is-single {
  grid-template-columns: 1fr;
  grid-auto-flow: row;
  grid-template-rows: repeat(4, minmax(0, 1fr));
  column-gap: 0;
}

#profile-v2-root .profile-v2-analysis-stat-line {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(15px, 1.45vw, 18px);
  align-items: center;
  gap: clamp(6px, .8vw, 10px);
  border-bottom: 1px solid rgba(130, 180, 205, .07);
}

#profile-v2-root .profile-v2-analysis-stat-line > .profile-v2-analysis-stat-info-button {
  width: 100%;
  height: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: clamp(12px, 1.4vw, 16px) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(6px, .8vw, 10px);
  padding: 0;
  border-radius: 6px;
  cursor: help;
}

#profile-v2-root .profile-v2-analysis-stat-line .profile-v2-icon {
  width: clamp(11px, 1.3vw, 15px);
  height: clamp(11px, 1.3vw, 15px);
  color: rgba(100, 202, 232, .54);
}

#profile-v2-root .profile-v2-analysis-stat-line > .profile-v2-analysis-stat-info-button > span {
  overflow: hidden;
  color: rgba(197, 211, 222, .66);
  font-size: clamp(10.5px, 1.275vw, 15px);
  font-weight: 800;
  white-space: nowrap;
  text-overflow: ellipsis;
}

#profile-v2-root .profile-v2-analysis-stat-line strong {
  color: var(--profile-v2-cyan-bright);
  font-size: clamp(12px, 1.6vw, 19px);
}

#profile-v2-root .profile-v2-position-matrix {
  display: grid;
  grid-template-rows: clamp(15px, 2.5vh, 21px) repeat(5, minmax(0, 1fr));
}

#profile-v2-root .profile-v2-position-matrix-head,
#profile-v2-root .profile-v2-position-matrix-row {
  display: grid;
  grid-template-columns: minmax(42px, .65fr) repeat(6, minmax(0, 1fr));
  align-items: center;
  text-align: center;
}

#profile-v2-root .profile-v2-position-matrix-head {
  color: rgba(190, 205, 218, .58);
  font-size: clamp(10.5px, 1.17vw, 13.5px);
  font-weight: 900;
}

#profile-v2-root .profile-v2-analysis-stat-value {
  min-width: clamp(46px, 5.4vw, 62px);
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: clamp(3px, .42vw, 5px);
  line-height: 1;
}

#profile-v2-root .profile-v2-analysis-stat-value.has-difference {
  min-width: clamp(88px, 8.8vw, 108px);
}

#profile-v2-root .profile-v2-analysis-difference-slot {
  min-width: clamp(39px, 4.1vw, 50px);
  display: flex;
  justify-content: flex-end;
}

#profile-v2-root .profile-v2-analysis-stat-value .profile-v2-analysis-difference {
  min-height: 0;
  font-size: clamp(7px, .62vw, 8px);
  line-height: 1;
}

#profile-v2-root .profile-v2-position-matrix-head button {
  width: 100%;
  height: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

#profile-v2-root .profile-v2-position-matrix-head button:hover,
#profile-v2-root .profile-v2-position-matrix-head button:focus-visible {
  background: rgba(97, 203, 231, .09);
  color: rgba(225, 250, 252, .92);
  outline: 1px solid rgba(97, 203, 231, .55);
  outline-offset: -1px;
}

#profile-v2-root .profile-v2-position-matrix-row {
  border-top: 1px solid rgba(130, 180, 205, .07);
  color: rgba(225, 235, 241, .84);
  font-size: clamp(8px, 1vw, 12px);
  font-weight: 800;
}

#profile-v2-root .profile-v2-position-matrix-row strong {
  color: rgba(175, 193, 207, .6);
  font-size: clamp(12px, 1.5vw, 18px);
  text-align: left;
}

#profile-v2-root .profile-v2-position-matrix-row span + span,
#profile-v2-root .profile-v2-position-matrix-row strong + span {
  border-left: 1px solid rgba(130, 180, 205, .07);
}

#profile-v2-root .profile-v2-analysis-postflop-detail {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(6px, .8vw, 10px);
}

#profile-v2-root .profile-v2-analysis-postflop-detail .profile-v2-ip-oop-performance {
  grid-column: 1 / -1;
}

#profile-v2-root .profile-v2-position-matrix-row .profile-v2-position-heat-cell {
  align-self: stretch;
  display: grid;
  place-items: center;
  border-radius: 0;
  background: rgba(32, 202, 243, var(--profile-v2-position-heat-opacity, 0));
}

/* ANALYSIS V2 — MY RANGE */
#profile-v2-root .profile-v2-range-view {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-rows: clamp(28px, 4.9vh, 38px) minmax(0, 1fr);
  gap: clamp(5px, .7vw, 8px);
  color: #eef8fc;
}

#profile-v2-root .profile-v2-range-top {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(130px, .75fr) minmax(360px, 1.4fr);
  align-items: center;
  gap: 10px;
  padding: 0 clamp(8px, 1.1vw, 13px);
  border: 1px solid rgba(107, 189, 225, .12);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(12, 29, 42, .83), rgba(5, 16, 25, .86));
}

#profile-v2-root .profile-v2-range-top > div {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}

#profile-v2-root .profile-v2-range-top > div strong {
  color: var(--profile-v2-cyan-bright);
  font-size: clamp(9px, 1.1vw, 13px);
  letter-spacing: .1em;
}

#profile-v2-root .profile-v2-range-top > div span {
  color: rgba(155, 183, 198, .55);
  font-size: clamp(6px, .72vw, 8px);
  font-weight: 800;
  letter-spacing: .08em;
  white-space: nowrap;
}

#profile-v2-root .profile-v2-range-handedness {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2px;
  margin-left: auto;
  padding: 2px;
  border: 1px solid rgba(107, 189, 225, .15);
  border-radius: 6px;
  background: rgba(3, 13, 21, .52);
}

#profile-v2-root .profile-v2-range-handedness-option {
  min-width: 28px;
  padding: 2px 4px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: rgba(180, 199, 211, .58);
  font: 900 clamp(6px, .65vw, 8px)/1 system-ui, sans-serif;
  letter-spacing: .04em;
}

#profile-v2-root .profile-v2-range-handedness-option.is-active {
  color: #041017;
  background: var(--profile-v2-cyan-bright);
  box-shadow: 0 0 7px rgba(32, 202, 243, .2);
}

#profile-v2-root .profile-v2-range-positions {
  height: 100%;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 2px;
}

#profile-v2-root .profile-v2-range-position {
  position: relative;
  min-width: 0;
  border: 0;
  background: transparent;
  color: rgba(180, 199, 211, .58);
  font: inherit;
  font-size: clamp(7px, .8vw, 10px);
  font-weight: 900;
  letter-spacing: .08em;
}

#profile-v2-root .profile-v2-range-position::after {
  content: "";
  position: absolute;
  left: 16%;
  right: 16%;
  bottom: 0;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: transparent;
}

#profile-v2-root .profile-v2-range-position.is-active {
  color: var(--profile-v2-cyan-bright);
  background: linear-gradient(180deg, rgba(32, 202, 243, .055), transparent);
}

#profile-v2-root .profile-v2-range-position.is-active::after {
  background: var(--profile-v2-cyan);
  box-shadow: 0 0 7px rgba(32, 202, 243, .25);
}

#profile-v2-root .profile-v2-range-layout {
  position: relative;
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 62fr) minmax(0, 38fr);
  gap: clamp(6px, .8vw, 10px);
}

#profile-v2-root .profile-v2-range-matrix-card,
#profile-v2-root .profile-v2-range-details,
#profile-v2-root .profile-v2-range-status {
  min-width: 0;
  min-height: 0;
  border: 1px solid rgba(107, 189, 225, .14);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(13, 31, 44, .9), rgba(5, 15, 24, .94));
  box-shadow: inset 0 1px 0 rgba(100, 211, 240, .045), 0 7px 20px rgba(0, 0, 0, .16);
}

#profile-v2-root .profile-v2-range-matrix-card {
  padding: clamp(5px, .65vw, 8px);
  overflow: hidden;
}

#profile-v2-root .profile-v2-range-matrix {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(13, minmax(0, 1fr));
  grid-template-rows: repeat(13, minmax(0, 1fr));
  gap: clamp(1px, .18vw, 3px);
}

#profile-v2-root .profile-v2-range-cell {
  --range-vpip: 0;
  position: relative;
  isolation: isolate;
  min-width: 0;
  min-height: 0;
  display: grid;
  place-content: center;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(115, 166, 193, .1);
  border-radius: clamp(3px, .4vw, 6px);
  background: rgba(3, 12, 20, .86);
  color: rgba(222, 239, 246, .78);
  font: inherit;
  text-align: center;
}

#profile-v2-root .profile-v2-range-cell::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(145deg, rgba(32, 202, 243, .72), rgba(15, 106, 156, .52));
  opacity: calc(var(--range-vpip) * .64);
}

#profile-v2-root .profile-v2-range-cell strong {
  font-size: clamp(6px, .83vw, 10px);
  line-height: 1;
  letter-spacing: -.02em;
}

#profile-v2-root .profile-v2-range-cell small {
  color: rgba(207, 231, 240, .6);
  font-size: clamp(4px, .5vw, 6px);
  line-height: 1;
}

#profile-v2-root .profile-v2-range-cell.is-low-sample::after {
  content: "";
  position: absolute;
  top: 2px;
  right: 2px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(242, 180, 95, .65);
}

#profile-v2-root .profile-v2-range-cell.is-selected {
  border-color: rgba(32, 202, 243, .86);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(32, 202, 243, .28), 0 0 8px rgba(32, 202, 243, .2);
}

#profile-v2-root .profile-v2-range-details {
  padding: clamp(8px, .9vw, 12px);
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(32, 202, 243, .3) rgba(12, 29, 39, .35);
}

#profile-v2-root .profile-v2-range-details > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: clamp(6px, .8vh, 10px);
}

#profile-v2-root .profile-v2-range-details > header > div {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

#profile-v2-root .profile-v2-range-details h3 {
  margin: 0;
  color: var(--profile-v2-cyan-bright);
  font-size: clamp(17px, 2.1vw, 27px);
  line-height: 1;
  text-shadow: 0 0 10px rgba(32, 202, 243, .14);
}

#profile-v2-root .profile-v2-range-details header span,
#profile-v2-root .profile-v2-range-details header em {
  color: rgba(151, 183, 198, .62);
  font-size: clamp(6px, .65vw, 8px);
  font-style: normal;
  font-weight: 900;
  letter-spacing: .09em;
}

#profile-v2-root .profile-v2-range-details header em {
  color: rgba(242, 180, 95, .75);
}

#profile-v2-root .profile-v2-range-key-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: clamp(7px, 1vh, 12px);
  border-block: 1px solid rgba(104, 175, 205, .11);
}

#profile-v2-root .profile-v2-range-key-stats > div {
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: clamp(5px, .7vh, 8px) 3px;
}

#profile-v2-root .profile-v2-range-key-stats > div + div {
  border-left: 1px solid rgba(104, 175, 205, .11);
}

#profile-v2-root .profile-v2-range-key-stats span,
#profile-v2-root .profile-v2-range-substats span {
  color: rgba(164, 187, 201, .62);
  font-size: clamp(6px, .68vw, 8px);
  font-weight: 850;
  letter-spacing: .07em;
}

#profile-v2-root .profile-v2-range-key-stats strong {
  color: #f1f8fb;
  font-size: clamp(13px, 1.55vw, 19px);
}

#profile-v2-root .profile-v2-range-action-section h4,
#profile-v2-root .profile-v2-range-combo-section h4 {
  margin: 0 0 5px;
  color: rgba(116, 211, 238, .76);
  font-size: clamp(6px, .72vw, 9px);
  letter-spacing: .11em;
}

#profile-v2-root .profile-v2-range-action-track {
  height: clamp(10px, 1.55vh, 15px);
  display: flex;
  overflow: hidden;
  border: 1px solid rgba(125, 177, 202, .12);
  border-radius: 999px;
  background: rgba(90, 123, 145, .14);
}

#profile-v2-root .profile-v2-range-action-track > span + span {
  box-shadow: -1px 0 0 rgba(2, 9, 15, .55);
}

#profile-v2-root .profile-v2-range-action-track .is-raise,
#profile-v2-root .profile-v2-range-action-legend i.is-raise { background: #20caf3; }
#profile-v2-root .profile-v2-range-action-track .is-call,
#profile-v2-root .profile-v2-range-action-legend i.is-call { background: #8d78ff; }
#profile-v2-root .profile-v2-range-action-track .is-limp,
#profile-v2-root .profile-v2-range-action-legend i.is-limp { background: #4c84ae; }
#profile-v2-root .profile-v2-range-action-track .is-fold,
#profile-v2-root .profile-v2-range-action-legend i.is-fold { background: rgba(120, 140, 155, .35); }

#profile-v2-root .profile-v2-range-action-legend {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  margin-top: 5px;
}

#profile-v2-root .profile-v2-range-action-legend span {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 3px;
  color: rgba(178, 199, 211, .62);
  font-size: clamp(5px, .56vw, 7px);
  font-weight: 850;
  white-space: nowrap;
}

#profile-v2-root .profile-v2-range-action-legend i {
  width: 4px;
  height: 4px;
  flex: 0 0 auto;
  border-radius: 1px;
}

#profile-v2-root .profile-v2-range-action-legend strong {
  margin-left: auto;
  color: rgba(238, 248, 251, .86);
  font-size: inherit;
}

#profile-v2-root .profile-v2-range-action-mix.is-empty > span {
  display: block;
  margin-top: 4px;
  color: rgba(157, 181, 194, .5);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .08em;
  text-align: center;
}

#profile-v2-root .profile-v2-range-substats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  margin: clamp(7px, 1vh, 11px) 0;
}

#profile-v2-root .profile-v2-range-substats > div {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 2px 6px;
  padding: 5px 7px;
  border: 1px solid rgba(110, 175, 205, .1);
  border-radius: 7px;
  background: rgba(4, 14, 22, .42);
}

#profile-v2-root .profile-v2-range-substats strong {
  color: rgba(160, 225, 243, .9);
  font-size: clamp(9px, 1vw, 12px);
}

#profile-v2-root .profile-v2-range-substats small {
  grid-column: 1 / -1;
  color: rgba(145, 171, 185, .5);
  font-size: clamp(5px, .52vw, 6px);
}

#profile-v2-root .profile-v2-range-combos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
}

#profile-v2-root .profile-v2-range-combo {
  min-width: 0;
  padding: 5px;
  border: 1px solid rgba(107, 165, 193, .09);
  border-radius: 7px;
  background: rgba(3, 12, 19, .5);
}

#profile-v2-root .profile-v2-range-combo > div:first-child {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px;
}

#profile-v2-root .profile-v2-range-combo > div strong {
  display: flex;
  gap: 2px;
  font-size: clamp(8px, .82vw, 10px);
  white-space: nowrap;
}

#profile-v2-root .profile-v2-range-combo > div span {
  color: rgba(163, 185, 198, .55);
  font-size: clamp(5px, .5vw, 6px);
}

#profile-v2-root .profile-v2-range-combo .suit-s { color: #c5d0da; }
#profile-v2-root .profile-v2-range-combo .suit-h { color: #ff6879; }
#profile-v2-root .profile-v2-range-combo .suit-d { color: #5592ff; }
#profile-v2-root .profile-v2-range-combo .suit-c { color: #55c997; }

#profile-v2-root .profile-v2-range-action-mix.is-micro {
  margin: 4px 0 3px;
}

#profile-v2-root .profile-v2-range-action-mix.is-micro .profile-v2-range-action-track {
  height: 4px;
  border: 0;
}

#profile-v2-root .profile-v2-range-combo > small {
  display: block;
  overflow: hidden;
  color: rgba(153, 180, 193, .55);
  font-size: clamp(4.5px, .46vw, 5.5px);
  letter-spacing: -.01em;
  white-space: nowrap;
}

#profile-v2-root .profile-v2-range-details.is-empty,
#profile-v2-root .profile-v2-range-details.is-status,
#profile-v2-root .profile-v2-range-status {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 8px;
  color: rgba(146, 185, 205, .66);
  font-size: clamp(7px, .8vw, 10px);
  font-weight: 900;
  letter-spacing: .1em;
  text-align: center;
}

#profile-v2-root .profile-v2-range-details.is-empty span {
  max-width: 22em;
  color: rgba(150, 176, 190, .48);
  font-size: .8em;
  font-weight: 650;
  letter-spacing: .03em;
}

#profile-v2-root .profile-v2-range-details.is-error,
#profile-v2-root .profile-v2-range-status.is-error { color: rgba(255, 176, 187, .78); }

#profile-v2-root .profile-v2-range-status {
  position: absolute;
  z-index: 4;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 42%, rgba(32, 202, 243, .055), transparent 36%),
    rgba(3, 11, 18, .72);
}

#profile-v2-root .profile-v2-range-layout.is-status > .profile-v2-range-matrix-card,
#profile-v2-root .profile-v2-range-layout.is-status > .profile-v2-range-details {
  opacity: .42;
}

#profile-v2-root .profile-v2-range-matrix-card.is-placeholder,
#profile-v2-root .profile-v2-range-details.is-placeholder {
  pointer-events: none;
}

#profile-v2-root .profile-v2-range-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding-inline: 5px;
  color: rgba(141, 171, 185, .52);
  font-size: clamp(5.5px, .62vw, 7px);
  font-weight: 850;
  letter-spacing: .07em;
}

#profile-v2-root .profile-v2-range-footer span:first-child {
  color: rgba(113, 203, 230, .62);
}

#profile-v2-root .profile-v2-range-footer strong { color: rgba(211, 230, 236, .74); }

@container profile-v2-shell (min-width: 700px) and (max-width: 920px) {
  #profile-v2-root .profile-v2-analysis-overview {
    grid-template-rows: minmax(76px, .86fr) minmax(108px, 1.14fr);
    gap: 5px;
    padding-bottom: 0;
  }

  #profile-v2-root .profile-v2-your-poker-content,
  #profile-v2-root .profile-v2-overview-lower { gap: 5px; }

  #profile-v2-root .profile-v2-your-poker-insight {
    grid-template-columns: 23px minmax(0, 1fr) auto 8px;
    gap: 1px 4px;
    max-height: 62px;
    padding: 4px 5px;
    border-radius: 7px;
  }

  #profile-v2-root .profile-v2-your-poker-icon { width: 22px; height: 22px; font-size: 11.2px; }
  #profile-v2-root .profile-v2-your-poker-title { font-size: 7.8px; }
  #profile-v2-root .profile-v2-your-poker-insight > p { font-size: 6.2px; }
  #profile-v2-root .profile-v2-your-poker-insight > em { font-size: 5.5px; }
  #profile-v2-root .profile-v2-your-poker-insight > i { font-size: 12px; }
  #profile-v2-root .profile-v2-your-poker-metrics { min-width: 47px; gap: 2px; padding-left: 4px; }
  #profile-v2-root .profile-v2-your-poker-metrics strong { font-size: 10.2px; }
  #profile-v2-root .profile-v2-your-poker-metrics small { font-size: 5.2px; }
  #profile-v2-root .profile-v2-context-shift-groups { gap: 0; }
  #profile-v2-root .profile-v2-context-shift-group { grid-template-rows: auto minmax(28px, 34px); gap: 0; padding-top: 0; }
  #profile-v2-root .profile-v2-context-shift-segment { gap: 1px; padding-block: 1px; }
  #profile-v2-root .profile-v2-context-shift-segment em { display: none; }
  #profile-v2-root .profile-v2-snapshot-rows { grid-auto-rows: minmax(20px, 1fr); }

  #profile-v2-root .profile-v2-range-layout {
    grid-template-columns: minmax(0, 60fr) minmax(0, 40fr);
  }
}

@container profile-v2-shell (max-width: 699px) {
  #profile-v2-root .profile-v2-header-actions {
    gap: 8px;
  }

  #profile-v2-root .profile-v2-analysis-info {
    width: 24px;
    height: 24px;
  }

  #profile-v2-root .profile-v2-analysis-guide {
    padding: 5px;
  }

  #profile-v2-root .profile-v2-analysis-guide-panel {
    width: 92%;
    height: 88%;
    grid-template-rows: 28px 27px minmax(0, 1fr);
    border-radius: 11px;
  }

  #profile-v2-root .profile-v2-guide-header {
    padding-inline: 9px;
  }

  #profile-v2-root .profile-v2-guide-header h2 {
    font-size: 8px;
  }

  #profile-v2-root .profile-v2-guide-close {
    width: 21px;
    height: 21px;
    border-radius: 6px;
  }

  #profile-v2-root .profile-v2-guide-close span {
    font-size: 14px;
  }

  #profile-v2-root .profile-v2-guide-tabs {
    padding-inline: 4px;
  }

  #profile-v2-root .profile-v2-guide-tab {
    padding-inline: 2px;
    font-size: 5.8px;
    letter-spacing: .045em;
  }

  #profile-v2-root .profile-v2-guide-body {
    padding: 7px;
  }

  #profile-v2-root .profile-v2-guide-definitions {
    gap: 5px;
  }

  #profile-v2-root .profile-v2-guide-definition,
  #profile-v2-root .profile-v2-guide-note {
    padding: 7px;
    border-radius: 8px;
  }

  #profile-v2-root .profile-v2-guide-definition h3 {
    margin-bottom: 3px;
    font-size: 7px;
  }

  #profile-v2-root .profile-v2-guide-definition strong,
  #profile-v2-root .profile-v2-guide-note strong {
    margin-bottom: 3px;
    font-size: 6px;
  }

  #profile-v2-root .profile-v2-guide-definition p,
  #profile-v2-root .profile-v2-guide-note p {
    font-size: 5.8px;
    line-height: 1.48;
  }

  #profile-v2-root .profile-v2-analysis-view {
    grid-template-rows: auto minmax(0, 1fr);
  }

  #profile-v2-root .profile-v2-analysis-body {
    padding: 5px;
  }

  #profile-v2-root .profile-v2-analysis-subtabs {
    grid-template-rows: 26px auto;
    padding: 0;
  }

  #profile-v2-root .profile-v2-analysis-tabset {
    flex: 0 1 auto;
    padding-inline: 5px;
  }

  #profile-v2-root .profile-v2-analysis-contexts {
    padding: 2px 5px;
  }

  #profile-v2-root .profile-v2-analysis-context-label {
    margin-right: 1px;
    font-size: 5.5px;
    letter-spacing: .05em;
  }

  #profile-v2-root .profile-v2-analysis-period button,
  #profile-v2-root .profile-v2-analysis-players button,
  #profile-v2-root .profile-v2-analysis-stack button,
  #profile-v2-root .profile-v2-analysis-position-context button {
    min-width: 36px;
    height: 24px;
    padding-inline: 4px;
    font-size: 6.2px;
  }

  #profile-v2-root .profile-v2-analysis-players button {
    min-width: 28px;
    padding-inline: 3px;
  }

  #profile-v2-root .profile-v2-analysis-stack button {
    min-width: 48px;
    padding-inline: 3px;
  }

  #profile-v2-root .profile-v2-analysis-position-context button {
    min-width: 29px;
    padding-inline: 2px;
  }

  #profile-v2-root .profile-v2-analysis-period em {
    min-width: 42px;
    font-size: 5.4px;
    letter-spacing: .01em;
  }

  #profile-v2-root .profile-v2-analysis-period-loading { width: 18px; height: 18px; }

  #profile-v2-root .profile-v2-analysis-subtab {
    min-width: 60px;
    padding-inline: 5px;
    font-size: 6.5px;
  }

  #profile-v2-root .profile-v2-analysis-overview,
  #profile-v2-root .profile-v2-analysis-preflop-detail,
  #profile-v2-root .profile-v2-analysis-postflop-detail {
    gap: 5px;
  }

  #profile-v2-root .profile-v2-analysis-overview {
    grid-template-rows: minmax(74px, .9fr) minmax(86px, 1.1fr);
    gap: 4px;
    padding-bottom: 0;
  }

  #profile-v2-root .profile-v2-your-poker-content { gap: 4px; }

  #profile-v2-root .profile-v2-your-poker-insight {
    grid-template-columns: 20px minmax(0, 1fr) auto 7px;
    gap: 1px 3px;
    max-height: 58px;
    padding: 3px 4px;
    border-radius: 6px;
  }

  #profile-v2-root .profile-v2-your-poker-icon {
    width: 19px;
    height: 19px;
    font-size: 10px;
  }

  #profile-v2-root .profile-v2-your-poker-title { font-size: 7.2px; }
  #profile-v2-root .profile-v2-your-poker-insight > p { font-size: 5.9px; }
  #profile-v2-root .profile-v2-your-poker-insight > em { font-size: 5.2px; }
  #profile-v2-root .profile-v2-your-poker-insight > i { font-size: 11.5px; }

  #profile-v2-root .profile-v2-your-poker-metrics {
    min-width: 42px;
    gap: 2px;
    padding-left: 3px;
  }

  #profile-v2-root .profile-v2-your-poker-metrics > span { gap: 2px; }
  #profile-v2-root .profile-v2-your-poker-metrics small { font-size: 4.9px; }
  #profile-v2-root .profile-v2-your-poker-metrics strong { font-size: 9.2px; }

  #profile-v2-root .profile-v2-your-poker-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  #profile-v2-root .profile-v2-overview-lower { gap: 4px; }
  #profile-v2-root .profile-v2-context-shift-groups { gap: 2px; }
  #profile-v2-root .profile-v2-context-shift-group { gap: 1px; padding-top: 0; }
  #profile-v2-root .profile-v2-context-shift-group { grid-template-rows: auto minmax(28px, 34px); }
  #profile-v2-root .profile-v2-context-shift-label { gap: 3px; font-size: 5.2px; }
  #profile-v2-root .profile-v2-context-shift-label span { font-size: 5.2px; }
  #profile-v2-root .profile-v2-context-shift-segment { gap: 2px; padding: 2px 1px; }
  #profile-v2-root .profile-v2-context-shift-segment span { font-size: 5.1px; }
  #profile-v2-root .profile-v2-context-shift-segment strong { font-size: 8px; }
  #profile-v2-root .profile-v2-context-shift-segment small { font-size: 4.9px; }
  #profile-v2-root .profile-v2-context-shift-segment em { display: none; }

  #profile-v2-root .profile-v2-snapshot-rows { padding-top: 1px; }
  #profile-v2-root .profile-v2-snapshot-rows { grid-auto-rows: minmax(20px, 1fr); }
  #profile-v2-root .profile-v2-snapshot-row {
    grid-template-columns: 14px minmax(0, 1fr) auto;
    gap: 3px;
    padding: 1px 3px;
  }
  #profile-v2-root .profile-v2-snapshot-icon { font-size: 8px; }
  #profile-v2-root .profile-v2-snapshot-row > strong { font-size: 6.2px; line-height: 1.2; }
  #profile-v2-root .profile-v2-snapshot-evidence { gap: 1px; }
  #profile-v2-root .profile-v2-snapshot-evidence small { font-size: 4.5px; }

  #profile-v2-root .profile-v2-analysis-card {
    padding: 6px 7px;
    border-radius: 10px;
  }

  #profile-v2-root .profile-v2-analysis-card-title {
    height: 13px;
    gap: 4px;
    font-size: 7px;
  }

  #profile-v2-root .profile-v2-analysis-card-title .profile-v2-icon {
    width: 10px;
    height: 10px;
  }

  #profile-v2-root .profile-v2-analysis-metric-grid,
  #profile-v2-root .profile-v2-analysis-stat-list-grid {
    height: calc(100% - 13px);
    padding-top: 2px;
  }

  #profile-v2-root .profile-v2-analysis-metric > .profile-v2-analysis-stat-info-button {
    gap: 2px;
    padding: 2px;
  }

  #profile-v2-root .profile-v2-analysis-metric > .profile-v2-analysis-stat-info-button > span {
    font-size: 8.25px;
    letter-spacing: .02em;
  }

  #profile-v2-root .profile-v2-analysis-metric > .profile-v2-analysis-stat-info-button > strong {
    font-size: 12px;
  }

  #profile-v2-root .profile-v2-analysis-drilldown-button {
    width: 14px;
    height: 14px;
  }

  #profile-v2-root .profile-v2-analysis-drilldown-button span {
    font-size: 9px;
  }

  #profile-v2-root .profile-v2-analysis-difference { min-height: 0; font-size: 5.5px; }

  #profile-v2-root .profile-v2-analysis-stat-value {
    min-width: 42px;
    gap: 3px;
  }

  #profile-v2-root .profile-v2-analysis-stat-value.has-difference {
    min-width: 86px;
  }

  #profile-v2-root .profile-v2-analysis-difference-slot {
    min-width: 40px;
  }

  #profile-v2-root .profile-v2-analysis-stat-value .profile-v2-analysis-difference {
    min-height: 0;
    font-size: 7.1px;
  }

  #profile-v2-root .profile-v2-analysis-stat-value > strong { line-height: 1.2; }

  #profile-v2-root .profile-v2-performance-pot-types {
    height: 18px;
    grid-template-columns: repeat(4, minmax(32px, 1fr));
  }

  #profile-v2-root .profile-v2-performance-pot-types button {
    padding-inline: 5px;
    font-size: 6.3px;
  }

  #profile-v2-root .profile-v2-performance-sides { gap: 4px; padding-top: 3px; }

  #profile-v2-root .profile-v2-performance-side {
    grid-template-columns: minmax(63px, 1.08fr) repeat(3, minmax(48px, 1fr)) 10px;
    gap: 3px;
    padding: 4px 5px;
  }

  #profile-v2-root .profile-v2-performance-side-title { font-size: 6.7px; }
  #profile-v2-root .profile-v2-performance-side small { font-size: 5.3px; }
  #profile-v2-root .profile-v2-performance-side strong { font-size: 8px; }
  #profile-v2-root .profile-v2-performance-side > i { font-size: 10px; }

  #profile-v2-root .profile-v2-analysis-tracked {
    right: 8px;
    bottom: 5px;
    font-size: 7.2px;
  }

  #profile-v2-root .profile-v2-analysis-tracked > span {
    margin-right: 5px;
  }

  #profile-v2-root .profile-v2-analysis-stat-list-grid {
    column-gap: 16px;
    padding-inline: 2px;
  }

  #profile-v2-root .profile-v2-analysis-stat-line {
    grid-template-columns: minmax(0, 1fr) 14px;
    gap: 4px;
  }

  #profile-v2-root .profile-v2-analysis-stat-line > .profile-v2-analysis-stat-info-button {
    grid-template-columns: 9px minmax(0, 1fr) auto;
    gap: 4px;
  }

  #profile-v2-root .profile-v2-analysis-stat-line .profile-v2-icon {
    width: 8px;
    height: 8px;
  }

  #profile-v2-root .profile-v2-analysis-stat-line > .profile-v2-analysis-stat-info-button > span {
    font-size: 8.7px;
  }

  #profile-v2-root .profile-v2-analysis-stat-line strong {
    font-size: 10px;
  }

  #profile-v2-root .profile-v2-analysis-preflop-detail .profile-v2-analysis-stat-line > .profile-v2-analysis-stat-info-button > span {
    font-size: 8.3px;
  }
  #profile-v2-root .profile-v2-analysis-preflop-detail .profile-v2-analysis-stat-line strong {
    font-size: 9.5px;
  }

  #profile-v2-root .profile-v2-analysis-stat-popover {
    width: min(280px, calc(100% - 12px));
    padding: 8px 9px;
    border-radius: 8px;
  }

  #profile-v2-root .profile-v2-analysis-stat-popover strong {
    margin-bottom: 4px;
    font-size: 8px;
  }

  #profile-v2-root .profile-v2-analysis-stat-popover p {
    font-size: 8px;
    line-height: 1.45;
  }

  #profile-v2-root .profile-v2-position-matrix {
    grid-template-rows: 13px repeat(5, minmax(0, 1fr));
  }

  #profile-v2-root .profile-v2-analysis-preflop-detail .profile-v2-position-matrix {
    padding-bottom: 14px;
  }

  #profile-v2-root .profile-v2-position-matrix-head {
    font-size: 8.25px;
  }

  #profile-v2-root .profile-v2-position-matrix-row {
    font-size: 6.5px;
  }

  #profile-v2-root .profile-v2-position-matrix-row strong {
    font-size: 9.75px;
  }

  #profile-v2-root .profile-v2-range-view {
    grid-template-rows: 23px minmax(0, 1fr) 12px;
    gap: 4px;
  }

  #profile-v2-root .profile-v2-range-top {
    grid-template-columns: minmax(78px, .54fr) minmax(250px, 1.7fr);
    gap: 4px;
    padding-inline: 5px;
    border-radius: 7px;
  }

  #profile-v2-root .profile-v2-range-top > div { gap: 4px; }
  #profile-v2-root .profile-v2-range-top > div strong { font-size: 7px; }
  #profile-v2-root .profile-v2-range-top > div span { display: none; }
  #profile-v2-root .profile-v2-range-handedness { gap: 1px; padding: 1px; }
  #profile-v2-root .profile-v2-range-handedness-option { min-width: 20px; padding: 1px 2px; font-size: 5px; }
  #profile-v2-root .profile-v2-range-position { font-size: 5.8px; }

  #profile-v2-root .profile-v2-range-layout {
    grid-template-columns: minmax(0, 70fr) minmax(0, 30fr);
    gap: 4px;
  }

  #profile-v2-root .profile-v2-range-matrix-card {
    padding: 3px;
    border-radius: 8px;
  }

  #profile-v2-root .profile-v2-range-matrix { gap: 1px; }
  #profile-v2-root .profile-v2-range-cell { border-radius: 2px; }
  #profile-v2-root .profile-v2-range-cell strong { font-size: 5.2px; }
  #profile-v2-root .profile-v2-range-cell small { display: none; }
  #profile-v2-root .profile-v2-range-cell.is-low-sample::after { display: none; }

  #profile-v2-root .profile-v2-range-details {
    padding: 5px;
    border-radius: 8px;
  }

  #profile-v2-root .profile-v2-range-details > header { margin-bottom: 4px; }
  #profile-v2-root .profile-v2-range-details h3 { font-size: 13px; }
  #profile-v2-root .profile-v2-range-details header span,
  #profile-v2-root .profile-v2-range-details header em { font-size: 4.8px; }
  #profile-v2-root .profile-v2-range-key-stats { margin-bottom: 5px; }
  #profile-v2-root .profile-v2-range-key-stats > div { padding: 3px 2px; }
  #profile-v2-root .profile-v2-range-key-stats span,
  #profile-v2-root .profile-v2-range-substats span { font-size: 4.8px; }
  #profile-v2-root .profile-v2-range-key-stats strong { font-size: 9px; }
  #profile-v2-root .profile-v2-range-action-section h4,
  #profile-v2-root .profile-v2-range-combo-section h4 { margin-bottom: 3px; font-size: 5px; }
  #profile-v2-root .profile-v2-range-action-track { height: 8px; }
  #profile-v2-root .profile-v2-range-action-legend {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px 4px;
    margin-top: 3px;
  }
  #profile-v2-root .profile-v2-range-action-legend span { font-size: 4.6px; }
  #profile-v2-root .profile-v2-range-substats { gap: 3px; margin: 5px 0; }
  #profile-v2-root .profile-v2-range-substats > div { padding: 3px; }
  #profile-v2-root .profile-v2-range-substats strong { font-size: 7px; }
  #profile-v2-root .profile-v2-range-substats small { font-size: 4px; }
  #profile-v2-root .profile-v2-range-combos { grid-template-columns: 1fr; gap: 3px; }
  #profile-v2-root .profile-v2-range-combo { padding: 3px; border-radius: 5px; }
  #profile-v2-root .profile-v2-range-combo > div strong { font-size: 6.5px; }
  #profile-v2-root .profile-v2-range-combo > div span,
  #profile-v2-root .profile-v2-range-combo > small { font-size: 4px; }
  #profile-v2-root .profile-v2-range-footer { gap: 5px; padding-inline: 3px; font-size: 4.5px; }

  #profile-v2-root .profile-v2-guide-tab {
    font-size: 5.3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #profile-v2-root .profile-v2-analysis-content.is-ready {
    animation: none;
  }
  #profile-v2-root .profile-v2-analysis-period-loading { animation: none; }
}

/* ANALYSIS V2 MY RANGE final split: range overview / hand drill-down */
#profile-v2-root .profile-v2-range-layout {
  grid-template-columns: minmax(0, 54fr) minmax(0, 46fr);
}

#profile-v2-root .profile-v2-range-matrix-card {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: clamp(4px, .65vh, 7px);
}

#profile-v2-root .profile-v2-range-matrix-shell {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-columns: clamp(9px, 1.25vw, 15px) minmax(0, 1fr);
  grid-template-rows: clamp(9px, 1.5vh, 14px) minmax(0, 1fr);
  gap: 2px;
}

#profile-v2-root .profile-v2-range-matrix-corner {
  grid-column: 1;
  grid-row: 1;
}

#profile-v2-root .profile-v2-range-matrix-axis {
  color: rgba(183, 203, 215, .6);
  font-size: clamp(5px, .62vw, 7.5px);
  font-weight: 850;
  line-height: 1;
}

#profile-v2-root .profile-v2-range-matrix-axis.is-columns {
  grid-column: 2;
  grid-row: 1;
  display: grid;
  grid-template-columns: repeat(13, minmax(0, 1fr));
  align-items: center;
  text-align: center;
}

#profile-v2-root .profile-v2-range-matrix-axis.is-rows {
  grid-column: 1;
  grid-row: 2;
  display: grid;
  grid-template-rows: repeat(13, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
}

#profile-v2-root .profile-v2-range-matrix {
  grid-column: 2;
  grid-row: 2;
}

#profile-v2-root .profile-v2-range-play-legend {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(5px, .72vw, 9px);
  color: rgba(161, 184, 197, .58);
  font-size: clamp(4.5px, .55vw, 6.5px);
  font-weight: 760;
  white-space: nowrap;
}

#profile-v2-root .profile-v2-range-play-legend strong {
  color: rgba(190, 214, 224, .68);
  font-size: inherit;
  letter-spacing: .08em;
}

#profile-v2-root .profile-v2-range-play-legend span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

#profile-v2-root .profile-v2-range-play-legend i {
  width: clamp(7px, .72vw, 10px);
  height: clamp(5px, .6vh, 7px);
  border: 1px solid rgba(118, 168, 193, .12);
  border-radius: 2px;
  background: rgba(3, 12, 20, .86);
}

#profile-v2-root .profile-v2-range-play-legend .is-low { background: rgba(20, 76, 108, .45); }
#profile-v2-root .profile-v2-range-play-legend .is-mid { background: rgba(22, 107, 148, .57); }
#profile-v2-root .profile-v2-range-play-legend .is-high { background: rgba(25, 152, 191, .7); }
#profile-v2-root .profile-v2-range-play-legend .is-max {
  background: rgba(32, 202, 243, .88);
  box-shadow: 0 0 5px rgba(32, 202, 243, .13);
}
#profile-v2-root .profile-v2-range-play-legend .is-none { background: rgba(96, 116, 128, .22); }

#profile-v2-root .profile-v2-range-cell.is-no-data {
  background: rgba(50, 62, 77, .16);
  color: rgba(182, 202, 212, .45);
}

#profile-v2-root .profile-v2-range-details {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

#profile-v2-root .profile-v2-range-detail-handle,
#profile-v2-root .profile-v2-range-detail-close {
  display: none;
}

#profile-v2-root .profile-v2-range-hand-header {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: auto minmax(52px, .62fr) minmax(138px, 1.15fr);
  align-items: center;
  gap: clamp(6px, .7vw, 10px);
  margin: 0 0 clamp(7px, 1vh, 11px);
  padding-bottom: clamp(7px, 1vh, 10px);
  border-bottom: 1px solid rgba(104, 175, 205, .12);
}

#profile-v2-root .profile-v2-range-hole-cards {
  display: flex;
  gap: 4px;
}

#profile-v2-root .profile-v2-range-hole-cards > span {
  width: clamp(25px, 3.1vw, 38px);
  height: clamp(34px, 4.2vw, 49px);
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 1px;
  border: 1px solid rgba(128, 176, 203, .16);
  border-radius: clamp(6px, .65vw, 9px);
  background: linear-gradient(145deg, rgba(27, 43, 65, .88), rgba(7, 18, 29, .96));
  box-shadow: inset 0 1px 0 rgba(216, 246, 250, .04), 0 4px 12px rgba(0, 0, 0, .16);
}

#profile-v2-root .profile-v2-range-hole-cards strong {
  color: #f0f8fb;
  font-size: clamp(12px, 1.55vw, 19px);
  line-height: .9;
}

#profile-v2-root .profile-v2-range-hole-cards i {
  font-size: clamp(8px, .9vw, 11px);
  font-style: normal;
  line-height: 1;
}

#profile-v2-root .profile-v2-range-hole-cards .suit-s i,
#profile-v2-root .profile-v2-range-combo .suit-s { color: #c5d0da; }
#profile-v2-root .profile-v2-range-hole-cards .suit-h i,
#profile-v2-root .profile-v2-range-combo .suit-h { color: #ff6879; }
#profile-v2-root .profile-v2-range-hole-cards .suit-d i,
#profile-v2-root .profile-v2-range-combo .suit-d { color: #5592ff; }
#profile-v2-root .profile-v2-range-hole-cards .suit-c i,
#profile-v2-root .profile-v2-range-combo .suit-c { color: #55c997; }

#profile-v2-root .profile-v2-range-hand-name {
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 3px;
}

#profile-v2-root .profile-v2-range-hand-name h3 {
  font-size: clamp(18px, 2.35vw, 30px);
}

#profile-v2-root .profile-v2-range-hand-name span,
#profile-v2-root .profile-v2-range-hand-name em {
  font-size: clamp(5px, .63vw, 8px);
}

#profile-v2-root .profile-v2-range-hand-name em {
  color: rgba(242, 180, 95, .76);
  font-style: normal;
}

#profile-v2-root .profile-v2-range-key-stats {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  border: 1px solid rgba(104, 175, 205, .1);
  border-radius: 8px;
  background: rgba(4, 14, 22, .32);
}

#profile-v2-root .profile-v2-range-key-stats > div {
  padding: clamp(5px, .7vh, 8px) 3px;
}

#profile-v2-root .profile-v2-range-key-stats > div:last-child strong {
  color: var(--profile-v2-cyan-bright);
  text-shadow: 0 0 9px rgba(32, 202, 243, .1);
}

#profile-v2-root .profile-v2-range-action-section {
  flex: 0 0 auto;
}

#profile-v2-root .profile-v2-range-action-breakdown {
  display: grid;
  gap: clamp(5px, .72vh, 8px);
}

#profile-v2-root .profile-v2-range-action-row {
  min-width: 0;
  display: grid;
  grid-template-columns: clamp(31px, 4.4vw, 55px) minmax(0, 1fr) clamp(32px, 3.8vw, 47px);
  align-items: center;
  gap: clamp(4px, .58vw, 7px);
}

#profile-v2-root .profile-v2-range-action-row > strong,
#profile-v2-root .profile-v2-range-action-row > b {
  color: rgba(195, 215, 225, .74);
  font-size: clamp(5.5px, .68vw, 8.5px);
  font-weight: 850;
  letter-spacing: .045em;
}

#profile-v2-root .profile-v2-range-action-row > b {
  color: rgba(238, 248, 251, .9);
  text-align: right;
}

#profile-v2-root .profile-v2-range-action-row .profile-v2-range-action-track {
  height: clamp(7px, 1.15vh, 11px);
}

#profile-v2-root .profile-v2-range-action-row .profile-v2-range-action-track > span {
  height: 100%;
  display: block;
  border-radius: inherit;
}

#profile-v2-root .profile-v2-range-action-row.is-raise .profile-v2-range-action-track > span {
  background: #20caf3;
  box-shadow: 0 0 6px rgba(32, 202, 243, .14);
}
#profile-v2-root .profile-v2-range-action-row.is-call .profile-v2-range-action-track > span {
  background: #8d78ff;
  box-shadow: 0 0 6px rgba(141, 120, 255, .12);
}
#profile-v2-root .profile-v2-range-action-row.is-fold .profile-v2-range-action-track > span {
  background: #d55270;
  box-shadow: 0 0 6px rgba(213, 82, 112, .11);
}

#profile-v2-root .profile-v2-range-action-empty {
  height: 29px;
  display: grid;
  place-content: center;
  border: 1px solid rgba(110, 161, 189, .1);
  border-radius: 7px;
  color: rgba(157, 181, 194, .5);
  font-size: 7px;
  letter-spacing: .08em;
}

#profile-v2-root .profile-v2-range-substats {
  flex: 0 0 auto;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: clamp(7px, 1vh, 10px) 0;
}

#profile-v2-root .profile-v2-range-combo-section {
  min-height: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

#profile-v2-root .profile-v2-range-combo-status {
  min-height: 0;
  flex: 1 1 auto;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 7px;
  color: rgba(146, 185, 205, .66);
  font-size: clamp(6px, .72vw, 9px);
  font-weight: 900;
  letter-spacing: .09em;
  text-align: center;
}

#profile-v2-root .profile-v2-range-combo-status.is-error {
  color: rgba(255, 176, 187, .78);
}

#profile-v2-root .profile-v2-range-combo-section h4 span {
  color: rgba(160, 184, 197, .55);
}

#profile-v2-root .profile-v2-range-combos {
  min-height: 0;
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  gap: 2px;
  overflow-x: hidden;
  overflow-y: auto;
  padding-right: 3px;
  scrollbar-width: thin;
  scrollbar-color: rgba(32, 202, 243, .28) rgba(12, 29, 39, .28);
}

#profile-v2-root .profile-v2-range-combo {
  min-height: clamp(20px, 3.4vh, 29px);
  display: grid;
  grid-template-columns: clamp(43px, 5.4vw, 68px) clamp(38px, 5vw, 60px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(4px, .55vw, 7px);
  padding: 3px clamp(4px, .55vw, 7px);
  border-radius: 5px;
}

#profile-v2-root .profile-v2-range-combo-cards {
  display: flex;
  gap: 4px;
  font-size: clamp(7px, .82vw, 10px);
  white-space: nowrap;
}

#profile-v2-root .profile-v2-range-combo-hands {
  color: rgba(173, 195, 206, .6);
  font-size: clamp(5px, .57vw, 7px);
  white-space: nowrap;
}

#profile-v2-root .profile-v2-range-combo-play {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(27px, 3.2vw, 40px);
  align-items: center;
  gap: 5px;
}

#profile-v2-root .profile-v2-range-combo-play > div {
  height: clamp(4px, .72vh, 7px);
  overflow: hidden;
  border-radius: 999px;
  background: rgba(90, 123, 145, .16);
}

#profile-v2-root .profile-v2-range-combo-play > div > span {
  height: 100%;
  display: block;
  border-radius: inherit;
  background: #20caf3;
  box-shadow: 0 0 5px rgba(32, 202, 243, .12);
}

#profile-v2-root .profile-v2-range-combo-play > strong {
  color: rgba(232, 244, 248, .82);
  font-size: clamp(5px, .62vw, 7.5px);
  text-align: right;
}

#profile-v2-root .profile-v2-range-combo-play.is-empty > div {
  background: rgba(90, 123, 145, .08);
}

#profile-v2-root .profile-v2-range-combo-play.is-empty > strong {
  color: rgba(147, 170, 183, .44);
}

@container profile-v2-shell (min-width: 700px) and (max-width: 920px) {
  #profile-v2-root .profile-v2-range-layout {
    grid-template-columns: minmax(0, 52fr) minmax(0, 48fr);
  }
}

@container profile-v2-shell (max-width: 699px) {
  #profile-v2-root .profile-v2-range-layout {
    grid-template-columns: minmax(0, 55fr) minmax(0, 45fr);
  }

  #profile-v2-root .profile-v2-range-matrix-card {
    gap: 3px;
  }

  #profile-v2-root .profile-v2-range-matrix-shell {
    grid-template-columns: 7px minmax(0, 1fr);
    grid-template-rows: 7px minmax(0, 1fr);
    gap: 1px;
  }

  #profile-v2-root .profile-v2-range-matrix-axis {
    font-size: 4.4px;
  }

  #profile-v2-root .profile-v2-range-play-legend {
    gap: 4px;
    font-size: 3.7px;
  }

  #profile-v2-root .profile-v2-range-play-legend strong,
  #profile-v2-root .profile-v2-range-play-legend .is-low,
  #profile-v2-root .profile-v2-range-play-legend .is-mid {
    display: none;
  }

  #profile-v2-root .profile-v2-range-play-legend i {
    width: 6px;
    height: 4px;
  }

  #profile-v2-root .profile-v2-range-hand-header {
    grid-template-columns: auto minmax(34px, .55fr) minmax(92px, 1.2fr);
    gap: 4px;
    padding-bottom: 5px;
    margin-bottom: 5px;
  }

  #profile-v2-root .profile-v2-range-hole-cards {
    gap: 2px;
  }

  #profile-v2-root .profile-v2-range-hole-cards > span {
    width: 20px;
    height: 27px;
    border-radius: 5px;
  }

  #profile-v2-root .profile-v2-range-hole-cards strong { font-size: 10px; }
  #profile-v2-root .profile-v2-range-hole-cards i { font-size: 6px; }
  #profile-v2-root .profile-v2-range-hand-name h3 { font-size: 13px; }
  #profile-v2-root .profile-v2-range-hand-name span,
  #profile-v2-root .profile-v2-range-hand-name em { font-size: 4px; }

  #profile-v2-root .profile-v2-range-key-stats > div { padding: 3px 1px; }
  #profile-v2-root .profile-v2-range-key-stats span { font-size: 4px; }
  #profile-v2-root .profile-v2-range-key-stats strong { font-size: 8px; }

  #profile-v2-root .profile-v2-range-action-breakdown { gap: 3px; }
  #profile-v2-root .profile-v2-range-action-row {
    grid-template-columns: 26px minmax(0, 1fr) 28px;
    gap: 3px;
  }
  #profile-v2-root .profile-v2-range-action-row > strong,
  #profile-v2-root .profile-v2-range-action-row > b { font-size: 4.2px; }
  #profile-v2-root .profile-v2-range-action-row .profile-v2-range-action-track { height: 6px; }

  #profile-v2-root .profile-v2-range-substats { gap: 2px; margin: 4px 0; }
  #profile-v2-root .profile-v2-range-substats > div { padding: 2px; }
  #profile-v2-root .profile-v2-range-substats span { font-size: 3.8px; }
  #profile-v2-root .profile-v2-range-substats strong { font-size: 6px; }
  #profile-v2-root .profile-v2-range-substats small { font-size: 3.4px; }

  #profile-v2-root .profile-v2-range-combo {
    min-height: 18px;
    grid-template-columns: 36px 34px minmax(0, 1fr);
    gap: 3px;
    padding: 2px 3px;
  }
  #profile-v2-root .profile-v2-range-combo-cards { gap: 2px; font-size: 5.5px; }
  #profile-v2-root .profile-v2-range-combo-hands { font-size: 3.8px; }
  #profile-v2-root .profile-v2-range-combo-play {
    grid-template-columns: minmax(0, 1fr) 24px;
    gap: 3px;
  }
  #profile-v2-root .profile-v2-range-combo-play > div { height: 4px; }
  #profile-v2-root .profile-v2-range-combo-play > strong { font-size: 3.8px; }
}

#profile-v2-root button.profile-v2-range-action-row {
  grid-template-columns: 42px minmax(0, 1fr) 40px 9px;
  width: 100%;
  border: 0;
  background: transparent;
}

@container profile-v2-shell (max-width: 699px) {
  #profile-v2-root button.profile-v2-range-action-row {
    grid-template-columns: 25px minmax(0, 1fr) 24px 6px;
  }
}

/* ANALYSIS V2 — MY RANGE Action Filter */
#profile-v2-root .profile-v2-range-view {
  --range-filter-rgb: 32, 230, 243;
  grid-template-rows: clamp(27px, 4.4vh, 34px) clamp(21px, 3.2vh, 27px) minmax(0, 1fr);
}

#profile-v2-root .profile-v2-range-view.is-filter-call { --range-filter-rgb: 141, 120, 255; }
#profile-v2-root .profile-v2-range-view.is-filter-fold { --range-filter-rgb: 223, 91, 119; }
#profile-v2-root .profile-v2-range-view.is-filter-three-bet { --range-filter-rgb: 242, 180, 95; }

#profile-v2-root .profile-v2-range-filters {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(2px, .35vw, 5px);
  padding: 2px clamp(5px, .7vw, 8px);
  border: 1px solid rgba(107, 189, 225, .1);
  border-radius: 8px;
  background: rgba(4, 15, 24, .68);
}

#profile-v2-root .profile-v2-range-filter {
  position: relative;
  min-width: 0;
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
  color: rgba(168, 190, 201, .52);
  font: 850 clamp(5.5px, .66vw, 8px)/1 system-ui, sans-serif;
  letter-spacing: .07em;
  white-space: nowrap;
}

#profile-v2-root .profile-v2-range-filter small { display: none; }

#profile-v2-root .profile-v2-range-filter.is-active {
  border-color: rgba(var(--range-filter-rgb), .32);
  background: rgba(var(--range-filter-rgb), .075);
  color: rgba(var(--range-filter-rgb), .96);
  box-shadow: inset 0 -1px 0 rgba(var(--range-filter-rgb), .55), 0 0 7px rgba(var(--range-filter-rgb), .08);
}

#profile-v2-root .profile-v2-range-cell {
  --range-rate: 0;
}

#profile-v2-root .profile-v2-range-cell::before {
  background: linear-gradient(145deg, rgba(var(--range-filter-rgb), .74), rgba(var(--range-filter-rgb), .38));
  opacity: calc(var(--range-rate) * .64);
}

#profile-v2-root .profile-v2-range-cell.is-selected {
  border-color: rgba(var(--range-filter-rgb), .9);
  box-shadow: inset 0 0 0 1px rgba(var(--range-filter-rgb), .3), 0 0 8px rgba(var(--range-filter-rgb), .2);
}

#profile-v2-root .profile-v2-range-play-legend i:not(.is-none) {
  background-color: rgba(var(--range-filter-rgb), .72);
}

#profile-v2-root .profile-v2-range-action-row.is-filter-active:not(:disabled),
#profile-v2-root .profile-v2-range-substats > div.is-filter-active {
  border-color: rgba(var(--range-filter-rgb), .32);
  background: rgba(var(--range-filter-rgb), .06);
  box-shadow: 0 0 7px rgba(var(--range-filter-rgb), .09);
}

#profile-v2-root .profile-v2-range-action-row.is-filter-active > strong,
#profile-v2-root .profile-v2-range-substats > div.is-filter-active span,
#profile-v2-root .profile-v2-range-substats > div.is-filter-active strong {
  color: rgba(var(--range-filter-rgb), .98);
}

#profile-v2-root .profile-v2-range-combo-head {
  display: grid;
  grid-template-columns: minmax(52px, .75fr) minmax(46px, .7fr) minmax(0, 1.45fr);
  gap: 6px;
  padding: 0 5px 4px;
  color: rgba(153, 181, 194, .5);
  font: 800 clamp(4px, .48vw, 6px)/1 system-ui, sans-serif;
  letter-spacing: .06em;
}

#profile-v2-root .profile-v2-range-combo-play > div > span {
  background: rgba(var(--range-filter-rgb), .9);
  box-shadow: 0 0 5px rgba(var(--range-filter-rgb), .12);
}

@container profile-v2-shell (max-width: 699px) {
  #profile-v2-root .profile-v2-range-view {
    grid-template-rows: 21px 17px minmax(0, 1fr);
    gap: 3px;
  }

  #profile-v2-root .profile-v2-range-filters {
    gap: 1px;
    padding: 1px 3px;
    border-radius: 6px;
  }

  #profile-v2-root .profile-v2-range-filter {
    padding: 0 1px;
    border-radius: 3px;
    font-size: 4.6px;
  }

  #profile-v2-root .profile-v2-range-filter span { display: none; }
  #profile-v2-root .profile-v2-range-filter small { display: inline; font: inherit; }

  #profile-v2-root .profile-v2-range-combo-head {
    grid-template-columns: 36px 34px minmax(0, 1fr);
    gap: 3px;
    padding: 0 3px 2px;
    font-size: 3.4px;
  }
}

/* ANALYSIS V2 — REVIEW HANDS */
#profile-v2-root .profile-v2-review-link {
  position: absolute;
  z-index: 2;
  left: clamp(11px, 1.4vw, 18px);
  bottom: clamp(6px, .8vw, 10px);
  min-width: clamp(116px, 13vw, 158px);
  height: clamp(24px, 3.8vh, 31px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid rgba(32, 202, 243, .2);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(8, 31, 43, .8), rgba(4, 17, 27, .88));
  color: rgba(197, 222, 229, .68);
  font: 850 clamp(6px, .72vw, 8px)/1 system-ui, sans-serif;
  letter-spacing: .07em;
}

#profile-v2-root .profile-v2-review-link > span:first-child,
#profile-v2-root .profile-v2-review-star > span { color: rgba(32, 202, 243, .72); }
#profile-v2-root .profile-v2-review-link strong { color: #dffbff; font-size: 1.2em; }
#profile-v2-root .profile-v2-review-link i { color: rgba(32, 202, 243, .65); font-style: normal; }
#profile-v2-root .profile-v2-review-link:hover,
#profile-v2-root .profile-v2-review-link:focus-visible {
  border-color: rgba(32, 202, 243, .48);
  box-shadow: 0 0 12px rgba(32, 202, 243, .1);
  outline: none;
}

#profile-v2-root .profile-v2-drilldown-hand {
  width: 100%;
  min-height: 43px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px;
  gap: 0;
  padding: 0;
  overflow: hidden;
}

#profile-v2-root .profile-v2-drilldown-hand-main {
  appearance: none;
  min-width: 0;
  min-height: 41px;
  display: grid;
  grid-template-columns: 76px minmax(70px, 1fr) 52px minmax(90px, 1fr) 62px 68px 10px;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}

#profile-v2-root .profile-v2-drilldown-hand-main:focus-visible {
  outline: 1px solid rgba(32, 202, 243, .5);
  outline-offset: -2px;
}

#profile-v2-root .profile-v2-drilldown-hand.is-unavailable .profile-v2-drilldown-hand-main {
  opacity: .56;
}

#profile-v2-root .profile-v2-review-star {
  position: relative;
  appearance: none;
  width: 40px;
  min-height: 40px;
  display: grid;
  place-content: center;
  gap: 2px;
  border: 0;
  border-left: 1px solid rgba(91, 153, 183, .13);
  background: rgba(3, 16, 26, .66);
  color: rgba(157, 188, 198, .58);
}

#profile-v2-root .profile-v2-review-star > span {
  font-size: 17px;
  line-height: 1;
}

#profile-v2-root .profile-v2-review-star > em {
  color: rgba(157, 188, 198, .46);
  font: 750 4.5px/1 system-ui, sans-serif;
  font-style: normal;
  letter-spacing: .04em;
}

#profile-v2-root .profile-v2-review-star.is-reviewed {
  background: rgba(242, 180, 95, .055);
}
#profile-v2-root .profile-v2-review-star.is-reviewed > span,
#profile-v2-root .profile-v2-review-star.is-reviewed > em { color: rgba(242, 180, 95, .86); }
#profile-v2-root .profile-v2-review-star:hover:not(:disabled),
#profile-v2-root .profile-v2-review-star:focus-visible:not(:disabled) {
  background: rgba(32, 202, 243, .08);
  box-shadow: inset 0 0 0 1px rgba(32, 202, 243, .24);
  outline: none;
}
#profile-v2-root .profile-v2-review-star:disabled { opacity: .42; }

#profile-v2-root .profile-v2-drilldown-summary.is-reviews {
  grid-template-columns: minmax(90px, .7fr) minmax(120px, 1fr) minmax(120px, 1fr);
}
#profile-v2-root .profile-v2-drilldown-summary .is-review-limit strong { color: rgba(215, 231, 235, .78); font-size: 12px; }
#profile-v2-root .profile-v2-drilldown-summary .is-review-limit.is-near-limit strong,
#profile-v2-root .profile-v2-drilldown-summary .is-review-limit.is-limit strong { color: rgba(242, 180, 95, .9); }

@container profile-v2-shell (max-width: 699px) {
  #profile-v2-root .profile-v2-review-link {
    left: 8px;
    bottom: 4px;
    min-width: 82px;
    height: 19px;
    gap: 4px;
    border-radius: 5px;
    font-size: 4.6px;
  }

  #profile-v2-root .profile-v2-drilldown-hand {
    min-height: 30px;
    grid-template-columns: minmax(0, 1fr) 36px;
  }

  #profile-v2-root .profile-v2-drilldown-hand-main {
    min-height: 30px;
    grid-template-columns: 39px minmax(34px, .8fr) 25px minmax(45px, 1fr) 31px 34px 5px;
    gap: 3px;
    padding: 3px 5px;
  }

  #profile-v2-root .profile-v2-review-star {
    width: 36px;
    min-height: 36px;
  }
  #profile-v2-root .profile-v2-review-star > span { font-size: 12px; }
  #profile-v2-root .profile-v2-review-star > em { display: none; }
  #profile-v2-root .profile-v2-drilldown-summary.is-reviews {
    grid-template-columns: .65fr 1fr 1fr;
  }
  #profile-v2-root .profile-v2-drilldown-summary .is-review-limit strong { font-size: 7px; }
}

/* MY RANGE mobile landscape: controls + full matrix, with detail on demand. */
@media (max-width: 920px) and (max-height: 500px) and (orientation: landscape) {
  #profile-v2-root .profile-v2-range-view {
    --profile-v2-range-mobile-control-height: clamp(16px, calc(5dvh + 2px), 22px);
    --profile-v2-range-mobile-control-font: clamp(5.5px, 1.75dvh, 8px);
    --profile-v2-range-mobile-label-font: clamp(4.5px, 1.45dvh, 5.5px);
    --profile-v2-range-mobile-row-gap: clamp(1px, .55dvh, 3px);
    --profile-v2-range-mobile-section-gap: clamp(2px, 1dvh, 5px);
    --profile-v2-range-mobile-control-padding: clamp(3px, 1.3dvh, 5px);
    position: relative;
    grid-template-columns: minmax(108px, 23fr) minmax(0, 77fr);
    grid-template-rows: minmax(0, 1fr) auto;
    column-gap: clamp(4px, .8vw, 7px);
    row-gap: var(--profile-v2-range-mobile-section-gap);
  }

  #profile-v2-root .profile-v2-range-top {
    grid-column: 1;
    grid-row: 1;
    align-self: stretch;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-content: start;
    gap: var(--profile-v2-range-mobile-section-gap);
    padding: var(--profile-v2-range-mobile-control-padding);
    border-radius: 8px;
  }

  #profile-v2-root .profile-v2-range-top > div {
    display: grid;
    gap: var(--profile-v2-range-mobile-row-gap);
  }

  #profile-v2-root .profile-v2-range-top > div > strong,
  #profile-v2-root .profile-v2-range-top > div > span {
    display: none;
  }

  #profile-v2-root .profile-v2-range-handedness,
  #profile-v2-root .profile-v2-range-positions,
  #profile-v2-root .profile-v2-range-filters {
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: row;
    grid-auto-columns: auto;
    gap: var(--profile-v2-range-mobile-row-gap);
    margin: 0;
    padding: clamp(1px, .5dvh, 2px);
    height: auto;
  }

  #profile-v2-root .profile-v2-range-handedness::before,
  #profile-v2-root .profile-v2-range-positions::before,
  #profile-v2-root .profile-v2-range-filters::before {
    grid-column: 1 / -1;
    color: rgba(145, 180, 194, .62);
    font: 850 var(--profile-v2-range-mobile-label-font)/1 system-ui, sans-serif;
    letter-spacing: .1em;
    text-align: left;
  }

  #profile-v2-root .profile-v2-range-handedness::before { content: "HANDEDNESS"; }
  #profile-v2-root .profile-v2-range-positions::before { content: "POSITION"; }
  #profile-v2-root .profile-v2-range-filters::before { content: "ACTION"; }

  #profile-v2-root .profile-v2-range-handedness-option,
  #profile-v2-root .profile-v2-range-position,
  #profile-v2-root .profile-v2-range-filter {
    min-width: 0;
    min-height: 0;
    height: var(--profile-v2-range-mobile-control-height);
    padding: clamp(1px, .5dvh, 2px) 3px;
    border-radius: 4px;
    font-size: var(--profile-v2-range-mobile-control-font);
    line-height: 1;
  }

  #profile-v2-root .profile-v2-range-position {
    border: 1px solid rgba(107, 189, 225, .08);
    background: rgba(3, 13, 21, .32);
  }

  #profile-v2-root .profile-v2-range-position::after {
    left: 10%;
    right: 10%;
  }

  #profile-v2-root .profile-v2-range-filters {
    grid-column: 1;
    grid-row: 2;
    align-self: stretch;
    border-radius: 8px;
    background: linear-gradient(145deg, rgba(13, 31, 44, .86), rgba(5, 15, 24, .9));
  }

  #profile-v2-root .profile-v2-range-filter span { display: none; }
  #profile-v2-root .profile-v2-range-filter small { display: inline; font: inherit; }

  #profile-v2-root .profile-v2-range-layout {
    grid-column: 2;
    grid-row: 1 / -1;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    width: 100%;
    height: 100%;
  }

  #profile-v2-root .profile-v2-range-matrix-card {
    width: 100%;
    height: 100%;
    padding: 3px;
    gap: 2px;
    border-radius: 8px;
  }

  #profile-v2-root .profile-v2-range-matrix-shell {
    grid-template-columns: 8px minmax(0, 1fr);
    grid-template-rows: 8px minmax(0, 1fr);
    gap: 1px;
  }

  #profile-v2-root .profile-v2-range-matrix-axis {
    font-size: 5.5px;
  }

  #profile-v2-root .profile-v2-range-matrix {
    gap: 1px;
    overflow: hidden;
  }

  #profile-v2-root .profile-v2-range-cell {
    border-radius: 2px;
    touch-action: manipulation;
  }

  #profile-v2-root .profile-v2-range-cell strong {
    font-size: clamp(7.5px, 1.35vw, 9px);
  }

  #profile-v2-root .profile-v2-range-cell small { display: none; }

  #profile-v2-root .profile-v2-range-play-legend {
    gap: 3px;
    font-size: 4.5px;
  }

  #profile-v2-root .profile-v2-range-play-legend strong,
  #profile-v2-root .profile-v2-range-play-legend .is-low,
  #profile-v2-root .profile-v2-range-play-legend .is-mid {
    display: none;
  }

  #profile-v2-root .profile-v2-range-footer { display: none; }

  #profile-v2-root .profile-v2-range-details {
    display: none;
  }

  #profile-v2-root .profile-v2-range-view.is-detail-open::before {
    content: "";
    position: fixed;
    z-index: 399;
    inset: 0;
    background: rgba(1, 7, 12, .48);
  }

  #profile-v2-root .profile-v2-range-view.is-detail-open .profile-v2-range-details:not(.is-placeholder) {
    position: fixed;
    z-index: 400;
    left: max(8px, env(safe-area-inset-left));
    right: max(8px, env(safe-area-inset-right));
    bottom: max(6px, env(safe-area-inset-bottom));
    width: auto;
    height: min(90dvh, calc(100vh - 12px));
    display: flex;
    padding: 20px clamp(9px, 1.8vw, 14px) 10px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    touch-action: pan-y;
    border-color: rgba(32, 202, 243, .28);
    border-radius: 12px 12px 7px 7px;
    box-shadow: inset 0 1px 0 rgba(100, 211, 240, .08), 0 -8px 24px rgba(0, 0, 0, .32);
    will-change: transform, opacity;
  }

  #profile-v2-root .profile-v2-range-view.is-detail-opening::before {
    animation: profile-v2-range-detail-backdrop-in 130ms ease-out both;
  }

  #profile-v2-root .profile-v2-range-view.is-detail-opening .profile-v2-range-details:not(.is-placeholder) {
    animation: profile-v2-range-detail-in 150ms ease-out both;
  }

  #profile-v2-root .profile-v2-range-view.is-detail-closing::before {
    animation: profile-v2-range-detail-backdrop-out 150ms ease-in both;
  }

  #profile-v2-root .profile-v2-range-view.is-detail-closing .profile-v2-range-details:not(.is-placeholder) {
    animation: profile-v2-range-detail-out 150ms ease-in both;
    pointer-events: none;
  }

  #profile-v2-root .profile-v2-range-details.is-dragging {
    animation: none;
    transition: none;
  }

  #profile-v2-root .profile-v2-range-detail-handle {
    position: absolute;
    top: 7px;
    left: 50%;
    width: 34px;
    height: 3px;
    display: block;
    border-radius: 999px;
    background: rgba(121, 184, 211, .45);
    transform: translateX(-50%);
  }

  #profile-v2-root .profile-v2-range-detail-close {
    position: absolute;
    z-index: 2;
    top: 5px;
    right: 6px;
    width: 36px;
    height: 36px;
    display: grid;
    place-content: center;
    padding: 0;
    border: 1px solid rgba(107, 189, 225, .18);
    border-radius: 7px;
    background: rgba(5, 17, 27, .82);
    color: rgba(222, 241, 246, .84);
    font: 500 22px/1 system-ui, sans-serif;
  }

  #profile-v2-root .profile-v2-range-hand-header {
    grid-template-columns: auto minmax(48px, .42fr) minmax(150px, 1.2fr);
    gap: 7px;
    margin-bottom: 5px;
    padding: 0 40px 5px 0;
  }

  #profile-v2-root .profile-v2-range-hole-cards > span {
    width: 28px;
    height: 36px;
  }

  #profile-v2-root .profile-v2-range-hole-cards strong { font-size: 14px; }
  #profile-v2-root .profile-v2-range-hole-cards i { font-size: 9px; }
  #profile-v2-root .profile-v2-range-hand-name h3 { font-size: 20px; }
  #profile-v2-root .profile-v2-range-hand-name span,
  #profile-v2-root .profile-v2-range-hand-name em { font-size: 6px; }

  #profile-v2-root .profile-v2-range-key-stats > div { padding: 4px 3px; }
  #profile-v2-root .profile-v2-range-key-stats span,
  #profile-v2-root .profile-v2-range-substats span { font-size: 6px; }
  #profile-v2-root .profile-v2-range-key-stats strong,
  #profile-v2-root .profile-v2-range-substats strong { font-size: 10px; }

  #profile-v2-root .profile-v2-range-action-section h4,
  #profile-v2-root .profile-v2-range-combo-section h4 { margin: 0 0 4px; font-size: 6px; }
  #profile-v2-root .profile-v2-range-action-breakdown { gap: 3px; }
  #profile-v2-root button.profile-v2-range-action-row {
    grid-template-columns: 40px minmax(0, 1fr) 38px 8px;
    min-height: 18px;
  }
  #profile-v2-root .profile-v2-range-action-row > strong,
  #profile-v2-root .profile-v2-range-action-row > b { font-size: 7px; }
  #profile-v2-root .profile-v2-range-action-row .profile-v2-range-action-track { height: 7px; }

  #profile-v2-root .profile-v2-range-substats { margin: 5px 0; }
  #profile-v2-root .profile-v2-range-substats > div { min-height: 32px; padding: 3px; }
  #profile-v2-root .profile-v2-range-substats small { font-size: 5px; }

  #profile-v2-root .profile-v2-range-combo-section {
    min-height: auto;
    flex: 0 0 auto;
  }

  #profile-v2-root .profile-v2-range-combos {
    min-height: auto;
    flex: 0 0 auto;
    overflow: visible;
  }

  #profile-v2-root .profile-v2-range-combo {
    min-height: 24px;
  }
}

@keyframes profile-v2-range-detail-in {
  from { opacity: 0; transform: translate3d(0, 24px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes profile-v2-range-detail-out {
  from {
    opacity: var(--profile-v2-range-detail-close-opacity, 1);
    transform: var(--profile-v2-range-detail-close-transform, translate3d(0, 0, 0));
  }
  to { opacity: 0; transform: var(--profile-v2-range-detail-close-end-transform, translate3d(0, 32px, 0)); }
}

@keyframes profile-v2-range-detail-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes profile-v2-range-detail-backdrop-out {
  from { opacity: 1; }
  to { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  #profile-v2-root .profile-v2-range-view.is-detail-opening::before,
  #profile-v2-root .profile-v2-range-view.is-detail-opening .profile-v2-range-details:not(.is-placeholder),
  #profile-v2-root .profile-v2-range-view.is-detail-closing::before,
  #profile-v2-root .profile-v2-range-view.is-detail-closing .profile-v2-range-details:not(.is-placeholder) {
    animation-duration: 1ms;
  }
}

/* Phase 4: readable mobile-landscape hand detail and analysis drilldown rows. */
#profile-v2-root .profile-v2-drilldown-primary,
#profile-v2-root .profile-v2-drilldown-context,
#profile-v2-root .profile-v2-drilldown-result {
  display: contents;
}

#profile-v2-root .profile-v2-drilldown-cards {
  display: inline-flex;
  align-items: baseline;
  gap: .48em;
  white-space: nowrap;
}

#profile-v2-root .profile-v2-drilldown-card {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  color: inherit;
  white-space: nowrap;
}

#profile-v2-root .profile-v2-drilldown-card-rank,
#profile-v2-root .profile-v2-drilldown-card-suit {
  color: #f0fdff !important;
}

@media (max-width: 920px) and (max-height: 500px) and (orientation: landscape) {
  #profile-v2-root .profile-v2-range-view.is-detail-open .profile-v2-range-details:not(.is-placeholder) {
    display: grid;
    grid-template-columns: minmax(0, 35fr) minmax(0, 65fr);
    grid-template-rows: auto auto minmax(0, 1fr);
    column-gap: clamp(7px, 1.25vw, 11px);
    row-gap: 0;
    padding: 19px clamp(8px, 1.45vw, 12px) 8px;
    overflow: hidden;
    touch-action: manipulation;
  }

  #profile-v2-root .profile-v2-range-hand-header {
    grid-column: 1 / -1;
    grid-row: 1;
    grid-template-columns: auto minmax(46px, .42fr) minmax(138px, 1.25fr);
    min-width: 0;
    min-height: 44px;
    gap: clamp(6px, 1vw, 9px);
    margin: 0 0 6px;
    padding: 0 42px 6px 0;
  }

  #profile-v2-root .profile-v2-range-action-section {
    grid-column: 1;
    grid-row: 2;
    min-width: 0;
    padding-right: 1px;
  }

  #profile-v2-root .profile-v2-range-substats {
    grid-column: 1;
    grid-row: 3;
    min-width: 0;
    min-height: 0;
    align-self: stretch;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: clamp(3px, .8dvh, 5px);
    margin: 6px 0 0;
  }

  #profile-v2-root .profile-v2-range-combo-section {
    grid-column: 2;
    grid-row: 2 / 4;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
  }

  #profile-v2-root .profile-v2-range-action-section h4,
  #profile-v2-root .profile-v2-range-combo-section h4 {
    margin: 0 0 5px;
    font-size: clamp(7.5px, 2.15dvh, 9px);
    line-height: 1;
  }

  #profile-v2-root .profile-v2-range-action-breakdown {
    gap: clamp(3px, .85dvh, 5px);
  }

  #profile-v2-root button.profile-v2-range-action-row {
    grid-template-columns: clamp(39px, 7vw, 49px) minmax(0, 1fr) clamp(35px, 5.8vw, 42px) 7px;
    min-height: clamp(23px, 6.8dvh, 27px);
    gap: clamp(3px, .65vw, 5px);
  }

  #profile-v2-root .profile-v2-range-action-row > strong,
  #profile-v2-root .profile-v2-range-action-row > b {
    font-size: clamp(9px, 2.75dvh, 11px);
    line-height: 1;
  }

  #profile-v2-root .profile-v2-range-action-row .profile-v2-range-action-track {
    height: clamp(7px, 2.1dvh, 9px);
  }

  #profile-v2-root .profile-v2-range-substats > div {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) auto;
    align-content: center;
    padding: 3px clamp(5px, 1vw, 8px);
  }

  #profile-v2-root .profile-v2-range-key-stats span,
  #profile-v2-root .profile-v2-range-substats span {
    font-size: clamp(7px, 2.05dvh, 8.5px);
  }

  #profile-v2-root .profile-v2-range-key-stats strong,
  #profile-v2-root .profile-v2-range-substats strong {
    font-size: clamp(11px, 3.15dvh, 13px);
  }

  #profile-v2-root .profile-v2-range-substats small {
    font-size: clamp(5px, 1.55dvh, 6.5px);
  }

  #profile-v2-root .profile-v2-range-combo-head {
    grid-template-columns: clamp(64px, 12vw, 82px) clamp(48px, 8vw, 60px) minmax(0, 1fr);
    gap: clamp(4px, .8vw, 7px);
    padding: 0 6px 4px;
    font-size: clamp(6px, 1.8dvh, 7.5px);
  }

  #profile-v2-root .profile-v2-range-combos {
    min-width: 0;
    min-height: 0;
    flex: 1 1 auto;
    gap: clamp(3px, .75dvh, 5px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    touch-action: pan-y;
  }

  #profile-v2-root .profile-v2-range-combo {
    min-height: clamp(30px, 8.8dvh, 36px);
    grid-template-columns: clamp(64px, 12vw, 82px) clamp(48px, 8vw, 60px) minmax(0, 1fr);
    gap: clamp(4px, .8vw, 7px);
    padding: 4px 6px;
  }

  #profile-v2-root .profile-v2-range-combo-cards {
    gap: .46em;
    font-size: clamp(10px, 3dvh, 12px);
  }

  #profile-v2-root .profile-v2-range-combo-hands {
    font-size: clamp(7px, 2.15dvh, 8.5px);
  }

  #profile-v2-root .profile-v2-range-combo-play {
    grid-template-columns: minmax(0, 1fr) clamp(36px, 6.4vw, 46px);
    gap: 5px;
  }

  #profile-v2-root .profile-v2-range-combo-play > div {
    height: clamp(6px, 1.8dvh, 8px);
  }

  #profile-v2-root .profile-v2-range-combo-play > strong {
    font-size: clamp(7.5px, 2.25dvh, 9px);
  }

  #profile-v2-root .profile-v2-drilldown-view {
    width: min(100%, 920px);
    min-width: 0;
    margin-inline: auto;
    gap: 4px;
    overflow: hidden;
  }

  #profile-v2-root .profile-v2-drilldown-list {
    min-width: 0;
    overflow-x: hidden;
    overflow-y: auto;
    gap: 3px;
    padding-right: 2px;
  }

  #profile-v2-root .profile-v2-drilldown-hand {
    min-width: 0;
    min-height: clamp(34px, 9dvh, 39px);
    grid-template-columns: minmax(0, 1fr) clamp(36px, 6vw, 40px);
    border-radius: 6px;
  }

  #profile-v2-root .profile-v2-drilldown-hand-main {
    min-width: 0;
    min-height: clamp(34px, 9dvh, 39px);
    grid-template-columns: minmax(112px, 1.15fr) minmax(104px, .92fr) minmax(92px, .76fr);
    gap: clamp(5px, 1vw, 9px);
    padding: 3px clamp(6px, 1.1vw, 9px);
    overflow: hidden;
  }

  #profile-v2-root .profile-v2-drilldown-primary,
  #profile-v2-root .profile-v2-drilldown-context,
  #profile-v2-root .profile-v2-drilldown-result {
    min-width: 0;
    display: grid;
    align-items: center;
  }

  #profile-v2-root .profile-v2-drilldown-primary {
    grid-template-columns: clamp(27px, 4.6vw, 35px) minmax(0, 1fr);
    gap: 5px;
  }

  #profile-v2-root .profile-v2-drilldown-context {
    grid-template-columns: clamp(27px, 4.6vw, 36px) minmax(0, 1fr);
    gap: 5px;
  }

  #profile-v2-root .profile-v2-drilldown-result {
    grid-template-columns: minmax(28px, .75fr) minmax(35px, 1fr) 7px;
    gap: 4px;
  }

  #profile-v2-root .profile-v2-drilldown-hand-id {
    font-size: clamp(5.5px, 1.75dvh, 7px);
  }

  #profile-v2-root .profile-v2-drilldown-cards {
    gap: .5em;
    font-size: clamp(10px, 2.95dvh, 12px);
  }

  #profile-v2-root .profile-v2-drilldown-position {
    font-size: clamp(7.5px, 2.25dvh, 9px);
  }

  #profile-v2-root .profile-v2-drilldown-outcome {
    min-width: 0;
    overflow: hidden;
    font-size: clamp(7px, 2.15dvh, 8.5px);
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  #profile-v2-root .profile-v2-drilldown-outcome em {
    margin-left: 4px;
    padding: 2px 4px;
    font-size: clamp(4.5px, 1.45dvh, 5.5px);
  }

  #profile-v2-root .profile-v2-drilldown-delta {
    font-size: clamp(9px, 2.7dvh, 11px);
  }

  #profile-v2-root .profile-v2-drilldown-hand small {
    overflow: hidden;
    font-size: clamp(5.5px, 1.75dvh, 7px);
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  #profile-v2-root .profile-v2-drilldown-hand i {
    font-size: clamp(12px, 3.4dvh, 15px);
    text-align: right;
  }

  #profile-v2-root .profile-v2-review-star {
    width: clamp(36px, 6vw, 40px);
    min-height: clamp(34px, 9dvh, 39px);
  }

  #profile-v2-root .profile-v2-review-star > span {
    font-size: clamp(14px, 4dvh, 17px);
  }

  #profile-v2-root .profile-v2-drilldown-summary span {
    font-size: clamp(4.5px, 1.4dvh, 5.5px);
  }

  #profile-v2-root .profile-v2-drilldown-summary strong {
    font-size: clamp(9px, 2.6dvh, 11px);
  }

  #profile-v2-root .profile-v2-drilldown-summary .is-availability strong {
    font-size: clamp(7px, 2.15dvh, 9px);
  }
}

/* ANALYSIS OVERVIEW v3r1 — readable compact Snapshot without reducing content */
@container profile-v2-shell (max-width: 920px) {
  #profile-v2-root .profile-v2-snapshot-rows {
    grid-auto-rows: minmax(25px, 1fr);
    align-content: stretch;
    padding-top: 0;
  }

  #profile-v2-root .profile-v2-snapshot-row {
    grid-template-columns: 12px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-content: center;
    column-gap: 3px;
    row-gap: 1px;
    padding: 1px 3px;
  }

  #profile-v2-root .profile-v2-snapshot-icon {
    grid-column: 1;
    grid-row: 1 / 3;
    font-size: 8px;
  }

  #profile-v2-root .profile-v2-snapshot-row > strong {
    grid-column: 2;
    grid-row: 1;
    font-size: 8.5px;
    line-height: 1.2;
  }

  #profile-v2-root .profile-v2-snapshot-evidence {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    justify-content: flex-start;
    gap: 5px;
    text-align: left;
  }

  #profile-v2-root .profile-v2-snapshot-evidence small {
    font-size: 6px;
    line-height: 1.15;
  }
}

@container profile-v2-shell (min-width: 700px) and (max-width: 920px) {
  #profile-v2-root .profile-v2-review-link {
    bottom: 2px;
  }
}

/* 20260904 targeted filter density, slider tone, title wrapping, and IP/OOP interaction */
#profile-v2-root .profile-v2-analysis-subtabs {
  grid-template-rows: clamp(26px, 4.35vh, 30px) auto;
}

#profile-v2-root .profile-v2-analysis-contexts { padding-block: 0; }
#profile-v2-root .profile-v2-analysis-contexts:not(.is-range-context) {
  grid-template-rows: repeat(2, 28px);
  row-gap: 0;
}
#profile-v2-root .profile-v2-analysis-contexts.is-range-context { grid-template-rows: 28px; }

#profile-v2-root .profile-v2-analysis-period button,
#profile-v2-root .profile-v2-analysis-players button,
#profile-v2-root .profile-v2-analysis-stack button,
#profile-v2-root .profile-v2-analysis-position-context button { height: 28px; }

#profile-v2-root .profile-v2-analysis-period button::after,
#profile-v2-root .profile-v2-analysis-players button::after,
#profile-v2-root .profile-v2-analysis-stack button::after,
#profile-v2-root .profile-v2-analysis-position-context button::after { inset: 0; }

#profile-v2-root .profile-v2-analysis-contexts:not(.is-range-context) .profile-v2-analysis-period button::before,
#profile-v2-root .profile-v2-analysis-contexts:not(.is-range-context) .profile-v2-analysis-players button::before { inset: 9px 0 1px; }

#profile-v2-root .profile-v2-analysis-contexts:not(.is-range-context) .profile-v2-analysis-stack button::before,
#profile-v2-root .profile-v2-analysis-contexts:not(.is-range-context) .profile-v2-analysis-position-context button::before { inset: 1px 0 9px; }

#profile-v2-root .profile-v2-analysis-contexts.is-range-context .profile-v2-analysis-period button::before { inset: 5px 0; }

#profile-v2-root .profile-v2-stack-range-track input::-webkit-slider-thumb { background-color: rgba(242, 245, 246, .76); }
#profile-v2-root .profile-v2-stack-range-track input::-moz-range-thumb { background-color: rgba(242, 245, 246, .76); }

#profile-v2-root .profile-v2-performance-side-info {
  appearance: none;
  position: absolute;
  z-index: 1;
  inset: 0 30px 0 0;
  border: 0;
  border-radius: inherit;
  background: transparent;
  cursor: help;
}
#profile-v2-root .profile-v2-performance-side-info:focus-visible {
  outline: 1px solid rgba(32, 202, 243, .62);
  outline-offset: -2px;
}
#profile-v2-root .profile-v2-performance-side-drilldown {
  appearance: none;
  position: relative;
  z-index: 2;
  width: 28px;
  min-width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(89, 202, 233, .32);
  border-radius: 50%;
  background: rgba(4, 20, 29, .72);
  color: rgba(119, 215, 239, .78);
  font: 900 14px/1 system-ui, sans-serif;
}
#profile-v2-root .profile-v2-performance-side-drilldown:disabled { opacity: .34; }
#profile-v2-root .profile-v2-performance-side-drilldown:focus-visible {
  outline: 1px solid rgba(32, 202, 243, .72);
  outline-offset: 1px;
}

@container profile-v2-shell (max-width: 920px) {
  #profile-v2-root .profile-v2-your-poker-title {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    overflow-wrap: anywhere;
    line-height: 1.08;
  }
  #profile-v2-root .profile-v2-performance-side-info { right: 28px; }
}

/* 20260904 follow-up: center compact filter copy and contain IP/OOP drilldowns. */
#profile-v2-root .profile-v2-analysis-period button,
#profile-v2-root .profile-v2-analysis-players button,
#profile-v2-root .profile-v2-analysis-stack button,
#profile-v2-root .profile-v2-analysis-position-context button {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1;
}

#profile-v2-root .profile-v2-analysis-contexts:not(.is-range-context) .profile-v2-analysis-period button,
#profile-v2-root .profile-v2-analysis-contexts:not(.is-range-context) .profile-v2-analysis-players button {
  padding-block: 8px 0;
}

#profile-v2-root .profile-v2-analysis-contexts:not(.is-range-context) .profile-v2-analysis-stack button,
#profile-v2-root .profile-v2-analysis-contexts:not(.is-range-context) .profile-v2-analysis-position-context button {
  padding-block: 0 8px;
}

#profile-v2-root .profile-v2-analysis-contexts.is-range-context .profile-v2-analysis-period button {
  padding-block: 4px;
}

#profile-v2-root .profile-v2-performance-side {
  grid-template-columns: minmax(78px, 1.15fr) repeat(3, minmax(62px, 1fr)) 28px;
}

#profile-v2-root .profile-v2-performance-side-info {
  right: 32px;
}

#profile-v2-root .profile-v2-performance-side-drilldown {
  position: relative;
  justify-self: end;
  width: 28px;
  min-width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

#profile-v2-root .profile-v2-performance-side-drilldown::before {
  content: "";
  position: absolute;
  width: clamp(15px, 1.45vw, 18px);
  height: clamp(15px, 1.45vw, 18px);
  border: 1px solid rgba(77, 197, 231, .42);
  border-radius: 50%;
  background: rgba(11, 37, 48, .7);
  box-shadow: inset 0 0 0 1px rgba(32, 202, 243, .025), 0 0 7px rgba(32, 202, 243, .06);
}

#profile-v2-root .profile-v2-performance-side-drilldown > span {
  position: relative;
  z-index: 1;
  font: 850 clamp(10px, 1vw, 12px)/1 system-ui, sans-serif;
  transform: translate(.5px, -1px);
}

#profile-v2-root .profile-v2-performance-side-drilldown:hover,
#profile-v2-root .profile-v2-performance-side-drilldown:focus-visible {
  border: 0;
  background: transparent;
  box-shadow: none;
}

#profile-v2-root .profile-v2-performance-side-drilldown:hover::before,
#profile-v2-root .profile-v2-performance-side-drilldown:focus-visible::before {
  border-color: rgba(72, 214, 245, .72);
  background: rgba(23, 66, 88, .74);
}

@container profile-v2-shell (max-width: 699px) {
  #profile-v2-root .profile-v2-performance-side {
    grid-template-columns: minmax(63px, 1.08fr) repeat(3, minmax(48px, 1fr)) 28px;
  }
  #profile-v2-root .profile-v2-performance-side-info { right: 32px; }
}
