/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
@layer properties {
  @supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or
    ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
    *,
    ::backdrop,
    :after,
    :before {
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-border-style: solid;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
    }
  }
}
@layer theme {
  :host,
  :root {
    --font-sans:
      -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial,
      sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono:
      ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New",
      monospace;
    --default-transition-duration: 0.15s;
    --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}
@layer base {
  *,
  ::backdrop,
  :after,
  :before {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }
  ::file-selector-button {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }
  :host,
  html {
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    line-height: 1.5;
    font-family: var(
      --default-font-family,
      -apple-system,
      BlinkMacSystemFont,
      "Segoe UI",
      Roboto,
      "Helvetica Neue",
      "Noto Sans",
      Arial,
      sans-serif,
      "Apple Color Emoji",
      "Segoe UI Emoji",
      "Segoe UI Symbol",
      "Noto Color Emoji"
    );
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b,
  strong {
    font-weight: bolder;
  }
  code,
  kbd,
  pre,
  samp {
    font-family: var(
      --default-mono-font-family,
      ui-monospace,
      SFMono-Regular,
      Menlo,
      Monaco,
      Consolas,
      "Liberation Mono",
      "Courier New",
      monospace
    );
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub,
  sup {
    vertical-align: baseline;
    font-size: 75%;
    line-height: 0;
    position: relative;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring:where(:not(iframe)) {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  menu,
  ol,
  ul {
    list-style: none;
  }
  audio,
  canvas,
  embed,
  iframe,
  img,
  object,
  svg,
  video {
    vertical-align: middle;
    display: block;
  }
  img,
  video {
    max-width: 100%;
    height: auto;
  }
  button,
  input,
  optgroup,
  select,
  textarea {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }
  ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not ((-webkit-appearance: -apple-pay-button))) or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentColor;
    }
    @supports (color: color-mix(in lab, red, red)) {
      ::placeholder {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit,
  ::-webkit-datetime-edit-year-field {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-day-field,
  ::-webkit-datetime-edit-month-field {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-hour-field,
  ::-webkit-datetime-edit-minute-field {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-millisecond-field,
  ::-webkit-datetime-edit-second-field {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button,
  input:where([type="button"], [type="reset"], [type="submit"]) {
    appearance: button;
  }
  ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button,
  ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}
@layer components;
@layer utilities {
  .visible {
    visibility: visible;
  }
  .absolute {
    position: absolute;
  }
  .block {
    display: block;
  }
  .grid {
    display: grid;
  }
  .hidden {
    display: none;
  }
  .inline {
    display: inline;
  }
  .table {
    display: table;
  }
  .transform {
    transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,)
      var(--tw-skew-y,);
  }
  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }
  .filter {
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,)
      var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,)
      var(--tw-drop-shadow,);
  }
  .transition {
    transition-property:
      color,
      background-color,
      border-color,
      outline-color,
      text-decoration-color,
      fill,
      stroke,
      --tw-gradient-from,
      --tw-gradient-via,
      --tw-gradient-to,
      opacity,
      box-shadow,
      transform,
      translate,
      scale,
      rotate,
      filter,
      -webkit-backdrop-filter,
      backdrop-filter,
      display,
      content-visibility,
      overlay,
      pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
}
:root {
  color-scheme: dark;
  --bg: #080808;
  --panel: #151515;
  --muted: #a697b5;
  --text: #f1e8fa;
  --line: #342444;
  --gold: #7a00f4;
  --gold-soft: #6e00dc;
  --gold-light: #9e3dff;
  --gold-deep: #7600ec;
  --gold-border: #b366ff;
  --gold-gradient: linear-gradient(180deg, var(--gold-light), var(--gold) 38%, var(--gold-deep));
  --gold-hover-gradient: linear-gradient(180deg, #ad5aff, #8a15ff 38%, #7900f2);
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body,
html {
  background: var(--bg);
}
body {
  color: var(--text);
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.6;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
a,
button,
input,
select {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  letter-spacing: -1px;
  font-size: 32px;
  font-weight: 650;
  line-height: 1.25;
}
h2 {
  font-size: 17px;
  font-weight: 600;
}
p {
  color: var(--muted);
}
.sidebar {
  border-right: 1px solid var(--line);
  z-index: 30;
  scrollbar-color: #471974 #111;
  scrollbar-width: thin;
  background: #111;
  flex-direction: column;
  width: 248px;
  padding: 32px 20px 22px;
  display: flex;
  position: fixed;
  inset: 0 auto 0 0;
}
.market-emblem {
  background: #fff;
  border: 2px solid #7a00f4;
  border-radius: 12px;
  flex: none;
  justify-content: center;
  align-items: center;
  width: 64px;
  height: 58px;
  padding: 3px;
  display: inline-flex;
  overflow: hidden;
  box-shadow: 0 0 12px #7a00f426;
}
.market-emblem img {
  object-fit: contain;
  filter: saturate(1.15) contrast(1.03);
  width: 100%;
  height: 100%;
}
.sidebar .market-emblem {
  border-width: 1px;
  border-radius: 8px;
  width: 34px;
  height: 34px;
  padding: 1px;
}
.card-heading > div {
  min-width: 0;
}
.card-heading {
  gap: 12px;
}
.backtest-svg {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
}
.chart:has(.backtest-svg) {
  scrollbar-color: #471974 #151515;
  overflow-x: auto;
}
@media (max-width: 680px) {
  .backtest-svg {
    min-width: 720px;
  }
}
.backtest-line.model {
  filter: drop-shadow(0 0 4px #7a00f466);
  stroke-dasharray: none;
  animation: backtest-reveal 1.2s ease-out both;
}
.backtest-tracer {
  filter: drop-shadow(0 0 5px #7a00f4);
}
.backtest-legend {
  color: #9e3dff;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 12px;
  display: flex;
}
.backtest-legend span + span {
  color: #8ad9e2;
}
@keyframes backtest-reveal {
  0% {
    stroke-dasharray: 1;
    stroke-dashoffset: 1px;
  }
  99% {
    stroke-dasharray: 1;
    stroke-dashoffset: 0;
  }
  to {
    stroke-dasharray: none;
    stroke-dashoffset: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .backtest-line.model {
    animation: none;
  }
  .backtest-tracer {
    display: none;
  }
}
.brand {
  letter-spacing: 1.5px;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 750;
  line-height: 1.5;
  display: flex;
}
.brand-icon {
  background: var(--gold-gradient);
  color: #160924;
  border-radius: 12px;
  place-items: center;
  width: 42px;
  height: 42px;
  display: grid;
  box-shadow: 0 5px 30px #8933de33;
}
.brand-sub {
  letter-spacing: 4px;
  color: #b4a8c0;
  font-size: 11px;
  display: block;
}
.workspace-label {
  letter-spacing: 1.1px;
  color: #9280a3;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin: 37px 8px 24px;
  font-size: 10px;
  display: flex;
}
.workspace-label span {
  color: var(--gold);
  border: 1px solid #3e3448;
  border-radius: 4px;
  flex-shrink: 0;
  padding: 0 5px;
}
.nav-link {
  color: #bdb2c7;
  border-radius: 7px;
  align-items: center;
  gap: 12px;
  min-height: 43px;
  margin: 3px 0;
  padding: 9px 12px;
  font-size: 13px;
  transition: background 0.15s;
  display: flex;
}
.nav-link:hover {
  color: #fff;
  background: #211a28;
}
.nav-link.active {
  color: var(--gold);
  background: #281f30;
  box-shadow: inset 2px 0 #c093ed;
}
.nav-count {
  background: #43265f;
  border-radius: 5px;
  margin-left: auto;
  padding: 0 6px;
  font-size: 11px;
}
.nav-caption {
  letter-spacing: 1.8px;
  margin: 27px 12px 12px;
  font-size: 10px;
}
.market-symbol {
  color: #917fa3;
  border: 1px solid #3d3346;
  border-radius: 5px;
  place-items: center;
  width: 23px;
  height: 23px;
  font-family: monospace;
  font-size: 10px;
  display: grid;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 28px;
}
.sidebar-note {
  color: #aa9cb8;
  background: #1a141f;
  border: 1px solid #331d48;
  border-radius: 10px;
  padding: 15px;
}
.sidebar-note strong {
  color: #dcd6e2;
  margin: 8px 0 4px;
  font-size: 12px;
  display: block;
}
.sidebar-note p {
  font-size: 11px;
  line-height: 1.7;
}
.admin-link {
  color: #a99bb6;
  justify-content: space-between;
  margin: 20px 5px 0;
  font-size: 12px;
  display: flex;
}
.app-main {
  margin-left: 248px;
}
.topbar {
  border-bottom: 1px solid var(--line);
  letter-spacing: 1.4px;
  background: var(--bg);
  height: 74px;
  color: var(--text);
  justify-content: space-between;
  padding: 0 38px;
  font-size: 11px;
  font-weight: 600;
}
.topbar,
.topbar > span {
  align-items: center;
  display: flex;
}
.topbar > span {
  gap: 10px;
}
.topbar svg {
  color: var(--gold);
}
.topbar-right {
  color: var(--gold);
  gap: 8px;
  font-size: 10px;
}
.topbar-actions,
.topbar-right {
  align-items: center;
  display: flex;
}
.topbar-actions {
  gap: 18px;
  margin-left: auto;
}
.account-actions {
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
  display: flex;
}
.account-button {
  letter-spacing: 0;
  border: 1px solid #411968;
  border-radius: 9px;
  justify-content: center;
  align-items: center;
  min-width: 86px;
  min-height: 42px;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  display: inline-flex;
  box-shadow: 0 3px 8px #1c0d2b1f;
}
.account-button:disabled {
  opacity: 1;
  cursor: default;
}
.account-login {
  color: var(--gold);
  background: #151119;
}
.account-login:not(:disabled):hover {
  background: #231530;
  border-color: #d0a0ff;
  box-shadow: 0 0 12px #d0a0ff4d;
}
.account-button:not(:disabled):active {
  transform: translateY(1px);
  box-shadow: inset 0 2px 5px #0005;
}
.account-register {
  color: #160924;
  background: var(--gold-gradient);
  border-color: var(--gold-border);
}
.account-register:not(:disabled):hover {
  background: var(--gold-hover-gradient);
  border-color: var(--gold-border);
  box-shadow: 0 0 12px #d0a0ff4d;
}
.status-dot {
  background: #43e98a;
  border-radius: 50%;
  width: 6px;
  height: 6px;
}
.notice {
  color: #c3b9cd;
  background: #18131d;
  border-bottom: 1px solid #292724;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 9px 38px;
  font-size: 12px;
  display: flex;
}
.notice svg,
.notice-heading {
  color: var(--gold);
}
.notice-heading {
  flex-direction: column;
  gap: 2px;
  display: flex;
}
.notice-heading strong {
  font-size: 14px;
}
.notice-detail {
  color: #8f7da1;
  margin-left: auto;
  font-size: 11px;
}
main {
  max-width: 1800px;
  min-height: calc(100vh - 180px);
  margin: 0 auto;
  padding: 35px 38px 38px;
}
.eyebrow {
  letter-spacing: 1.8px;
  margin-bottom: 9px;
  font-weight: 600;
  color: var(--gold) !important;
  font-size: 10px !important;
}
.page-title {
  margin-bottom: 27px;
}
.page-title > p:last-child {
  margin-top: 9px;
  font-size: 13px;
}
.title-row {
  justify-content: space-between;
  gap: 15px;
}
.period-badge,
.title-row {
  align-items: center;
  display: flex;
}
.period-badge {
  color: #beb3c8;
  white-space: nowrap;
  background: #18131d;
  border: 1px solid #393042;
  border-radius: 6px;
  gap: 8px;
  padding: 8px 12px;
  font-size: 11px;
}
.summary-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 33px;
  display: grid;
}
.comparison-chart-controls {
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
  display: flex;
}
.comparison-chart-controls .button[aria-pressed="true"] {
  color: #0f0617;
  background: var(--gold);
  border-color: var(--gold);
}
.summary-card {
  border: 1px solid var(--line);
  background: linear-gradient(125deg, #1d1723, #151515);
  border-radius: 10px;
  padding: 17px 20px;
}
.summary-label {
  color: #bcb1c6;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  display: flex;
}
.summary-label svg {
  color: #a091af;
}
.summary-card strong {
  letter-spacing: -0.7px;
  margin: 9px 0 2px;
  font-size: 27px;
  font-weight: 600;
  display: block;
}
.summary-grid > .summary-card > strong {
  text-align: left;
  color: var(--gold);
}
.summary-card:last-child strong {
  padding: 3px 0;
  font-size: 23px;
}
.summary-card p {
  color: #8e7ba0;
  font-size: 11px;
}
.statistical-method-graphic {
  width: 100%;
  max-width: 240px;
  height: 52px;
  margin: 10px 0 8px;
  display: block;
  overflow: visible;
}
.statistical-method-graphic rect {
  filter: drop-shadow(0 0 3px #7a00f480);
}
.statistical-method-graphic + p {
  text-align: center;
}
.section-heading {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 24px 0 18px;
  display: flex;
}
.section-heading h2 {
  font-size: 18px;
}
.section-heading .prediction-section-title {
  color: var(--gold);
}
.section-heading h2 span {
  color: #9a89aa;
  background: #22211e;
  border: 1px solid #362d3e;
  border-radius: 5px;
  margin-left: 8px;
  padding: 3px 7px;
  font-size: 10px;
  font-weight: 400;
}
.section-heading p {
  margin-top: 3px;
  font-size: 12px;
}
.segmented {
  background: #141019;
  border: 1px solid #341e4a;
  border-radius: 7px;
  gap: 3px;
  padding: 4px;
  display: flex;
}
.segmented a {
  color: #aa9cb7;
  border-radius: 4px;
  padding: 5px 12px;
  font-size: 11px;
}
.segmented .selected {
  color: #e1cbf6;
  background: #341e4a;
}
.market-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  display: grid;
}
.market-card {
  background: radial-gradient(at 50% 48%, #241c2b66, #0000 65%), #19141e;
  border: 1px solid #392f42;
  border-radius: 11px;
  padding: 20px 20px 0;
  transition: border-color 0.2s;
  overflow: hidden;
}
.market-card:hover {
  border-color: #59327f;
}
.card-heading {
  align-items: center;
  gap: 10px;
  display: flex;
}
.card-market-icon {
  color: #c59bef;
  background: #282724;
  border: 1px solid #462863;
  border-radius: 9px;
  flex-shrink: 0;
  place-items: center;
  width: 36px;
  height: 36px;
  font-size: 12px;
  font-weight: 600;
  display: grid;
}
.card-heading h2 {
  letter-spacing: 0.6px;
  font-size: 12px;
}
.card-heading p {
  color: #a798b5;
  margin-top: 2px;
  font-size: 10px;
}
.card-index {
  color: #705e82;
  margin-left: auto;
  font-family: monospace;
  font-size: 10px;
}
.simulation-label {
  letter-spacing: 1.7px;
  text-align: center;
  color: #a799b5;
  justify-content: center;
  align-items: center;
  gap: 7px;
  margin: 25px 0 12px;
  font-size: 9px;
  display: flex;
}
.digits,
.empty-simulation {
  justify-content: center;
  gap: 9px;
  display: flex;
}
.digits span,
.empty-simulation span {
  text-align: center;
  color: #ebdcf9;
  background: linear-gradient(160deg, #38204f, #242220);
  border: 1px solid #57327c;
  border-radius: 8px;
  width: 51px;
  max-width: 22%;
  padding: 14px 0;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
  box-shadow:
    inset 0 1px #ffffff08,
    0 5px 15px #0002;
}
.empty-simulation span {
  color: #6b5a7c;
  border-color: #3a3143;
}
.simulation-state {
  flex-direction: column;
  justify-content: center;
  min-height: 50px;
  margin: 9px 0;
  display: flex;
}
.locked,
.simulation-state {
  align-items: center;
  gap: 5px;
}
.locked {
  color: #63c9b5;
  letter-spacing: 1px;
  font-size: 8px;
  display: inline-flex;
}
.pending {
  color: #9f84b9;
  font-size: 10px;
}
.synthetic {
  color: #a979d8;
  letter-spacing: 0.5px;
  white-space: nowrap;
  background: #2a2033;
  border: 1px solid #412f53;
  border-radius: 3px;
  padding: 2px 5px;
  font-size: 9px;
}
.card-facts {
  border-top: 1px solid #341e4a;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 12px 0 15px;
  display: grid;
}
.card-facts > span {
  color: #d4cedb;
  text-align: center;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  display: flex;
}
.card-facts > span + span {
  border-left: 1px solid #362d3e;
}
.card-facts small {
  color: #9989a9;
  width: 100%;
  font-size: 8px;
  line-height: 1.4;
  display: block;
}
.model-display-name {
  line-height: 1.35;
}
.card-facts svg {
  color: #8b789d;
}
.card-actions {
  background: #16111a66;
  border-top: 1px solid #341e4a;
  justify-content: space-between;
  gap: 6px;
  margin: 0 -20px;
  padding: 12px 17px;
}
.card-actions,
.card-actions a {
  align-items: center;
  display: flex;
}
.card-actions a {
  color: #b6aac2;
  gap: 4px;
  font-size: 10px;
}
.card-actions a:first-child {
  color: var(--gold);
}
.card-actions a:hover {
  color: #fff;
}
.method-banner {
  background: linear-gradient(100deg, #1e1d1a, #18131c);
  border: 1px solid #342b3c;
  border-radius: 10px;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
  padding: 22px;
  display: flex;
}
.method-icon {
  width: 52px;
  height: 52px;
  color: var(--gold);
  background: 0 0;
  border-radius: 10px;
  flex-shrink: 0;
  place-items: center;
  padding: 8px;
  display: grid;
}
.method-banner h2 {
  color: var(--gold);
  text-transform: uppercase;
  font-size: 14px;
}
.method-banner p {
  max-width: 620px;
  margin-top: 4px;
  font-size: 11px;
}
.method-banner > a {
  white-space: nowrap;
  color: var(--gold);
  align-items: center;
  gap: 9px;
  margin-left: auto;
  font-size: 11px;
  display: flex;
}
footer {
  letter-spacing: 1px;
  color: #88749b;
  border-top: 1px solid #292825;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 15px;
  padding: 20px 38px;
  font-size: 9px;
  display: flex;
}
footer span {
  letter-spacing: 0;
}
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 11px;
  min-width: 0;
  margin-bottom: 20px;
  padding: 24px;
}
.panel > h2 {
  margin-bottom: 7px;
}
.muted {
  color: var(--muted);
  font-size: 12px;
}
.charts-grid {
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  display: grid;
}
.charts-grid > .panel {
  margin: 0;
}
.charts-grid {
  margin-bottom: 20px;
}
.chart {
  width: 100%;
  min-width: 0;
  margin-top: 15px;
}
.analysis-intro {
  grid-template-columns: 340px 1fr;
  gap: 20px;
  margin-bottom: 30px;
  display: grid;
}
.analysis-intro .panel {
  margin: 0;
}
.methodology p {
  margin: 12px 0;
  font-size: 13px;
  line-height: 1.8;
}
.methodology h2 {
  font-size: 21px;
}
dl {
  margin: 20px 0 0;
}
dl div {
  border-top: 1px solid #372e3f;
  justify-content: space-between;
  gap: 15px;
  padding: 10px 0;
  font-size: 12px;
  display: flex;
}
dt {
  color: #ac9eb9;
}
dd {
  color: #e3d0f7;
  margin: 0;
}
.market-tabs {
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  display: flex;
}
.market-tabs a {
  color: #ad9fba;
  border-bottom: 2px solid #0000;
  padding: 6px 13px;
  font-size: 12px;
}
.market-tabs a.selected {
  color: var(--gold);
  border-color: #bc8bec;
}
.market-tabs .back-link {
  align-items: center;
  gap: 7px;
  margin-right: auto;
  padding-left: 0;
  display: flex;
}
.interval-grid {
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 24px;
  display: grid;
}
.interval-grid > div {
  border: 1px solid #3e3447;
  border-radius: 7px;
  flex-direction: column;
  align-items: center;
  padding: 10px;
  display: flex;
}
.interval-grid strong {
  color: #c9a1f0;
  font-size: 23px;
}
.interval-grid span {
  color: #b3a7bf;
  font-size: 10px;
}
.pattern-list {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
  display: flex;
}
.pattern-list span {
  color: #a99bb7;
  border: 1px solid #3e3448;
  border-radius: 6px;
  gap: 10px;
  padding: 6px 10px;
  font-size: 12px;
  display: flex;
}
.pattern-list b {
  color: #d2b2f2;
  font-family: monospace;
}
.table-scroll {
  overflow: auto;
}
table {
  border-collapse: collapse;
  text-align: left;
  width: 100%;
  font-size: 13px;
}
th {
  letter-spacing: 1px;
  color: #a799b5;
  border-bottom: 1px solid #43384e;
  padding: 14px;
  font-size: 10px;
  font-weight: 500;
}
td {
  color: #ceabf1;
  border-bottom: 1px solid #331d48;
  padding: 13px 14px;
}
tr:last-child td {
  border-bottom: 0;
}
.table-number {
  color: #dbc1f5;
  letter-spacing: 5px;
  font-family: monospace;
  font-size: 18px;
}
.filter-form {
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 14px;
  padding-bottom: 24px;
  display: flex;
}
label {
  color: #c2b8cc;
  flex-direction: column;
  gap: 7px;
  font-size: 12px;
  display: flex;
}
input,
select {
  color: #e8d7f9;
  background: #141018;
  border: 1px solid #42384d;
  border-radius: 6px;
  max-width: 100%;
  min-height: 40px;
  padding: 9px 12px;
}
input[type="file"] {
  width: 100%;
  padding: 12px;
}
.button {
  border: 1px solid var(--gold-border);
  background: var(--gold-gradient);
  color: #140621;
  border-radius: 6px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
}
.button:hover {
  background: var(--gold-hover-gradient);
}
.button.secondary {
  color: var(--gold);
  background: #1a1321;
  border-color: #4e2973;
}
.text-link {
  color: var(--gold);
  padding: 8px;
  font-size: 12px;
}
.pagination {
  color: #ab9db8;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-top: 22px;
  font-size: 12px;
  display: flex;
}
.pagination > div {
  gap: 8px;
  display: flex;
}
.empty-state {
  text-align: center;
  background: #19141e55;
  border: 1px dashed #4a3e56;
  border-radius: 12px;
  padding: 65px 25px;
}
.empty-state svg {
  color: var(--gold);
  margin: 0 auto 15px;
}
.empty-state p {
  max-width: 570px;
  margin: 10px auto 20px;
  font-size: 14px;
}
.backtest-info {
  color: #baafc5;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
  margin-bottom: 23px;
  font-size: 12px;
  display: flex;
}
.metric-panel {
  border-top: 2px solid var(--gold);
}
.metric-panel.baseline {
  border-top-color: var(--gold-soft);
}
.metric-panel > strong {
  color: #d8bbf4;
  font-size: 45px;
  font-weight: 500;
  display: block;
}
.metric-panel.baseline > strong {
  color: var(--gold);
}
.metric-panel strong small {
  color: #8c799e;
  font-size: 20px;
}
.metric-panel > p {
  font-size: 12px;
}
.admin-nav {
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 25px;
  display: flex;
}
.admin-nav a {
  color: #bcb1c7;
  border: 1px solid #3f245a;
  border-radius: 6px;
  padding: 7px 12px;
  font-size: 12px;
}
.admin-nav .selected {
  color: #ddc4f5;
  background: #321c47;
  border-color: #6f5d80;
}
.admin-form {
  flex-direction: column;
  gap: 18px;
  max-width: 660px;
  display: flex;
}
.market-create {
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
  padding-bottom: 24px;
}
.market-create-fields {
  border: 0;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 16px;
  min-width: 0;
  padding: 0;
  display: grid;
}
.market-create-fields label {
  min-width: 0;
}
.market-create-fields small {
  color: var(--muted);
}
.market-create-fields .market-active-checkbox {
  align-items: center;
  gap: 10px;
  display: flex;
}
.market-active-checkbox input {
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
}
.login-panel {
  max-width: 440px;
  margin: 45px auto;
}
.login-panel h1 {
  font-size: 25px;
}
.login-panel > p {
  margin: 10px 0 26px;
  font-size: 13px;
}
.login-panel .button {
  width: 100%;
}
.message {
  color: #b8dbbc;
  white-space: pre-wrap;
  background: #1c2b24;
  border: 1px solid #49604e;
  border-radius: 7px;
  padding: 12px 16px;
  font-size: 13px;
}
.message.error {
  color: #edb2bc;
  background: #2b1c27;
  border-color: #67414f;
}
.import-results {
  margin-top: 20px;
}
.import-results p {
  margin-bottom: 15px;
}
.system-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  display: grid;
}
.system-grid > div {
  background: #211a28;
  border-radius: 8px;
  padding: 20px;
}
.system-grid strong {
  font-size: 24px;
  display: block;
}
.system-grid span {
  color: #b5aac1;
  font-size: 12px;
}
.loading-state {
  text-align: center;
  color: #c0b6ca;
  padding: 80px;
}
.loader {
  border: 2px solid #3f3549;
  border-top-color: #c398ee;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  margin: 0 auto 20px;
  animation: spin 1s linear infinite;
  display: block;
}
@keyframes spin {
  to {
    transform: rotate(1turn);
  }
}
.mobile-menu-backdrop,
.mobile-menu-bar,
.mobile-toggle {
  display: none;
}
.skip-link {
  z-index: 100;
  color: #000;
  background: #fff;
  padding: 12px;
  position: fixed;
  top: -100px;
  left: 20px;
}
.skip-link:focus {
  top: 8px;
}
@media (min-width: 1600px) {
  .market-card {
    padding-top: 25px;
  }
  .digits span {
    width: 64px;
    font-size: 40px;
  }
  .card-heading h2 {
    font-size: 14px;
  }
  .card-facts > span {
    font-size: 12px;
  }
  .card-facts small {
    font-size: 10px;
  }
  .card-actions a {
    font-size: 12px;
  }
}
@media (max-width: 1250px) {
  .sidebar {
    width: 218px;
    padding: 26px 14px;
  }
  .app-main {
    margin-left: 218px;
  }
  main {
    padding: 28px 25px;
  }
  .market-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .summary-grid {
    gap: 10px;
  }
  .summary-card {
    padding: 15px;
  }
  .summary-label {
    font-size: 11px;
  }
  .period-badge {
    display: none;
  }
  .method-banner {
    flex-wrap: wrap;
  }
  .method-banner > a {
    margin-left: 66px;
  }
  .analysis-intro {
    grid-template-columns: 300px 1fr;
  }
}
@media (max-width: 900px) {
  .summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .analysis-intro,
  .charts-grid {
    grid-template-columns: 1fr;
  }
  .analysis-intro .market-card {
    width: 100%;
    max-width: 420px;
  }
  .topbar {
    padding: 0 25px;
  }
  .notice {
    padding: 10px 25px;
  }
  .notice-detail {
    display: none;
  }
  .topbar-right {
    display: none !important;
  }
  .card-actions a {
    font-size: 10px;
  }
  .market-card {
    padding: 16px 14px 0;
  }
  .card-actions {
    margin: 0 -14px;
  }
  .digits span {
    font-size: 29px;
  }
  .card-heading h2 {
    font-size: 10px;
  }
  .system-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 680px) {
  .sidebar {
    visibility: hidden;
    pointer-events: none;
    width: 260px;
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
    box-shadow: none;
    background: var(--bg);
    color: var(--text);
    transition:
      transform 0.2s,
      visibility 0.2s;
    top: 0;
    transform: translate(-100%);
  }
  .sidebar.is-open {
    visibility: visible;
    pointer-events: auto;
    transform: translate(0);
    box-shadow: 12px 0 28px #0009;
  }
  .sidebar-bottom {
    margin-top: 25px;
  }
  .sidebar {
    overflow-y: auto;
  }
  .app-main {
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
    margin-left: 0;
  }
  .mobile-menu-bar {
    left: calc(16px + env(safe-area-inset-left, 0px));
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    z-index: 40;
    align-items: center;
    display: flex;
    position: fixed;
  }
  .mobile-menu-backdrop {
    z-index: 29;
    appearance: none;
    box-shadow: none;
    background: #0009;
    border: 0;
    border-radius: 0;
    display: block;
    position: fixed;
    inset: 0;
  }
  .mobile-toggle {
    width: 40px;
    height: 40px;
    color: var(--gold);
    background: #111;
    border: 1px solid #7a00f466;
    border-radius: 10px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 0;
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
  }
  .mobile-toggle svg {
    width: 20px;
    height: 20px;
  }
  .mobile-toggle:hover,
  .mobile-toggle[aria-expanded="true"] {
    background: #7a00f426;
  }
  .mobile-toggle:focus-visible {
    outline-offset: 3px;
    outline: 2px solid #b870ff;
  }
  .mobile-toggle:active {
    transform: translateY(1px);
  }
  .topbar {
    height: 54px;
    padding: 0 20px;
  }
  .notice {
    padding: 9px 20px;
    font-size: 11px;
  }
  main {
    padding: 24px 18px;
  }
  h1 {
    font-size: 27px;
  }
  .page-title > p:last-child {
    font-size: 12px;
  }
  .market-grid {
    grid-template-columns: 1fr;
  }
  .market-card {
    padding: 20px 20px 0;
  }
  .card-heading h2 {
    font-size: 13px;
  }
  .digits span {
    width: 58px;
    font-size: 37px;
  }
  .card-facts > span {
    font-size: 12px;
  }
  .card-facts small {
    font-size: 10px;
  }
  .card-actions {
    margin: 0 -20px;
    padding: 14px 20px;
  }
  .card-actions a {
    font-size: 12px;
  }
  .locked,
  .simulation-label {
    font-size: 10px;
  }
  .summary-card strong {
    font-size: 25px;
  }
  .summary-card:last-child strong {
    font-size: 20px;
  }
  .section-heading {
    align-items: flex-start;
  }
  .segmented a {
    padding: 5px 10px;
  }
  .method-banner {
    gap: 13px;
    padding: 18px;
  }
  .method-banner h2 {
    font-size: 14px;
  }
  .method-icon {
    display: none;
  }
  .method-banner > a {
    margin-left: 0;
  }
  .method-banner p {
    font-size: 12px;
  }
  footer {
    padding: 20px;
  }
  .panel {
    padding: 18px;
  }
  .market-tabs {
    gap: 3px;
  }
  .market-tabs a {
    padding: 5px 9px;
  }
  .pagination {
    flex-direction: column;
    align-items: flex-start;
  }
  .filter-form label {
    flex: 1;
    min-width: 130px;
  }
  .filter-form .button {
    width: 100%;
  }
  .system-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pattern-list {
    gap: 7px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}
.result-coverage-table {
  min-width: 760px;
}
.result-coverage-table td:last-child,
.result-coverage-table th:last-child {
  min-width: 320px;
}
.collected-results-table {
  min-width: 700px;
}
.collected-results-table td:last-child,
.collected-results-table th:last-child {
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
}
.collected-results-table td:last-child .text-link {
  padding: 2px 8px;
  display: inline-block;
}
.collected-results-table td:first-child,
.result-coverage-table td:nth-child(3) {
  white-space: nowrap;
}
.prediction-card {
  border-color: var(--line);
  background:
    radial-gradient(at 100% 0, #56317a40, #0000 70%), linear-gradient(155deg, #19151d, #151515 75%);
}
.prediction-card:hover {
  border-color: #766389;
}
.prediction-card .card-heading {
  grid-template-columns: minmax(0, 1fr) clamp(56px, 22%, 84px);
  align-items: flex-start;
  display: grid;
}
.prediction-card .card-heading > .market-emblem {
  aspect-ratio: 1;
  justify-self: end;
  width: 100%;
  height: auto;
  padding: 0;
}
.prediction-card .card-heading > .market-emblem img {
  object-fit: contain;
  width: 100%;
  height: 100%;
  display: block;
}
.prediction-card .card-heading h2 {
  color: var(--text);
  letter-spacing: 0.4px;
  font-size: 15px;
  font-weight: 800;
}
.prediction-card .card-heading p {
  color: var(--muted);
  margin-top: 5px;
  font-size: 11px;
}
.prediction-card .card-index {
  color: #8b789d;
}
.prediction-main {
  grid-template-columns: minmax(0, 1fr) 64px;
  gap: 12px;
  margin-top: 22px;
  display: grid;
}
.prediction-card h3 {
  color: var(--gold);
  text-align: center;
  letter-spacing: 0.4px;
  margin: 0 0 9px;
  font-size: 12px;
  font-weight: 750;
}
.prediction-card .digits,
.prediction-card .empty-simulation {
  background: linear-gradient(145deg, #2d1941, #1c1325);
  border-bottom: 4px solid #6a30a3;
  border-radius: 9px;
  align-items: center;
  gap: 3px;
  height: 94px;
}
.prediction-card .digits span,
.prediction-card .empty-simulation span {
  box-shadow: none;
  color: #f3eafc;
  letter-spacing: 1px;
  background: 0 0;
  border: 0;
  width: auto;
  max-width: none;
  padding: 0;
  font-size: 34px;
  font-weight: 800;
}
.prediction-card .empty-simulation span {
  color: #88759b;
}
.colok-values {
  gap: 7px;
  display: grid;
}
.colok-values span {
  color: #ebdcf9;
  text-shadow: 0 0 12px #a250f325;
  background: linear-gradient(145deg, #331d49, #21201e);
  border: 1px solid #553079;
  border-radius: 7px;
  place-items: center;
  min-height: 43px;
  font:
    700 24px ui-monospace,
    monospace;
  display: grid;
}
.prediction-picks-container {
  container-type: inline-size;
}
.prediction-picks {
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 12px;
  margin-top: 16px;
  display: grid;
}
.shio-panel {
  background: #211a2880;
  border: 1px solid #463a51;
  border-radius: 9px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-width: 0;
  padding: 12px 4px;
  display: flex;
}
.shio-panel h3 {
  text-transform: uppercase;
  margin-bottom: 8px;
  font-size: 10px;
}
.shio-icon {
  filter: drop-shadow(0 3px 8px #a250f325);
  font-size: 39px;
  line-height: 1.4;
}
.shio-name {
  color: #e0c9f6;
  text-align: center;
  margin-top: 4px;
  font-size: 10px;
}
.shio-panel small {
  color: var(--muted);
  margin-top: 4px;
  font-size: 9px;
}
.ranked-picks {
  gap: 14px;
  display: grid;
}
.ranked-picks h3 {
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 7px;
  font-size: 10px;
}
.number-picks {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  display: grid;
}
.number-picks span {
  color: #ecdefa;
  font-variant-numeric: tabular-nums;
  background: #21201e;
  border: 1px solid #726084;
  border-radius: 6px;
  place-items: center;
  min-height: 31px;
  font:
    700 16px ui-monospace,
    monospace;
  display: grid;
}
.top3d-panel h3 {
  color: var(--gold);
}
.top3d-panel .number-picks span {
  border-color: #5d2a8f;
}
.prediction-card .simulation-state {
  min-height: 35px;
  margin: 12px 0 8px;
}
.prediction-method {
  color: var(--muted);
  margin: 0 0 14px;
  font-size: 10px;
  line-height: 1.6;
}
.prediction-method summary {
  cursor: pointer;
  text-align: center;
  color: var(--gold);
}
.prediction-method p {
  margin-top: 10px;
}
.prediction-card .card-facts,
.prediction-card .card-facts > span + span {
  border-color: var(--line);
}
.prediction-card .card-actions {
  border-color: var(--line);
  background: #11111180;
}
.prediction-card .card-actions a {
  color: #c2b8cc;
}
@container (min-width:390px) {
  .top2d-panel .number-picks {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .prediction-picks {
    grid-template-columns: 82px minmax(0, 1fr);
  }
}
@media (max-width: 380px) {
  .prediction-card {
    padding-left: 14px;
    padding-right: 14px;
  }
  .prediction-picks {
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 9px;
  }
  .prediction-card .card-actions {
    margin-left: -14px;
    margin-right: -14px;
    padding-left: 14px;
    padding-right: 14px;
  }
}
.prediction-badge {
  color: #e2ccf7;
  letter-spacing: 0.7px;
  white-space: nowrap;
  background: #2a2825;
  border: 1px solid #57317c;
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 9px;
}
.card-win-rate {
  border-top: 1px solid var(--line);
  margin-top: 4px;
  padding: 13px 0;
}
.win-rate-heading {
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 11px;
  display: flex;
}
.prediction-card .win-rate-heading h3 {
  text-align: left;
  color: var(--text);
  margin: 0;
  font-size: 11px;
}
.win-rate-heading a {
  color: var(--gold);
  font-size: 10px;
}
.win-rate-mini-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  display: grid;
}
.win-rate-mini-grid > div {
  border: 1px solid var(--line);
  text-align: center;
  background: #15111980;
  border-radius: 6px;
  padding: 8px 3px;
}
.win-rate-mini-grid span {
  color: var(--muted);
  font-size: 9px;
  display: block;
}
.win-rate-mini-grid strong {
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  font-size: 17px;
  line-height: 1.7;
  display: block;
}
.win-rate-mini-grid small {
  color: #b5aac1;
  font-size: 9px;
  display: block;
}
.card-win-rate > p {
  margin-top: 8px;
  font-size: 10px;
  line-height: 1.5;
}
.win-rate-full-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
  display: grid;
}
.win-rate-full-grid > div {
  border: 1px solid var(--line);
  background: #151119;
  border-radius: 9px;
  padding: 17px;
}
.win-rate-full-grid small,
.win-rate-full-grid span {
  color: var(--muted);
  font-size: 12px;
  display: block;
}
.win-rate-full-grid strong {
  color: var(--gold);
  margin: 5px 0;
  font-size: 30px;
  display: block;
}
.win-rate-notice {
  color: #c296ee;
  margin: 16px 0;
}
.win-rate-full-grid .performance-historical {
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--muted);
  margin-top: 12px;
  padding-top: 10px;
  font-size: 11px;
  display: block;
}
.win-rate-rules {
  color: var(--muted);
  margin: 18px 0;
  font-size: 12px;
}
.win-rate-rules summary {
  cursor: pointer;
  color: var(--gold);
}
.win-rate-rules ul {
  margin: 14px 0;
  padding-left: 20px;
}
.win-rate-rules li {
  margin-bottom: 8px;
}
.win-rate-rules p {
  margin-top: 10px;
}
.win-rate-table {
  min-width: 950px;
}
.hit-yes {
  color: #71dbc1;
}
@media (max-width: 680px) {
  .win-rate-full-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .win-rate-full-grid > div {
    padding: 12px;
  }
}
.prediction-card .win-rate-heading h3 small {
  color: var(--muted);
  margin-top: 4px;
  font-size: 9px;
  font-weight: 500;
  display: block;
}
.win-rate-mini-grid > div {
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  display: flex;
}
.summary-prediction-picks,
.summary-prediction-single {
  flex: 1;
  align-content: center;
  min-height: 68px;
}
.summary-prediction-single {
  justify-content: center;
  align-items: center;
  display: flex;
}
.summary-prediction-picks {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  display: grid;
}
.win-rate-mini-grid .summary-prediction-value {
  color: #e3cff7;
  overflow-wrap: anywhere;
  font-size: 15px;
  line-height: 1.5;
}
.summary-prediction-picks .summary-prediction-value {
  background: #b682eb12;
  border-radius: 3px;
  padding: 2px 0;
  font-size: 12px;
}
.prediction-disclosure {
  margin: 12px 0;
}
.prediction-access {
  min-width: 0;
  padding-bottom: 12px;
}
.prediction-login {
  border: 1px solid var(--gold);
  width: 100%;
  min-height: 44px;
  color: var(--gold);
  background: #7a00f414;
  border-radius: 7px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
}
.prediction-login:hover {
  background: var(--gold-gradient);
  color: #160724;
}
.prediction-login:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.prediction-disclosure > summary {
  background: var(--gold-gradient);
  color: #160724;
  cursor: pointer;
  border: 1px solid #ac67f0;
  border-radius: 7px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 11px 28px;
  font-size: 12px;
  font-weight: 600;
  list-style: none;
  display: flex;
  position: relative;
}
.prediction-disclosure > summary::-webkit-details-marker {
  display: none;
}
.prediction-disclosure > summary:hover {
  background: var(--gold-hover-gradient);
}
.prediction-disclosure > summary:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.prediction-disclosure > summary > .prediction-trigger-chevron {
  transition: transform 0.15s;
  position: absolute;
  right: 12px;
}
.prediction-disclosure[open] > summary > .prediction-trigger-chevron {
  transform: rotate(180deg);
}
.prediction-disclosure .card-win-rate {
  margin-top: 12px;
  padding-bottom: 0;
}
.market-grid {
  align-items: stretch;
}
.market-grid > .prediction-card {
  grid-template-rows: subgrid;
  grid-row: span 8;
  row-gap: 0;
  display: grid;
}
.market-grid > .prediction-card > .market-closed {
  grid-row: span 6;
}
.prediction-card .card-heading .market-schedule {
  margin: 8px 0 0;
}
.prediction-trigger-label {
  align-items: center;
  gap: 9px;
  display: inline-flex;
}
.prediction-status-dot {
  background: radial-gradient(circle at 35% 30%, #caffdc, #36ff7c 45%, #08bd51);
  border: 1px solid #087f36;
  border-radius: 50%;
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  animation: prediction-status-glow 1.8s ease-in-out infinite;
  position: relative;
  box-shadow:
    0 0 5px #18ff79,
    0 0 12px #12ed69cc,
    0 0 20px #18ff6466;
}
.prediction-status-dot:after {
  content: "";
  border: 1px solid #13e867;
  border-radius: 50%;
  animation: prediction-status-pulse 1.8s ease-out infinite;
  position: absolute;
  inset: -5px;
}
@keyframes prediction-status-glow {
  0%,
  to {
    box-shadow:
      0 0 4px #18ff79,
      0 0 9px #12ed69aa,
      0 0 15px #18ff644d;
  }
  50% {
    box-shadow:
      0 0 7px #a4ffc4,
      0 0 16px #12ed69ee,
      0 0 25px #18ff6488;
  }
}
@keyframes prediction-status-pulse {
  0% {
    opacity: 0.9;
    transform: scale(0.55);
  }
  to {
    opacity: 0;
    transform: scale(1.55);
  }
}
@media (prefers-reduced-motion: reduce) {
  .prediction-status-dot {
    animation: none;
  }
  .prediction-status-dot:after {
    opacity: 0;
    animation: none;
  }
}
.win-rate-mini-grid > div {
  background: linear-gradient(155deg, #1b1421, #120f14);
  border-color: #3c2651;
  border-radius: 9px;
  padding: 10px 5px;
}
.win-rate-mini-grid > div > span {
  justify-content: center;
  align-items: center;
  min-height: 28px;
  line-height: 1.45;
  display: flex;
}
.win-rate-indicator {
  text-align: center;
  border-top: 1px solid #40275880;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding-top: 10px;
  display: flex;
}
.win-rate-indicator .win-rate-caption {
  letter-spacing: 1px;
  color: #a27bc8;
  min-height: 0;
  font-size: 8px;
  font-weight: 700;
  display: block;
}
.win-rate-gauge {
  width: 64px;
  max-width: 100%;
  height: 64px;
  position: relative;
}
.win-rate-gauge svg {
  width: 100%;
  height: 100%;
  display: block;
  transform: rotate(-90deg);
}
.win-rate-arc,
.win-rate-track {
  fill: none;
  stroke-width: 4px;
}
.win-rate-track {
  stroke: #382749;
}
.win-rate-arc {
  stroke: var(--gold);
  stroke-linecap: round;
  filter: drop-shadow(0 0 2px #9e4cef55);
}
.win-rate-indicator[data-rated="false"] .win-rate-track {
  stroke: #503966;
  stroke-width: 2px;
  stroke-dasharray: 2 4;
}
.win-rate-indicator .win-rate-percent {
  letter-spacing: -0.7px;
  font-variant-numeric: tabular-nums;
  color: var(--gold);
  justify-content: center;
  align-items: center;
  gap: 1px;
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  display: flex;
  position: absolute;
  inset: 0;
}
.win-rate-indicator .win-rate-unit {
  letter-spacing: 0;
  color: #9c68cf;
  min-height: 0;
  font-size: 10px;
  font-weight: 600;
  display: inline;
}
.win-rate-indicator[data-rated="false"] .win-rate-percent {
  color: #c1aad8;
}
.win-rate-indicator .win-rate-sample {
  color: #a490b8;
  font-size: 9px;
  line-height: 1.5;
  display: block;
}
.win-rate-sample b {
  color: #cca7f0;
  font-weight: 600;
}
.win-rate-full-grid .win-rate-indicator {
  border: 0;
  gap: 8px;
  padding-top: 16px;
}
.win-rate-full-grid .win-rate-gauge {
  width: 100px;
  height: 100px;
}
.win-rate-full-grid .win-rate-percent {
  font-size: 28px;
}
.win-rate-full-grid .win-rate-unit {
  font-size: 14px;
}
.win-rate-full-grid .win-rate-sample {
  font-size: 12px;
}
.win-rate-indicator .win-rate-percent[data-length="long"] {
  font-size: 14px;
}
.win-rate-arc {
  stroke-linecap: butt;
}
.estimate-context {
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
  display: flex;
}
.estimate-data-badge {
  color: var(--gold);
  letter-spacing: 0.5px;
  border: 1px solid #52297b;
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 8px;
  display: inline-block;
}
.estimate-method {
  color: var(--muted);
  margin-top: 12px;
  font-size: 10px;
}
.estimate-method summary {
  cursor: pointer;
  color: var(--gold);
}
.estimate-method p {
  margin-top: 8px;
  line-height: 1.65;
}
.model-estimate-list {
  border: 1px solid var(--line);
  border-radius: 6px;
  margin: 10px 0;
  padding: 10px;
}
.model-estimate-list > div {
  justify-content: space-between;
  gap: 10px;
  padding: 3px 0;
  display: flex;
}
.model-estimate-list dd {
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  margin: 0;
}
.simulation-percentage-note {
  margin: 14px 0 10px;
}
.simulation-percentage-note > div {
  justify-content: flex-start;
  align-items: center;
  gap: 6px;
  display: flex;
}
.simulation-percentage-note span {
  color: #b889e6;
  font-size: 11px;
}
.simulation-percentage-note strong {
  color: #06371b;
  font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, #65ff9f, #13d76b);
  border: 1px solid #5aff9c;
  border-radius: 5px;
  padding: 5px 10px;
  font-size: 16px;
  line-height: 1.2;
  display: inline-block;
  box-shadow: 0 0 10px #20ed6a40;
}
.simulation-percentage-note p {
  color: #b09ac5;
  margin-top: 6px;
  font-size: 10px;
  line-height: 1.5;
}
.market-schedule {
  color: var(--muted);
  margin: 0 0 18px;
  font-size: 12px;
  line-height: 1.7;
}
.market-closed {
  text-align: center;
  min-height: 315px;
  color: var(--gold);
  flex-direction: column;
  flex: 1;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 28px 4px;
  display: flex;
}
.market-closed h3 {
  margin: 0;
  font-size: 22px;
}
.market-closed p {
  color: var(--muted);
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
}
.market-next-date {
  border: 1px solid var(--line);
  background: #8c41d70c;
  border-radius: 10px;
  gap: 8px;
  width: 100%;
  padding: 18px 12px;
  display: grid;
}
.market-next-date span {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-size: 11px;
}
.market-next-date strong {
  font-size: 15px;
  line-height: 1.6;
}
.brand-logo-frame {
  aspect-ratio: 3.6;
  flex-shrink: 0;
  width: 100%;
  display: block;
  position: relative;
  overflow: hidden;
}
.brand-logo {
  object-fit: cover;
  object-position: center;
}
.dashboard-brand {
  background: 0 0;
  border-radius: 9px;
  flex-shrink: 0;
  width: 160px;
  height: 42px;
  display: block;
  position: relative;
  overflow: hidden;
}
@media (max-width: 680px) {
  .dashboard-brand {
    width: clamp(120px, 36vw, 144px);
    height: 38px;
  }
  .topbar {
    justify-content: space-between;
    gap: 10px;
    padding: 0 12px;
  }
  .account-actions {
    gap: 8px;
  }
  .account-button {
    min-width: 64px;
    min-height: 38px;
    padding: 8px 10px;
    font-size: 13px;
  }
}
.live-dashboard-panel {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(24px, 3vw, 48px);
  margin: 8px 0 36px;
  display: grid;
}
.live-hero-copy {
  min-width: 0;
}
.live-panel-console {
  background: linear-gradient(140deg, #1e1724, #131115);
  border: 1px solid #3d2a51;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 12px 32px #0004;
}
.live-panel-heading {
  align-items: center;
  gap: 14px;
  display: flex;
}
.live-panel-icon {
  width: 48px;
  height: 48px;
  color: var(--gold);
  background: #a250f310;
  border: 1px solid #582d82;
  border-radius: 13px;
  flex-shrink: 0;
  place-items: center;
  display: grid;
}
.live-panel-heading .eyebrow {
  letter-spacing: 1.8px;
  font-size: 10px;
}
.live-panel-heading h2 {
  letter-spacing: -0.4px;
  margin-top: 3px;
  font-size: clamp(20px, 1.9vw, 28px);
}
.live-panel-intro {
  color: var(--muted);
  margin: 16px 0 20px;
  font-size: 14px;
  line-height: 1.75;
}
.live-panel-intro > span {
  display: block;
}
.live-panel-intro strong {
  color: inherit;
  font-weight: 700;
}
.live-panel-intro > span + span {
  color: var(--muted);
  margin-top: 6px;
  font-size: 13px;
}
.live-panel-form {
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  gap: 16px;
  display: grid;
}
.live-panel-form label {
  letter-spacing: 1px;
  text-transform: uppercase;
  gap: 9px;
  font-size: 11px;
  font-weight: 700;
  display: grid;
}
.live-panel-form select {
  width: 100%;
  min-width: 0;
  height: 54px;
  color: var(--text);
  letter-spacing: 0;
  background: #0d0d0d;
  border: 1px solid #59347e;
  border-radius: 11px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 600;
}
.live-prediction-button {
  border: 1px solid var(--gold-border);
  background: var(--gold-gradient);
  color: #110021;
  border-radius: 11px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 10px 16px;
  font-weight: 750;
  transition:
    filter 0.18s,
    box-shadow 0.18s;
  display: flex;
  box-shadow:
    inset 0 1px #e3c6ffb3,
    inset 0 -2px #5500a933,
    0 0 18px #9327ff45,
    0 5px 22px #8e36e538;
}
.live-prediction-button:hover {
  background: var(--gold-hover-gradient);
  box-shadow:
    inset 0 1px #e3c6ffcc,
    0 0 24px #9327ff66,
    0 5px 22px #8e36e54d;
}
.live-prediction-button:focus-visible {
  outline-offset: 4px;
  outline: 2px solid #c48aff;
}
.live-panel-stats {
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
  padding-top: 16px;
  display: grid;
}
.live-panel-stats > div {
  align-items: center;
  gap: 7px;
  min-width: 0;
  display: flex;
}
.live-panel-stats > div + div {
  border-left: 1px solid var(--line);
  padding-left: 10px;
}
.live-panel-stats svg {
  color: #51f29c;
  flex-shrink: 0;
}
.live-panel-stats > div:nth-child(2) svg,
.live-panel-stats > div:nth-child(3) svg {
  color: var(--gold);
}
.live-panel-stats strong {
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  display: flex;
}
.live-panel-stats small {
  color: var(--muted);
  margin-top: 4px;
  font-size: 10px;
  display: block;
}
.live-win-rate {
  position: relative;
}
.live-win-rate > .live-panel-dot {
  position: absolute;
  top: 50%;
  left: -20px;
  transform: translateY(-50%);
}
.live-panel-dot {
  background: #51f29c;
  border-radius: 50%;
  width: 6px;
  height: 6px;
  box-shadow: 0 0 8px #51f29c99;
}
.live-panel-dot.inactive {
  box-shadow: none;
  background: #9989a9;
}
.live-panel-footnote {
  color: #a28eb5;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 20px;
  margin-top: 18px;
  font-size: 11px;
  line-height: 1.65;
  display: flex;
}
.dashboard-hero-visual {
  isolation: isolate;
  background:
    linear-gradient(155deg, #141017, #0b0b0b 60%, #180d24) padding-box,
    linear-gradient(135deg, var(--gold-light), #52089c 45%, var(--gold) 85%) border-box;
  border: 2px solid #0000;
  border-radius: 22px;
  min-width: 0;
  padding: 22px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 0 35px #8f43db20,
    0 18px 45px #0006;
}
.dashboard-hero-visual:before {
  content: "";
  z-index: -1;
  background:
    radial-gradient(at 50% 35%, #7329bd28, #0000 65%),
    linear-gradient(#a250f307 1px, #0000 0) 0 0/32px 32px,
    linear-gradient(90deg, #a250f307 1px, #0000 0) 0 0/32px 32px;
  position: absolute;
  inset: 0;
}
.hero-visual-topline {
  color: #8e71aa;
  letter-spacing: 1px;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 9px;
  display: flex;
}
.hero-visual-topline > span:first-child {
  color: #d0a1ff;
  border: 1px solid #5e308b;
  border-radius: 6px;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  display: flex;
}
.hero-engine-art {
  margin: 8px -18px -4px;
}
.hero-engine-art svg {
  width: 100%;
  height: auto;
  display: block;
}
.hero-visual-title {
  text-align: center;
}
.hero-visual-title .eyebrow {
  color: var(--gold);
  letter-spacing: 6px;
  font-size: 14px;
  display: block;
}
.hero-visual-title strong {
  letter-spacing: -1.5px;
  color: var(--gold);
  text-shadow:
    0 3px #3e1962,
    0 0 30px #a250f333;
  font-size: clamp(28px, 3.2vw, 56px);
  font-weight: 900;
  line-height: 1.15;
  display: block;
}
.hero-visual-title p {
  color: #b396d0;
  margin-top: 10px;
  font-size: 12px;
}
.hero-visual-features {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 24px;
  display: grid;
}
.hero-visual-features > a,
.hero-visual-features > span {
  color: #ceacef;
  text-align: center;
  background: #140d1ab3;
  border: 1px solid #42255e;
  border-radius: 8px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding: 10px 4px;
  font-size: 10px;
  display: flex;
}
.hero-visual-features > a:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  background: #7a00f41a;
}
.hero-visual-features > a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.hero-visual-features svg {
  color: var(--gold);
}
.hero-visual-caption {
  text-align: center;
  color: #83679f;
  letter-spacing: 1px;
  margin-top: 14px;
  font-size: 9px;
  display: block;
}
#prediksi-pasaran {
  scroll-margin-top: 20px;
}
@media (max-width: 1150px) {
  .live-dashboard-panel {
    grid-template-columns: 1fr;
  }
  .dashboard-hero-visual {
    justify-self: center;
    width: 100%;
    max-width: 540px;
  }
}
@media (max-width: 680px) {
  .live-dashboard-panel {
    gap: 24px;
  }
  .live-panel-console {
    border-radius: 14px;
    padding: 18px;
  }
  .live-panel-heading {
    gap: 10px;
  }
  .live-panel-heading h2 {
    font-size: 20px;
  }
  .live-panel-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
  }
  .live-panel-stats {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .live-panel-stats > div + div {
    border-top: 1px solid #34244480;
    border-left: 0;
    padding-top: 13px;
    padding-left: 0;
  }
}
@property --tw-rotate-x {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-y {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-z {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-x {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-y {
  syntax: "*";
  inherits: false;
}
@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-blur {
  syntax: "*";
  inherits: false;
}
@property --tw-brightness {
  syntax: "*";
  inherits: false;
}
@property --tw-contrast {
  syntax: "*";
  inherits: false;
}
@property --tw-grayscale {
  syntax: "*";
  inherits: false;
}
@property --tw-hue-rotate {
  syntax: "*";
  inherits: false;
}
@property --tw-invert {
  syntax: "*";
  inherits: false;
}
@property --tw-opacity {
  syntax: "*";
  inherits: false;
}
@property --tw-saturate {
  syntax: "*";
  inherits: false;
}
@property --tw-sepia {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false;
}
.recharts-responsive-container,
.recharts-wrapper {
  max-width: 100% !important;
}
.recharts-wrapper {
  width: 100% !important;
}
.recharts-surface {
  max-width: 100%;
  height: auto;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}
.snapshot-message {
  margin: 12px 0;
  color: var(--muted);
}
