.lx-replaced {
  display: none !important;
}
#analysis-studio.lx-studio {
  grid-column: auto;
  grid-row: auto;
  max-width: 1800px;
  width: calc(100% - 48px);
  margin: 20px auto;
  padding: 24px;
  border-radius: 22px;
  border: 1px solid #334363;
  background: radial-gradient(ellipse at 90% 0, #223661 0, transparent 45%), #0e1b32;
  color: #e7eefc;
  box-shadow: 0 16px 36px #06152b18;
  min-width: 0;
  font-family: var(--app-font);
}
#analysis-studio * {
  box-sizing: border-box;
}
#analysis-studio h2,
#analysis-studio h3,
#analysis-studio p {
  margin: 0;
}
#analysis-studio button,
#analysis-studio select {
  font: inherit;
  cursor: pointer;
}
#analysis-studio button:focus-visible,
#analysis-studio select:focus-visible {
  outline: 3px solid #e9a837;
  outline-offset: 3px;
}
#analysis-studio .lx-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
#analysis-studio .lx-mark {
  width: 64px;
  height: 64px;
  flex: none;
  display: grid;
  place-items: center;
  color: #85efe4;
  font-size: 48px;
  border: 1px solid #6de1d355;
  border-radius: 18px;
  background: linear-gradient(135deg, #26727660, #55549b70);
  box-shadow: inset 0 0 20px #a1eaff15;
}
#analysis-studio .lx-eyebrow {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: #95d9e4;
  font-weight: 700;
}
#analysis-studio h2 {
  font-size: 28px;
  line-height: 1.3;
  margin: 3px 0 5px;
  color: #fff;
}
#analysis-studio .lx-heading p {
  font-size: 13px;
  color: #bac9df;
}
#analysis-studio .lx-heading > label {
  margin-left: auto;
  min-width: 160px;
  font-size: 11px;
  color: #bdcde3;
  display: grid;
  gap: 6px;
}
#analysis-studio select {
  min-height: 42px;
  background: #fff;
  color: #183353;
  border: 1px solid #cbd5e4;
  padding: 8px 12px;
  border-radius: 9px;
  max-width: 100%;
}
#analysis-studio .lx-source {
  font-size: 11px;
  line-height: 1.6;
  color: #c3cfe0;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}
