

html.is-sim .topbar,
html.is-sim #screen-intro.is-active { display: none; }
html.is-sim .stage { min-height: 100dvh; padding-top: 14px; }

html.is-sim body { background-repeat: no-repeat; background-attachment: fixed; }


.sim-screen [hidden],
.sim-toasts [hidden] { display: none !important; }


.sim-screen bdi { white-space: nowrap; }

.sim-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.sim-ico {
  flex: none;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sim-ico--sm { width: 16px; height: 16px; }
.sim-ico--none { display: none; }

.sim-kicker { margin: 0 0 6px; font-size: 13px; font-weight: 700; color: var(--brand); }
.sim-kicker--ink { color: var(--sim-teal, #0c7a77); }

.sim-fine {
  margin: 14px auto 0;
  max-width: 560px;
  font-size: 12.5px;
  line-height: 1.6;
  text-align: center;
  color: rgba(255, 255, 255, .78);
}

.sim-brandline { margin: 18px 0 0; font-size: 13px; font-weight: 700; color: var(--muted); }
.sim-brandline--ink { color: var(--sim-soft, #5b6b80); text-align: center; }

.sim-cta { box-shadow: 0 10px 30px -10px var(--brand); }



.sim-intro { width: 100%; max-width: 560px; padding: 24px 4px; text-align: center; }
.sim-intro__game { margin: 0 0 10px; direction: ltr; font-size: 15px; font-weight: 900; letter-spacing: .32em; color: var(--brand-2); }
.sim-intro__title {
  margin: 0 0 14px;
  font-size: clamp(32px, 8.5vw, 48px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.02em;
}
.sim-intro__sub { margin: 0 auto 14px; max-width: 470px; font-size: 16.5px; line-height: 1.65; color: var(--muted); }
.sim-intro__note {
  display: block;
  width: fit-content;
  margin: 0 auto 18px;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: var(--surface-2);
  font-size: 13px;
  font-weight: 700;
}
.sim-intro .btn { min-width: 220px; }


.sim-intro__how {
  margin: 0 auto 16px;
  max-width: 470px;
  padding: 14px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, .1);
  text-align: start;
}
.sim-intro__goal { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.sim-intro__goal p { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.55; }
.sim-ready--mini { flex: none; width: 62px; min-height: 62px; border-radius: 14px; }
.sim-ready--mini .sim-ready__num { font-size: 24px; }
.sim-steps { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sim-step-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.45;
  animation: sim-in .35s calc(.15s + var(--i, 0) * 90ms) var(--ease) backwards;
}
.sim-step-item__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--brand) 22%, transparent);
  color: var(--brand-2);
}
.sim-step-item__icon .sim-ico { width: 18px; height: 18px; }



.sim-layout {
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: 600px;
  align-items: start;
}
.sim-main { min-width: 0; }

@media (min-width: 960px) {
  .sim-layout { max-width: 1080px; grid-template-columns: 340px minmax(0, 1fr); gap: 22px; }
  .sim-side { position: sticky; top: 14px; }
}



.sim-investor {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px 12px;
  padding: 12px;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 26%, var(--surface)) 0%, var(--surface) 62%);
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: var(--shadow-1);
}

.sim-ready {
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  width: 74px;
  min-height: 74px;
  border-radius: 16px;
  background: var(--brand-2);
  color: var(--brand-ink);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .15);
}
.sim-ready__label { font-size: 11.5px; font-weight: 800; letter-spacing: .04em; opacity: .8; }
.sim-ready__num { font-size: 30px; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.sim-ready__delta {
  position: absolute;
  top: -10px;
  inset-inline-end: -10px;
  padding: 2px 8px;
  border-radius: var(--r-pill);
  background: var(--sim-good, #0f8a6c);
  color: #ffffff;
  direction: ltr;   
  font-size: 12.5px;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
}
.sim-ready__delta.is-on { animation: sim-delta 1.4s var(--ease) both; }
@keyframes sim-delta {
  0%   { opacity: 0; transform: translateY(8px) scale(.8); }
  18%  { opacity: 1; transform: translateY(0) scale(1.08); }
  70%  { opacity: 1; transform: translateY(-2px) scale(1); }
  100% { opacity: 0; transform: translateY(-10px); }
}

.sim-investor__main { min-width: 0; display: grid; align-content: center; gap: 8px; }
.sim-investor__top { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.sim-game { direction: rtl; font-size: 14px; font-weight: 800; letter-spacing: 0; color: var(--brand-2); }
.sim-chapter { font-size: 13px; font-weight: 700; }

.sim-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sim-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 100%;
  padding: 3px 9px 3px 10px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .1);
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sim-chip--empty { background: none; padding: 0; font-weight: 500; color: var(--muted); }

.sim-stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding-top: 8px;
}
.sim-stat { display: grid; justify-items: center; gap: 1px; }
.sim-stat + .sim-stat { border-inline-start: 1px solid rgba(255, 255, 255, .08); }
.sim-stat__num { direction: ltr; font-size: 17px; font-weight: 900; font-variant-numeric: tabular-nums; }
.sim-stat__label { font-size: 12px; color: var(--muted); }

.sim-progress {
  grid-column: 1 / -1;
  height: 5px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .12);
  overflow: hidden;
}
.sim-progress i {
  display: block;
  height: 100%;
  width: 0;
  margin-inline-start: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand-2), var(--brand));
  transition: width .5s var(--ease);
}
.sim-step { grid-column: 1 / -1; margin-top: -4px; font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }



.sim-journey {
  margin-top: 10px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, .07);
}
.sim-journey__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 800;
}
.sim-journey__toggle .sim-ico { transition: transform .2s var(--ease); }
.sim-journey.is-open .sim-journey__toggle .sim-ico { transform: rotate(180deg); }
.sim-journey__list { display: none; margin: 0; padding: 0 10px 10px; list-style: none; }
.sim-journey.is-open .sim-journey__list { display: grid; gap: 6px; }
.sim-journey__empty { display: none; margin: 0; padding: 0 14px 12px; font-size: 12.5px; color: var(--muted); }
.sim-journey.is-open .sim-journey__empty { display: block; }

@media (min-width: 960px) {
  .sim-journey__toggle { pointer-events: none; }
  .sim-journey__toggle .sim-ico { display: none; }
  .sim-journey__list { display: grid; gap: 6px; max-height: 52vh; overflow: auto; }
  .sim-journey__empty { display: block; }
}