.lx-live-dot {
  width: 6px;
  height: 6px;
  background: #73d8c6;
  border-radius: 50%;
  flex: none;
}
#analysis-studio .lx-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  padding: 5px;
  background: #081329;
  border: 1px solid #263958;
  border-radius: 13px;
  margin-bottom: 16px;
}
#analysis-studio .lx-tabs button {
  min-height: 52px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #b9c8e0;
  text-align: left;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 650;
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1.35;
}
#analysis-studio .lx-tabs small {
  font-size: 11px;
  color: #7ca3c7;
}
#analysis-studio .lx-tabs [aria-selected='true'] {
  background: linear-gradient(110deg, #246f86, #3a4f90);
  color: white;
  box-shadow: 0 2px 10px #0002;
}
#analysis-studio .lx-tabs [aria-selected='true'] small {
  color: #b6fff1;
}
#analysis-studio .lx-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}
#analysis-studio .lx-kpis > div {
  padding: 14px 18px;
  border: 1px solid #314361;
  background: linear-gradient(130deg, #20345480, #13243d);
  border-radius: 12px;
}
#analysis-studio .lx-kpis small {
  display: block;
  color: #b7c7db;
  font-size: 11px;
  margin-bottom: 7px;
}
#analysis-studio .lx-kpis strong {
  font-size: 26px;
  color: #fff;
  line-height: 1.2;
  letter-spacing: -0.03em;
}
#analysis-studio .lx-kpis strong.lx-word {
  font-size: 20px;
}
#analysis-studio .lx-kpis em {
  font-size: 12px;
  font-style: normal;
  color: #bbcce2;
  letter-spacing: 0;
}
#analysis-studio .lx-context {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 12px 0 16px;
  font-size: 12px;
  color: #bfccde;
}
#analysis-studio .lx-context label {
  display: flex;
  align-items: center;
  gap: 8px;
}
#analysis-studio .lx-context p {
  flex: 1;
  min-width: 200px;
  line-height: 1.5;
}
#analysis-studio .lx-card {
  padding: 20px;
  border: 1px solid #dce5ef;
  border-radius: 14px;
  background: #fcfdff;
  color: #20324b;
  min-width: 0;
  margin-bottom: 14px;
  box-shadow: 0 4px 12px #00000008;
  position: relative;
}
#analysis-studio .lx-card > header {
  margin-bottom: 16px;
}
#analysis-studio .lx-card h3 {
  font-size: 17px;
  font-weight: 750;
  color: #152d4b;
  line-height: 1.4;
}
#analysis-studio .lx-card header p {
  font-size: 12px;
  color: #5d7088;
  line-height: 1.6;
  margin-top: 5px;
}
#analysis-studio .lx-workspace {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(250px, 1fr);
  gap: 16px;
}
#analysis-studio .lx-segment {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
#analysis-studio .lx-segment button {
  padding: 8px 12px;
  border: 1px solid #d2deeb;
  border-radius: 8px;
  background: white;
  color: #405571;
  font-size: 12px;
  min-height: 40px;
}
#analysis-studio .lx-segment [aria-pressed='true'] {
  background: #153c62;
  color: white;
  border-color: #153c62;
}
#analysis-studio .lx-heatmap {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 7px;
}
#analysis-studio .lx-heatmap button {
  min-height: 54px;
  padding: 7px 2px;
  border-radius: 9px;
  border: 1px solid #c4d9e3;
  background:
    linear-gradient(
      rgba(29, 155, 163, calc(var(--intensity) * 0.48)),
      rgba(29, 155, 163, calc(var(--intensity) * 0.48))
    ),
    #eef5fa;
  color: #153854;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