.sim-jrow {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .05);
  border-inline-start: 3px solid rgba(255, 255, 255, .2);
}
.sim-jrow.is-new { animation: sim-in .35s var(--ease) backwards; }
.sim-jrow--good { border-inline-start-color: var(--sim-good, #0f8a6c); }
.sim-jrow--warn { border-inline-start-color: var(--sim-warn, #c27c0e); }
.sim-jrow--bad  { border-inline-start-color: var(--sim-bad, #c2412d); }
.sim-jrow__icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: rgba(255, 255, 255, .08); }
.sim-jrow__icon .sim-ico { width: 17px; height: 17px; }
.sim-jrow__body { display: grid; gap: 1px; min-width: 0; }
.sim-jrow__title { font-size: 12px; color: var(--muted); }
.sim-jrow__label { font-size: 13px; font-weight: 700; line-height: 1.35; }
.sim-jrow__outcome { font-size: 12px; line-height: 1.4; color: var(--muted); }
.sim-jrow__delta { direction: ltr; font-size: 12.5px; font-weight: 900; color: var(--brand-2); }


.sim-journey__list.sim-journey__list--result { display: grid; gap: 6px; padding: 0; max-height: none; overflow: visible; }
.sim-journey__list--result .sim-jrow { background: #ffffff; border: 1px solid var(--sim-line, rgba(0, 0, 0, .1)); border-inline-start-width: 3px; }
.sim-journey__list--result .sim-jrow__icon { background: color-mix(in srgb, var(--brand) 12%, #ffffff); color: var(--sim-teal, #0c7a77); }
.sim-journey__list--result .sim-jrow__title,
.sim-journey__list--result .sim-jrow__outcome { color: var(--sim-soft, #5b6b80); }
.sim-journey__list--result .sim-jrow__delta { color: var(--sim-teal, #0c7a77); }



.sim-card {
  padding: 20px 18px 18px;
  border-radius: var(--r-lg);
  background: var(--sim-paper, #fbf8f2);
  color: var(--sim-ink, #14161c);
  box-shadow: var(--shadow-2);
  animation: sim-in .35s var(--ease) both;
}
.sim-card__head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.sim-card__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--brand) 14%, #ffffff);
  color: var(--sim-teal, #0c7a77);
}
.sim-card__icon:empty { display: none; }
.sim-card__kicker { margin: 0; font-size: 12.5px; font-weight: 800; color: var(--sim-teal, #0c7a77); }
.sim-card__title {
  margin: 0 0 8px;
  font-size: clamp(22px, 5.8vw, 28px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -.01em;
  outline: none;
}
.sim-card__text { margin: 0 0 16px; font-size: 16px; line-height: 1.6; color: var(--sim-soft, #5b6b80); }

.sim-callback {
  margin: 4px 0 14px;
  padding: 10px 12px;
  border-radius: 12px;
  border-inline-start: 4px solid var(--brand-2);
  background: var(--sim-sand, #fff4dc);
  font-size: 14.5px;
  line-height: 1.55;
}
.sim-callback strong { display: block; margin-bottom: 2px; font-size: 12.5px; color: var(--sim-warn, #c27c0e); }



.sim-choices { display: grid; gap: 10px; }
.sim-choices--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.sim-choice,
.sim-option,
.sim-pick {
  width: 100%;
  border: 1.5px solid var(--sim-line, rgba(0, 0, 0, .12));
  border-radius: 16px;
  background: #ffffff;
  color: inherit;
  text-align: start;
  box-shadow: 0 2px 0 var(--sim-line, rgba(0, 0, 0, .12));
  transition: border-color .15s var(--ease), transform .15s var(--ease), box-shadow .15s var(--ease), opacity .25s var(--ease);
  
  animation: sim-in .35s calc(var(--i, 0) * 60ms) var(--ease) backwards;
}
.sim-choice:hover:not(:disabled),
.sim-option:hover:not(:disabled),
.sim-pick:hover:not(:disabled) { border-color: var(--brand); box-shadow: 0 6px 18px -8px var(--brand); transform: translateY(-1px); }
.sim-choice:active:not(:disabled),
.sim-option:active:not(:disabled),
.sim-pick:active:not(:disabled) { transform: translateY(1px); box-shadow: none; }
.sim-choice:focus-visible,
.sim-option:focus-visible,
.sim-pick:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }

.sim-choices.is-decided > :not(.is-chosen) { display: none; }
.sim-choices.is-decided { grid-template-columns: 1fr; }
.sim-choices.is-decided > * { cursor: default; }
.is-chosen {
  border-color: var(--brand) !important;
  background: color-mix(in srgb, var(--brand) 10%, #ffffff) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent) !important;
}

.sim-choices.is-decided > .is-chosen { animation: sim-chosen .4s cubic-bezier(.2, 1.5, .4, 1); }
@keyframes sim-chosen { 40% { transform: scale(1.03); } }

.sim-choice {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 12px 14px;
  font-size: 15.5px;
  font-weight: 800;
  line-height: 1.3;
}
.sim-choice .sim-ico { color: var(--sim-teal, #0c7a77); }
.sim-choices--grid .sim-choice { flex-direction: column; justify-content: center; text-align: center; min-height: 88px; }
.sim-choices--grid .sim-choice .sim-ico { width: 26px; height: 26px; }


.sim-choices--cards { grid-template-columns: 1fr; }
.sim-option { display: flex; flex-direction: column; gap: 6px; padding: 16px; }
.sim-option__badge {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 4px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--brand) 16%, #ffffff);
  color: var(--sim-teal, #0c7a77);
  box-shadow: 0 0 0 4px #ffffff, 0 0 0 5px color-mix(in srgb, var(--brand-2) 70%, transparent);
}
.sim-option__badge .sim-ico { width: 24px; height: 24px; }
.sim-option__title { font-size: 17.5px; font-weight: 900; line-height: 1.3; }
.sim-option__line { font-size: 14px; line-height: 1.5; }
.sim-option__line b { font-weight: 800; }
.sim-option__line--gain b { color: var(--sim-good, #0f8a6c); }
.sim-option__line--cost b { color: var(--sim-warn, #c27c0e); }
.sim-option__note { margin-top: 4px; font-size: 12.5px; color: var(--sim-soft, #5b6b80); }
@media (min-width: 560px) {
  .sim-choices--cards { grid-template-columns: 1fr 1fr; }
}


.sim-pick { display: grid; gap: 8px; padding: 14px; }
.sim-pick__head { display: flex; align-items: center; gap: 10px; }
.sim-pick__head .sim-ico { color: var(--sim-teal, #0c7a77); }
.sim-pick__label { font-size: 16px; font-weight: 800; line-height: 1.35; }
.sim-tag {
  justify-self: start;
  padding: 2px 10px;
  border-radius: var(--r-pill);
  background: var(--sim-sand, #fff4dc);
  color: #7a5408;
  font-size: 12px;
  font-weight: 800;
}

.sim-oddbar {
  display: flex;
  height: 24px;
  border-radius: var(--r-pill);
  overflow: hidden;
  background: var(--sim-line, rgba(0, 0, 0, .12));
}

.sim-oddbar i { display: block; height: 100%; }
.sim-oddbar i + i { border-inline-start: 2px solid #ffffff; }
.sim-oddchips { display: flex; flex-wrap: wrap; gap: 6px; }
.sim-oddchip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: var(--r-pill);
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.3;
}
.sim-oddchip b { direction: ltr; font-weight: 900; }
.tone-good { background: var(--sim-good, #0f8a6c); }
.tone-warn { background: var(--sim-warn, #c27c0e); }
.tone-bad  { background: var(--sim-bad, #c2412d); }
.sim-oddchip.tone-good { background: color-mix(in srgb, var(--sim-good, #0f8a6c) 13%, #ffffff); color: #0b5c49; }
.sim-oddchip.tone-warn { background: color-mix(in srgb, var(--sim-warn, #c27c0e) 15%, #ffffff); color: #7a4e05; }
.sim-oddchip.tone-bad  { background: color-mix(in srgb, var(--sim-bad, #c2412d) 12%, #ffffff); color: #8f2a1b; }

.sim-odds-note { margin: 10px 0 0; font-size: 12.5px; text-align: center; color: var(--sim-soft, #5b6b80); }



.sim-draw {
  margin-top: 14px;
  padding: 12px 0 10px;
  border-radius: 16px;
  background:
    repeating-conic-gradient(from 0deg at 50% 120%, rgba(255, 255, 255, .05) 0 8deg, transparent 8deg 16deg),
    var(--sim-ink, #14161c);
  color: #ffffff;
  text-align: center;
  cursor: pointer;
  animation: sim-in .25s var(--ease) both;
}
.sim-draw__title { margin: 0 0 10px; font-size: 14px; font-weight: 900; letter-spacing: .02em; color: var(--brand-2); }
.sim-draw__window {
  position: relative;
  direction: ltr;
  overflow: hidden;
  padding: 8px 0;
  border-block: 1px solid color-mix(in srgb, var(--brand-2) 55%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}
.sim-draw__strip { display: flex; gap: 8px; width: max-content; padding: 0 8px; will-change: transform; }
.sim-tile {
  display: grid;
  place-items: center;
  width: 100px;
  height: 54px;
  padding: 4px 6px;
  border-radius: 10px;
  direction: rtl;
  text-align: center;
  font-size: 12.5px;
  font-weight: 900;
  line-height: 1.2;
  color: #ffffff;
}
.sim-tile--good { background: var(--sim-good, #0f8a6c); }
.sim-tile--warn { background: var(--sim-warn, #c27c0e); }
.sim-tile--bad  { background: var(--sim-bad, #c2412d); }
.sim-tile.is-hit { box-shadow: 0 0 0 3px var(--brand-2), 0 0 22px var(--brand-2); transform: scale(1.06); transition: transform .2s var(--ease); }
.sim-draw__marker {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  margin-left: -1px;
  background: var(--brand-2);
  box-shadow: 0 0 10px var(--brand-2);
}
.sim-draw__skip { margin: 8px 0 0; font-size: 12.5px; color: rgba(255, 255, 255, .8); }



.sim-outcome {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  border-inline-start: 5px solid var(--brand);
  background: color-mix(in srgb, var(--brand) 10%, #ffffff);
  animation: sim-flip .45s var(--ease) both;
  transform-origin: top center;
}
.sim-outcome__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--brand);
  color: #ffffff;
}
.sim-outcome__icon .sim-ico { width: 17px; height: 17px; stroke-width: 2.4; }
.sim-outcome__label { display: block; font-size: 12.5px; font-weight: 900; }
.sim-outcome__text { margin: 2px 0 0; font-size: 15.5px; font-weight: 600; line-height: 1.55; }
.sim-outcome--good { border-inline-start-color: var(--sim-good, #0f8a6c); background: color-mix(in srgb, var(--sim-good, #0f8a6c) 10%, #ffffff); }
.sim-outcome--good .sim-outcome__icon { background: var(--sim-good, #0f8a6c); }
.sim-outcome--good .sim-outcome__label { color: var(--sim-good, #0f8a6c); }
.sim-outcome--warn { border-inline-start-color: var(--sim-warn, #c27c0e); background: color-mix(in srgb, var(--sim-warn, #c27c0e) 11%, #ffffff); }
.sim-outcome--warn .sim-outcome__icon { background: var(--sim-warn, #c27c0e); }
.sim-outcome--warn .sim-outcome__label { color: #8a5806; }
.sim-outcome--bad { border-inline-start-color: var(--sim-bad, #c2412d); background: color-mix(in srgb, var(--sim-bad, #c2412d) 9%, #ffffff); }
.sim-outcome--bad .sim-outcome__icon { background: var(--sim-bad, #c2412d); }
.sim-outcome--bad .sim-outcome__label { color: var(--sim-bad, #c2412d); }

@keyframes sim-flip {
  from { opacity: 0; transform: perspective(700px) rotateX(-70deg); }
  to   { opacity: 1; transform: none; }
}

.sim-benefit {
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--brand-2) 70%, transparent);
  background: var(--sim-sand, #fff4dc);
  animation: sim-in .3s .15s var(--ease) both;
}
.sim-benefit__label { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 900; color: #8a5806; }
.sim-benefit p { margin: 4px 0 0; font-size: 14.5px; line-height: 1.55; }

.sim-next { margin-top: 14px; }

@keyframes sim-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}



.sim-toasts {
  position: fixed;
  top: 12px;
  left: 50%;
  z-index: 80;
  display: grid;
  gap: 8px;
  width: min(92vw, 360px);
  transform: translateX(-50%);
  pointer-events: none;
}
.sim-toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px 10px 12px;
  border-radius: var(--r-pill);
  background: var(--sim-ink, #14161c);
  color: #ffffff;
  border: 1px solid color-mix(in srgb, var(--brand-2) 60%, transparent);
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .55), 0 0 0 4px color-mix(in srgb, var(--brand-2) 18%, transparent);
  animation: sim-toast-in .45s cubic-bezier(.2, 1.4, .4, 1) both;
}
.sim-toast.is-leaving { animation: sim-toast-out .4s var(--ease) both; }
.sim-toast__badge {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--brand-2);
  color: var(--brand-ink);
}
.sim-toast__body { display: grid; }
.sim-toast__kicker { font-size: 12px; font-weight: 800; color: var(--brand-2); }
.sim-toast__title { font-size: 15px; font-weight: 900; }
@keyframes sim-toast-in {
  from { opacity: 0; transform: translateY(-26px) scale(.9); }
  to   { opacity: 1; transform: none; }
}
@keyframes sim-toast-out { to { opacity: 0; transform: translateY(-16px); } }



.sim-jump {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--brand) 30%, transparent), transparent 60%),
    radial-gradient(circle at 50% 120%, color-mix(in srgb, var(--brand-2) 22%, transparent), transparent 55%),
    var(--page-bg);
}
.sim-jump__box { max-width: 440px; text-align: center; }
.sim-jump__chip {
  display: inline-block;
  margin-bottom: 14px;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, .1);
  font-size: 12.5px;
  font-weight: 800;
}
.sim-sign { display: block; width: 220px; height: 64px; margin: 0 auto 6px; }
.sim-sign path {
  fill: none;
  stroke: var(--text);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 640;
  stroke-dashoffset: 640;
}
.sim-jump.is-playing .sim-sign path { animation: sim-sign 1s .4s ease-out forwards; }
.sim-jump__key {
  display: inline-grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 6px 0 14px;
  border-radius: 50%;
  background: var(--brand-2);
  color: var(--brand-ink);
  opacity: 0;
  box-shadow: 0 0 0 8px color-mix(in srgb, var(--brand-2) 22%, transparent), 0 14px 40px -10px var(--brand-2);
}
.sim-jump__key .sim-ico { width: 38px; height: 38px; stroke-width: 2.2; }
.sim-jump.is-playing .sim-jump__key { animation: sim-key .8s 1.2s cubic-bezier(.2, 1.4, .4, 1) forwards; }
.sim-jump.is-playing .sim-jump__scene { animation: sim-key .7s cubic-bezier(.2, 1.3, .4, 1) backwards; }
.sim-jump.is-playing .sim-jump__box > :not(.sim-sign):not(.sim-jump__scene):not(.sim-jump__chip) { animation: sim-in .4s 1.3s var(--ease) both; }
.sim-jump__title { margin: 0 0 10px; font-size: clamp(24px, 6.5vw, 32px); font-weight: 900; line-height: 1.2; }
.sim-jump__sub { margin: 0 0 24px; font-size: 16px; line-height: 1.6; color: var(--muted); }

@keyframes sim-sign { to { stroke-dashoffset: 0; } }
@keyframes sim-key {
  from { opacity: 0; transform: scale(.4) rotate(-40deg); }
  to   { opacity: 1; transform: none; }
}



.sim-result__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.sim-result__top .sim-kicker { margin: 0; }
.sim-sponsor {
  padding: 4px 12px;
  border-radius: var(--r-pill);
  border: 1px solid var(--sim-line, rgba(0, 0, 0, .12));
  background: #ffffff;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--sim-soft, #5b6b80);
  white-space: nowrap;
}

.sim-result__hero { display: flex; align-items: center; gap: 16px; margin-bottom: 10px; }
.sim-ring {
  --p: 0;
  flex: none;
  display: grid;
  place-items: center;
  align-content: center;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, var(--sim-paper, #fbf8f2) 76%, transparent 77%),
    conic-gradient(var(--brand) calc(var(--p) * 1%), color-mix(in srgb, var(--brand) 14%, #ffffff) 0);
}
.sim-ring__num { font-size: 36px; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.sim-ring__label { font-size: 12px; font-weight: 800; color: var(--sim-soft, #5b6b80); }
.sim-result__lead { margin: 0; font-size: 13.5px; font-weight: 700; color: var(--sim-soft, #5b6b80); }
.sim-result__title { margin: 2px 0 4px; font-size: clamp(22px, 6vw, 29px); font-weight: 900; line-height: 1.2; }
.sim-result__prev {
  display: inline-block;
  margin: 2px 0 0;
  padding: 2px 10px;
  border-radius: var(--r-pill);
  background: var(--sim-sand, #fff4dc);
  font-size: 12.5px;
  font-weight: 800;
}
.sim-result__summary { margin: 0 0 14px; font-size: 15px; line-height: 1.6; }

.sim-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 6px; }
.sim-tile-stat {
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 10px 4px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--sim-line, rgba(0, 0, 0, .12));
}
.sim-tile-stat b { direction: ltr; font-size: 19px; font-weight: 900; }
.sim-tile-stat span { font-size: 12.5px; color: var(--sim-soft, #5b6b80); }

.sim-h3 { margin: 18px 0 8px; font-size: 14px; font-weight: 900; color: var(--sim-teal, #0c7a77); }
.sim-h3row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.sim-h3row__meta { font-size: 12.5px; font-weight: 800; color: var(--sim-soft, #5b6b80); }

.sim-badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sim-badge {
  display: grid;
  justify-items: center;
  gap: 3px;
  padding: 12px 6px 10px;
  border-radius: 14px;
  text-align: center;
  background: #ffffff;
  border: 1px solid var(--sim-line, rgba(0, 0, 0, .12));
  animation: sim-in .35s calc(var(--i, 0) * 50ms) var(--ease) both;
}
.sim-badge__medal {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(160deg, var(--brand-2), color-mix(in srgb, var(--brand-2) 60%, #8a5806));
  color: var(--brand-ink);
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .14);
}
.sim-badge__title { font-size: 12.5px; font-weight: 900; line-height: 1.25; }
.sim-badge__text { font-size: 12px; line-height: 1.35; color: var(--sim-soft, #5b6b80); }
.sim-badge.is-locked { background: transparent; border-style: dashed; }
.sim-badge.is-locked .sim-badge__medal { background: color-mix(in srgb, var(--sim-ink, #14161c) 8%, transparent); color: var(--sim-soft, #5b6b80); box-shadow: none; }
.sim-badge.is-locked .sim-badge__title { color: var(--sim-soft, #5b6b80); }
.sim-badge.is-new { border-color: var(--brand-2); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-2) 35%, transparent); }
.sim-badge.is-new .sim-badge__medal { animation: sim-key .7s .3s cubic-bezier(.2, 1.4, .4, 1) both; }

.sim-checks { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sim-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--sim-ink, #14161c);
  background: #ffffff;
  border: 1px solid var(--sim-line, rgba(0, 0, 0, .12));
}
.sim-check em { font-style: normal; font-weight: 900; }
.sim-check--done em    { color: var(--sim-good, #0f8a6c); }
.sim-check--pending em { color: #8a5806; }
.sim-check--open em    { color: var(--sim-bad, #c2412d); }
.sim-score-line { margin: 10px 0 0; font-size: 14.5px; font-weight: 800; }
.sim-score-hint { margin: 2px 0 0; font-size: 13px; color: var(--sim-soft, #5b6b80); }

.sim-things { margin: 0; padding-inline-start: 22px; display: grid; gap: 6px; font-size: 15px; line-height: 1.55; }
.sim-things li::marker { color: var(--sim-teal, #0c7a77); font-weight: 900; }

.sim-call { margin: 18px 0 4px; text-align: center; }
.sim-call__sub { margin: 10px auto 0; max-width: 460px; font-size: 14px; line-height: 1.6; color: var(--muted); }

.sim-form-wrap { max-width: none; margin: 16px 0 6px; }
.sim-screen .field select {
  width: 100%;
  padding: 13px 15px;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(0, 0, 0, .3);
  color: inherit;
  font: inherit;
  font-size: 16px;
}
.sim-screen .field select option { color: #111111; }
.sim-screen .field__hint { font-size: 12px; color: var(--muted); }
.sim-form-failed {
  margin: 0;
  padding: 10px 12px;
  border-radius: var(--r-sm);
  background: rgba(255, 107, 107, .14);
  color: #ffc2b8;
  font-size: 14px;
  font-weight: 600;
}

.sim-actions { display: grid; justify-items: center; gap: 4px; margin-top: 14px; }

.sim-done__icon {
  display: inline-grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--brand);
  color: var(--brand-ink);
  box-shadow: 0 0 0 8px color-mix(in srgb, var(--brand) 22%, transparent);
}
.sim-done__icon .sim-ico { width: 34px; height: 34px; }


.sim-wrap { width: 100%; max-width: 640px; padding-bottom: 8px; }



.sim-scene {
  display: block;
  margin: -20px -18px 14px;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  overflow: hidden;
  aspect-ratio: 400 / 150;
  background: var(--sim-sky-2, #fde7c2);
  border-bottom: 3px solid var(--sim-ink, #14161c);
}
.sim-scene .sim-art,
.sim-intro__scene .sim-art,
.sim-option__scene .sim-art,
.sim-jump__scene .sim-art { display: block; width: 100%; height: 100%; }
.sim-intro__scene {
  width: 100%;
  max-width: 520px;
  margin: 0 auto 18px;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 400 / 165;
  border: 3px solid var(--sim-ink, #14161c);
  box-shadow: var(--shadow-2);
}
.sim-option__scene {
  margin: -16px -16px 4px;
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  aspect-ratio: 400 / 150;
  border-bottom: 2px solid var(--sim-ink, #14161c);
}
.sim-jump__scene {
  width: min(84vw, 380px);
  margin: 0 auto 10px;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 400 / 160;
  border: 3px solid var(--sim-ink, #14161c);
  box-shadow: 0 18px 50px -14px rgba(0, 0, 0, .6);
}
@media (min-width: 720px) {
  .sim-scene { margin: -26px -26px 16px; aspect-ratio: 400 / 130; }
}

.sim-art .a-sky-1 { stop-color: var(--sim-sky-1, #9fd8e0); }
.sim-art .a-sky-2 { stop-color: var(--sim-sky-2, #fde7c2); }
.sim-art .a-dusk-1 { stop-color: var(--sim-dusk-1, #15325a); }
.sim-art .a-dusk-2 { stop-color: var(--sim-dusk-2, #f0a070); }
.sim-art .a-sky-flat { fill: var(--sim-sky-1, #9fd8e0); }
.sim-art .a-sun { fill: var(--brand-2); }
.sim-art .a-sun--low { fill: #ffd29a; }
.sim-art .a-cloud { fill: rgba(255, 255, 255, .92); }
.sim-art .a-star { fill: #ffffff; }
.sim-art .a-far { fill: var(--sim-city, rgba(11, 35, 64, .2)); }
.sim-art .a-far--dusk { fill: rgba(5, 15, 35, .45); }
.sim-art .a-sea { fill: var(--sim-sea, var(--brand)); }
.sim-art .a-sea--dusk { fill: var(--sim-sea-2, #0e6f78); }
.sim-art .a-wave { fill: none; stroke: rgba(255, 255, 255, .6); stroke-width: 2; stroke-linecap: round; }
.sim-art .a-wave--2 { stroke: rgba(255, 255, 255, .32); }
.sim-art .a-ground { fill: var(--sim-ground, #f1d9a7); }
.sim-art .a-palm, .sim-art .a-leafy { fill: var(--sim-palm, #1d5e4f); }
.sim-art .a-palm-trunk { fill: none; stroke: var(--sim-trunk, #8a5a32); stroke-width: 4; stroke-linecap: round; }
.sim-art .a-block { fill: var(--sim-block, #ece0cb); stroke: var(--sim-ink, #14161c); stroke-width: 2; }
.sim-art .a-lit { fill: var(--sim-window, #8fd0d6); }
.sim-art .a-wall { fill: var(--sim-wall, #f3e7d3); }
.sim-art .a-floor { fill: var(--sim-floor, #d9b98a); }
.sim-art .a-floor-line,
.sim-art .a-frame { fill: none; stroke: var(--sim-ink, #14161c); stroke-width: 3; }
.sim-art .a-shadow { fill: rgba(11, 35, 64, .2); }


.sim-art .a-o { fill: none; stroke: var(--sim-ink, #14161c); stroke-width: 3.2; stroke-linejoin: round; stroke-linecap: round; }
.sim-art .a-o-thin { fill: none; stroke: var(--sim-ink, #14161c); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.sim-art .a-o--thick { stroke-width: 6; }
.sim-art .a-paper { fill: #fffdf8; }
.sim-art .a-paper-2 { fill: #efe6d6; }
.sim-art .a-roof, .sim-art .a-ink-fill { fill: var(--sim-ink, #14161c); }
.sim-art .a-win { fill: var(--sim-window, #8fd0d6); }
.sim-art .a-door, .sim-art .a-accent, .sim-art .a-pot { fill: var(--accent); }
.sim-art .a-brand { fill: var(--brand); }
.sim-art .a-brand-deep { fill: color-mix(in srgb, var(--brand) 72%, #000000); }
.sim-art .a-brand2 { fill: var(--brand-2); }
.sim-art .a-screen { fill: #e8f6f6; }
.sim-art .a-dot { fill: #ffffff; }
.sim-art .a-bad { fill: var(--sim-bad, #c2412d); }
.sim-art .a-skin { fill: var(--sim-skin, #f2c9a5); }
.sim-art .a-wood { fill: var(--sim-wood, #b07b44); }
.sim-art .a-box { fill: #d9a86a; }
.sim-art .a-glass { fill: rgba(255, 255, 255, .6); }
.sim-art .a-hole { fill: var(--sim-paper, #fbf8f2); }
.sim-art .a-hl { fill: rgba(255, 255, 255, .5); }
.sim-art .a-hl-row { fill: color-mix(in srgb, var(--brand-2) 80%, transparent); }
.sim-art .a-stripe { fill: rgba(255, 255, 255, .55); }
.sim-art .a-trail { fill: none; stroke: rgba(255, 255, 255, .9); stroke-width: 4; stroke-linecap: round; }
.sim-art .a-spark { fill: none; stroke: var(--brand-2); stroke-width: 3.5; stroke-linejoin: round; stroke-linecap: round; }
.sim-art .a-stamp { fill: none; stroke: var(--sim-bad, #c2412d); stroke-width: 3; stroke-dasharray: 4 3; }
.sim-art .a-glyph { font: 900 17px/1 "Heebo", system-ui, sans-serif; fill: var(--sim-ink, #14161c); letter-spacing: 1px; }
.sim-art .a-glyph--q { font-size: 34px; fill: var(--accent); }


.sim-art { animation: a-in .45s var(--ease) backwards; }
.sim-art .a-waves { animation: a-waves 3.2s linear infinite; }
.sim-art .a-drift { animation: a-drift 9s ease-in-out infinite alternate; }
.sim-art .a-drift--slow { animation-duration: 14s; }
.sim-art .a-glow { transform-box: fill-box; transform-origin: center; animation: a-glow 3s ease-in-out infinite alternate; }
.sim-art .a-twinkle { animation: a-twinkle 2.2s ease-in-out infinite alternate; }
.sim-art .a-bob { transform-box: fill-box; transform-origin: center bottom; animation: a-rise .6s cubic-bezier(.2, 1.3, .4, 1) backwards, a-bob 2.8s .6s ease-in-out infinite; }
.sim-art .a-pop { transform-box: fill-box; transform-origin: left bottom; animation: a-pop .5s .35s cubic-bezier(.2, 1.5, .4, 1) backwards; }
.sim-art .a-sway { transform-box: fill-box; transform-origin: center top; animation: a-sway 2.4s ease-in-out infinite alternate; }
.sim-art .a-beat { transform-box: fill-box; transform-origin: center; animation: a-beat 1.4s ease-in-out infinite; }
.sim-art .a-blink { animation: a-blink 1s steps(2) infinite; }
.sim-art .a-flicker { animation: a-flicker .9s steps(3) infinite; }
.sim-art .a-flicker--2 { animation-delay: .3s; }
.sim-art .a-drip { transform-box: fill-box; animation: a-drip 1.6s ease-in infinite; }
.sim-art .a-tick { transform-box: fill-box; transform-origin: 0% 100%; }

@keyframes a-in { from { opacity: 0; transform: scale(1.04); } }
@keyframes a-waves { to { transform: translateX(-20px); } }
@keyframes a-drift { to { transform: translateX(22px); } }
@keyframes a-glow { to { transform: scale(1.08); opacity: .9; } }
@keyframes a-twinkle { to { opacity: .3; } }
@keyframes a-rise { from { transform: translateY(26px) scale(.86); opacity: 0; } }
@keyframes a-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes a-pop { from { transform: scale(.4); opacity: 0; } }
@keyframes a-sway { from { transform: rotate(-5deg); } to { transform: rotate(5deg); } }
@keyframes a-beat { 0%, 100% { transform: scale(1); } 40% { transform: scale(1.14); } }
@keyframes a-blink { 50% { opacity: .15; } }
@keyframes a-flicker { 33% { opacity: .2; } 66% { opacity: 1; } }
@keyframes a-drip { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(16px); opacity: 0; } 100% { opacity: 0; } }





.sim-card.is-leaving { animation: sim-out .3s var(--ease) forwards; }
.sim-card.is-entering { animation: sim-enter .5s cubic-bezier(.2, 1.1, .4, 1) backwards; }
@keyframes sim-out { to { opacity: 0; transform: translateX(34px) rotate(1.2deg); } }
@keyframes sim-enter { from { opacity: 0; transform: translateX(-34px) rotate(-1.2deg); } }

.sim-ready.is-bump { animation: sim-bump .5s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes sim-bump { 40% { transform: scale(1.12) rotate(-3deg); } }

.sim-ready.is-hit { animation: sim-hit .45s ease-in-out; }
@keyframes sim-hit { 20%, 60% { transform: translateX(-4px); } 40%, 80% { transform: translateX(4px); } }
.sim-ready__delta.is-down { background: var(--sim-bad, #c2412d); }
.sim-ready.is-failing { background: var(--sim-bad, #c2412d); color: #ffffff; transition: background .4s, color .4s; }

.sim-confetti { position: fixed; inset: 0; z-index: 90; pointer-events: none; overflow: hidden; }
.sim-bit { position: absolute; width: 8px; height: 12px; border-radius: 2px; }

.sim-investor__top { justify-content: space-between; }
.sim-mute {
  position: relative;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-inline-start: auto;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: var(--text);
}
.sim-mute .sim-ico { width: 17px; height: 17px; }
.sim-mute .i-off { display: none; }
.sim-mute[aria-pressed="true"] .i-on { display: none; }
.sim-mute[aria-pressed="true"] .i-off { display: block; }

.sim-notice { margin-top: 12px; }


@media (max-width: 719px) {
  .sim-investor { padding: 10px; gap: 8px 10px; }
  .sim-ready { width: 62px; min-height: 62px; border-radius: 14px; }
  .sim-ready__num { font-size: 25px; }
  .sim-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .sim-chips::-webkit-scrollbar { display: none; }
  .sim-chip { flex: none; }
  .sim-stats { display: none; }
  .sim-journey { margin-top: 8px; }
}

@media (min-width: 720px) {
  .sim-card { padding: 26px 26px 22px; }
  .sim-ring { width: 120px; height: 120px; }
  .sim-ring__num { font-size: 42px; }
}

@media (max-width: 380px) {
  .sim-tiles { grid-template-columns: repeat(2, 1fr); }
  .sim-badges { grid-template-columns: repeat(2, 1fr); }
}




.sim-pick__head .sim-tag { flex: none; margin-inline-start: auto; }


.sim-oddchip.tone-good.is-boosted { outline: 1.5px solid currentColor; outline-offset: -1.5px; }
.sim-oddchip__was { direction: ltr; font-weight: 700; opacity: .6; }

.sim-boost {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 12px;
  padding: 7px 12px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--brand-2) 26%, #ffffff);
  color: #6b4504;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  animation: sim-in .35s .15s var(--ease) backwards;
}


.sim-outcome__body { flex: 1; min-width: 0; }
.sim-outcome__points { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 8px 0 0; }
.sim-pts__label { font-size: 12.5px; font-weight: 900; color: var(--sim-soft, #5b6b80); }
.sim-pts {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 10px;
  border-radius: var(--r-pill);
  font-size: 12.5px;
  font-weight: 800;
  background: #ffffff;
  border: 1px solid var(--sim-line, rgba(0, 0, 0, .12));
}
.sim-pts b { direction: ltr; font-weight: 900; }
.sim-pts.is-up b { color: var(--sim-good, #0f8a6c); }
.sim-pts.is-down b { color: var(--sim-bad, #c2412d); }
.sim-pts.is-zero b { color: var(--sim-soft, #5b6b80); }
.sim-outcome__lesson {
  margin: 8px 0 0;
  padding-top: 8px;
  border-top: 1px dashed color-mix(in srgb, var(--sim-ink, #14161c) 18%, transparent);
  font-size: 14px;
  line-height: 1.5;
}
.sim-outcome__lesson strong { color: var(--sim-teal, #0c7a77); font-weight: 900; }
.sim-gain {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 8px 0 0;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--sim-teal, #0c7a77);
}


.sim-jrow__delta.is-down { color: #ff9c8a; }
.sim-journey__list--result .sim-jrow__delta { color: var(--sim-good, #0f8a6c); }
.sim-journey__list--result .sim-jrow__delta.is-down { color: var(--sim-bad, #c2412d); }
.sim-jrow__lesson { margin-top: 3px; font-size: 12.5px; font-weight: 700; line-height: 1.4; color: var(--sim-teal, #0c7a77); }


.sim-grade { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 4px 0 6px; }
.sim-grade__label {
  padding: 3px 12px;
  border-radius: var(--r-pill);
  background: var(--sim-ink, #14161c);
  color: var(--brand-2);
  font-size: 13px;
  font-weight: 900;
}
.sim-grade--fail { background: var(--sim-bad, #c2412d); color: #ffffff; }
.sim-result__fail {
  margin: 0 0 12px;
  padding: 10px 14px;
  border-radius: 12px;
  border-inline-start: 4px solid var(--sim-bad, #c2412d);
  background: color-mix(in srgb, var(--sim-bad, #c2412d) 9%, #ffffff);
  color: #7d2214;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.55;
}
.is-failed .sim-ring { background:
  radial-gradient(closest-side, var(--sim-paper, #fbf8f2) 76%, transparent 77%),
  conic-gradient(var(--sim-bad, #c2412d) calc(var(--p) * 1%), color-mix(in srgb, var(--sim-bad, #c2412d) 14%, #ffffff) 0); }


.sim-guide {
  position: relative;
  margin: 0 0 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1.5px dashed color-mix(in srgb, var(--brand) 60%, transparent);
  background: color-mix(in srgb, var(--brand) 8%, #ffffff);
  animation: sim-in .35s .2s var(--ease) backwards;
}
.sim-guide__title { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 900; color: var(--sim-teal, #0c7a77); }
.sim-guide__lines { margin: 6px 0 8px; padding-inline-start: 20px; display: grid; gap: 3px; font-size: 14px; line-height: 1.5; }
.sim-guide__ok {
  padding: 5px 16px;
  border-radius: var(--r-pill);
  background: var(--sim-teal, #0c7a77);
  color: #ffffff;
  font: inherit;
  font-size: 13.5px;
  font-weight: 800;
  min-height: 36px;
}
.sim-guide__ok:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }

.sim-grade--top { background: linear-gradient(135deg, var(--brand-2), color-mix(in srgb, var(--brand-2) 70%, #8a5806)); color: var(--brand-ink); }
.sim-grade__next { font-size: 12.5px; font-weight: 700; color: var(--sim-soft, #5b6b80); }


.sim-result--more { margin-top: 18px; }
.sim-result--more > .sim-h3:first-child,
.sim-result--more > :first-child .sim-h3 { margin-top: 0; }

.sim-trend__chart { display: block; width: 100%; max-width: 360px; height: auto; overflow: visible; }
.sim-trend__base { stroke: var(--sim-line, rgba(0, 0, 0, .12)); stroke-width: 1; }
.sim-trend__line { fill: none; stroke: var(--sim-soft, #5b6b80); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sim-trend__dot { fill: var(--sim-soft, #5b6b80); stroke: var(--sim-paper, #fbf8f2); stroke-width: 2; }
.sim-trend__dot.is-now { fill: var(--sim-teal, #0c7a77); }
.sim-trend__val { direction: ltr; text-anchor: middle; font-size: 12px; font-weight: 800; fill: var(--sim-soft, #5b6b80); }
.sim-trend__val.is-now { font-weight: 900; fill: var(--sim-ink, #14161c); }

.sim-sets { display: grid; gap: 14px; }
.sim-set__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 6px; font-size: 12.5px; font-weight: 900; }
.sim-set__head span { direction: ltr; font-variant-numeric: tabular-nums; color: var(--sim-soft, #5b6b80); }
.sim-set__head.is-complete span { color: var(--sim-good, #0f8a6c); }


.sim-seen { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
@media (min-width: 520px) { .sim-seen { grid-template-columns: repeat(9, minmax(0, 1fr)); } }
.sim-seen__tile {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 10px;
  border: 1.5px dashed color-mix(in srgb, var(--sim-ink, #14161c) 22%, transparent);
  background: repeating-linear-gradient(45deg, transparent 0 6px, color-mix(in srgb, var(--sim-ink, #14161c) 5%, transparent) 6px 12px);
  color: var(--sim-soft, #5b6b80);
  font-size: 15px;
  animation: sim-in .3s calc(var(--i, 0) * 30ms) var(--ease) backwards;
}
.sim-seen__tile.is-up { border-style: solid; border-color: var(--sim-line, rgba(0, 0, 0, .12)); background: #ffffff; color: var(--sim-teal, #0c7a77); }
.sim-seen__tile.is-up .sim-ico { width: 18px; height: 18px; }
.sim-seen__tile.is-new { border-color: var(--brand-2); box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand-2) 45%, transparent); }


.sim-next-try {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  margin: 0 0 4px;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, .1);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}
.sim-next-try .sim-ico { margin-top: 3px; color: var(--brand-2); }
.sim-replay { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin-top: 4px; }


@media (prefers-reduced-motion: reduce) {
  .sim-sign path { stroke-dashoffset: 0; }
  .sim-jump__key { opacity: 1; }
}





.sim-intro .sim-kicker {
  display: inline-block;
  padding: 3px 12px;
  border-radius: var(--r-pill);
  background: rgba(10, 20, 40, .62);
}
.sim-intro__sub {
  padding: 10px 14px;
  border-radius: var(--r-md);
  background: rgba(10, 20, 40, .62);
  color: rgba(255, 255, 255, .92);
}


.sim-mute::after { content: ""; position: absolute; inset: -6px; }


.sim-form-wrap .form__legal { font-size: 12.5px; color: rgba(255, 255, 255, .74); }
.sim-form-wrap .field__err { font-size: 13px; font-weight: 700; }
.sim-form-wrap .field__err::before {
  content: "!";
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  margin-inline-end: 6px;
  border-radius: 50%;
  background: #ff8a8a;
  color: #1b1530;
  font-size: 11px;
  font-weight: 900;
  vertical-align: middle;
}

.sim-form-wrap .consent { min-height: 44px; align-items: center; padding-block: 4px; }
.sim-form-wrap .consent input { width: 24px; height: 24px; margin-top: 0; }
.sim-form-wrap .field input,
.sim-form-wrap .field select { min-height: 48px; }


.sim-guide { padding: 10px 12px; }
.sim-guide__lines { margin: 6px 0; font-size: 13.5px; }
@media (max-width: 719px) {
  .sim-guide { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
  .sim-guide__title { flex: 1 1 auto; }
  .sim-guide__lines { flex: 1 0 100%; order: 3; margin: 2px 0 0; }
  .sim-guide__ok { order: 2; }
}

.sim-pick .sim-oddchip { font-size: 12.5px; padding: 2px 8px; }


@media (max-width: 719px) {
  .sim-next {
    position: sticky;
    bottom: 10px;
    z-index: 5;
  }
}


.sim-call {
  position: sticky;
  bottom: 0;
  z-index: 6;
  margin: 14px -4px 0;
  padding: 12px 4px 10px;
  background: linear-gradient(to top, var(--page-bg) 62%, transparent);
}
.sim-call .sim-cta { box-shadow: 0 10px 30px -10px var(--brand); }
.sim-call__sub { color: rgba(255, 255, 255, .82); }


.sim-fold { padding: 0; margin-top: 12px; }
.sim-fold__sum {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 52px;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 900;
  color: var(--sim-teal, #0c7a77);
  cursor: pointer;
  list-style: none;
}
.sim-fold__sum::-webkit-details-marker { display: none; }
.sim-fold__sum .sim-ico { transition: transform .2s var(--ease); }
.sim-fold[open] > .sim-fold__sum .sim-ico { transform: rotate(180deg); }
.sim-fold[open] > .sim-fold__sum { border-bottom: 1px solid var(--sim-line, rgba(0, 0, 0, .12)); }
.sim-fold > :not(summary) { margin-inline: 18px; }
.sim-fold > :last-child { margin-bottom: 18px; }
.sim-fold > summary + * { margin-top: 12px; }
@media (min-width: 720px) {
  .sim-fold > :not(summary) { margin-inline: 26px; }
  .sim-fold > :last-child { margin-bottom: 22px; }
}


.sim-actions { margin-top: 16px; }


.sim-screen button:focus-visible,
.sim-screen summary:focus-visible,
.sim-screen a:focus-visible,
.sim-screen input:focus-visible,
.sim-screen select:focus-visible {
  outline: 3px solid var(--brand-2, #ffc93c);
  outline-offset: 3px;
}
.sim-card button:focus-visible,
.sim-card summary:focus-visible { outline-color: var(--sim-teal, #0c7a77); }
.sim-card__title:focus { outline: none; }





.sim-oddbar i { display: grid; place-items: center; min-width: 0; font-style: normal; }
.sim-oddbar i b {
  direction: ltr;
  font-size: 12.5px;
  font-weight: 900;
  line-height: 1;
  color: #ffffff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .25);
}

.sim-oddbar i.is-boosted b::before {
  content: "";
  display: inline-block;
  margin-inline-end: 4px;
  border-inline: 4px solid transparent;
  border-bottom: 6px solid currentColor;
  vertical-align: 1px;
}
.sim-pick { gap: 10px; }


.sim-pts--net b { font-size: 15px; }
.sim-pts__more {
  min-height: 32px;
  padding: 0 12px;
  border-radius: var(--r-pill);
  color: var(--sim-teal, #0c7a77);
  font-size: 12.5px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sim-pts__split { display: flex; flex-wrap: wrap; gap: 6px; flex-basis: 100%; }


.sim-outcome .sim-benefit {
  margin: 8px 0 0;
  padding: 8px 0 0;
  border: 0;
  border-top: 1px dashed color-mix(in srgb, var(--sim-ink, #14161c) 18%, transparent);
  border-radius: 0;
  background: none;
  animation: none;
}
.sim-outcome .sim-benefit p { margin: 2px 0 0; font-size: 14px; }


.sim-oddbar i.tone-good { background: #0b7a5f; }
.sim-oddbar i.tone-warn b { color: #1b1530; text-shadow: none; }


.sim-fold .sim-next-try {
  background: color-mix(in srgb, var(--brand) 8%, #ffffff);
  border-color: var(--sim-line, rgba(0, 0, 0, .12));
  color: var(--sim-ink, #14161c);
  margin: 12px 0 0;
}
.sim-fold .sim-next-try .sim-ico { color: var(--sim-teal, #0c7a77); }
.sim-fold .sim-tiles { margin-top: 0; }




.sim-intro {
  max-width: 520px;
  padding: 32px 8px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.sim-intro__game {
  margin: 0 0 20px;
  padding: 6px 16px;
  border-radius: var(--r-pill);
  background: rgba(10, 20, 40, .55);
  backdrop-filter: blur(6px);
  font-size: 14px;
  letter-spacing: .3em;
  animation: sim-in .4s var(--ease) backwards;
}
.sim-intro__title {
  margin: 0 0 16px;
  font-size: clamp(36px, 9vw, 56px);
  line-height: 1.1;
  text-wrap: balance;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .55);
  animation: sim-in .45s .06s var(--ease) backwards;
}
.sim-intro__sub {
  margin: 0 auto 24px;
  max-width: 400px;
  padding: 0;
  background: none;
  font-size: 18px;
  line-height: 1.6;
  color: #fff;
  text-wrap: balance;
  text-shadow: 0 1px 14px rgba(0, 0, 0, .65);
  animation: sim-in .45s .12s var(--ease) backwards;
}
.sim-facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
}
.sim-fact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px 8px 12px;
  border-radius: var(--r-pill);
  background: rgba(10, 20, 40, .62);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .14);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  animation: sim-in .4s calc(.2s + var(--i, 0) * 80ms) var(--ease) backwards;
}
.sim-fact__icon { display: grid; place-items: center; color: var(--brand-2); }
.sim-fact__icon .sim-ico { width: 18px; height: 18px; }
.sim-intro .sim-cta {
  width: 100%;
  max-width: 340px;
  min-height: 58px;
  font-size: 19px;
  animation: sim-in .45s .35s var(--ease) backwards;
}
.sim-intro .sim-fine { margin-top: 18px; font-size: 13px; color: rgba(255, 255, 255, .85); }

@media (max-width: 480px) {
  .sim-intro { padding-top: 24px; }
  .sim-intro .sim-cta { max-width: none; }
  .sim-fact { font-size: 14px; padding: 7px 12px 7px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .sim-intro__game, .sim-intro__title, .sim-intro__sub, .sim-fact, .sim-intro .sim-cta { animation: none; }
}


.sim-intro { position: relative; isolation: isolate; }
html.is-sim .stage { overflow-x: clip; }
.sim-intro::before {
  content: "";
  position: absolute;
  inset: -40px -60px;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(8, 16, 34, .62) 0%, rgba(8, 16, 34, .35) 55%, transparent 75%);
  pointer-events: none;
}


.sim-intro__game { direction: rtl; letter-spacing: 0; font-size: 16px; font-weight: 800; }