#analysis-studio .lx-heatmap b {
  display: block;
  font-size: 17px;
}
#analysis-studio .lx-heatmap small {
  display: block;
  font-size: 9px;
  margin-top: 3px;
  color: #23465b;
}
#analysis-studio .lx-heatmap [aria-pressed='true'] {
  outline: 2px solid #264e95;
  outline-offset: 2px;
  background: #234c84;
  color: white;
}
#analysis-studio .lx-heatmap [aria-pressed='true'] small {
  color: #e5f2ff;
}
#analysis-studio .lx-heatmap button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px #213e5420;
}
#analysis-studio .lx-scale {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: #536881;
  margin-top: 15px;
  justify-content: flex-end;
}
#analysis-studio .lx-scale i {
  width: 110px;
  height: 6px;
  border-radius: 5px;
  background: linear-gradient(90deg, #eef5fa, #42aeb2);
}
#analysis-studio .lx-number-orb {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 29px;
  font-weight: 800;
  color: white;
  background: radial-gradient(circle at 28% 22%, #58c8d0, #2d6595 55%, #254673);
  box-shadow: 0 6px 14px #255d7d33;
  margin-bottom: 10px;
}
#analysis-studio .lx-facts {
  margin: 0;
}
#analysis-studio .lx-facts > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid #e2e9f1;
  padding: 9px 0;
  font-size: 12px;
}
#analysis-studio .lx-facts dt {
  color: #566981;
}
#analysis-studio .lx-facts dd {
  margin: 0;
  font-weight: 750;
  text-align: right;
}
#analysis-studio .lx-insight {
  background: #edf4fa;
  border-left: 3px solid #49a6b8;
  border-radius: 5px;
  padding: 12px;
  font-size: 12px;
  line-height: 1.7;
  color: #334d68;
  margin-top: 12px;
}
#analysis-studio .lx-inline {
  padding: 8px 0;
  color: #246286;
  border: 0;
  background: none;
  font-weight: 700;
  font-size: 12px;
  min-height: 40px;
  text-align: left;
}
#analysis-studio .lx-timeline {
  display: grid;
  grid-template-columns: repeat(30, minmax(0, 1fr));
  gap: 4px;
}
#analysis-studio .lx-timeline span {
  text-align: center;
  min-width: 0;
}
#analysis-studio .lx-timeline i {
  display: block;
  height: 22px;
  border-radius: 4px;
  background: #e7edf4;
}
#analysis-studio .lx-timeline .hit i {
  background: linear-gradient(#49bfc0, #3675a7);
}
#analysis-studio .lx-timeline small {
  font-size: 8px;
  color: #63758d;
}
#analysis-studio .lx-two,
#analysis-studio .lx-three {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
#analysis-studio .lx-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
#analysis-studio .lx-chart {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}
#analysis-studio .lx-chart text {
  fill: #536880;
  font: 11px var(--app-font);
}
#analysis-studio .lx-legend {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 11px;
  color: #287783;
}
#analysis-studio .lx-legend span + span {
  color: #ac2269;
}
#analysis-studio .lx-table {
  margin-top: 12px;
  font-size: 12px;
}
#analysis-studio .lx-table summary {
  cursor: pointer;
  color: #2b6089;
  min-height: 30px;
  padding: 6px 0;
}
#analysis-studio table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}
#analysis-studio th,
#analysis-studio td {
  text-align: left;
  padding: 8px;
  border-bottom: 1px solid #dce5ef;
}
#analysis-studio .lx-pair-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}
#analysis-studio .lx-pair-grid button {
  background: linear-gradient(130deg, #f2f6fc, #f6f0fc);
  border: 1px solid #d9e1ef;
  border-radius: 12px;
  padding: 16px;
  text-align: left;
  color: #1e3b61;
  min-width: 0;
}
#analysis-studio .lx-pair-grid span {
  display: block;
  font-size: 20px;
  font-weight: 750;
}
#analysis-studio .lx-pair-grid i {
  font-size: 14px;
  font-style: normal;
  color: #956fae;
}
#analysis-studio .lx-pair-grid strong {
  display: block;
  margin-top: 10px;
  font-size: 22px;
}
#analysis-studio .lx-pair-grid small,
#analysis-studio .lx-pair-grid em {
  font-size: 11px;
  font-weight: 400;
  font-style: normal;
  color: #5b6a84;
}
#analysis-studio .lx-formula {
  font: 600 17px var(--app-font);
  padding: 18px;
  border: 1px solid #cbdbe9;
  background: #edf4fb;
  border-radius: 10px;
  margin: 14px 0;
  color: #204975;
  overflow-wrap: anywhere;
}
#analysis-studio .lx-probs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
#analysis-studio .lx-probs > div {
  background: #f1f5fa;
  padding: 12px;
  border: 1px solid #dde7f2;
  border-radius: 9px;
}
#analysis-studio .lx-probs span {
  font-size: 12px;
  color: #526a85;
}
#analysis-studio .lx-probs strong {
  display: block;
  font-size: 20px;
  margin: 6px 0;
  color: #254a70;
}
#analysis-studio .lx-probs i {
  display: block;
  background: #24a2a3;
  width: var(--width);
  height: 4px;
  border-radius: 4px;
}
#analysis-studio .lx-glossary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
#analysis-studio .lx-glossary .lx-card {
  margin: 0;
  padding-top: 45px;
}
#analysis-studio .lx-glossary p {
  font-size: 12px;
  line-height: 1.8;
  color: #536781;
}
#analysis-studio .lx-method-no {
  position: absolute;
  top: 15px;
  left: 20px;
  color: #357b99;
  font-size: 14px;
  font-weight: 800;
}
#analysis-studio .lx-footer {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}
#analysis-studio .lx-footer p {
  font-size: 11px;
  line-height: 1.7;
  color: #b9c8dd;
}
#analysis-studio .lx-footer button {
  min-height: 40px;
  flex: none;
  padding: 9px 14px;
  border: 1px solid #567399;
  border-radius: 8px;
  background: #213755;
  color: #eef5ff;
  font-size: 12px;
}
body[data-page='results'] .buy-sub {
  color: #51637a;
}
body[data-page='results'] #rtabs button {
  min-height: 92px;
  padding: 8px !important;
  gap: 5px;
  font-size: 12px;
}
body[data-page='results'] #rtabs small {
  font-size: 10px;
}
body[data-page='results'] .lx-result-rail {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}
body[data-page='results'] .lx-result-rail #latest {
  min-width: 0;
  grid-column: auto;
}
body[data-page='results'] .lx-result-tools {
  border: 1px solid #d7e0ea;
  background: #f7faff;
  padding: 20px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #243954;
  font-size: 13px;
}
body[data-page='results'] .lx-result-tools strong {
  letter-spacing: 0.08em;
  font-size: 12px;
  color: #37647d;
}
body[data-page='results'] .lx-result-tools a,
body[data-page='results'] .lx-result-tools button {
  padding: 11px 14px;
  border: 1px solid #c7d8e9;
  border-radius: 8px;
  text-align: center;
  color: #245476;
  background: white;
  font: inherit;
  cursor: pointer;
}
body[data-page='results'] .lx-result-tools a {
  background: #b80035;
  color: white;
  border-color: #b80035;
  font-weight: 700;
}
body[data-page='results'] #analysis-studio.lx-studio {
  width: 100%;
}
body[data-page='results'] #result-panel.lx-history {
  display: block;
  background: white;
  border: 1px solid #dde4ee;
  border-radius: 14px;
  padding: 20px;
}
body[data-page='results'] #result-panel.lx-history > p.demo {
  font-size: 11px;
  color: #5a6d83;
}
body[data-page='results'] #latest .kb {
  flex-shrink: 0;
}
html[data-product-theme='light'] #analysis-studio.lx-studio {
  background: linear-gradient(135deg, #fff4f6, #edf5fc);
  border-color: #d4deea;
  color: #263a53;
}
html[data-product-theme='light']
  #analysis-studio
  :is(h2, .lx-heading p, .lx-source, .lx-eyebrow, .lx-context, .lx-heading > label, .lx-footer p) {
  color: #374f6b;
}
@media (max-width: 1100px) {
  #analysis-studio .lx-tabs button {
    font-size: 11px;
    padding: 10px 7px;
    gap: 5px;
  }
  #analysis-studio .lx-workspace {
    grid-template-columns: minmax(0, 1.6fr) minmax(230px, 1fr);
  }
  #analysis-studio .lx-heatmap {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }
  #analysis-studio .lx-three,
  #analysis-studio .lx-glossary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  #analysis-studio.lx-studio {
    width: calc(100% - 24px);
    padding: 14px;
    border-radius: 16px;
  }
  #analysis-studio .lx-heading {
    flex-wrap: wrap;
    gap: 10px;
  }
  #analysis-studio .lx-mark {
    width: 42px;
    height: 42px;
    font-size: 30px;
  }
  #analysis-studio .lx-heading > div:nth-child(2) {
    flex: 1;
  }
  #analysis-studio h2 {
    font-size: 23px;
  }
  #analysis-studio .lx-heading > label {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  #analysis-studio .lx-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #analysis-studio .lx-tabs button:last-child {
    grid-column: 1/-1;
  }
  #analysis-studio .lx-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  #analysis-studio .lx-kpis > div {
    padding: 12px;
  }
  #analysis-studio .lx-kpis strong {
    font-size: 23px;
  }
  #analysis-studio .lx-workspace,
  #analysis-studio .lx-two,
  #analysis-studio .lx-three,
  #analysis-studio .lx-glossary {
    grid-template-columns: minmax(0, 1fr);
  }
  #analysis-studio .lx-card {
    padding: 14px;
  }
  #analysis-studio .lx-heatmap {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
  }
  #analysis-studio .lx-heatmap button {
    min-height: 50px;
  }
  #analysis-studio .lx-pair-grid,
  #analysis-studio .lx-probs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #analysis-studio .lx-timeline {
    grid-template-columns: repeat(15, minmax(0, 1fr));
    row-gap: 12px;
  }
  #analysis-studio .lx-footer {
    align-items: flex-start;
    flex-direction: column;
  }
  body[data-page='results'] .lx-result-rail {
    grid-template-columns: 1fr;
  }
  #analysis-studio .lx-source {
    align-items: flex-start;
  }
}
@media (prefers-reduced-motion: reduce) {
  #analysis-studio .lx-heatmap button {
    transition: none;
    transform: none;
  }
}
/* Product palettes: one semantic scale throughout every view. */
#analysis-studio[data-product] {
  --lx-accent: #bd173e;
  --lx-bright: #fa6672;
  --lx-ink: #66182a;
  --lx-soft: #fff0f2;
  --lx-reference: #334d6b;
  --lx-night: #35101f;
  --lx-glow: #8b2349;
  --lx-light: #ffcbd5;
  --lx-band0: #fff3f5;
  --lx-band1: #fddbe2;
  --lx-band2: #f9bdc9;
  --lx-band3: #f59eb0;
  --lx-band4: #ee7d99;
}
#analysis-studio[data-product='power'] {
  --lx-accent: #8d5910;
  --lx-bright: #efbf43;
  --lx-ink: #64400e;
  --lx-soft: #fff6dc;
  --lx-reference: #99214d;
  --lx-night: #310e1c;
  --lx-glow: #742339;
  --lx-light: #ffdc8c;
  --lx-band0: #fffae9;
  --lx-band1: #ffefbf;
  --lx-band2: #ffe299;
  --lx-band3: #f7d375;
  --lx-band4: #eec051;
}
#analysis-studio[data-product='keno'] {
  --lx-accent: #8b6000;
  --lx-bright: #f8c521;
  --lx-ink: #614500;
  --lx-soft: #fff9db;
  --lx-reference: #496781;
  --lx-night: #29220a;
  --lx-glow: #635217;
  --lx-light: #ffdf70;
  --lx-band0: #fffce9;
  --lx-band1: #fff4bd;
  --lx-band2: #ffe78a;
  --lx-band3: #ffda55;
  --lx-band4: #ffcd26;
}
#analysis-studio[data-product='bingo'] {
  --lx-accent: #ae480e;
  --lx-bright: #ff9a38;
  --lx-ink: #6f300f;
  --lx-soft: #fff2e7;
  --lx-reference: #4d558e;
  --lx-night: #30190d;
  --lx-glow: #794222;
  --lx-light: #ffd0a4;
  --lx-band0: #fff6ed;
  --lx-band1: #ffead2;
  --lx-band2: #ffd2aa;
  --lx-band3: #ffb97f;
  --lx-band4: #ff9e55;
}
#analysis-studio[data-product='lotto'] {
  --lx-accent: #197043;
  --lx-bright: #62c685;
  --lx-ink: #1c5337;
  --lx-soft: #edf9ef;
  --lx-reference: #795386;
  --lx-night: #0e281e;
  --lx-glow: #265b3f;
  --lx-light: #b5efc5;
  --lx-band0: #f2faf3;
  --lx-band1: #daf1dd;
  --lx-band2: #b6e4c1;
  --lx-band3: #8dd4a1;
  --lx-band4: #64c184;
}
#analysis-studio[data-product='max3d'] {
  --lx-accent: #992774;
  --lx-bright: #e675be;
  --lx-ink: #631b52;
  --lx-soft: #fcf0fa;
  --lx-reference: #476081;
  --lx-night: #2a1237;
  --lx-glow: #682659;
  --lx-light: #f6bfea;
  --lx-band0: #fff4fd;
  --lx-band1: #f9def3;
  --lx-band2: #f0bfe4;
  --lx-band3: #e9a1d5;
  --lx-band4: #db7cc1;
}
#analysis-studio.lx-studio[data-product] {
  background: radial-gradient(ellipse at 90% -10%, var(--lx-glow), transparent 65%), var(--lx-night);
  border-color: color-mix(in srgb, var(--lx-accent), white 30%);
  box-shadow: 0 14px 38px color-mix(in srgb, var(--lx-night), transparent 86%);
}
#analysis-studio .lx-mark {
  width: 108px;
  height: 74px;
  background: linear-gradient(135deg, #fff, #ffffffdf);
  border: 1px solid #ffffff80;
  border-radius: 15px;
  box-shadow: 0 5px 18px #0002;
  padding: 10px;
}
#analysis-studio .lx-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 2px #0001);
}
#analysis-studio .lx-eyebrow,
#analysis-studio .lx-source .lx-live-dot {
  color: var(--lx-light);
}
#analysis-studio .lx-live-dot {
  background: var(--lx-light);
}
#analysis-studio .lx-heading p,
#analysis-studio .lx-heading > label,
#analysis-studio .lx-source,
#analysis-studio .lx-context,
#analysis-studio .lx-footer p {
  color: #eee4e8;
}
#analysis-studio .lx-tabs {
  background: #0003;
  border-color: #ffffff24;
}
#analysis-studio .lx-tabs button {
  color: #f2e9ec;
}
#analysis-studio .lx-tabs small {
  color: #ded1d9;
}
#analysis-studio .lx-tabs [aria-selected='true'] {
  background: var(--lx-soft);
  color: var(--lx-ink);
  box-shadow: 0 3px 12px #0002;
}
#analysis-studio .lx-tabs [aria-selected='true'] small {
  color: var(--lx-accent);
}
#analysis-studio .lx-kpis > div {
  background: linear-gradient(115deg, #ffffff13, #ffffff05);
  border-color: #ffffff30;
  border-top: 2px solid var(--lx-bright);
}
#analysis-studio .lx-kpis small,
#analysis-studio .lx-kpis em {
  color: #eee5e9;
}
#analysis-studio .lx-kpis strong {
  color: var(--lx-light);
}
#analysis-studio .lx-card {
  background: linear-gradient(150deg, #fff 65%, var(--lx-soft));
  border-color: color-mix(in srgb, var(--lx-accent), white 82%);
  border-radius: 16px;
}
#analysis-studio .lx-card h3 {
  color: var(--lx-ink);
}
#analysis-studio .lx-segment [aria-pressed='true'] {
  background: var(--lx-accent);
  border-color: var(--lx-accent);
  color: #fff;
}
#analysis-studio .lx-heatmap {
  grid-template-columns: repeat(var(--map-columns, 10), minmax(0, 1fr));
  gap: 9px;
}
#analysis-studio .lx-heatmap button {
  position: relative;
  min-height: 65px;
  border-radius: 11px;
  border: 1px solid color-mix(in srgb, var(--lx-accent), white 70%);
  background: var(--lx-band0);
  color: var(--lx-ink);
  box-shadow:
    inset 0 1px 0 #fff9,
    0 2px 3px #00000005;
  padding: 8px 3px;
}
#analysis-studio .lx-heatmap b {
  font-size: 21px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.02em;
}
#analysis-studio .lx-heatmap small {
  font-size: 10px;
  color: var(--lx-ink);
  opacity: 0.94;
}
#analysis-studio .lx-heatmap [data-band='0'],
#analysis-studio .lx-scale-steps i[data-band='0'] {
  background: var(--lx-band0);
}
#analysis-studio .lx-heatmap [data-band='1'],
#analysis-studio .lx-scale-steps i[data-band='1'] {
  background: var(--lx-band1);
}
#analysis-studio .lx-heatmap [data-band='2'],
#analysis-studio .lx-scale-steps i[data-band='2'] {
  background: var(--lx-band2);
}
#analysis-studio .lx-heatmap [data-band='3'],
#analysis-studio .lx-scale-steps i[data-band='3'] {
  background: var(--lx-band3);
}
#analysis-studio .lx-heatmap [data-band='4'],
#analysis-studio .lx-scale-steps i[data-band='4'] {
  background: var(--lx-band4);
}
#analysis-studio .lx-heatmap [data-band='unknown'] {
  background: repeating-linear-gradient(135deg, #f4f2f3 0 5px, #e5e1e4 5px 6px);
  border-style: dashed;
}
#analysis-studio .lx-heatmap [aria-pressed='true'] {
  outline: 3px solid var(--lx-accent);
  outline-offset: 2px;
  background: var(--lx-accent);
  color: #fff;
  box-shadow: 0 4px 12px #0002;
}
#analysis-studio .lx-heatmap [aria-pressed='true']:after {
  content: '✓';
  position: absolute;
  right: 4px;
  top: 2px;
  font-size: 11px;
  color: #fff;
}
#analysis-studio .lx-heatmap [aria-pressed='true'] small {
  color: #fff;
}
#analysis-studio .lx-scale {
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding-top: 8px;
  flex-wrap: wrap;
  color: #526176;
}
#analysis-studio .lx-scale-steps {
  display: flex;
  flex: 1;
  max-width: 360px;
  gap: 3px;
}
#analysis-studio .lx-scale-steps > span {
  flex: 1;
  text-align: center;
}
#analysis-studio .lx-scale-steps i {
  display: block;
  width: 100%;
  height: 9px;
  border: 1px solid #0001;
  border-radius: 2px;
}
#analysis-studio .lx-scale-steps small {
  display: block;
  margin-top: 4px;
  font-size: 9px;
}
#analysis-studio .lx-profile {
  border-top: 4px solid var(--lx-bright);
}
#analysis-studio .lx-number-orb {
  width: 76px;
  height: 76px;
  font-size: 32px;
  color: #fff;
  background: radial-gradient(circle at 28% 20%, var(--lx-bright), var(--lx-accent) 70%);
  box-shadow:
    0 5px 16px color-mix(in srgb, var(--lx-accent), transparent 70%),
    inset 0 2px 1px #fff7;
  text-shadow: 0 1px 3px #0008;
}
#analysis-studio .lx-facts dd {
  color: var(--lx-ink);
}
#analysis-studio .lx-insight {
  background: var(--lx-soft);
  border-left-color: var(--lx-accent);
  color: var(--lx-ink);
}
#analysis-studio .lx-inline,
#analysis-studio .lx-table summary {
  color: var(--lx-accent);
}
#analysis-studio .lx-timeline .hit i {
  background: linear-gradient(var(--lx-bright), var(--lx-accent));
}
#analysis-studio .lx-timeline i {
  background: #ebe7e9;
}
#analysis-studio .lx-rank-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
#analysis-studio .lx-rank-strip button {
  border: 1px solid color-mix(in srgb, var(--lx-accent), white 78%);
  background: var(--lx-soft);
  border-radius: 10px;
  padding: 11px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--lx-ink);
}
#analysis-studio .lx-rank-strip small {
  font-size: 10px;
  opacity: 0.8;
}
#analysis-studio .lx-rank-strip b {
  font-size: 22px;
}
#analysis-studio .lx-rank-strip span {
  font-size: 11px;
  margin-left: auto;
}
#analysis-studio .lx-legend {
  color: var(--lx-accent);
}
#analysis-studio .lx-legend span + span {
  color: var(--lx-reference);
}
#analysis-studio .lx-network {
  margin: 14px 0;
  border: 1px solid color-mix(in srgb, var(--lx-accent), white 80%);
  border-radius: 15px;
  background: radial-gradient(ellipse, var(--lx-soft), #fff);
  padding: 12px;
}
#analysis-studio .lx-network svg {
  display: block;
  width: 100%;
  max-height: 340px;
}
#analysis-studio .lx-network p {
  font-size: 11px;
  text-align: center;
  color: #54647a;
}
#analysis-studio .lx-pair-grid button {
  background: linear-gradient(125deg, #fff, var(--lx-soft));
  border-color: color-mix(in srgb, var(--lx-accent), white 75%);
  color: var(--lx-ink);
}
#analysis-studio .lx-pair-grid i {
  color: var(--lx-accent);
}
#analysis-studio .lx-formula {
  background: var(--lx-soft);
  border-color: color-mix(in srgb, var(--lx-accent), white 75%);
  color: var(--lx-ink);
}
#analysis-studio .lx-probs > div {
  background: var(--lx-soft);
  border-color: color-mix(in srgb, var(--lx-accent), white 82%);
}
#analysis-studio .lx-probs strong {
  color: var(--lx-ink);
}
#analysis-studio .lx-probs i {
  background: var(--lx-accent);
}
#analysis-studio .lx-method-no {
  color: var(--lx-accent);
}
#analysis-studio .lx-footer button {
  background: #ffffff12;
  border-color: #ffffff50;
  color: #fff;
}
html[data-product-theme='light'] #analysis-studio.lx-studio[data-product] {
  background: linear-gradient(135deg, #fff, var(--lx-soft));
  border-color: color-mix(in srgb, var(--lx-accent), white 65%);
}
html[data-product-theme='light'] #analysis-studio .lx-kpis > div {
  background: #fff;
  border-color: color-mix(in srgb, var(--lx-accent), white 72%);
}
html[data-product-theme='light']
  #analysis-studio
  :is(
    .lx-kpis strong,
    .lx-kpis small,
    .lx-kpis em,
    .lx-heading p,
    .lx-heading > label,
    .lx-source,
    .lx-context,
    .lx-footer p
  ) {
  color: var(--lx-ink);
}
html[data-product-theme='light'] #analysis-studio .lx-tabs {
  background: var(--lx-soft);
  border-color: color-mix(in srgb, var(--lx-accent), white 70%);
}
html[data-product-theme='light'] #analysis-studio .lx-tabs button,
html[data-product-theme='light'] #analysis-studio .lx-tabs small {
  color: var(--lx-ink);
}
html[data-product-theme='light'] #analysis-studio .lx-tabs [aria-selected='true'] {
  background: var(--lx-accent);
  color: white;
}
html[data-product-theme='light'] #analysis-studio .lx-tabs [aria-selected='true'] small {
  color: white;
}
html[data-product-theme='light'] #analysis-studio .lx-footer button {
  color: var(--lx-ink);
  border-color: var(--lx-accent);
  background: white;
}
@media (max-width: 1100px) {
  #analysis-studio .lx-heatmap {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }
  #analysis-studio[data-product='bingo'] .lx-heatmap {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  #analysis-studio .lx-rank-strip button {
    flex-wrap: wrap;
    gap: 5px;
  }
  #analysis-studio .lx-rank-strip span {
    width: 100%;
    margin: 0;
  }
}
@media (max-width: 760px) {
  #analysis-studio .lx-mark {
    width: 82px;
    height: 58px;
    padding: 8px;
  }
  #analysis-studio .lx-heatmap {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  #analysis-studio[data-product='bingo'] .lx-heatmap {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  #analysis-studio .lx-heatmap button {
    min-height: 61px;
  }
  #analysis-studio .lx-rank-strip {
    gap: 5px;
  }
  #analysis-studio .lx-rank-strip button {
    padding: 7px;
    justify-content: center;
  }
  #analysis-studio .lx-rank-strip small {
    display: none;
  }
  #analysis-studio .lx-rank-strip b {
    font-size: 19px;
  }
  #analysis-studio .lx-rank-strip span {
    font-size: 9px;
  }
  #analysis-studio .lx-scale > span {
    font-size: 9px;
  }
  #analysis-studio .lx-scale-steps {
    min-width: 150px;
  }
  #analysis-studio .lx-network {
    padding: 4px;
  }
  #analysis-studio .lx-network p {
    padding: 8px;
    font-size: 10px;
  }
}
