/* Trading Interview Practice: shared trainer screen, Trainers tab and Trading Game. Loaded after anim.css. */

/* ---------- shared setup screen ---------- */
.tip-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.tip-side { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.tip-panel { display: flex; flex-direction: column; gap: 10px; }
.tip-h { font-size: 18px; font-weight: 600; letter-spacing: -.01em; margin: 0 0 4px; }
.tip-h-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.tip-cap, .tip-lbl { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tip-lbl { margin-top: 6px; }
.tip-panel .lead { font-size: 13.5px; }
.tip-seg { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); }
.tip-seg button { flex: 1; border: 0; background: transparent; color: var(--text-2); font: 600 13.5px/1 Inter, system-ui, sans-serif; padding: 10px 8px; border-radius: 999px; cursor: pointer; transition: background .2s var(--tm-out), color .2s, transform .12s var(--tm-out); }
.tip-seg button:hover { color: var(--text); }
.tip-seg button.on { background: var(--accent); color: var(--on-accent); animation: tip-pill .32s var(--tm-spring); }
.tip-seg button:active { transform: scale(.96); }
@keyframes tip-pill { 0% { transform: scale(.92); } 100% { transform: none; } }
.tip-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 6px; }
.tip-tile { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid transparent; min-width: 0; transition: border-color .2s, background .2s; }
.tip-tile > span:first-child { font-size: 12.5px; color: var(--muted); font-weight: 500; }
.tip-tile > b { font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }
.tip-tile.edit { background: var(--surface); border-color: var(--line); cursor: text; }
.tip-tile.edit:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.tip-wide .tip-tile { padding: 4px 6px 4px 14px; }
.tip-wide .tip-tile > span:first-child:empty { display: none; }
.tip-num { display: flex; align-items: baseline; gap: 4px; }
.tip-num input { flex: none; min-width: 0; border: 0; outline: none; background: transparent; color: var(--text); font: 600 18px/1.2 Inter, system-ui, sans-serif; font-variant-numeric: tabular-nums; padding: 0; }
.tip-num em { font-style: normal; color: var(--muted); font-size: 13px; }
.tip-sel { width: 100%; border: 0; outline: none; background: transparent; color: var(--text); font: 600 16px/1.2 Inter, system-ui, sans-serif; padding: 10px 0; cursor: pointer; }
.tip-tile:not(.tip-wide *) .tip-sel { font-size: 16px; padding: 0; }
.tip-toggle { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; color: var(--text); font: 600 16px/1 Inter, system-ui, sans-serif; padding: 0; cursor: pointer; }
.tip-toggle i { position: relative; width: 34px; height: 20px; border-radius: 999px; background: var(--line); transition: background .2s; flex: none; }
.tip-toggle i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px #0003; transition: transform .25s var(--tm-spring); }
.tip-toggle.on i { background: var(--accent); }
.tip-toggle.on i::after { transform: translateX(14px); }
.tip-go { width: 100%; margin-top: 14px; padding: 14px 24px; font-size: 16px; border-radius: 999px; }
.tip-go:active { transform: scale(.98); }
.tip-enter { text-align: center; margin-top: -2px; }
.tip-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tip-stat { background: var(--surface-2); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tip-stat span { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tip-stat b { font-size: 24px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tip-chart { background: var(--surface-2); border-radius: 12px; padding: 12px; min-height: 120px; display: grid; }
.tip-empty { display: grid; place-items: center; color: var(--muted); text-align: center; min-height: 96px; font-size: 14px; }
.tip-empty.small { min-height: 60px; font-size: 13px; }
.tip-bars { width: 100%; height: 96px; display: block; }
.tip-bars .tip-zero { stroke: var(--line); stroke-dasharray: 3 3; }
.tip-bars rect.up { fill: var(--ok); }
.tip-bars rect.dn { fill: var(--err); }
.tip-bars rect { transform-box: view-box; animation: tip-grow .6s var(--tm-out) both; }
@keyframes tip-grow { from { transform: scaleY(0); } to { transform: none; } }
.tip-kv { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--text-2); }
.tip-board { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.tip-board li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 11px 2px; border-bottom: 1px solid var(--line); animation: tm-rise .4s var(--tm-out) both; }
.tip-board li:last-child { border-bottom: 0; }
.tip-board li:nth-child(2) { animation-delay: .04s; } .tip-board li:nth-child(3) { animation-delay: .08s; } .tip-board li:nth-child(n+4) { animation-delay: .12s; }
.tip-rank { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 12.5px; font-weight: 700; color: var(--text-2); background: var(--surface-2); font-variant-numeric: tabular-nums; }
.tip-board .r1 .tip-rank { background: #f6e3a1; color: #8a6510; }
.tip-board .r2 .tip-rank { background: #e3e5e9; color: #555b66; }
.tip-board .r3 .tip-rank { background: #f1d2b8; color: #8a4b1d; }
:root[data-theme=dark] .tip-board .r1 .tip-rank { background: #4a3d16; color: #f3cf6b; }
:root[data-theme=dark] .tip-board .r2 .tip-rank { background: #3a3c41; color: #d5d8de; }
:root[data-theme=dark] .tip-board .r3 .tip-rank { background: #46301f; color: #eaa877; }
.tip-who { display: flex; flex-direction: column; min-width: 0; }
.tip-who b { font-size: 14.5px; font-weight: 600; }
.tip-who em { font-style: normal; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tip-amt { font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.tip-clear { align-self: flex-start; }

/* ---------- Trading Game ---------- */
.tip-tg-top { gap: 8px; }
.tip-ev { display: inline-flex; align-items: center; gap: 4px; background: var(--warn-soft); color: var(--warn); }
.tip-metric { min-width: 120px; }
.tip-hand { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; padding: 8px 0 2px; }
.tip-slot { display: flex; flex-direction: column; align-items: center; gap: 6px; transition: opacity .4s, filter .4s; }
.tip-slot-l { font-size: 11.5px; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.tip-slot.fixed .pc3 { border-radius: 10px; box-shadow: 0 0 0 3px var(--warn); animation: tip-glow 2s ease-in-out infinite; }
.tip-slot.fixed .tip-slot-l { color: var(--warn); }
.tip-slot.off { opacity: .45; filter: grayscale(1); }
@keyframes tip-glow { 0%, 100% { box-shadow: 0 0 0 3px var(--warn); } 50% { box-shadow: 0 0 0 5px color-mix(in srgb, var(--warn) 40%, transparent); } }
.tip-rule { text-align: center; }
.tip-ev-text { color: var(--warn); font-weight: 600; }
.tip-order { gap: 6px; }
.tip-order .chip { transition: background .25s, color .25s, transform .25s var(--tm-spring); }
.tip-order .chip.tip-turn { background: var(--accent); color: var(--on-accent); transform: scale(1.08); }
.tip-floor-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.tip-floor-h h3 { margin: 0; }
.tip-shouts { display: flex; flex-direction: column; gap: 8px; }
.tip-shout { display: grid; grid-template-columns: 70px minmax(0, 1fr) 70px minmax(0, 1.4fr); align-items: center; gap: 10px; width: 100%; text-align: left; padding: 11px 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid transparent; color: var(--text); font: inherit; animation: tip-shout .45s var(--tm-spring) both; transition: background .25s, border-color .25s, opacity .3s; }
@keyframes tip-shout { 0% { opacity: 0; transform: translateX(-14px) scale(.96); } 100% { opacity: 1; transform: none; } }
.tip-sh-name { font-weight: 600; }
.tip-sh-q { font-size: 15px; font-variant-numeric: tabular-nums; }
.tip-sh-q b { font-size: 19px; }
.tip-sh-w { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.tip-sh-tag { font-size: 12px; font-weight: 600; text-align: right; color: var(--muted); }
.tip-shout.mkt { background: var(--accent-soft); border-color: var(--accent); animation: tip-shout .45s var(--tm-spring) both, tip-lock .6s var(--tm-out) .1s; }
.tip-shout.mkt .tip-sh-tag { color: var(--accent); }
@keyframes tip-lock { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 45%, transparent); } 100% { box-shadow: 0 0 0 10px transparent; } }
.tip-shout.bad .tip-sh-q { text-decoration: line-through; text-decoration-color: var(--err); color: var(--muted); }
.tip-shout.bad .tip-sh-tag { color: var(--err); }
.tip-shout.late { opacity: .5; }
.tip-shout.tap { cursor: pointer; border-color: var(--line); background: var(--surface); }
.tip-shout.tap:hover { border-color: var(--accent); box-shadow:0 0 0 1px color-mix(in srgb,var(--accent) 45%,transparent); }
.tip-shout.tap:active { transform: scale(.99); }
.tip-shout.picked:not(.mkt) { border-color: var(--err); animation: tm-shake .45s ease-in-out; }
.tip-shout.wait { display: flex; justify-content: center; padding: 10px; background: transparent; border: 1px dashed var(--line); animation: none; }
.tip-dots { display: inline-flex; gap: 5px; }
.tip-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); animation: tip-dot 1s ease-in-out infinite; }
.tip-dots i:nth-child(2) { animation-delay: .15s; } .tip-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes tip-dot { 0%, 100% { transform: translateY(0); opacity: .4; } 50% { transform: translateY(-4px); opacity: 1; } }
.tip-mkt-line { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.tip-mkt-line > span { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tip-mkt-line > b { font-size: 30px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; animation: tm-pop .4s var(--tm-spring) both; }
.tip-mkt-line > em { font-style: normal; color: var(--text-2); font-size: 13.5px; }
.tip-trade-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.tip-units { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); font-weight: 500; }
.tip-step { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--surface); }
.tip-step button { width: 38px; height: 42px; border: 0; background: var(--surface-2); color: var(--text); font-size: 18px; cursor: pointer; }
.tip-step button:active { background: var(--line); }
.tip-step input { width: 64px; height: 42px; border: 0; outline: none; text-align: center; background: transparent; color: var(--text); font: 700 17px/1 Inter, system-ui, sans-serif; font-variant-numeric: tabular-nums; -moz-appearance: textfield; }
.tip-step input::-webkit-outer-spin-button, .tip-step input::-webkit-inner-spin-button, .tip-num input::-webkit-outer-spin-button, .tip-num input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.btn.tip-buy, .btn.tip-sell { height: 44px; padding: 0 18px; font-weight: 600; border: 0; }
.btn.tip-buy { background: var(--ok); color: #fff; }
.btn.tip-sell { background: var(--err); color: #fff; }
:root[data-theme=dark] .btn.tip-buy { color: #0c1a12; }
:root[data-theme=dark] .btn.tip-sell { color: #1a0d0d; }
.tip-trade-row .ghost { height: 44px; }
.tip-rep { display: flex; flex-direction: column; gap: 8px; font-weight: 600; font-size: 14px; }
.tip-rep .inp { width: 160px; font-size: 18px; font-weight: 700; padding: 10px 12px; }
.tip-outcome.good { border-color: var(--ok); }
.tip-outcome.miss { border-color: var(--err); }
.tip-trade, .tip-report, .tip-outcome { animation: tm-rise .4s var(--tm-out) both; }
.tip-rtbl td.txt { white-space: nowrap; }

/* ---------- Trainers tab ---------- */
.tip-trainers { gap: 34px; }
.tsec { display: flex; flex-direction: column; gap: 14px; }
.tsec-h { border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.tsec-h h2 { font-size: 22px; font-weight: 600; letter-spacing: -.015em; margin: 0 0 4px; }
.tsec-h p { margin: 0; color: var(--text-2); font-size: 13.5px; }
.tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 14px; }
.tcard { padding: 0 !important; overflow: hidden; display: flex; flex-direction: column; cursor: pointer; animation: tm-rise .45s var(--tm-out) both; transition: transform .25s var(--tm-out), border-color .2s, box-shadow .25s; }
.tgrid > .tcard:nth-child(2) { animation-delay: .05s; } .tgrid > .tcard:nth-child(3) { animation-delay: .1s; } .tgrid > .tcard:nth-child(4) { animation-delay: .15s; } .tgrid > .tcard:nth-child(5) { animation-delay: .2s; } .tgrid > .tcard:nth-child(6) { animation-delay: .25s; } .tgrid > .tcard:nth-child(7) { animation-delay: .3s; } .tgrid > .tcard:nth-child(n+8) { animation-delay: .35s; }
.tcard:hover { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); box-shadow:0 0 0 1px color-mix(in srgb,var(--accent) 45%,transparent),0 0 8px color-mix(in srgb,var(--accent) 12%,transparent); }
.tcard:active { transform: translateY(-1px) scale(.995); }
.tcard.soon { cursor: default; }
.tcard.soon:hover { transform: none; border-color: var(--line); box-shadow: var(--shadow); }
.tbody { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tbody h3 { margin: 0; font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; }
.tbody p { margin: 0; color: var(--text-2); font-size: 13px; line-height: 1.5; }
.tfoot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; padding-top: 8px; }
.tmeta { font-size: 12.5px; color: var(--muted); }
.start.sm { padding: 8px 20px; font-size: 13.5px; border-radius: 999px; }

@keyframes tip-draw { to { stroke-dashoffset: 0; } }

@media (max-width: 820px) {
  .tip-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .tgrid { grid-template-columns: repeat(auto-fill, minmax(min(232px, 100%), 1fr)); }
  .tip-shout { grid-template-columns: 56px minmax(0, 1fr) auto; }
  .tip-sh-tag { grid-column: 1 / -1; text-align: left; }
  .tip-stat b { font-size: 20px; }
  .tip-mkt-line > b { font-size: 26px; }
  .tsec-h h2 { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .tip-trainers *, .tip-setup *, .tip-tg *, .tcard, .tart-svg { animation: none !important; transition: none !important; }
}
/* the HUD already shows the balance */
.tip-play .tip-metric { display: none; }
/* long app name: tabs go on their own row earlier */
@media (max-width: 1000px) {
  .top .tabs { order: 3; width: 100%; }
}

/* ---------- drills ---------- */
.tip-drill-top { gap: 8px; }
.tip-drill-top .metric { min-width: 88px; }
.tip-hot { color: var(--warn); animation: tm-pulse .5s var(--tm-spring); display: inline-block; }
.tip-q { gap: 16px; padding: 22px 24px; animation: tip-qin .38s var(--tm-out) both; }
@keyframes tip-qin { from { opacity: 0; transform: translateY(12px) scale(.99); } to { opacity: 1; transform: none; } }
.tip-q.flash-ok { animation: tip-qin .38s var(--tm-out) both, tm-good .5s var(--tm-out); border-color: var(--ok); }
.tip-q.flash-bad { animation: tm-shake .42s ease-in-out; border-color: var(--err); }
.tip-q-lbl { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.tip-ans { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: center; }
.tip-ans-in { width: 200px; max-width: 100%; font-size: 22px; font-weight: 700; padding: 10px 14px; }
.tip-ans .start, .tip-ans .ghost { height: 48px; }
.tip-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.tip-choice { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: 600 14.5px/1.2 Inter, system-ui, sans-serif; cursor: pointer; text-align: left; transition: border-color .15s, transform .12s var(--tm-out), background .15s; animation: tm-rise .35s var(--tm-out) both; }
.tip-choice:nth-child(2) { animation-delay: .05s; } .tip-choice:nth-child(3) { animation-delay: .1s; }
.tip-choice:hover { border-color: var(--accent); background: var(--accent-soft); }
.tip-choice:active { transform: scale(.98); }
.tip-fb { gap: 10px; animation: tm-rise .3s var(--tm-out) both; }
.tip-explain { margin-top: 6px; color: var(--text-2); line-height: 1.55; }
.tip-review { display: flex; flex-direction: column; gap: 6px; }
.tip-rev { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.tip-rev summary { display: grid; grid-template-columns: 20px minmax(0, 1fr) auto 48px; gap: 10px; align-items: center; padding: 9px 12px; cursor: pointer; list-style: none; font-size: 13px; }
.tip-rev summary::-webkit-details-marker { display: none; }
.tip-rev-mark { font-weight: 700; }
.tip-rev.ok .tip-rev-mark { color: var(--ok); } .tip-rev.bad .tip-rev-mark { color: var(--err); }
.tip-rev-q { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text-2); }
.tip-rev[open] .tip-rev-q { white-space: normal; }
.tip-rev-a { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tip-rev-t { color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.tip-rev-x { padding: 0 12px 10px 42px; font-size: 13px; color: var(--text-2); line-height: 1.55; }

/* sequence */
.tip-seq-row { display: flex; flex-wrap: wrap; gap: 10px; }
.tip-seq-n { min-width: 64px; padding: 14px 14px; border-radius: 12px; background: var(--surface-2); text-align: center; font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: -.01em; animation: tip-pop .4s var(--tm-spring) both; }
.tip-seq-n.q { background: var(--accent-soft); color: var(--accent); border: 2px dashed var(--accent); animation: tip-pop .4s var(--tm-spring) both, tip-breathe 1.8s ease-in-out .6s infinite; }
@keyframes tip-pop { from { opacity: 0; transform: translateY(8px) scale(.85); } to { opacity: 1; transform: none; } }
@keyframes tip-breathe { 0%, 100% { transform: none; } 50% { transform: scale(1.05); } }

/* fractions */
.tip-frac-q { display: flex; flex-direction: column; align-items: center; }
.tip-frac { display: inline-flex; flex-direction: column; align-items: center; font-size: 46px; font-weight: 700; font-variant-numeric: tabular-nums; line-height: 1.05; animation: tip-pop .45s var(--tm-spring) both; }
.tip-frac .bar { width: 100%; min-width: 70px; height: 4px; border-radius: 2px; background: var(--text); margin: 6px 0; transform-origin: center; animation: tip-bar .5s var(--tm-out) .1s both; }
@keyframes tip-bar { from { transform: scaleX(0); } to { transform: none; } }
.tip-frac-q + .tip-ans, .tip-q:has(.tip-frac-q) .tip-ans { justify-content: center; }

/* scales */
.tip-scales { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.tip-scale { width: 250px; max-width: 46%; min-width: 160px; height: auto; background: var(--surface-2); border-radius: 12px; animation: tm-rise .4s var(--tm-out) both; }
.tip-scale.unknown { background: var(--accent-soft); }
.tip-beam { transform-box: view-box; transform-origin: 110px 86px; animation: tip-settle 1.6s var(--tm-out) both; }
.tip-scale.unknown .tip-beam { animation: tip-wobble 2.4s ease-in-out infinite; }
@keyframes tip-settle { 0% { transform: rotate(-8deg); } 30% { transform: rotate(4.5deg); } 55% { transform: rotate(-2deg); } 78% { transform: rotate(.8deg); } 100% { transform: none; } }
@keyframes tip-wobble { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
.tip-sw-drop { animation: tip-drop .35s var(--tm-spring) both; }
@keyframes tip-drop { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
.tip-sc-stand { fill: var(--surface); stroke: var(--muted); stroke-width: 2; stroke-linejoin: round; }
.tip-sc-base { stroke: var(--muted); stroke-width: 3; stroke-linecap: round; }
.tip-sc-beam { stroke: var(--text-2); stroke-width: 4; stroke-linecap: round; }
.tip-sc-post { stroke: var(--text-2); stroke-width: 3; stroke-linecap: round; }
.tip-sc-plate { fill: var(--text-2); }
.tip-sc-pivot { fill: var(--surface); stroke: var(--text-2); stroke-width: 2; }
.tip-sc-q { font: 700 18px Inter, system-ui, sans-serif; fill: var(--accent); }
.tip-sw { stroke-width: 0; }
.tip-sw.c0 { fill: var(--accent); } .tip-sw.c1 { fill: var(--warn); } .tip-sw.c2 { fill: var(--ok); } .tip-sw.c3 { fill: var(--err); }
.tip-sw-inline { width: 15px; height: 15px; vertical-align: -2px; }
.tip-given { text-align: center; margin-top: 10px; font-size: 14px; }
.tip-ask { text-align: center; margin-top: 8px; font-size: 17px; font-weight: 600; }

/* probability */
.tip-prob-q { font-size: 18px; line-height: 1.5; margin: 0; max-width: 62ch; }

@media (max-width: 680px) {
  .tip-q { padding: 16px; }
  .tip-seq-n { min-width: 52px; font-size: 21px; padding: 11px 10px; }
  .tip-scale { width: calc(50% - 5px); max-width: calc(50% - 5px); min-width: 0; }
  .tip-frac { font-size: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .tip-drill *, .tip-q { animation: none !important; transition: none !important; }
}

/* session history */
.tip-board li { grid-template-columns: 30px minmax(0, 1fr) auto 28px; }
.tip-del { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid transparent; background: none; color: var(--muted); border-radius: 8px; cursor: pointer; opacity: .55; transition: opacity .15s, background .15s, color .15s, border-color .15s; }
.tip-del:hover, .tip-del:focus-visible { opacity: 1; color: var(--err); background: var(--err-soft); border-color: color-mix(in srgb, var(--err) 30%, transparent); }
.tip-hist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; max-height: 420px; overflow: auto; }
.tip-hist li { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto 28px; gap: 10px; align-items: center; padding: 8px 2px; border-bottom: 1px solid var(--line); font-size: 13px; animation: tm-rise .35s var(--tm-out) both; }
.tip-hist li:last-child { border-bottom: 0; }
.tip-hist-when { color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tip-hist-d { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tip-hist .tip-amt { font-size: 14px; }
.tip-stats4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tip-stat em { font-style: normal; font-size: 11.5px; color: var(--muted); }
.tip-stats4 .tip-stat b { font-size: 20px; }

/* ---------- cognitive trainers ---------- */
.tip-quick { animation: tm-pop .25s var(--tm-out) both; }
.tip-choices.two { grid-template-columns: 1fr 1fr; }
.tip-choices.two .tip-choice { justify-content: center; font-size: 18px; padding: 18px; }
.tip-choices.two .tip-choice kbd { margin-right: 4px; }
.tip-fastq .tip-q-body { min-height: 200px; display: grid; place-items: center; }
/* task switch */
.tip-ts { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.tip-ts-rule { font-size: 15px; font-weight: 600; color: var(--text-2); }
.tip-ts-stim { width: 120px; height: 120px; display: grid; place-items: center; border: 4px solid var(--accent); font-size: 54px; font-weight: 700; animation: tip-pop .3s var(--tm-spring) both; }
.tip-ts-stim.circle { border-radius: 50%; }
.tip-ts-stim.square { border-radius: 14px; border-color: var(--warn); }
.tip-ts-legend { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; font-size: 12px; color: var(--muted); }
.tip-ts-legend i { display: inline-block; width: 11px; height: 11px; border: 2px solid var(--accent); margin-right: 5px; vertical-align: -1px; }
.tip-ts-legend i.circle { border-radius: 50%; } .tip-ts-legend i.square { border-color: var(--warn); border-radius: 2px; }
/* conflict */
.tip-rc { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; }
.tip-flank { display: flex; gap: 6px; font-size: 64px; font-weight: 700; line-height: 1; animation: tip-pop .25s var(--tm-spring) both; }
.tip-flank span { color: var(--muted); } .tip-flank span.mid { color: var(--text); }
.tip-simon { position: relative; width: min(100%, 420px); height: 120px; border-radius: 14px; background: var(--surface-2); }
.tip-simon .dot { position: absolute; top: 30px; width: 60px; height: 60px; border-radius: 50%; animation: tip-pop .25s var(--tm-spring) both; }
.tip-simon .dot.at-l { left: 24px; } .tip-simon .dot.at-r { right: 24px; }
.tip-simon .dot.blue { background: #3d74c9; } .tip-simon .dot.orange { background: #e08a2c; }
/* pincode */
.tip-pin { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.tip-pin-big { font-size: 84px; font-weight: 700; line-height: 1.1; min-height: 96px; font-variant-numeric: tabular-nums; }
.tip-pin-big span { display: inline-block; animation: tip-pop .25s var(--tm-spring) both; }
.tip-pin-big .wait { color: var(--muted); }
.tip-pin-dots { display: flex; gap: 6px; }
.tip-pin-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); transition: background .2s; }
.tip-pin-dots i.on { background: var(--accent); }
.tip-pin-ask { font-size: 18px; }
.tip-q:has(.tip-pin) .tip-ans, .tip-q:has(.tip-ts) .tip-ans { justify-content: center; }
/* code match */
.tip-cm { display: flex; flex-direction: column; align-items: center; }
.tip-cm-target { font: 700 34px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; padding: 10px 18px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); }
.tip-choices.codes { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.tip-cm-code { font: 600 20px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .06em; }
/* cube */
.tip-cubeq { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.tip-net { height: auto; }
.tip-net-cell { animation: tip-pop .35s var(--tm-spring) both; }
.tip-face { fill: var(--surface); stroke: var(--text-2); stroke-width: 2; vector-effect: non-scaling-stroke; }
.tip-face.top { fill: color-mix(in srgb, var(--surface) 92%, var(--text)); }
.tip-face.right { fill: color-mix(in srgb, var(--surface) 80%, var(--text)); }
.tip-face.f0 { fill: #e3ecf8; } .tip-face.f1 { fill: #fbe9d0; } .tip-face.f2 { fill: #e1f1e6; } .tip-face.f3 { fill: #f7e0e0; } .tip-face.f4 { fill: #ece6f7; } .tip-face.f5 { fill: #f4f1d6; }
:root[data-theme=dark] .tip-face.f0 { fill: #243449; } :root[data-theme=dark] .tip-face.f1 { fill: #463521; } :root[data-theme=dark] .tip-face.f2 { fill: #20382a; } :root[data-theme=dark] .tip-face.f3 { fill: #432626; } :root[data-theme=dark] .tip-face.f4 { fill: #332a45; } :root[data-theme=dark] .tip-face.f5 { fill: #3c3920; }
.tip-cg { fill: var(--text); }
.tip-cg.o { fill: none; stroke: var(--text); stroke-width: 11; }
.tip-cg.w { stroke-linecap: round; }
.tip-choices.cubes { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.tip-cube-opt { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 100%; }
.tip-cube { width: 132px; height: auto; }
.tip-choices.cubes .tip-choice { flex-direction: column; padding: 10px; }
.tip-choices.cubes .tip-choice kbd { align-self: flex-start; }
/* grid recall */
.tip-gr { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; }
.tip-grid-n { display: grid; gap: 6px; width: min(100%, 320px); }
.tip-cell { aspect-ratio: 1; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); transition: background .15s, transform .15s var(--tm-spring); font: 700 14px Inter, system-ui, sans-serif; color: var(--on-accent); padding: 0; }
.tip-cell.lit { background: var(--accent); border-color: var(--accent); animation: tip-pop .25s var(--tm-spring) both; }
.tip-cell.red { background: var(--err); border-color: var(--err); animation: tip-pop .25s var(--tm-spring) both; }
.pick .tip-cell { cursor: pointer; }
.pick .tip-cell:hover { border-color: var(--accent); }
.pick .tip-cell.sel { background: var(--accent); border-color: var(--accent); transform: scale(.94); }
.tip-gr-foot { width: min(100%, 320px); }
/* hold fire */
.tip-hf { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.tip-hf-rule { font-size: 16px; color: var(--text-2); }
.tip-hf-rule.new { color: var(--warn); animation: tip-pop .4s var(--tm-spring) both; }
.tip-hf-box { width: 150px; height: 150px; border-radius: 20px; border: 2px solid var(--line); display: grid; place-items: center; background: var(--surface-2); transition: border-color .15s, background .15s; }
.tip-hf-box.ok { border-color: var(--ok); background: var(--ok-soft); } .tip-hf-box.bad { border-color: var(--err); background: var(--err-soft); }
.tip-hf-shape { width: 96px; height: 96px; animation: tip-pop .2s var(--tm-spring) both; }
.tip-hf-shape.red { fill: #d64545; } .tip-hf-shape.blue { fill: #3d74c9; } .tip-hf-shape.green { fill: #2f9a5d; }
.tip-hf-ctl { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.tip-fire { padding: 16px 48px; font-size: 18px; border-radius: 999px; }
.tip-hf-res { text-align: center; font-weight: 700; font-size: 16px; animation: tm-pop .2s var(--tm-out) both; }
.tip-hf-res.ok { color: var(--ok); } .tip-hf-res.bad { color: var(--err); }
/* signal odds */
.tip-sig { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.tip-sig-cues { display: flex; gap: 14px; }
.tip-sig-cues span { width: 74px; height: 74px; border-radius: 16px; background: var(--surface-2); display: grid; place-items: center; animation: tip-pop .3s var(--tm-spring) both; }
.tip-sig-cue { width: 46px; height: 46px; fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.tip-sig-cue .f { fill: var(--accent); }
.tip-choices.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.tip-choices.five .tip-choice { flex-direction: column; justify-content: center; padding: 10px 6px; }
.tip-choices.five .tip-choice kbd { display: none; }
.tip-sig-b { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.tip-sig-b b { font-size: 18px; } .tip-sig-b em { font-style: normal; font-size: 11px; color: var(--muted); font-weight: 500; }
.tip-sig-out { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); animation: tm-pop .3s var(--tm-out) both; }
.tip-sig-out.ok { background: var(--ok-soft); } .tip-sig-out.bad { background: var(--err-soft); }
.tip-sig-w { width: 46px; height: 46px; flex: none; fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; animation: tip-pop .4s var(--tm-spring) both; }
.tip-sig-w.sun { stroke: #e0a02c; } .tip-sig-w.sun circle { fill: #f3c457; }
.tip-sig-w.rain { stroke: #5b84c4; }
/* intercept */
.tip-ic-card, .tip-bs-card { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.tip-ic-svg { width: min(100%, 420px); height: auto; touch-action: manipulation; user-select: none; }
.tip-ic-hit { fill: transparent; cursor: crosshair; }
.tip-ic-lane:hover .tip-ic-hit { fill: var(--accent-soft); }
.tip-ic-track { stroke: var(--line); stroke-dasharray: 3 5; }
.tip-ic-num { font: 600 12px Inter, system-ui, sans-serif; fill: var(--muted); }
.tip-ic-line { stroke: var(--accent); stroke-width: 2; stroke-dasharray: 6 5; opacity: .6; }
.tip-ic-gun { fill: var(--accent); }
.tip-ic-ball { fill: var(--warn); }
.tip-ic-shot { fill: var(--accent); }
.tip-ic-fx { fill: none; stroke-width: 3; animation: tip-burst .6s var(--tm-out) forwards; transform-box: fill-box; transform-origin: center; }
.tip-ic-fx.hit { stroke: var(--ok); } .tip-ic-fx.waste { stroke: var(--muted); } .tip-ic-fx.miss { stroke: var(--err); }
@keyframes tip-burst { from { opacity: 1; transform: scale(.4); } to { opacity: 0; transform: scale(1.6); } }
.tip-ic-help { text-align: center; }
/* box search */
.tip-bs-svg { width: min(100%, 460px); height: auto; user-select: none; }
.tip-box rect { fill: var(--surface-2); stroke: var(--text-2); stroke-width: 2; cursor: pointer; transition: fill .2s; }
.tip-box { animation: tip-pop .35s var(--tm-spring) both; transform-box: fill-box; transform-origin: center; }
.tip-box:hover rect { fill: var(--accent-soft); }
.tip-box.empty rect { fill: var(--surface); stroke-dasharray: 4 3; }
.tip-box.found rect { fill: var(--ok-soft); stroke: var(--ok); }
.tip-box.err { animation: tm-shake .45s ease-in-out; }
.tip-box.err rect { stroke: var(--err); fill: var(--err-soft); }
.tip-token { fill: var(--warn); animation: tip-pop .35s var(--tm-spring) both; }
.tip-bs-bar { display: flex; gap: 6px; }
.tip-bs-bar i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line); transition: background .3s, border-color .3s; }
.tip-bs-bar i.on { background: var(--warn); border-color: var(--warn); animation: tip-pop .35s var(--tm-spring) both; }
@media (max-width: 680px) {
  .tip-flank { font-size: 46px; }
  .tip-choices.five { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
  .tip-sig-b b { font-size: 15px; } .tip-sig-b em { display: none; }
  .tip-pin-big { font-size: 64px; }
}

/* ---------- line charts (same look as the Mental Math Trainer stats) ---------- */
:root { --tip-c1: #2a78d6; --tip-c2: #b7791f; }
:root[data-theme=dark] { --tip-c1: #5b9cf0; --tip-c2: #e0a84a; }
.tip-cbox { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 12px 8px; min-width: 0; animation: tm-rise .42s var(--tm-out) both; }
.tip-panel .tip-cbox + .tip-cbox { margin-top: 2px; }
.tip-ch { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 6px; padding: 0 2px; }
.tip-ch h4 { margin: 0; font-size: 14px; font-weight: 600; }
.tip-ch span { font-size: 12px; color: var(--muted); }
.tip-cwrap { position: relative; width: 100%; }
.tip-cwrap svg { display: block; width: 100%; height: 100%; touch-action: pan-y; cursor: crosshair; }
.tip-grid-l { stroke: var(--line); stroke-width: 1; }
.tip-grid-l.zero { stroke: var(--muted); stroke-dasharray: 3 3; }
.tip-axis-l { stroke: var(--line); }
.tip-axis { font: 400 11px Inter, system-ui, sans-serif; fill: var(--muted); }
.tip-cursor { fill: var(--accent); opacity: .06; }
.tip-l1 { fill: none; stroke: var(--tip-c1); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: tip-draw 1s var(--tm-out) forwards; }
.tip-l2 { fill: none; stroke: var(--tip-c2); stroke-width: 2; stroke-dasharray: 5 4; opacity: .9; animation: tm-fade .6s ease-out .5s both; }
.tip-dot1 { fill: var(--surface); stroke: var(--tip-c1); stroke-width: 2; transition: r .15s var(--tm-spring); animation: tm-fade .3s ease-out both; }
.tip-dot1.on { fill: var(--tip-c1); }
.tip-tip { position: absolute; z-index: 5; pointer-events: none; box-sizing: border-box; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font-size: 12px; color: var(--text); box-shadow: 0 4px 16px rgba(0,0,0,.08); animation: tm-pop .12s var(--tm-out) both; }
.tip-tip-h { color: var(--muted); margin-bottom: 4px; line-height: 1.35; }
.tip-tip-r { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.tip-tip-r b { margin-left: auto; padding-left: 10px; font-variant-numeric: tabular-nums; }
.tip-tip i, .tip-legend i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; flex: none; }
.tip-tip i.c1, .tip-legend i.c1 { background: var(--tip-c1); }
.tip-tip i.c2, .tip-legend i.c2 { background: var(--tip-c2); }
.tip-legend i.dash { width: 14px; height: 0; border-radius: 0; background: none; border-top: 2px dashed var(--tip-c2); }
.tip-legend { display: flex; justify-content: center; gap: 16px; font-size: 11px; color: var(--text-2); padding-top: 4px; }
.tip-legend span { display: inline-flex; align-items: center; gap: 5px; }

/* animated delete cross (shared with the Mental Math Trainer) */
.tip-del svg { transition: transform .25s var(--tm-spring); }
.tip-del:hover svg, .tip-del:focus-visible svg { transform: rotate(90deg) scale(1.1); }
.tip-del:active svg { transform: rotate(90deg) scale(.9); }

/* alignment */
.tip-num { justify-content: flex-start; }
.tip-num em { margin-left: 2px; }
.tip-tile.edit .tip-sel, .tip-tile.edit .tip-toggle, .tip-tile.edit .tip-num { min-height: 24px; }
.tip-tile > b, .tip-num input, .tip-sel, .tip-toggle { line-height: 24px; }
.tip-hist li, .tip-board li { min-height: 46px; }
.tip-amt { text-align: right; }
.tip-stats .tip-stat { justify-content: flex-start; }
.tfoot .start.sm { flex: none; }

/* ---------- batch 4 trainers ---------- */
/* dial lock */
.tip-dl-card { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.tip-dl-code { display: flex; gap: 8px; }
.tip-dl-code span { width: 42px; height: 50px; border-radius: 10px; display: grid; place-items: center; font-size: 24px; font-weight: 700; background: var(--surface-2); color: var(--muted); border: 2px solid transparent; transition: all .2s var(--tm-out); animation: tip-pop .3s var(--tm-spring) both; }
.tip-dl-code span.now { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); transform: translateY(-3px); }
.tip-dl-code span.done { background: var(--ok-soft); color: var(--ok); }
.tip-dl-svg { width: min(100%, 320px); height: auto; user-select: none; touch-action: manipulation; cursor: pointer; }
.tip-dl-ring { fill: var(--surface-2); stroke: var(--line); stroke-width: 2; }
.tip-dl-tick { stroke: var(--muted); stroke-width: 1.2; opacity: .6; }
.tip-dl-d { font: 600 16px Inter, system-ui, sans-serif; fill: var(--text-2); }
.tip-dl-d.on { fill: var(--accent); font-weight: 700; }
.tip-dl-arc { fill: none; stroke: var(--accent); stroke-width: 10; stroke-linecap: round; opacity: .35; animation: tm-fade .3s ease-out both; }
.tip-dl-needle { stroke: var(--err); stroke-width: 3.5; stroke-linecap: round; }
.tip-dl-hub { fill: var(--text); }
.tip-dial-btn { min-width: 160px; }
/* trust game */
.tip-tr-card { gap: 14px; }
.tip-tr-pay { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.tip-tr-grid { display: grid; grid-template-columns: auto auto auto; gap: 6px 18px; font-size: 13px; text-align: center; padding: 10px 16px; border-radius: 12px; background: var(--surface-2); }
.tip-tr-grid b { font-weight: 600; color: var(--text-2); }
.tip-tr-grid .c { color: var(--ok); font-weight: 700; }
.tip-tr-last { display: flex; align-items: center; justify-content: center; gap: 18px; min-height: 76px; animation: tm-pop .3s var(--tm-out) both; }
.tip-tr-last.empty { color: var(--muted); }
.tip-tr-move { display: flex; flex-direction: column; align-items: center; padding: 10px 18px; border-radius: 12px; min-width: 96px; animation: tip-pop .35s var(--tm-spring) both; }
.tip-tr-move span { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tip-tr-move b { font-size: 20px; }
.tip-tr-move.H { background: var(--ok-soft); color: var(--ok); } .tip-tr-move.L { background: var(--err-soft); color: var(--err); }
.tip-tr-move:last-child { animation-delay: .12s; }
.tip-tr-vs { font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
.tip-tr-hist { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; }
.tip-tr-pair { display: inline-flex; flex-direction: column; gap: 2px; animation: tip-pop .3s var(--tm-spring) both; }
.tip-tr-pair i { width: 18px; height: 18px; border-radius: 4px; font: 700 10px/18px Inter, system-ui, sans-serif; text-align: center; font-style: normal; color: #fff; }
.tip-tr-pair i.H { background: var(--ok); } .tip-tr-pair i.L { background: var(--err); }
:root[data-theme=dark] .tip-tr-pair i { color: #111; }
.tip-tr-hist.big .tip-tr-pair i { width: 22px; height: 22px; line-height: 22px; }
/* hidden rules */
.tip-hr-card { gap: 12px; }
.tip-hr-top { display: flex; justify-content: space-between; font-size: 15px; }
.tip-hr-top b { font-size: 26px; font-variant-numeric: tabular-nums; margin-left: 6px; }
.tip-hr-e { display: inline-block; animation: tip-pop .3s var(--tm-spring) both; }
.tip-hr-meter { position: relative; height: 18px; border-radius: 999px; background: var(--surface-2); overflow: visible; }
.tip-hr-meter .fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 60%, var(--ok))); transition: width .45s var(--tm-spring); }
.tip-hr-meter .tgt { position: absolute; top: -5px; width: 4px; height: 28px; margin-left: -2px; border-radius: 2px; background: var(--warn); box-shadow: 0 0 0 3px color-mix(in srgb, var(--warn) 25%, transparent); }
.tip-hr-gens { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.tip-hr-gen { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 16px 8px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; transition: transform .12s var(--tm-out), border-color .15s, background .15s; animation: tm-rise .35s var(--tm-out) both; }
.tip-hr-gen b { font-size: 26px; }
.tip-hr-gen span { font-size: 11.5px; color: var(--muted); }
.tip-hr-gen:hover { border-color: var(--accent); background: var(--accent-soft); }
.tip-hr-gen:active { transform: scale(.95); }
.tip-hr-name { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: center; }
.tip-hr-name > b { font-size: 18px; text-align: center; }
.tip-hr-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.tip-hr-rev { display: flex; gap: 10px; align-items: center; padding: 8px 12px; border-radius: 10px; font-size: 13.5px; animation: tm-rise .3s var(--tm-out) both; }
.tip-hr-rev b { width: 18px; }
.tip-hr-rev.ok { background: var(--ok-soft); } .tip-hr-rev.bad { background: var(--err-soft); }
.tip-hr-trail { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.tip-hr-trail span { padding: 2px 8px; border-radius: 999px; background: var(--surface-2); animation: tip-pop .25s var(--tm-spring) both; }
/* pump */
.tip-pump-card { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.tip-pump-stage { display: flex; flex-direction: column; align-items: center; gap: 8px; min-height: 270px; justify-content: flex-end; }
.tip-balloon { width: 200px; height: 240px; overflow: visible; }
.tip-bl-g { transform-box: view-box; transform-origin: 100px 186px; transition: transform .25s var(--tm-spring); }
.tip-bl-body { stroke-width: 2; }
.tip-balloon.blue .tip-bl-body, .tip-balloon.blue .tip-bl-knot { fill: #5b8fd8; stroke: #3d6fb8; }
.tip-balloon.amber .tip-bl-body, .tip-balloon.amber .tip-bl-knot { fill: #f0b54a; stroke: #c88d22; }
.tip-balloon.red .tip-bl-body, .tip-balloon.red .tip-bl-knot { fill: #e06060; stroke: #b83d3d; }
.tip-bl-shine { fill: none; stroke: #fff; stroke-width: 5; stroke-linecap: round; opacity: .45; }
.tip-bl-string { fill: none; stroke: var(--muted); stroke-width: 1.5; }
.tip-balloon.popped .tip-bl-g { opacity: 0; transition: transform .18s ease-out, opacity .18s ease-out; }
.tip-balloon.banked .tip-bl-g { animation: tip-float .7s ease-in forwards; }
@keyframes tip-float { to { transform: translateY(-60px) scale(.6); opacity: 0; } }
.tip-bl-pop line { stroke: var(--warn); stroke-width: 3; stroke-linecap: round; animation: tip-burst .5s var(--tm-out) forwards; transform-box: view-box; transform-origin: 100px 110px; }
.tip-pump-state { min-height: 22px; font-size: 14px; color: var(--text-2); }
/* skyline */
.tip-sk-card { align-items: center; gap: 10px; }
.tip-sk-goal { align-self: stretch; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 8px; border-radius: 12px; background: var(--surface-2); }
.tip-sk-goal .tip-q-lbl { margin: 0; }
.tip-sk { width: min(100%, 420px); height: auto; user-select: none; }
.tip-sk.small { width: 150px; }
.tip-sk-hit { fill: transparent; }
.tip-sk:not(.small) .tip-sk-peg { cursor: pointer; }
.tip-sk:not(.small) .tip-sk-peg:hover .tip-sk-hit { fill: var(--accent-soft); }
.tip-sk-peg.sel .tip-sk-hit { fill: var(--accent-soft); }
.tip-sk-post { fill: var(--muted); }
.tip-sk-base { fill: var(--text-2); }
.tip-sk-block { stroke: rgba(0,0,0,.18); stroke-width: 1; transition: y .25s var(--tm-spring); }
.tip-sk.done .tip-sk-block { animation: tip-pop .4s var(--tm-spring) both; }
/* shape panels */
.tip-pnl { display: block; }
.tip-pnl-frame { fill: var(--surface); stroke: var(--line); stroke-width: 2; }
.tip-pnl.seq { animation: tip-pop .35s var(--tm-spring) both; }
.tip-pnl.seq:nth-child(2) { animation-delay: .06s; } .tip-pnl.seq:nth-child(3) { animation-delay: .12s; } .tip-pnl.seq:nth-child(4) { animation-delay: .18s; } .tip-pnl.seq:nth-child(5) { animation-delay: .24s; }
.tip-pnl.q .tip-pnl-frame { fill: var(--accent-soft); stroke: var(--accent); stroke-dasharray: 5 4; }
.tip-pnl.build .tip-pnl-frame { stroke: var(--accent); }
.tip-pnl-q { font: 700 34px Inter, system-ui, sans-serif; fill: var(--accent); }
.tip-pnl-sh { stroke: var(--text); stroke-width: 2.2; stroke-linejoin: round; transition: transform .25s var(--tm-spring); }
.tip-pnl-sh.f0 { fill: none; } .tip-pnl-sh.f2 { fill: var(--text); }
.tip-pnl-hatch { fill: var(--text); }
.tip-bpq, .tip-ind { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.tip-bp-series { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.tip-bp { display: flex; gap: 20px; align-items: center; justify-content: center; flex-wrap: wrap; }
.tip-bp-ctl { display: flex; flex-direction: column; gap: 10px; min-width: 240px; }
.tip-bp-row { display: grid; grid-template-columns: 70px 1fr; align-items: center; gap: 10px; font-size: 13px; color: var(--text-2); font-weight: 500; }
.tip-bp-fills { display: flex; gap: 6px; flex-wrap: wrap; }
.tip-bp-rot { display: flex; align-items: center; gap: 10px; }
.tip-bp-rot b { min-width: 44px; text-align: center; font-variant-numeric: tabular-nums; }
.tip-bp-ctl .tip-step input { width: 48px; }
.tip-mx { display: grid; grid-template-columns: repeat(3, 74px); gap: 8px; }
.tip-mx .tip-pnl { animation: tip-pop .3s var(--tm-spring) both; }
.tip-choices.panels { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }
.tip-choices.panels .tip-choice { flex-direction: column; padding: 10px; }
.tip-choices.panels .tip-choice kbd { align-self: flex-start; }
.tip-ind-opt { display: flex; flex-direction: column; align-items: center; gap: 4px; }
/* target number */
.tip-tn { display: flex; flex-direction: column; align-items: center; }
.tip-tn-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; }
.tip-tn-n { width: 58px; height: 58px; border-radius: 12px; display: grid; place-items: center; font-size: 26px; font-weight: 700; background: var(--surface-2); animation: tip-pop .35s var(--tm-spring) both; }
.tip-tn-arrow { font-size: 22px; color: var(--muted); }
.tip-tn-t { width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; font-weight: 700; color: var(--accent); border: 3px solid var(--accent); animation: tip-pop .4s var(--tm-spring) .25s both, tip-breathe 2s ease-in-out 1s infinite; }
.tip-q:has(.tip-tn) .tip-ans-in { width: 300px; font-size: 18px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
/* mystery figure */
.tip-mf-card { gap: 12px; }
.tip-mf-top { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.tip-mf-secret { width: 86px; height: 86px; border-radius: 16px; display: grid; place-items: center; background: var(--surface-2); border: 2px dashed var(--line); font-size: 34px; font-weight: 700; color: var(--muted); flex: none; }
.tip-mf-secret svg { animation: tip-pop .4s var(--tm-spring) both; }
.tip-mf-row { display: grid; grid-template-columns: 56px 1fr; gap: 10px; align-items: center; font-size: 12.5px; color: var(--muted); font-weight: 500; text-transform: capitalize; }
.tip-mf-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.tip-mf-prev { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: none; }
.tip-mf-hist { display: flex; flex-direction: column; gap: 6px; max-height: 300px; overflow: auto; }
.tip-mf-h { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 10px; background: var(--surface-2); font-size: 13px; animation: tm-rise .3s var(--tm-out) both; }
.tip-mf-h span { color: var(--text-2); text-transform: capitalize; }
.tip-mf .shape { stroke-width: 2.5; stroke-linejoin: round; }
.tip-mf.c0 { --mf: #d64545; } .tip-mf.c1 { --mf: #3d74c9; } .tip-mf.c2 { --mf: #2f9a5d; } .tip-mf.c3 { --mf: #e0a02c; }
.tip-mf .shape { stroke: var(--mf); }
.tip-mf.f0 .shape { fill: var(--mf); } .tip-mf.f1 .shape { fill: none; }
.tip-mf .ink { fill: var(--mf); }
/* sweet spot */
.tip-ss-svg { width: min(100%, 520px); height: auto; user-select: none; touch-action: manipulation; }
.tip-ss-bg { fill: var(--surface-2); }
.tip-ss-dial { cursor: pointer; animation: tip-pop .3s var(--tm-spring) both; transform-box: fill-box; transform-origin: center; }
.tip-ss-life { fill: none; stroke: var(--accent); stroke-width: 3; opacity: .55; }
.tip-ss-face { fill: var(--surface); stroke: var(--text-2); stroke-width: 2; }
.tip-ss-arc { fill: none; stroke: var(--ok); stroke-width: 8; stroke-linecap: round; opacity: .45; }
.tip-ss-dial.hot .tip-ss-arc { opacity: 1; }
.tip-ss-needle { stroke: var(--err); stroke-width: 3; stroke-linecap: round; }
.tip-ss-hub { fill: var(--text); }
@media (max-width: 680px) {
  .tip-hr-gens { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tip-mx { grid-template-columns: repeat(3, 64px); }
  .tip-mf-top { justify-content: center; }
}

.tip-bp-row .tip-step { justify-self: start; }
.tip-pnl-sh { stroke-width: 2; vector-effect: non-scaling-stroke; }
@media (max-width: 680px) {
  .tip-bp-series { flex-wrap: nowrap; gap: 6px; }
  .tip-bp-series .tip-pnl { width: 21vw !important; height: 21vw !important; max-width: 84px; max-height: 84px; }
  .tip-mx .tip-pnl { width: 64px !important; height: 64px !important; }
  .tip-choices.panels { grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); }
  .tip-choices.panels .tip-pnl { width: 64px !important; height: 64px !important; }
}

/* ---------- batch 6: phone fixes ---------- */
@media (max-width: 680px) {
  .game-view .tbl { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .game-view .fld { min-width: 0; max-width: 100%; }
  .game-view .fld .inp, .game-view .row > .inp { min-width: 0; max-width: 100%; }
  .tip-ind .tip-bp-series .tip-pnl { width: 16.5vw !important; height: 16.5vw !important; }
  .tip-ind .tip-bp-series { gap: 4px; }
}
@media (max-width: 680px) {
  .quote-ui { flex-wrap: wrap; }
  .quote-ui > .fld { flex: 1 1 130px; }
  .quote-ui > * { min-width: 0; }
}
/* selected chips in trainer pickers */
.tip-mf-opts .chip, .tip-hr-opts .chip, .tip-bp-fills .chip { cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .12s var(--tm-spring); }
.tip-mf-opts .chip:hover:not(:disabled), .tip-hr-opts .chip:hover, .tip-bp-fills .chip:hover { border-color: var(--accent); }
.tip-mf-opts .chip.on, .tip-hr-opts .chip.on, .tip-bp-fills .chip.on { background: var(--accent); color: var(--on-accent); border-color: var(--accent); transform: scale(1.04); }
/* skyline selection, softer */
.tip-sk-hit { rx: 10px; }
.tip-sk:not(.small) .tip-sk-peg:hover .tip-sk-hit { fill: color-mix(in srgb, var(--accent) 8%, transparent); }
.tip-sk-peg.sel .tip-sk-hit { fill: color-mix(in srgb, var(--accent) 16%, transparent); }
@media (max-width: 680px) {
  /* more room for the game on phones */
  body:has(.playing-view) .io, body:has(.playing-view) .sync { display: none; }
  .tip-mf-top { display: grid; grid-template-columns: auto 1fr; }
  .tip-mf-top > .col { grid-column: 1 / -1; order: 3; }
  .tip-mf-prev { flex-direction: row; justify-self: end; }
  .tip-mf-row { grid-template-columns: 50px 1fr; }
  .tip-seq-n { min-width: 46px; font-size: 19px; padding: 10px 8px; }
}

/* ---------- Batch 5: lessons ---------- */
.tip-lessons { gap: 12px; }
.tip-lesson-list { display: flex; flex-wrap: wrap; gap: 6px; }
.tip-lesson-btn { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px 0 6px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text-2); font: inherit; font-size: 13px; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .25s var(--tm-spring); }
.tip-lesson-btn .n { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--surface-2); color: var(--muted); font-size: 11.5px; font-weight: 700; transition: background .25s, color .25s; }
.tip-lesson-btn:hover { border-color: var(--accent); color: var(--text); }
.tip-lesson-btn:active { transform: scale(.96); }
.tip-lesson-btn.on { background: var(--accent-soft); border-color: var(--accent); color: var(--text); }
.tip-lesson-btn.on .n { background: var(--accent); color: var(--on-accent); }
.tip-lesson-btn.done .n { background: var(--ok); color: #fff; }
.tip-lesson { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; border-radius: 12px; background: var(--surface-2); animation: tip-qin .35s var(--tm-out) both; }
.tip-lesson p { margin: 0; line-height: 1.6; max-width: 70ch; }
.tip-lesson h3, .tip-lesson .t { margin: 0; font-size: 16px; font-weight: 700; }
.tip-formula { padding: 10px 12px; border-radius: 10px; background: var(--surface); border-left: 3px solid var(--accent); overflow-x: auto; }
.tip-example { padding: 10px 12px; border-radius: 10px; background: var(--surface); border: 1px dashed var(--line); font-size: 14px; line-height: 1.55; }
.tip-example .tip-lbl { display: block; margin-bottom: 4px; }
.tip-chk { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); }
.tip-chk .row { gap: 8px; flex-wrap: wrap; }
.tip-chk-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.tip-lesson-hint { line-height: 1.5; }

/* ---------- Batch 5: options / futures / prediction cases ---------- */
.tip-oc-card, .tip-fc-card, .tip-pc-card { gap: 14px; animation: tip-qin .35s var(--tm-out) both; }
.tip-oc-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 18px; }
.tip-oc-head > div:first-child:not(.tip-oc-kv) { display: flex; flex-direction: column; gap: 2px; flex: 1 1 220px; min-width: 0; }
.tip-oc-opt { font-size: 24px; font-weight: 700; letter-spacing: -.01em; font-variant-numeric: tabular-nums; animation: tip-pop .4s var(--tm-spring) both; }
.tip-oc-kv { display: flex; flex-direction: column; gap: 2px; min-width: 70px; }
.tip-oc-kv span { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.tip-oc-kv b { font-size: 17px; font-variant-numeric: tabular-nums; }
.tip-oc-kv.mkt b { color: var(--accent); }
.tip-oc-out { animation: tip-qin .35s var(--tm-out) both; }
.tip-oc-break { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); font-size: 13.5px; color: var(--text-2); }
.tip-oc-break b { color: var(--text); font-variant-numeric: tabular-nums; margin-left: 4px; }
.tip-oc-break b.pos, .tip-oc-break b.neg { color: inherit; }

.tip-fc-bar { position: relative; height: 34px; border-radius: 999px; background: linear-gradient(90deg, color-mix(in srgb, var(--ok) 22%, var(--surface-2)), var(--surface-2) 45%, var(--surface-2) 55%, color-mix(in srgb, var(--err) 22%, var(--surface-2))); overflow: hidden; }
.tip-fc-bar .z { position: absolute; left: 50%; top: 6px; bottom: 6px; width: 2px; margin-left: -1px; background: var(--line); }
.tip-fc-bar .m { position: absolute; top: 5px; width: 24px; height: 24px; margin-left: -12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 25%, transparent); transition: left .55s var(--tm-spring); }
.tip-fc-bar .l, .tip-fc-bar .r { position: absolute; top: 50%; transform: translateY(-50%); font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; pointer-events: none; }
.tip-fc-bar .l { left: 14px; } .tip-fc-bar .r { right: 14px; }
.tip-fc-acts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tip-fc-acts .tip-choice { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; }
.tip-fc-acts .tip-choice em { font-style: normal; font-size: 12px; color: var(--muted); }
.tip-fc-acts .tip-choice:disabled { opacity: .5; cursor: default; }

.tip-pc-news { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); animation: tip-shout .45s var(--tm-spring) both; }
.tip-pc-news > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.tip-pc-news b { font-size: 17px; }
.tip-pc-dot { flex: none; width: 12px; height: 12px; margin-top: 5px; border-radius: 50%; background: var(--muted); animation: tm-pulse 1.4s ease-in-out infinite; }
.tip-pc-dot.good { background: var(--ok); } .tip-pc-dot.bad { background: var(--err); } .tip-pc-dot.noise { background: var(--warn); }
.tip-pc-book { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 8px; }
.tip-pc-book > div { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px; border-radius: 12px; background: var(--surface-2); }
.tip-pc-book span { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.tip-pc-book b { font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; animation: tm-pop .4s var(--tm-spring) both; }
.tip-pc-book .mid { background: var(--accent-soft); }
.tip-pc-book .mid b { color: var(--accent); }
.tip-pc-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }

@media (max-width: 640px) {
  .tip-fc-acts { grid-template-columns: 1fr; }
  .tip-pc-book b { font-size: 19px; }
  .tip-pc-acts .btn, .tip-pc-acts .start { flex: 1 1 calc(50% - 4px); }
  .tip-pc-acts .sp { display: none; }
  .tip-oc-opt { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .tip-pc-dot, .tip-lesson, .tip-pc-news, .tip-oc-card, .tip-fc-card, .tip-pc-card { animation: none; }
  .tip-fc-bar .m { transition: none; }
}
.tip-chk-opts .chip { height: 36px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); color: var(--text); font: inherit; font-size: 14px; font-weight: 500; cursor: pointer; transition: background .2s, border-color .2s, transform .25s var(--tm-spring); }
.tip-chk-opts .chip:hover { border-color: var(--accent); }
.tip-chk-opts .chip:active { transform: scale(.96); }
.tip-chk-opts .chip.ok { background: var(--ok-soft); border-color: var(--ok); color: var(--ok); }
.tip-chk-opts .chip.bad { background: var(--err-soft); border-color: var(--err); color: var(--err); animation: tm-shake .35s; }
@media (max-width: 640px) {
  .tip-oc-head > div:first-child:not(.tip-oc-kv) { flex-basis: 100%; }
  .tip-oc-head { gap: 10px 16px; }
}

/* ---------- 3-2-1 countdown before every run (same as the Mental Math Trainer) ---------- */
.tip-cd { position: fixed; inset: 0; z-index: 80; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; background: color-mix(in srgb, var(--bg) 78%, transparent); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: tip-cd-fade .2s ease-out both; }
.tip-cd.out { animation: tip-cd-out .3s ease-in both; pointer-events: none; }
.tip-cd-lbl { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tip-cd-n { font-size: clamp(120px, 26vw, 220px); font-weight: 700; letter-spacing: -.04em; line-height: 1; color: var(--accent); font-variant-numeric: tabular-nums; animation: tip-cd-pop .9s var(--tm-out) both; }
.tip-cd-hint { color: var(--muted); font-size: 12.5px; }
.tip-cd-q { margin-top: 6px; }
.tip-cd-stage { min-height: 320px; }
@keyframes tip-cd-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes tip-cd-pop { 0% { opacity: 0; transform: scale(1.6); } 22% { opacity: 1; transform: scale(.96); } 40% { transform: none; } 85% { opacity: 1; } 100% { opacity: .35; transform: scale(.92); } }
@keyframes tip-cd-out { to { opacity: 0; } }

/* ---- Dashboard ---- */
/* Problems Solved ring colours: one per problem type, fixed order (validated categorical palette;
   light slots under 3:1 are relieved by the labelled key below the stats). */
:root { --tip-c1:#2a78d6; --tip-c2:#eb6834; --tip-c3:#1baf7a; --tip-c4:#eda100; --tip-c5:#e87ba4; --tip-c6:#008300; }
:root[data-theme=dark] { --tip-c1:#3987e5; --tip-c2:#d95926; --tip-c3:#199e70; --tip-c4:#c98500; --tip-c5:#d55181; --tip-c6:#0ca30c; }
.tip-arc { transition: stroke-dasharray .5s, stroke-dashoffset .5s; }
.tip-key { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.tip-key-i { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px;
  background: transparent; color: var(--text-2); font: inherit; font-size: 12.5px; line-height: 1.3; cursor: pointer; }
.tip-key-i:hover { border-color: var(--muted); }
.tip-key-i:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.tip-key-i i { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.tip-key-i b { font-family: var(--mono); font-weight: 600; color: var(--text); }
.tip-key-i.off { color: var(--muted); }
.tip-key-i.off span, .tip-key-i.off b { text-decoration: line-through; color: var(--muted); }
.tip-key-i.off i { background: transparent !important; box-shadow: inset 0 0 0 1.5px var(--muted); }
@media (prefers-reduced-motion: reduce) { .tip-arc { transition: none; } }

/* Dashboard hero on phones: two stats per row leaves ~160px per cell, too narrow for
   graphic + text side by side. Stack graphic over text, pad every graphic to the ring's 66px,
   and push the P&L text (no graphic) down the same amount, so labels line up in each row. */
.hero .grid4 > .stat > div { min-width: 0; }
@media (max-width: 600px) {
  /* Row 1: the two stats with a graphic (ring, gauge). Row 2: the two text stats (P&L, streak),
     with the flame moved to the streak cell's top-right corner so nothing pads the row. */
  .hero .grid4 { row-gap: 16px; }
  .hero .grid4 > .stat { flex-direction: column; align-items: flex-start; gap: 10px; }
  .hero .grid4 > .stat:nth-child(1) { order: 1; }
  .hero .grid4 > .stat:nth-child(3) { order: 2; }
  .hero .grid4 > .stat:nth-child(2) { order: 3; }
  .hero .grid4 > .stat:nth-child(4) { order: 4; position: relative; }
  .hero .grid4 > .stat > svg { margin: 4px 0; }
  .hero .grid4 > .stat:nth-child(4) > .gicon { position: absolute; top: -2px; right: 0; width: 30px !important; height: 30px !important; border-radius: 9px; }
  .hero .grid4 > .stat:nth-child(4) > .gicon svg { width: 17px; height: 17px; }
  .tip-key { gap: 6px; }
  .tip-key-i { padding: 4px 9px; font-size: 12px; }
}

/* ---- Attempt tracking, review, mock, weak areas, Lessons tab, Glossary ---- */
.chip.tip-g-c { background: var(--ok-soft); color: var(--ok); }
.chip.tip-g-h { background: var(--warn-soft); color: var(--warn); }
.chip.tip-g-m { background: var(--err-soft); color: var(--err); }
.chip.tip-due { background: var(--accent-soft); color: var(--accent); }
.chip.tip-due.now { background: var(--accent); color: var(--on-accent); }
.tip-rate { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tip-qbar { gap: 8px; flex-wrap: wrap; }
.tip-dash2 { margin-top: 0; }
.tip-act { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.tip-act-h { display: flex; align-items: center; gap: 12px; min-width: 0; }
.tip-act-h .gicon { flex: none; }
.tip-weakcard .grid2 { gap: 20px; }
.tip-weak { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.tip-weak .tip-lbl { margin: 0; }
.tip-weak-r { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "t a" "b a"; column-gap: 12px; row-gap: 6px; align-items: center; }
.tip-weak-t { grid-area: t; display: flex; flex-direction: column; min-width: 0; }
.tip-weak-t b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tip-weak-r .tip-wbar { grid-area: b; }
.tip-weak-r > .row { grid-area: a; }
.tip-wbar { height: 6px; border-radius: 4px; background: var(--empty); overflow: hidden; }
.tip-wbar i { display: block; height: 100%; border-radius: 4px; background: var(--warn); }
.tip-sum3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 8px; margin-bottom: 12px; }
.tip-sumbox { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px; border-radius: 10px; background: var(--surface-2); }
.tip-sumbox b { font-size: 20px; }
.tip-sumbox span { font-size: 12px; color: var(--muted); }
.tip-sumbox.tip-g-c b { color: var(--ok); } .tip-sumbox.tip-g-h b { color: var(--warn); } .tip-sumbox.tip-g-m b { color: var(--err); }
.chip.tip-clock { font-family: var(--mono); font-size: 12.5px; background: var(--accent-soft); color: var(--accent); }
.chip.tip-clock.low { background: var(--err-soft); color: var(--err); }
.tip-mock-dots { display: flex; flex-wrap: wrap; gap: 6px; }
.tip-dot { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--text-2); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; }
.tip-dot.done { background: var(--surface-2); color: var(--text); }
.tip-dot.on { border-color: var(--accent); background: var(--accent-soft); color: var(--text); }
.tip-confirm { display: flex; flex-direction: column; gap: 8px; }
.tip-confirm .row { gap: 8px; flex-wrap: wrap; }
.tip-bytype { margin-bottom: 10px; }
.tip-mres { border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.tip-mres-h { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; background: transparent; border: 0; color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.tip-mres-h .small { white-space: nowrap; }
.tip-mres-i { width: 22px; height: 22px; flex: none; display: grid; place-items: center; border-radius: 50%; font-size: 12px; font-weight: 700; }
.tip-mres.ok .tip-mres-i { background: var(--ok-soft); color: var(--ok); }
.tip-mres.bad .tip-mres-i { background: var(--err-soft); color: var(--err); }
.tip-mres .box.sol { margin: 0 10px 10px; }
/* Lessons tab */
.tip-lessons-tab, .tip-gloss { display: flex; flex-direction: column; gap: 14px; }
.tip-sheet { padding: 0; overflow: hidden; }
.tip-sheet-wrap { display: none; }
.tip-sheet-wrap.on { display: block; animation: tip-sheet-in .18s ease-out both; }
@keyframes tip-sheet-in { from { opacity: 0; transform: translateY(-4px); } }
.tip-sheet-sec { content-visibility: auto; contain-intrinsic-size: auto 320px; }
@media (prefers-reduced-motion: reduce) { .tip-sheet-wrap.on { animation: none; } }
.tip-sheet-h { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; background: transparent; border: 0; color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.tip-chev { display: inline-flex; color: var(--muted); transition: transform .2s; }
.tip-chev.on { transform: rotate(90deg); }
.tip-sheet-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 12px; padding: 0 16px 16px; }
.tip-sheet-sec { display: flex; flex-direction: column; gap: 6px; padding: 12px; border-radius: 10px; background: var(--surface-2); min-width: 0; }
.tip-sheet-sec .tip-lbl { margin: 0 0 2px; }
.tip-sheet-l { overflow-x: auto; overflow-y: hidden; font-size: 14px; padding: 2px 0; }
.tip-lgroup { display: flex; flex-direction: column; gap: 8px; }
.tip-lgroup-h { display: flex; align-items: baseline; gap: 10px; }
.tip-lgroup-h h3 { margin: 0; font-size: 15px; }
.tip-lgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.tip-lcard { display: flex; align-items: center; gap: 12px; padding: 12px 14px; text-align: left; font: inherit; color: var(--text); cursor: pointer; border: 1px solid var(--line); }
.tip-lcard:hover { border-color: var(--accent); }
.tip-lcard .grow { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.tip-lcard-n { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--surface-2); color: var(--muted); font-family: var(--mono); font-size: 11.5px; font-weight: 700; }
.tip-lcard.done .tip-lcard-n { background: var(--ok); color: #fff; font-size: 14px; }
.tip-lesson-page { background: var(--surface); }
.tip-lesson-page .tip-formula, .tip-lesson-page .tip-example, .tip-lesson-page .tip-chk { background: var(--surface-2); }
.tip-chk.done { border-color: var(--ok); }
.tip-rel { display: flex; flex-direction: column; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.tip-rel-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 6px; }
.tip-rel-q { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; font-size: 13.5px; text-align: left; cursor: pointer; min-width: 0; }
.tip-rel-q:hover { border-color: var(--accent); }
.tip-rel-q .grow { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tip-gdot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--empty); }
.tip-gdot.tip-g-c { background: var(--ok); } .tip-gdot.tip-g-h { background: var(--warn); } .tip-gdot.tip-g-m { background: var(--err); }
/* Glossary */
.tip-gloss-search { display: flex; flex-direction: column; gap: 10px; position: sticky; top: 8px; z-index: 2; }
.tip-gloss-search .row { gap: 10px; }
.tip-az { display: flex; flex-wrap: wrap; gap: 4px; }
.tip-az a { display: inline-grid; place-items: center; min-width: 26px; height: 26px; border-radius: 7px; background: var(--surface-2); color: var(--text-2); font-size: 12.5px; font-weight: 600; text-decoration: none; }
.tip-az a:hover { background: var(--accent-soft); color: var(--text); }
.tip-gloss-sec { scroll-margin-top: 130px; }
.tip-gloss-L { font-size: 20px; font-weight: 700; color: var(--accent); margin-bottom: 6px; }
.tip-gloss-sec dl { margin: 0; display: grid; grid-template-columns: minmax(150px, 220px) 1fr; gap: 8px 18px; }
.tip-gloss-sec dt { font-weight: 600; }
.tip-gloss-sec dd { margin: 0; color: var(--text-2); line-height: 1.55; }
@media (max-width: 600px) {
  .tip-gloss-sec dl { grid-template-columns: 1fr; gap: 2px; }
  .tip-gloss-sec dd { margin-bottom: 10px; }
  .tip-sheet-grid { grid-template-columns: 1fr; padding: 0 12px 12px; }
  .tip-act .btn { width: 100%; }
  .tip-mres-h .small { display: none; }
}
.tip-sheet-l .katex-display { margin: 0; text-align: left; }
.tip-sheet-l .katex-display > .katex { text-align: left; }
.tip-sheet-sec { gap: 2px; }
.top .brand .logo { white-space: nowrap; }
@media (max-width: 1400px) and (min-width: 901px) { .top .tabs .tab { padding-left: 11px; padding-right: 11px; } }
.modal-h .chip { white-space: normal; max-width: 100%; }

/* ---- Search + filters on Lessons, Trainers and Market Games (19 Nov) ---- */
.tip-fbar{margin-bottom:6px}
.tip-fbar .search input[type=search]::-webkit-search-cancel-button{cursor:pointer}
.tip-fbar .pills{flex-wrap:wrap}
.tip-fcount{display:flex;align-items:center;gap:10px;min-height:32px;padding:0 6px 10px}
.tip-fcount .ghost{margin-left:auto}
.tip-fempty{text-align:center;padding:28px 16px;display:flex;flex-direction:column;gap:12px;align-items:center}
.tip-trainers > .tip-fbar + .tip-fcount + .tgrid{margin-top:4px}

/* ---- Fractions: extra question forms (19 Nov) ---- */
.tip-frac-row { display: inline-flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.tip-frac.sm { font-size: 34px; }
.tip-frac.sm .bar { min-width: 46px; height: 3px; }
.tip-frac-big { font-size: 36px; font-weight: 700; font-variant-numeric: tabular-nums; animation: tip-pop .45s var(--tm-spring) both; }
.tip-mixed { display: inline-flex; align-items: center; gap: 8px; }
.tip-mixed .w { font-size: 46px; font-weight: 700; font-variant-numeric: tabular-nums; }
.tip-frac-choices { justify-content: center; }
.tip-frac-choices .tip-choice { min-width: 120px; justify-content: center; padding: 14px 18px; }
.tip-frac-choices .tip-frac.sm { font-size: 28px; animation: none; }
@media (max-width: 600px) { .tip-frac-big { font-size: 28px; } .tip-frac.sm { font-size: 28px; } .tip-mixed .w { font-size: 36px; } }

/* ---------- consistency pass (19 Nov): same look as the Mental Math Trainer and the Term 1 Tracker ---------- */
/* numbers use Inter with even-width digits; code (editor, pre, inline code, code-match) keeps the mono face */
.mono, .num, .kv b, .playing, .logbox, .bigq, .timer, .badge-ok, .badge-bad, .tip-key-i b, .chip.tip-clock, .tip-lcard-n,
.tip-q:has(.tip-tn) .tip-ans-in, .tip-ring div, .die { font-family: inherit !important; font-variant-numeric: tabular-nums; }
/* small labels in sentence case, never shouted */
.stat-lbl, .score-lbl, .tip-cap, .tip-lbl, .tip-stat span, .tip-mkt-line > span, .tip-q-lbl, .tip-tr-move span, .tip-oc-kv span,
.tip-fc-bar .l, .tip-fc-bar .r, .tip-pc-book span, .tip-cd-lbl { text-transform: none !important; letter-spacing: 0 !important; }
.stat-lbl, .tip-cap, .tip-lbl { font-size: 12.5px; font-weight: 600; }
/* buttons are rounded rectangles everywhere */
.start.sm, .tfoot .start.sm { border-radius: 9px; padding: 8px 16px; }
/* section headings: small grey, as in the Tracker */
.tsec-h { border-bottom: 0; padding-bottom: 0; margin-top: 8px; }
.tsec-h h2, .tsec-h h2 { font-size: 13px !important; font-weight: 600; color: var(--text-2); letter-spacing: 0; margin: 0 0 2px; }
.tsec-h p { font-size: 12.5px; color: var(--muted); }
.tip-lgroup-h h3 { font-size: 13px; font-weight: 600; color: var(--text-2); }
/* adaptive filters: chips on one line, a dropdown once they would wrap */
.tf-row { flex-wrap: nowrap; align-items: center; min-height: 34px; }
.tf-row .flbl { width: 92px; }
.tf-ctl { position: relative; flex: 1; min-width: 0; }
.tf-ctl > .pills { flex-wrap: nowrap !important; }
.tf-measure { position: absolute !important; left: 0; top: 0; visibility: hidden; pointer-events: none; white-space: nowrap; flex-wrap: nowrap !important; width: max-content; }
.tf-dd { position: relative; display: inline-block; max-width: 100%; }
.tf-btn { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 160px; max-width: 100%; height: 34px; padding: 0 11px; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 9px; font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; transition: border-color .12s, background .15s, transform .12s var(--tm-out); }
.tf-btn:hover { border-color: var(--muted); }
.tf-btn:active { transform: scale(.98); }
.tf-btn.active { border-color: var(--accent); color: var(--accent); }
.tf-sum { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tf-car { color: var(--muted); font-size: 10px; }
.tf-pop { position: absolute; top: calc(100% + 6px); left: 0; z-index: 30; min-width: 220px; max-width: min(320px, 86vw); max-height: 320px; overflow: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 6px; box-shadow: 0 10px 30px #00000024; animation: tm-pop .18s var(--tm-out) both; transform-origin: top left; }
.tf-acts { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 2px 8px 6px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.tf-opt { display: flex; align-items: center; gap: 9px; width: 100%; padding: 7px 8px; border: 0; background: none; border-radius: 7px; cursor: pointer; color: var(--text); font: inherit; font-size: 13px; text-align: left; }
.tf-opt:hover { background: var(--surface-2); }
.tf-box { width: 16px; height: 16px; flex: none; border: 1.5px solid var(--line); border-radius: 5px; display: grid; place-items: center; color: var(--on-accent); }
.tf-box.r { border-radius: 50%; }
.tf-box svg { width: 11px; height: 11px; }
.tf-opt.on .tf-box { background: var(--accent); border-color: var(--accent); }
@media (max-width: 620px) { .tf-row { flex-wrap: wrap; } .tf-row .flbl { width: 100%; } .tf-ctl { flex-basis: 100%; } }
/* glossary: same search box and chips as the other lists */
.tip-gloss-search .tip-az { flex-wrap: wrap !important; gap: 6px; }
.tip-gloss-search .tip-az button { min-width: 34px; padding: 5px 10px; }
.tip-az-row { align-items: flex-start; }
.tip-az-row .flbl { padding-top: 7px; }
.tip-az-row .tip-az { flex: 1; min-width: 0; }
.tf-row .flbl { width: 84px; }
.tf-measure > *, .tf-chips > * { flex: none !important; white-space: nowrap; }
.tf-measure { max-width: none !important; }
.tf-mwrap { position: absolute; inset: 0; overflow: hidden; visibility: hidden; pointer-events: none; }
.tf-mwrap .tf-measure { position: static !important; visibility: hidden; }

/* ---------- 19 Nov: list spacing, full-size fractions, lesson cards, tabs ---------- */
.tip-trainers, .tip-lessons-tab { gap: 14px; }
.tip-trainers .tsec, .tip-lessons-tab .tip-lgroup { margin-top: 6px; gap: 10px; }
.tip-fcount { padding: 0 6px; min-height: 28px; margin: -6px 0 -4px; }
.tip-fbar { margin-bottom: 0; }
.tip-trainers > .tip-fbar + .tip-fcount + .tgrid { margin-top: 0; }
.tip-lgroup .tgrid { margin-top: 0; }
.tcard.done .tfoot .tmeta { color: var(--ok); font-weight: 600; }
/* every fraction full size: numerator stacked over the denominator */
.katex .mfrac .frac-line { border-bottom-width: .06em !important; }
.tip-ifrac { display: inline-flex; flex-direction: column; align-items: center; vertical-align: middle; line-height: 1.05; margin: 0 .12em; font-variant-numeric: tabular-nums; }
.tip-ifrac > span:first-child { border-bottom: .07em solid currentColor; padding: 0 .12em .04em; }
.tip-ifrac > span:last-child { padding: .04em .12em 0; }
.tip-frac.sm { font-size: 42px; }
.tip-frac.sm .bar { min-width: 56px; height: 4px; }
.tip-frac-big { font-size: 42px; }
/* code: real tab characters, shown 4 spaces wide */
.editor textarea, pre.code, .tip-cm-code { tab-size: 4; -moz-tab-size: 4; }
.tip-cpp-out { display: flex; flex-direction: column; gap: 4px; }
.tip-cpp-out .tres { display: flex; align-items: center; gap: 10px; }
.tip-cpp-line { white-space: pre-wrap; word-break: break-word; color: var(--text-2); }
a.btn, a.btn:hover { text-decoration: none; }

/* ---------- card art (TIP_ART): one stage, one palette, one stroke weight for every lesson, trainer and game card ---------- */
:root { --k1: #2f6fdf; --k2: #d9860f; --k3: #1b9a5c; --k4: #d4434f; --k5: #7a58d6; }
:root[data-theme=dark] { --k1: #6aa5ff; --k2: #f2b356; --k3: #4cc98a; --k4: #ff7482; --k5: #a98fff; }
.tart { position: relative; height: 104px; overflow: hidden; border-bottom: 1px solid var(--line); contain: paint;
  background: radial-gradient(120% 90% at 50% 45%, color-mix(in srgb, var(--k1) 7%, var(--surface-2)), var(--surface-2) 70%); }
.tart::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: radial-gradient(color-mix(in srgb, var(--muted) 45%, transparent) .8px, transparent 1.1px); background-size: 14px 14px; background-position: 7px 7px;
  -webkit-mask-image: radial-gradient(90% 85% at 50% 50%, #000 40%, transparent 100%); mask-image: radial-gradient(90% 85% at 50% 50%, #000 40%, transparent 100%); }
.tart-svg { position: relative; width: 100%; height: 100%; display: block; overflow: hidden; }
.tart-svg path, .tart-svg rect, .tart-svg circle, .tart-svg polygon { stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tart-svg .w3 { stroke-width: 2.6; }
.tart-svg .thin { stroke-width: 1; opacity: .5; }
.tart-svg .arcw { stroke-width: 6; opacity: .75; }
.tart-svg .pie { stroke-width: 27; stroke-linecap: butt; opacity: .85; }
.tart-svg .dash { stroke-dasharray: 3 4; }
.tart-svg .ax { fill: none; stroke: var(--muted); opacity: .5; stroke-width: 1.3; }
.tart-svg .tile { fill: var(--surface); stroke: color-mix(in srgb, var(--muted) 45%, var(--line)); }
.tart-svg .sn { fill: none; stroke: var(--muted); }
.tart-svg .fn { fill: var(--muted); }
.tart-svg .s1 { fill: none; stroke: var(--k1); } .tart-svg .f1 { fill: var(--k1); } .tart-svg .t1 { fill: var(--k1); fill-opacity: .16; stroke: var(--k1); }
.tart-svg .s2 { fill: none; stroke: var(--k2); } .tart-svg .f2 { fill: var(--k2); } .tart-svg .t2 { fill: var(--k2); fill-opacity: .18; stroke: var(--k2); }
.tart-svg .s3 { fill: none; stroke: var(--k3); } .tart-svg .f3 { fill: var(--k3); } .tart-svg .t3 { fill: var(--k3); fill-opacity: .16; stroke: var(--k3); }
.tart-svg .s4 { fill: none; stroke: var(--k4); } .tart-svg .f4 { fill: var(--k4); } .tart-svg .t4 { fill: var(--k4); fill-opacity: .14; stroke: var(--k4); }
.tart-svg .s5 { fill: none; stroke: var(--k5); } .tart-svg .f5 { fill: var(--k5); } .tart-svg .t5 { fill: var(--k5); fill-opacity: .16; stroke: var(--k5); }
.tart-svg text { stroke: none; }
.tart-svg .tx { font-family: Inter, system-ui, sans-serif; font-weight: 600; fill: var(--text-2); font-variant-numeric: tabular-nums; }
.tart-svg .tx.b { font-weight: 700; }
.tart-svg .c1 { fill: var(--k1); } .tart-svg .c2 { fill: var(--k2); } .tart-svg .c3 { fill: var(--k3); } .tart-svg .c4 { fill: var(--k4); } .tart-svg .c5 { fill: var(--k5); }
.tart-svg .cinv { fill: #fff; }
:root[data-theme=dark] .tart-svg .cinv { fill: #10131a; }

/* ---------- maths: one style for every formula in the app ----------
   Every formula is set in display style (full-size fractions, sums, binomials). Inline formulae sit in
   inline-blocks with a little vertical room, so tall ones push the lines apart instead of overlapping. */
.katex { font-size: 1.08em; }
.katex:not(.katex-display > .katex) { display: inline-block; margin: .14em .04em; vertical-align: baseline; line-height: 1.2; }
.katex-display { display: block; margin: .7em 0; padding: .35em .25em; overflow-x: auto; overflow-y: hidden; text-align: center; }
.katex-display > .katex { display: block; margin: 0; }
.tip-tex { display: inline-block; }
.tip-lesson-page, .prob, .tip-chk-q, .tip-q, .tip-ex, .tip-call, .steps, .box { line-height: 1.7; }
.katex .mfrac .frac-line { border-bottom-width: .06em !important; }

/* ---------- lesson page ---------- */
.tip-lesson-page { padding: 22px 24px 20px; }
.tip-lh { border-bottom: 0; padding-bottom: 0; margin-bottom: 14px; }
.tip-lh-top { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.tip-lh-grp { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--k1); }
.tip-lh h2 { margin: 0 0 6px; font-size: 26px; letter-spacing: -.01em; }
.tip-lh-desc { margin: 0 0 10px; color: var(--text-2); font-size: 15px; }
.tip-lh-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 12.5px; color: var(--muted); }
.tip-lh-meta span + span::before { content: "·"; margin-right: 14px; color: var(--line); }
.tip-lh-bar { height: 4px; border-radius: 2px; background: var(--surface-2); margin-top: 12px; overflow: hidden; }
.tip-lh-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--k1), var(--k3)); border-radius: 2px; transition: width .5s var(--tm-out); }
.tip-ltoc { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; }
.tip-ltoc button { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--surface); color: var(--text-2); border-radius: 999px; padding: 4px 11px 4px 5px; font-size: 12.5px; cursor: pointer; }
.tip-ltoc button span { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--surface-2); font-size: 10.5px; font-weight: 700; color: var(--k1); }
.tip-ltoc button:hover { border-color: var(--k1); color: var(--text); }
.tip-lintro { font-size: 15.5px; background: color-mix(in srgb, var(--k1) 6%, var(--surface)); border: 1px solid color-mix(in srgb, var(--k1) 22%, var(--line)); border-radius: 12px; padding: 14px 16px; margin-bottom: 18px; }
.tip-lsec { margin: 0 0 18px; scroll-margin-top: 80px; }
.tip-lsec h3 { display: flex; align-items: center; gap: 10px; font-size: 17px; margin: 0 0 8px; }
.tip-lsec-n { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: var(--k1); color: #fff; font-size: 12.5px; font-weight: 700; flex: none; }
:root[data-theme=dark] .tip-lsec-n { color: #10131a; }
.tip-lsec-c { margin-left: auto; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.tip-lp { margin: 0 0 10px; font-size: 15px; }
.tip-lp p, .tip-lintro p { margin: 0; }
.tip-exs { display: grid; gap: 10px; }
.tip-ex { border: 1px solid var(--line); border-left: 3px solid var(--k2); border-radius: 10px; padding: 12px 14px; background: var(--surface); }
.tip-ex-h { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; font-size: 14px; }
.tip-ex-n { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: color-mix(in srgb, var(--k2) 18%, transparent); color: var(--k2); font-size: 11px; font-weight: 700; }
.tip-ex-q { font-size: 15px; margin-bottom: 8px; }
.tip-ex-show { margin-top: 2px; }
.tip-ex-steps { margin: 6px 0 0; padding-left: 22px; }
.tip-ex-steps li { margin: 4px 0; animation: tip-fadeup .35s var(--tm-out) both; }
.tip-ex-steps li::marker { color: var(--k2); font-weight: 700; }
@keyframes tip-fadeup { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.tip-callouts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 18px; scroll-margin-top: 80px; }
@media (max-width: 700px) { .tip-callouts { grid-template-columns: 1fr; } .tip-lesson-page { padding: 16px 14px; } .tip-lh h2 { font-size: 22px; } }
.tip-call { border-radius: 10px; padding: 12px 14px 8px; border: 1px solid var(--line); }
.tip-call.bad { background: color-mix(in srgb, var(--k4) 6%, var(--surface)); border-color: color-mix(in srgb, var(--k4) 25%, var(--line)); }
.tip-call.good { background: color-mix(in srgb, var(--k3) 6%, var(--surface)); border-color: color-mix(in srgb, var(--k3) 25%, var(--line)); }
.tip-call-h { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 6px; }
.tip-call.bad .tip-call-h { color: var(--k4); } .tip-call.good .tip-call-h { color: var(--k3); }
.tip-call ul { margin: 0; padding-left: 18px; font-size: 14.5px; } .tip-call li { margin: 0 0 6px; }
.tip-chk { margin-bottom: 10px; }

/* ---------- OA console: the in-game design used by every trainer and market game ---------- */
.oa-stage { position: relative; border: 1px solid var(--line); border-radius: 18px; background:
  radial-gradient(120% 70% at 50% -10%, color-mix(in srgb, var(--k1) 9%, transparent), transparent 60%), var(--surface);
  box-shadow: 0 1px 0 rgba(0,0,0,.02), 0 10px 30px -18px rgba(20,30,60,.35); overflow: hidden; }
.oa-stage::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: radial-gradient(color-mix(in srgb, var(--muted) 35%, transparent) .7px, transparent 1px); background-size: 16px 16px;
  -webkit-mask-image: linear-gradient(#000, transparent 220px); mask-image: linear-gradient(#000, transparent 220px); }
.oa-hud { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 14px 18px 10px; }
.oa-hud-l { min-width: 0; }
.oa-title { font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.oa-sub { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.oa-hud-r { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.oa-stat { display: flex; flex-direction: column; align-items: flex-end; min-width: 54px; padding: 4px 10px; border-radius: 10px; background: var(--surface-2); }
.oa-stat span { font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.oa-stat b { font-size: 17px; font-variant-numeric: tabular-nums; line-height: 1.2; }
.oa-stat.hot b { color: var(--k2); } .oa-stat.up b { color: var(--k3); } .oa-stat.dn b { color: var(--k4); }
.oa-pop { display: inline-block; animation: oa-pop .35s var(--tm-spring, ease) both; }
@keyframes oa-pop { from { transform: scale(1.35); } to { transform: none; } }
.oa-ring { position: relative; display: grid; place-items: center; flex: none; }
.oa-ring svg { position: absolute; inset: 0; }
.oa-ring-bg { fill: none; stroke: var(--surface-2); stroke-width: 5; }
.oa-ring-fg { fill: none; stroke: var(--k1); stroke-width: 5; stroke-linecap: round; transition: stroke-dashoffset .12s linear, stroke .3s; }
.oa-ring.mid .oa-ring-fg { stroke: var(--k2); } .oa-ring.bad .oa-ring-fg { stroke: var(--k4); }
.oa-ring b { position: relative; font-size: 12.5px; font-variant-numeric: tabular-nums; }
.oa-ring.bad b { color: var(--k4); }
.oa-rail { position: relative; display: grid; gap: 3px; padding: 0 18px 12px; }
.oa-rail i { height: 4px; border-radius: 2px; background: var(--surface-2); transition: background .25s; }
.oa-rail i.on { background: color-mix(in srgb, var(--k1) 55%, var(--surface-2)); animation: oa-blink 1.2s ease-in-out infinite; }
.oa-rail i.ok { background: var(--k3); } .oa-rail i.bad { background: var(--k4); } .oa-rail i.skip { background: color-mix(in srgb, var(--muted) 50%, transparent); }
@keyframes oa-blink { 50% { opacity: .45; } }
.oa-body { position: relative; padding: 4px 18px 18px; }
.oa-q { display: flex; flex-direction: column; gap: 16px; animation: oa-in .32s var(--tm-out, ease) both; }
@keyframes oa-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.oa-prompt, .oa-memo { min-height: 120px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; font-size: 18px; line-height: 1.6; padding: 10px 4px; }
.oa-big { font-size: clamp(30px, 7vw, 46px); font-weight: 700; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.oa-mid { font-size: clamp(20px, 4.5vw, 26px); font-weight: 650; }
.oa-lbl { font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.oa-choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.oa-choice { position: relative; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface);
  color: var(--text); font: inherit; font-size: 17px; font-weight: 600; text-align: left; cursor: pointer; transition: transform .12s, border-color .15s, background .15s, box-shadow .15s; animation: oa-in .28s var(--tm-out, ease) both; }
.oa-choice:hover:not(:disabled) { border-color: var(--k1); transform: translateY(-1px); box-shadow: 0 6px 16px -10px color-mix(in srgb, var(--k1) 70%, transparent); }
.oa-choice:active:not(:disabled) { transform: translateY(0) scale(.99); }
.oa-choice kbd { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--surface-2); color: var(--k1); font: 700 12px/1 Inter, system-ui, sans-serif; border: none; }
.oa-choice-v { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; font-variant-numeric: tabular-nums; }
.oa-choice:disabled { cursor: default; }
.oa-choice.ok { border-color: var(--k3); background: color-mix(in srgb, var(--k3) 12%, var(--surface)); }
.oa-choice.ok kbd { background: var(--k3); color: #fff; }
.oa-choice.bad { border-color: var(--k4); background: color-mix(in srgb, var(--k4) 10%, var(--surface)); animation: oa-shake .35s; }
.oa-choice.bad kbd { background: var(--k4); color: #fff; }
.oa-choice.dim { opacity: .5; }
@keyframes oa-shake { 20%, 60% { transform: translateX(-4px); } 40%, 80% { transform: translateX(4px); } }
.oa-num { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.oa-num-box { display: flex; align-items: center; gap: 6px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 12px; background: var(--surface); min-width: 200px; transition: border-color .15s, box-shadow .15s; }
.oa-num-box:focus-within { border-color: var(--k1); box-shadow: 0 0 0 4px color-mix(in srgb, var(--k1) 15%, transparent); }
.oa-num-box input { border: none; outline: none; background: transparent; color: var(--text); font: 600 22px/1 Inter, system-ui, sans-serif; font-variant-numeric: tabular-nums; padding: 11px 0; width: 100%; min-width: 0; text-align: center; }
.oa-num-box span { color: var(--muted); font-weight: 600; }
.oa-banner { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); animation: oa-in .28s var(--tm-out, ease) both; font-size: 15px; line-height: 1.6; }
.oa-banner.ok { background: color-mix(in srgb, var(--k3) 9%, var(--surface)); border-color: color-mix(in srgb, var(--k3) 35%, var(--line)); }
.oa-banner.bad { background: color-mix(in srgb, var(--k4) 8%, var(--surface)); border-color: color-mix(in srgb, var(--k4) 35%, var(--line)); }
.oa-banner.info { background: color-mix(in srgb, var(--k1) 7%, var(--surface)); }
.oa-banner-i { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: #fff; font-weight: 800; font-size: 13px; background: var(--k1); }
.oa-banner.ok .oa-banner-i { background: var(--k3); } .oa-banner.bad .oa-banner-i { background: var(--k4); }
.oa-banner-t { flex: 1; min-width: 0; } .oa-banner-t b { margin-right: 4px; }
.oa-quick { text-align: center; color: var(--k4); font-weight: 600; }
.oa-q.ok .oa-prompt { animation: oa-glow-ok .5s; } .oa-q.bad .oa-prompt { animation: oa-glow-bad .5s; }
@keyframes oa-glow-ok { 30% { filter: drop-shadow(0 0 10px color-mix(in srgb, var(--k3) 50%, transparent)); } }
@keyframes oa-glow-bad { 30% { filter: drop-shadow(0 0 10px color-mix(in srgb, var(--k4) 45%, transparent)); } }
/* results */
.oa-result { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); padding: 18px; display: flex; flex-direction: column; gap: 14px; animation: oa-in .35s var(--tm-out, ease) both; }
.oa-result-top { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.oa-result-top .oa-ring b { font-size: 20px; }
.oa-result-h h3 { margin: 2px 0; font-size: 24px; } .oa-result-h p { margin: 0; color: var(--text-2); font-size: 14px; }
.oa-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; }
.oa-metric { background: var(--surface-2); border-radius: 12px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; animation: oa-in .3s var(--tm-out, ease) both; }
.oa-metric span { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.oa-metric b { font-size: 20px; font-variant-numeric: tabular-nums; } .oa-metric em { font-style: normal; font-size: 12px; color: var(--muted); }
.oa-metric.up b { color: var(--k3); } .oa-metric.dn b { color: var(--k4); }
.oa-notes { font-size: 14px; color: var(--text-2); line-height: 1.6; }
.oa-review { display: flex; flex-direction: column; gap: 6px; }
.oa-rev { border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.oa-rev summary { display: flex; align-items: center; gap: 10px; padding: 8px 12px; cursor: pointer; list-style: none; font-size: 14px; }
.oa-rev summary::-webkit-details-marker { display: none; }
.oa-rev-m { flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #fff; background: var(--muted); }
.oa-rev.ok .oa-rev-m { background: var(--k3); } .oa-rev.bad .oa-rev-m { background: var(--k4); }
.oa-rev-q { flex: 1; min-width: 0; } .oa-rev-a { color: var(--text-2); font-weight: 600; } .oa-rev-t { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.oa-rev-x { padding: 0 12px 10px 42px; font-size: 14px; color: var(--text-2); line-height: 1.6; }
/* sprites */
.oa-art { display: block; margin: 0 auto; overflow: visible; }
.oa-art .s1, .oa-art .s2, .oa-art .s3, .oa-art .s4, .oa-art .s5 { fill: none; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.oa-art .s1 { stroke: var(--k1); } .oa-art .s2 { stroke: var(--k2); } .oa-art .s3 { stroke: var(--k3); } .oa-art .s4 { stroke: var(--k4); } .oa-art .s5 { stroke: var(--k5); }
.oa-art .f1 { fill: var(--k1); } .oa-art .f2 { fill: var(--k2); } .oa-art .f3 { fill: var(--k3); } .oa-art .f4 { fill: var(--k4); } .oa-art .f5 { fill: var(--k5); }
.oa-art .t1 { fill: color-mix(in srgb, var(--k1) 22%, transparent); stroke: var(--k1); stroke-width: 2; } .oa-art .t2 { fill: color-mix(in srgb, var(--k2) 24%, transparent); stroke: var(--k2); stroke-width: 2; }
.oa-art .t3 { fill: color-mix(in srgb, var(--k3) 22%, transparent); stroke: var(--k3); stroke-width: 2; } .oa-art .t4 { fill: color-mix(in srgb, var(--k4) 20%, transparent); stroke: var(--k4); stroke-width: 2; }
.oa-art .t5 { fill: color-mix(in srgb, var(--k5) 22%, transparent); stroke: var(--k5); stroke-width: 2; }
.oa-art .f1, .oa-art .f2, .oa-art .f3, .oa-art .f4, .oa-art .f5 { stroke: none; }
.oa-art .tile { fill: var(--surface); stroke: color-mix(in srgb, var(--muted) 40%, var(--line)); stroke-width: 1.5; }
.oa-art .ax { fill: none; stroke: var(--muted); opacity: .5; stroke-width: 1.4; }
.oa-art text { fill: var(--text); font-family: Inter, system-ui, sans-serif; font-weight: 700; }
.oa-art .mut { fill: var(--muted); font-weight: 600; }
.oa-shape { transition: transform .3s var(--tm-out, ease); }
.oa-die { flex: none; filter: drop-shadow(0 4px 8px rgba(20,30,60,.16)); }
.oa-die-face { fill: var(--surface); stroke: color-mix(in srgb, var(--muted) 45%, var(--line)); stroke-width: 2; }
.oa-die .oa-pip { fill: var(--k1); } .oa-die.k4 .oa-pip { fill: var(--k4); } .oa-die.k5 .oa-pip { fill: var(--k5); }
.oa-die.hid .oa-die-face { fill: color-mix(in srgb, var(--k1) 14%, var(--surface)); stroke: var(--k1); stroke-dasharray: 5 4; }
.oa-die-q { fill: var(--k1); font: 800 24px Inter, system-ui, sans-serif; }
.oa-die.roll { animation: oa-roll .55s var(--tm-out, ease) both; }
@keyframes oa-roll { 0% { transform: rotate(-200deg) scale(.4); opacity: 0; } 70% { transform: rotate(12deg) scale(1.06); opacity: 1; } 100% { transform: none; } }
.oa-card { position: relative; flex: none; border-radius: 9px; background: var(--surface); border: 1.5px solid color-mix(in srgb, var(--muted) 40%, var(--line)); box-shadow: 0 5px 12px -6px rgba(20,30,60,.3);
  display: flex; flex-direction: column; justify-content: space-between; padding: 5px 6px; color: var(--text); font-weight: 700; user-select: none; }
.oa-card.red { color: var(--k4); }
.oa-card-c { display: flex; flex-direction: column; align-items: center; width: max-content; font-size: 15px; line-height: 1; } .oa-card-c em { font-style: normal; font-size: 12px; }
.oa-card-c.r { align-self: flex-end; transform: rotate(180deg); }
.oa-card-m { position: absolute; inset: 0; display: grid; place-items: center; font-size: 26px; opacity: .9; }
.oa-card.back { background: repeating-linear-gradient(45deg, color-mix(in srgb, var(--k1) 22%, var(--surface)) 0 6px, color-mix(in srgb, var(--k1) 10%, var(--surface)) 6px 12px); border-color: var(--k1); }
.oa-card.back i { position: absolute; inset: 6px; border: 1.5px solid color-mix(in srgb, var(--k1) 60%, transparent); border-radius: 5px; }
.oa-card.flip { animation: oa-flip .5s var(--tm-out, ease) both; }
@keyframes oa-flip { 0% { transform: rotateY(90deg); } 100% { transform: none; } }
.oa-meter { display: flex; flex-direction: column; gap: 4px; } .oa-meter > span { font-size: 11.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.oa-meter-t { position: relative; height: 12px; border-radius: 6px; background: var(--surface-2); overflow: visible; }
.oa-meter-t i { position: absolute; inset: 0 auto 0 0; border-radius: 6px; background: linear-gradient(90deg, var(--k1), color-mix(in srgb, var(--k1) 60%, var(--k5))); transition: width .45s var(--tm-out, ease); }
.oa-meter.k3 .oa-meter-t i { background: var(--k3); } .oa-meter.k4 .oa-meter-t i { background: var(--k4); } .oa-meter.k2 .oa-meter-t i { background: var(--k2); }
.oa-meter-t u { position: absolute; top: -5px; bottom: -5px; width: 3px; margin-left: -1.5px; border-radius: 2px; background: var(--k2); text-decoration: none; }
.oa-spark { width: 100%; height: 90px; display: block; }
.oa-spark-l { fill: none; stroke: var(--k1); stroke-width: 2; vector-effect: non-scaling-stroke; }
.oa-spark-a { fill: color-mix(in srgb, var(--k1) 10%, transparent); stroke: none; }
.oa-spark-d { fill: var(--k1); }
.oa-spark .f2 { fill: var(--k2); } .oa-spark .f3 { fill: var(--k3); } .oa-spark .f4 { fill: var(--k4); }
@media (max-width: 600px) {
  .oa-hud { grid-template-columns: 1fr auto; } .oa-hud-r { grid-column: 1 / -1; justify-content: flex-start; }
  .oa-body { padding: 4px 12px 14px; } .oa-hud { padding: 12px 12px 8px; } .oa-rail { padding: 0 12px 10px; }
  .oa-choices { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } .oa-choice { font-size: 15.5px; min-height: 50px; padding: 8px 10px; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { .oa-q, .oa-choice, .oa-banner, .oa-result, .oa-metric, .oa-die.roll, .oa-card.flip, .oa-pop, .oa-rail i.on { animation: none !important; } }

/* ---------- market games ---------- */
.mm-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 760px) { .mm-grid { grid-template-columns: 1fr; } }
.mm-info { display: flex; flex-direction: column; gap: 10px; padding: 12px; border-radius: 14px; background: var(--surface-2); min-height: 150px; }
.mm-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding: 6px 0; perspective: 600px; }
.mm-kv { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13.5px; color: var(--text-2); }
.mm-kv b { color: var(--text); font-variant-numeric: tabular-nums; } .mm-kv b.up, b.up { color: var(--k3); } .mm-kv b.dn, b.dn { color: var(--k4); }
.mm-fair { font-size: 13px; color: var(--k2); margin-top: 6px; }
.mm-news { display: flex; flex-direction: column-reverse; gap: 6px; }
.mm-head { display: grid; grid-template-columns: auto 1fr; gap: 0 8px; padding: 8px 10px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; }
.mm-head span { grid-row: span 2; font-size: 15px; } .mm-head em { font-style: normal; font-size: 12px; color: var(--muted); }
.mm-head.up span { color: var(--k3); } .mm-head.dn span { color: var(--k4); } .mm-head.new { animation: oa-in .4s var(--tm-out, ease) both; border-color: var(--k2); }
.mm-head.none { display: block; color: var(--muted); }
.mm-right { display: flex; flex-direction: column; gap: 10px; }
.mm-ticket, .mm-book, .mm-settle { display: flex; flex-direction: column; gap: 10px; padding: 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); }
.mm-settle { align-items: flex-start; }
.mm-req { font-size: 14px; font-style: italic; color: var(--k2); animation: oa-in .3s both; }
.mm-quote { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mm-quote label { display: flex; flex-direction: column; gap: 4px; padding: 8px 10px; border-radius: 12px; border: 1.5px solid var(--line); }
.mm-quote label.bid { border-color: color-mix(in srgb, var(--k3) 45%, var(--line)); } .mm-quote label.ask { border-color: color-mix(in srgb, var(--k4) 45%, var(--line)); }
.mm-quote label span { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; } .mm-quote .bid span { color: var(--k3); } .mm-quote .ask span { color: var(--k4); }
.mm-quote input { border: none; outline: none; background: transparent; color: var(--text); font: 700 24px/1.1 Inter, system-ui, sans-serif; font-variant-numeric: tabular-nums; width: 100%; min-width: 0; }
.mm-steps { display: flex; gap: 6px; flex-wrap: wrap; }
.mm-err { color: var(--k4); font-size: 13.5px; font-weight: 600; }
.mm-bot { display: grid; grid-template-columns: 54px 1fr 1fr; gap: 6px; align-items: center; animation: oa-in .3s both; }
.mm-bot-n { font-weight: 700; font-size: 13.5px; } .mm-bot.used { opacity: .55; }
.mm-px { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 9px 12px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); color: var(--text); font: 600 14px Inter, system-ui, sans-serif; cursor: pointer; transition: transform .1s, background .15s; }
.mm-px b { font-variant-numeric: tabular-nums; font-size: 16px; } .mm-px kbd { font-size: 10px; }
.mm-px.bid { border-color: color-mix(in srgb, var(--k4) 45%, var(--line)); } .mm-px.bid b { color: var(--k4); }
.mm-px.ask { border-color: color-mix(in srgb, var(--k3) 45%, var(--line)); } .mm-px.ask b { color: var(--k3); }
.mm-px:hover:not(:disabled) { transform: translateY(-1px); background: var(--surface-2); } .mm-px:disabled { opacity: .5; cursor: default; }
.mm-tape { display: flex; flex-direction: column; gap: 4px; max-height: 190px; overflow: auto; }
.mm-tick { font-size: 13px; padding: 5px 10px; border-radius: 8px; background: var(--surface-2); color: var(--text-2); animation: oa-in .3s both; }
.mm-tick.up { border-left: 3px solid var(--k3); } .mm-tick.dn { border-left: 3px solid var(--k4); } .mm-tick.info { border-left: 3px solid var(--k1); } .mm-tick.bad { color: var(--k4); }
.etf-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 16px; } @media (max-width: 700px) { .etf-grid { grid-template-columns: 1fr; } }
.etf-basket { display: flex; flex-direction: column; gap: 8px; padding: 12px; border-radius: 14px; background: var(--surface-2); }
.etf-comp { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; background: var(--surface); }
.etf-tk { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: color-mix(in srgb, var(--k1) 15%, transparent); color: var(--k1); font-weight: 800; }
.etf-comp b { font-size: 18px; font-variant-numeric: tabular-nums; } .etf-comp em { font-style: normal; color: var(--muted); font-size: 12px; }
.etf-nav { display: flex; justify-content: space-between; padding: 8px 10px; border-radius: 10px; border: 1.5px dashed var(--k2); } .etf-nav b { color: var(--k2); font-variant-numeric: tabular-nums; } .etf-nav.hide b { font-weight: 600; font-size: 13px; }
.etf-quote { display: flex; flex-direction: column; gap: 10px; }
.etf-q { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; animation: oa-in .25s both; } .etf-q .mm-px { padding: 14px; } .etf-q .mm-px b { font-size: 22px; } .etf-q.wait { display: block; color: var(--muted); text-align: center; padding: 18px; }
.etf-q.taken { opacity: .6; }
.desk-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; max-width: 520px; }
.desk { display: flex; flex-direction: column; padding: 8px; border-radius: 10px; background: var(--surface-2); font-size: 13px; } .desk b { font-size: 17px; font-variant-numeric: tabular-nums; }
.bb-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; width: 100%; max-width: 560px; }
.bb-cell { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px; border-radius: 14px; background: var(--surface-2); animation: oa-in .3s both; }
.bb-cell span { font-size: 13px; color: var(--text-2); font-weight: 600; } .bb-cell b { font-size: 28px; font-variant-numeric: tabular-nums; } .bb-cell em { font-style: normal; font-size: 11.5px; color: var(--muted); } .bb-cell i { font-style: normal; font-size: 12.5px; color: var(--k3); font-weight: 700; }
.bb-imp { font-size: 15px; }
.fe-row { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 8px; } .fe-row .oa-num-box { min-width: 0; } .fe-row input { font-size: 18px !important; }
@media (max-width: 600px) { .fe-row { grid-template-columns: 1fr; } }
.hl-row { display: flex; gap: 14px; justify-content: center; perspective: 600px; }
.hl-count { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; font-size: 14px; color: var(--text-2); } .hl-count b { color: var(--text); }
.oa-skip { align-self: center; }

/* ---------- trainer sprites and layouts (all on the OA console) ---------- */
.sq-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.sq-t { min-width: 54px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); font-size: clamp(20px, 4.5vw, 28px); font-weight: 700; font-variant-numeric: tabular-nums; animation: oa-in .3s both; }
.sq-t.q { background: color-mix(in srgb, var(--k2) 16%, var(--surface)); color: var(--k2); border: 2px dashed var(--k2); }
.pb-q { max-width: 640px; font-size: 18px; line-height: 1.65; }
.ts-box { display: grid; grid-template-rows: 1fr 1fr; width: min(320px, 100%); height: 220px; border: 2px solid var(--line); border-radius: 16px; overflow: hidden; }
.ts-half { position: relative; display: grid; place-items: center; background: var(--surface); }
.ts-half.t { border-bottom: 2px dashed var(--line); } .ts-half.on { background: color-mix(in srgb, var(--k1) 7%, var(--surface)); }
.ts-rule { position: absolute; top: 6px; left: 10px; font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--muted); }
.ts-pair { font-size: 44px; letter-spacing: .04em; animation: oa-pop .25s both; }
.ts-keys { display: flex; gap: 10px; justify-content: center; } .ts-keys .mm-px { min-width: 140px; justify-content: center; gap: 10px; font-size: 16px; }
.cf-box { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.cf-row { display: flex; gap: 6px; } .cf-arrow path { fill: none; stroke: var(--text); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.cf-simon { display: grid; grid-template-columns: 1fr 1fr; width: min(360px, 100%); height: 110px; border: 2px solid var(--line); border-radius: 16px; }
.cf-simon span { display: grid; place-items: center; } .cf-simon span + span { border-left: 2px dashed var(--line); }
.cf-simon i { width: 54px; height: 54px; border-radius: 50%; animation: oa-pop .25s both; } .cf-simon i.b { background: var(--k1); } .cf-simon i.a { background: var(--k2); }
.cf-word { font-size: 52px; font-weight: 800; letter-spacing: .04em; animation: oa-pop .25s both; }
.cf-word.k1, .cf-sw.k1 { color: var(--k1); } .cf-word.k2, .cf-sw.k2 { color: var(--k2); } .cf-word.k3, .cf-sw.k3 { color: var(--k3); } .cf-word.k4, .cf-sw.k4 { color: var(--k4); }
.pc-flash { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.pc-slot { position: relative; width: 120px; height: 120px; border-radius: 22px; background: var(--surface-2); border: 2px solid var(--line); }
.pc-slot b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 64px; color: var(--k1); opacity: 0; animation-name: pc-flash; animation-fill-mode: both; animation-timing-function: ease; }
@keyframes pc-flash { 0% { opacity: 0; transform: scale(.7); } 15% { opacity: 1; transform: none; } 80% { opacity: 1; } 100% { opacity: 0; } }
.pc-dots { display: flex; gap: 6px; } .pc-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--surface-2); animation: pc-dot .2s both; animation-play-state: running; }
@keyframes pc-dot { to { background: var(--k1); } }
.cm-target { padding: 10px 18px; border-radius: 12px; background: color-mix(in srgb, var(--k2) 12%, var(--surface)); border: 2px solid var(--k2); }
.cm-code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 24px; font-weight: 700; letter-spacing: .14em; }
.cm-target .cm-code { font-size: 30px; }
.cb-opts .oa-choice-v svg { width: 92px; } .ir-opts .oa-choice-v svg { width: 74px; }
.cb-opts .oa-choice, .ir-opts .oa-choice { flex-direction: column; gap: 4px; padding: 8px 6px; }
.ir-row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.ir-cell { width: 84px; animation: oa-in .3s both; } .ir-cell svg { width: 84px; }
.ir-cell.q { display: grid; place-items: center; height: 84px; border-radius: 12px; border: 2px dashed var(--k2); color: var(--k2); font-size: 30px; font-weight: 800; }
.sg-row { display: flex; gap: 10px; } .sg-card { width: 76px; padding: 3px; border-radius: 14px; background: var(--surface-2); animation: oa-in .3s both; }
.sg-out { display: flex; flex-direction: column; align-items: center; font-size: 22px; font-weight: 700; animation: oa-pop .3s both; } .sg-out em { font-style: normal; font-size: 13px; color: var(--muted); font-weight: 600; }
.sg-out.sun { color: var(--k2); } .sg-out.rain { color: var(--k1); } .sg-out.wait { color: var(--muted); font-size: 15px; animation: none; }
.tg-target { display: flex; flex-direction: column; align-items: center; padding: 10px 26px; border-radius: 50%; border: 3px solid var(--k2); color: var(--k2); }
.tg-target span { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; } .tg-target b { font-size: 34px; }
.tg-nums { display: flex; gap: 10px; } .tg-nums span { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 14px; background: var(--surface-2); font-size: 26px; font-weight: 700; animation: oa-in .3s both; }
.tg-pad { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; } .tg-pad .btn { min-width: 42px; font-size: 16px; }
.gr-grid { display: grid; gap: 8px; width: min(340px, 100%); margin: 0 auto; }
.gr-cell { aspect-ratio: 1; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface-2); cursor: pointer; transition: background .15s, transform .1s; display: grid; place-items: center; color: #fff; font-weight: 800; }
.gr-cell i { font-style: normal; } .gr-cell:hover:not(:disabled) { transform: scale(1.03); }
.gr-cell.lit { background: var(--k1); box-shadow: 0 0 18px -2px var(--k1); } .gr-cell.dec { background: var(--k4); }
.gr-cell.ok { background: var(--k3); } .gr-cell.bad { background: var(--k4); } .gr-cell.miss { background: color-mix(in srgb, var(--k1) 45%, var(--surface-2)); }
.hf-wrap { display: flex; flex-direction: column; gap: 12px; align-items: center; user-select: none; touch-action: manipulation; }
.hf-rule { font-weight: 700; font-size: 15px; padding: 6px 14px; border-radius: 999px; background: var(--surface-2); transition: all .3s; } .hf-rule.big { font-size: 22px; background: color-mix(in srgb, var(--k2) 16%, var(--surface)); color: var(--k2); }
.hf-stage { width: 190px; height: 190px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); border: 3px solid var(--line); transition: border-color .15s, box-shadow .15s; }
.hf-stage svg { width: 140px; animation: oa-pop .18s both; } .hf-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--muted); opacity: .5; }
.hf-stage.hit { border-color: var(--k3); box-shadow: 0 0 0 6px color-mix(in srgb, var(--k3) 22%, transparent); } .hf-stage.fa, .hf-stage.miss { border-color: var(--k4); box-shadow: 0 0 0 6px color-mix(in srgb, var(--k4) 20%, transparent); }
.ic-wrap { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.ic-field { width: min(340px, 100%); border-radius: 14px; background: linear-gradient(var(--surface-2), var(--surface)); border: 1px solid var(--line); touch-action: manipulation; }
.ic-lane { stroke: var(--line); stroke-dasharray: 4 6; } .ic-line { stroke: var(--k4); stroke-width: 2; opacity: .5; }
.ic-ball { fill: var(--k4); } .ic-trail { fill: var(--k4); opacity: .25; } .ic-shot { stroke: var(--k2); stroke-width: 4; stroke-linecap: round; }
.ic-boom { fill: none; stroke: var(--k3); stroke-width: 3; } .ic-gun path { fill: var(--k1); } .ic-gun { transition: transform .08s; }
.bs-wrap { display: flex; flex-direction: column; gap: 10px; } .bs-bank { display: flex; gap: 6px; justify-content: center; }
.bs-bank i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--k2); } .bs-bank i.on { background: var(--k2); }
.bs-field { position: relative; height: 340px; border-radius: 14px; background: var(--surface-2); }
.bs-box { position: absolute; width: 58px; height: 58px; margin: -29px 0 0 -29px; border: none; background: none; padding: 0; cursor: pointer; transition: transform .12s; } .bs-box:hover { transform: scale(1.06); }
.bs-box svg { width: 100%; height: 100%; } .bs-body { fill: color-mix(in srgb, var(--k1) 22%, var(--surface)); stroke: var(--k1); stroke-width: 2; } .bs-lid { fill: var(--k1); transition: d .2s; }
.bs-box.tok .bs-body { fill: color-mix(in srgb, var(--k2) 25%, var(--surface)); stroke: var(--k2); } .bs-tok { fill: var(--k2); animation: oa-pop .3s both; }
.bs-box.bad .bs-body { stroke: var(--k4); fill: color-mix(in srgb, var(--k4) 18%, var(--surface)); }
.dl-wrap { display: flex; flex-direction: column; gap: 10px; align-items: center; user-select: none; touch-action: manipulation; }
.dl-code { display: flex; gap: 8px; } .dl-code i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--k3); } .dl-code i.on { background: var(--k3); } .dl-code i.cur { box-shadow: 0 0 0 4px color-mix(in srgb, var(--k3) 25%, transparent); }
.dl-dial { width: min(260px, 80vw); } .dl-face { fill: var(--surface-2); stroke: var(--line); stroke-width: 2; } .dl-tick { stroke: var(--muted); stroke-width: 1.5; opacity: .6; }
.dl-arc { fill: none; stroke: var(--k2); stroke-width: 12; stroke-linecap: round; opacity: .85; } .dl-needle { stroke: var(--k1); stroke-width: 5; stroke-linecap: round; } .dl-hub { fill: var(--k1); }
.dl-dial.ok .dl-face { fill: color-mix(in srgb, var(--k3) 18%, var(--surface)); } .dl-dial.bad .dl-face { fill: color-mix(in srgb, var(--k4) 16%, var(--surface)); }
.tr-pay table { border-collapse: collapse; margin: 4px auto 0; font-size: 14px; } .tr-pay th, .tr-pay td { padding: 6px 12px; border: 1px solid var(--line); text-align: center; } .tr-pay td { font-weight: 700; font-variant-numeric: tabular-nums; }
.tr-hist { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.tr-col { display: flex; flex-direction: column; gap: 4px; animation: oa-in .3s both; } .tr-col b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; font-size: 13px; color: #fff; }
.tr-col b.h { background: var(--k3); } .tr-col b.l { background: var(--k4); } .tr-col.q b { background: var(--surface-2); color: var(--muted); }
.hr-meter { padding: 6px 4px; } .hr-meter .oa-meter-t { height: 18px; border-radius: 9px; } .hr-meter .oa-meter-t i { border-radius: 9px; }
.hr-gens { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.hr-gen { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); cursor: pointer; transition: transform .1s; color: var(--text); }
.hr-gen:active { transform: scale(.96); } .hr-gen svg { width: 52px; } .hr-gen circle { fill: var(--surface-2); stroke-width: 2; } .hr-gen path { stroke: none; }
.hr-gen.k1 circle { stroke: var(--k1); } .hr-gen.k1 path { fill: var(--k1); } .hr-gen.k5 circle { stroke: var(--k5); } .hr-gen.k5 path { fill: var(--k5); }
.hr-gen.k3 circle { stroke: var(--k3); } .hr-gen.k3 path { fill: var(--k3); } .hr-gen.k4 circle { stroke: var(--k4); } .hr-gen.k4 path { fill: var(--k4); }
.hr-trail { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; font-size: 13px; color: var(--text-2); }
.hr-trail span { padding: 3px 8px; border-radius: 8px; background: var(--surface-2); } .hr-trail i, .hr-row i { font-style: normal; font-weight: 700; margin-right: 4px; }
i.k1 { color: var(--k1); } i.k3 { color: var(--k3); } i.k4 { color: var(--k4); } i.k5 { color: var(--k5); }
.hr-name { display: flex; flex-direction: column; gap: 8px; } .hr-row { display: flex; align-items: center; gap: 8px; }
.pt-build { display: flex; gap: 16px; align-items: center; justify-content: center; flex-wrap: wrap; } .pt-prev svg { width: 130px; }
.pt-ctl { display: flex; flex-direction: column; gap: 8px; } .pt-ctl .row { gap: 6px; align-items: center; } .pt-ctl b { min-width: 40px; text-align: center; font-variant-numeric: tabular-nums; }
.pm-wrap { display: flex; flex-direction: column; align-items: center; gap: 10px; } .pm-svg { width: min(260px, 70vw); overflow: visible; }
.sl-goal { display: flex; align-items: center; gap: 10px; justify-content: center; } .sl-goal svg { width: 150px; }
.oa-art .sl-hit { fill: transparent; stroke: none; } .oa-art .sl-lift { transform: translateY(-8px); }
.my-grid { display: grid; grid-template-columns: auto 1fr; gap: 16px; } @media (max-width: 640px) { .my-grid { grid-template-columns: 1fr; } }
.my-build { display: flex; gap: 12px; align-items: flex-start; flex-wrap: wrap; } .my-build > svg { width: 110px; }
.my-ctl { display: flex; flex-direction: column; gap: 8px; } .my-ctl .row { gap: 4px; flex-wrap: wrap; }
.my-log { display: flex; flex-direction: column; gap: 6px; max-height: 300px; overflow: auto; }
.my-try { display: flex; align-items: center; gap: 10px; animation: oa-in .3s both; } .my-try svg { width: 46px; }
.my-pips { display: flex; gap: 4px; } .my-pips i { width: 12px; height: 12px; border-radius: 50%; background: var(--surface-2); border: 1.5px solid var(--line); } .my-pips i.on { background: var(--k3); border-color: var(--k3); }
.sw-field { position: relative; height: min(420px, 70vh); border-radius: 14px; background: var(--surface-2); overflow: hidden; touch-action: manipulation; user-select: none; }
.sw-dial { position: absolute; width: 72px; height: 72px; margin: -36px 0 0 -36px; border: none; background: none; padding: 0; cursor: pointer; animation: oa-pop .3s both; }
.sw-dial svg { width: 100%; height: 100%; } .sw-face { fill: var(--surface); stroke: var(--line); stroke-width: 1.5; } .sw-life { fill: none; stroke: var(--k1); stroke-width: 2.5; opacity: .6; }
.sw-arc { fill: none; stroke: var(--k3); stroke-width: 6; stroke-linecap: round; } .sw-needle { stroke: var(--text); stroke-width: 2.5; stroke-linecap: round; } .sw-hub { fill: var(--text); }
.sw-fx { position: absolute; width: 80px; height: 80px; margin: -40px 0 0 -40px; border-radius: 50%; border: 3px solid; pointer-events: none; } .sw-fx.ok { border-color: var(--k3); } .sw-fx.bad { border-color: var(--k4); }

/* ---------- deck: dice and real playing cards ---------- */
.dk-die { display: inline-block; flex: none; filter: drop-shadow(0 5px 8px rgba(20,30,60,.18)); }
.dk-die svg { display: block; overflow: visible; }
.dk-face { fill: url(#dk-dg); stroke: color-mix(in srgb, var(--muted) 45%, var(--line)); stroke-width: 2; }
:root[data-theme=dark] .dk-face { fill: #f1f3f8; }
.dk-gloss { fill: #fff; opacity: .55; }
.dk-pip { fill: var(--k1); } .dk-die.k4 .dk-pip { fill: var(--k4); } .dk-die.k5 .dk-pip { fill: var(--k5); }
:root[data-theme=dark] .dk-pip { fill: #2f6fdf; }
.dk-die.hid .dk-face { fill: color-mix(in srgb, var(--k1) 14%, var(--surface)); stroke: var(--k1); stroke-dasharray: 5 4; } .dk-die.hid .dk-gloss { display: none; }
.dk-q { fill: var(--k1); font: 800 24px Inter, system-ui, sans-serif; }
.dk-die.roll { animation: dk-shake .24s linear infinite; }
.dk-die.land { animation: dk-land .38s cubic-bezier(.3,1.6,.5,1) both; }
@keyframes dk-shake { 0%,100% { transform: none; } 20% { transform: translate(-2px,1px) rotate(-6deg); } 45% { transform: translate(2px,-1px) rotate(5deg); } 70% { transform: translate(-1px,0) rotate(-3deg); } }
@keyframes dk-land { 0% { transform: rotate(4deg) scale(1.04); } 60% { transform: rotate(-1.5deg); } 100% { transform: none; } }
.dk-card { display: inline-block; flex: none; perspective: 700px; }
.dk-in { position: relative; display: block; width: 100%; height: 100%; transform-style: preserve-3d; transform: rotateY(180deg); transition: transform .6s cubic-bezier(.3,.7,.25,1); }
.dk-card.up .dk-in { transform: none; }
.dk-side { position: absolute; inset: 0; width: 100%; height: 100%; backface-visibility: hidden; -webkit-backface-visibility: hidden; filter: drop-shadow(0 2px 4px rgba(20,30,60,.2)); }
.dk-rear { transform: rotateY(180deg); }
.dk-paper { fill: #fff; stroke: #2b2b2b; stroke-width: 3; }
.dk-back { fill: #2c5bbd; stroke: #1d3f87; stroke-width: 3; }
.dk-red { fill: #e10000; } .dk-blk { fill: #000; }
.dk-idx { font: 700 42px "Arial Black", "Helvetica Neue", Arial, sans-serif; letter-spacing: -2px; }
@media (prefers-reduced-motion: reduce) { .dk-in { transition: none; } .dk-die { animation: none !important; } }

/* ---------- Pump: flat balloon in the shared style ---------- */
.pm-wrap { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.pm-art { width: min(320px, 80vw); }
.oa-art .pm-line { fill: none; stroke: var(--muted); stroke-width: 1.5; }
.oa-art .pm-hl { fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; opacity: .7; }
.oa-art .pm-burst path { stroke-width: 3; }
.pm-burst { animation: oa-pop .35s both; transform-box: fill-box; transform-origin: center; }
.pm-grow { animation: pm-grow .3s cubic-bezier(.3,1.5,.5,1); transform-box: fill-box; transform-origin: 50% 100%; }
@keyframes pm-grow { 0% { transform: scale(.96); } 100% { transform: none; } }
.pm-ball { transition: transform .6s ease-in, opacity .6s; }
.pm-ball.bank { transform: translateY(-80px); opacity: 0; }
@media (prefers-reduced-motion: reduce) { .pm-grow, .pm-burst { animation: none !important; } .pm-ball { transition: none; } }

/* ---------- Scale Weights ---------- */
.sc-wrap { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; }
.sc-row { display: flex; flex-wrap: wrap; gap: 14px 22px; justify-content: center; width: 100%; }
.sc-cell { flex: 0 1 300px; min-width: 220px; padding: 6px 4px 2px; border-radius: 14px; background: var(--surface-2); }
.sc-cell.q { background: color-mix(in srgb, var(--k2) 8%, var(--surface-2)); }
.oa-art .sc-beam { stroke: var(--k1); stroke-width: 5; stroke-linecap: round; fill: none; }
.oa-art .sc-pivot { fill: var(--k1); stroke: var(--surface); stroke-width: 2; }
.oa-art .sc-post { fill: var(--surface); stroke: color-mix(in srgb, var(--muted) 55%, var(--line)); stroke-width: 1.5; }
.oa-art .sc-cord { stroke: var(--muted); stroke-width: 1.2; opacity: .6; fill: none; }
.oa-art .sc-pan { fill: color-mix(in srgb, var(--muted) 14%, var(--surface)); stroke: color-mix(in srgb, var(--muted) 60%, var(--line)); stroke-width: 1.6; }
.oa-art .sc-q { fill: var(--k2); font: 800 30px Inter, system-ui, sans-serif; }
@media (max-width: 600px) { .oa-choices.cm-opts { grid-template-columns: 1fr !important; } .cm-code { font-size: 19px; letter-spacing: .08em; } .cm-target .cm-code { font-size: 22px; } }

/* ---------- 22 Nov: Optiver modules, new assessment games, Market of Cards, Odds Betting, Superday ---------- */
.oa-big-q { display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 640px; font-size: 17px; line-height: 1.6; }
.oa-big-q .tbl { font-size: 14px; }
.ll-wrap { display: flex; flex-direction: column; gap: 10px; }
.ll-list { display: grid; gap: 8px; }
.ll-item { display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 8px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); color: var(--text); font: inherit; font-size: 15px; text-align: left; cursor: pointer; transition: border-color .15s, transform .12s var(--tm-spring), background .15s; }
.ll-item:hover:not(:disabled) { border-color: var(--k1); transform: translateY(-1px); }
.ll-item.on { border-color: var(--k1); background: color-mix(in srgb, var(--k1) 8%, var(--surface)); }
.ll-n { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--surface-2); color: var(--k1); font: 700 13px/1 Inter, system-ui, sans-serif; }
.ll-item.on .ll-n { background: var(--k1); color: #fff; animation: oa-pop .25s both; }
.ob-tbl { width: auto; min-width: 260px; margin: 0 auto; }
.ob-tbl td, .ob-tbl th { text-align: center; font-variant-numeric: tabular-nums; }
.nr-tbl caption { caption-side: top; font-weight: 700; font-size: 13px; color: var(--muted); padding-bottom: 6px; }
.nr-tbl td, .nr-tbl th { font-variant-numeric: tabular-nums; }
.kp-wrap { display: flex; justify-content: center; padding: 10px 0; }
.kp-pad { width: min(320px, 100%); min-height: 150px; border-radius: 18px; border: 2px dashed var(--line); background: var(--surface-2); color: var(--muted); font: 700 18px Inter, system-ui, sans-serif; cursor: pointer; touch-action: manipulation; user-select: none; transition: transform .06s, border-color .15s; }
.kp-pad.on { border-style: solid; border-color: var(--k1); color: var(--k1); font-size: 40px; }
.kp-pad:active { transform: scale(.97); }
.eh-wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; width: 100%; }
.eh-prob { font-size: 16px; } .eh-prob b { color: var(--k2); font-size: 20px; }
.eh-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: min(460px, 100%); }
.eh-opt { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px; cursor: pointer; border: 1.5px solid var(--line); font: inherit; color: var(--text); transition: border-color .15s, transform .12s var(--tm-spring); }
.eh-opt:hover { border-color: var(--k1); transform: translateY(-2px); }
.eh-opt b { font-size: 18px; } .eh-opt span { color: var(--muted); font-size: 13px; } .eh-opt em { font-style: normal; font-weight: 800; font-size: 22px; color: var(--k3); }
.eh-msg { font-size: 18px; font-weight: 700; min-height: 60px; display: grid; place-items: center; animation: oa-pop .3s both; }
.fd-wrap { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.fd-row { display: grid; grid-template-columns: repeat(4, auto); gap: 14px; }
.fd-deck { display: flex; flex-direction: column; align-items: center; gap: 6px; background: none; border: none; padding: 4px; cursor: pointer; color: var(--text); font: inherit; font-size: 13px; transition: transform .12s var(--tm-spring); }
.fd-deck:hover { transform: translateY(-3px); } .fd-deck.on .oa-card { outline: 2px solid var(--k1); outline-offset: 2px; }
.fd-msg { font-size: 16px; min-height: 26px; }
.cd-grid { display: grid; gap: 8px; justify-content: center; }
.cd-cell { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); }
button.cd-cell { cursor: pointer; transition: border-color .15s, transform .12s var(--tm-spring); } button.cd-cell:hover:not(:disabled) { border-color: var(--k1); transform: translateY(-1px); }
.cd-cell.ok { border-color: var(--k3); background: color-mix(in srgb, var(--k3) 12%, var(--surface)); } .cd-cell.bad { border-color: var(--k4); background: color-mix(in srgb, var(--k4) 12%, var(--surface)); }
.cd-cell svg path { fill: none; stroke: var(--k1); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.dg-wrap { gap: 8px; align-items: center; }
.dg-row { display: flex; align-items: center; gap: 8px; font: 700 17px/1 var(--mono, monospace); letter-spacing: .06em; }
.dg-row > span { color: var(--muted); }
.dg-q { margin-top: 6px; padding: 8px 12px; border-radius: 12px; background: var(--surface-2); }
.dg-box { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; border: 1.5px solid var(--line); background: var(--surface); }
.dg-box svg { width: 26px; height: 26px; }
.mc-hands { display: flex; gap: 10px; flex-wrap: wrap; }
.mc-seat { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.mc-seat.me { color: var(--k1); }
.mc-imp { font-style: normal; font-weight: 600; font-size: 11.5px; color: var(--k5); }
.mm-bot-n .mc-imp { display: block; }
.ob-wrap { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; }
.ob-odds { font-size: 16px; } .ob-odds b { color: var(--k2); font-size: 20px; }
.ob-fr { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.ob-fr .chip { height: 36px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); color: var(--text); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .12s var(--tm-spring); }
.ob-fr .chip:hover { border-color: var(--accent); }
.ob-fr .chip.on { background: var(--accent); color: var(--on-accent); border-color: var(--accent); transform: scale(1.04); }
.ob-wrap > .row { width: min(460px, 100%); }
.sd-gate { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; max-width: 620px; margin: 0 auto; }
.sd-gate h3 { margin: 0; font-size: 22px; }
.sd-gate p { margin: 0; }
.sd-steps { display: flex; flex-wrap: wrap; gap: 6px; }
.sd-steps .chip.on { border-color: var(--accent); color: var(--accent); }

/* ---------- 22 Nov: Readiness tab, dashboard cards, mistake tags ---------- */
.rd-view { gap: 14px; }
.rd-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; flex-wrap: wrap; }
.rd-how summary { cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 13.5px; color: var(--accent); list-style: none; }
.rd-how summary::-webkit-details-marker { display: none; }
.rd-how ul { margin: 8px 0 0; padding-left: 18px; line-height: 1.6; max-width: 560px; color: var(--text-2); }
.rd-head .rd-how[open] { flex-basis: 100%; }
.rd-list { padding: 4px 0; }
.rd-row { display: grid; grid-template-columns: auto minmax(110px, 1.1fr) minmax(80px, 2fr) 34px 34px; align-items: center; gap: 12px; width: 100%; padding: 10px 16px; border: none; border-bottom: 1px solid var(--line); background: none; color: var(--text); font: inherit; text-align: left; cursor: pointer; transition: background .15s; }
.rd-row:last-child { border-bottom: none; }
.rd-row:hover { background: var(--surface-2); }
.rd-row.sm { grid-template-columns: minmax(90px, 1fr) minmax(60px, 1.6fr) 34px; padding: 8px 0; border-bottom: none; }
.rd-row.sm:hover { background: none; } .rd-row.sm:hover b { color: var(--accent); }
.rd-name { display: flex; flex-direction: column; min-width: 0; } .rd-name b { font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .rd-name em { font-style: normal; font-size: 12px; color: var(--muted); }
.rd-num { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.rd-num.hi { color: var(--ok); } .rd-num.mid { color: var(--warn); } .rd-num.lo { color: var(--err); }
.rd-d { text-align: right; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; } .rd-d.up { color: var(--ok); } .rd-d.dn { color: var(--err); }
.rd-bar { height: 8px; } .rd-bar i { transition: width .5s var(--tm-spring, ease); }
.rd-bar.hi i { background: var(--ok); } .rd-bar.mid i { background: var(--warn); } .rd-bar.lo i { background: var(--err); } .rd-bar i { background: var(--empty); }
.rd-bar.hi i, .rd-bar.mid i, .rd-bar.lo i { min-width: 3px; }
.rd-star { flex: none; width: 30px; height: 30px; border-radius: 8px; border: none; background: none; color: var(--muted); font-size: 18px; line-height: 1; cursor: pointer; transition: color .15s, transform .12s var(--tm-spring); }
.rd-star:hover { color: var(--warn); transform: scale(1.12); } .rd-star.on { color: var(--warn); }
.rd-foot { margin: 0; }
.rd-arc { stroke: var(--empty); } .rd-ring.hi .rd-arc { stroke: var(--ok); } .rd-ring.mid .rd-arc { stroke: var(--warn); } .rd-ring.lo .rd-arc { stroke: var(--err); }
.rd-top { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.rd-stages { display: flex; flex-direction: column; gap: 4px; margin-bottom: 14px; }
.rd-st { display: grid; grid-template-columns: minmax(130px, 1fr) minmax(80px, 1.4fr) 34px; align-items: center; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.rd-st:last-child { border-bottom: none; }
.rd-st-n { display: flex; flex-direction: column; } .rd-st-n b { font-size: 14px; } .rd-st-n em { font-style: normal; font-size: 12px; color: var(--muted); }
.rd-nd { line-height: 1.3; }
.rd-weak { margin-bottom: 10px; background: var(--warn-soft); border-color: transparent; }
.rd-proc { margin: 0 0 10px; padding-left: 20px; line-height: 1.6; }
.rd-dcard { display: flex; flex-direction: column; gap: 2px; }
.rd-dcard > .row { margin-bottom: 4px; }
.rd-mrows { display: flex; flex-direction: column; gap: 8px; }
.rd-mrow { display: grid; grid-template-columns: minmax(140px, 1fr) minmax(80px, 2fr) 34px; align-items: center; gap: 12px; }
.rd-mname { display: flex; flex-direction: column; } .rd-mname b { font-size: 14px; } .rd-mname em { font-style: normal; font-size: 12px; color: var(--muted); }
.rd-mbar { height: 8px; } .rd-mbar.t-slip i { background: var(--k2); } .rd-mbar.t-misread i { background: var(--k5); } .rd-mbar.t-concept i { background: var(--k4); } .rd-mbar.t-time i { background: var(--k1); }
.oa-rev summary .rd-tag { margin-left: 8px; height: 30px; padding: 0 26px 0 10px; font-size: 12px; font-weight: 600; border-radius: 8px; flex: 0 0 auto; width: auto !important; min-width: 0; max-width: 190px; background-position: right 8px center; }
.oa-rev summary:has(.rd-tag) .oa-rev-q { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rd-tag.t-slip { color: var(--k2); } .rd-tag.t-misread { color: var(--k5); } .rd-tag.t-concept { color: var(--k4); } .rd-tag.t-time { color: var(--k1); }
@media (max-width: 600px) {
  .rd-row { grid-template-columns: auto minmax(90px, 1fr) minmax(50px, 1fr) 30px 28px; gap: 8px; padding: 10px 10px; }
  .rd-st { grid-template-columns: minmax(110px, 1fr) minmax(60px, 1fr) 30px; gap: 8px; }
  .rd-mrow { grid-template-columns: minmax(110px, 1fr) minmax(50px, 1fr) 30px; gap: 8px; }
  .eh-pick { grid-template-columns: 1fr; }
  .fd-row { grid-template-columns: repeat(4, auto); gap: 8px; }
  .oa-rev summary:has(.rd-tag) { flex-wrap: wrap; }
  .oa-rev summary .rd-tag { margin-left: 30px; }
}
/* 22 Nov: eight tabs. The title never truncates; the tabs tighten, then move to their own row when the title would not fit. */
.top .brand { min-width: max-content; }
@media (max-width: 1400px) and (min-width: 901px) { .top .tabs .tab { padding-left: 8px; padding-right: 8px; } .top { gap: 10px; } }
@media (max-width: 1300px) and (min-width: 901px) { .top .tabs .tab { font-size: 14px; padding-left: 7px; padding-right: 7px; } }
.rd-daily { flex-direction: column; align-items: stretch; justify-content: space-between; gap: 14px; }
.rd-daily .btn { align-self: flex-start; }
.rd-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; max-width: 340px; }
.rd-day { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.rd-day i { display: grid; place-items: center; width: 100%; aspect-ratio: 1; max-width: 38px; border-radius: 9px; background: var(--empty); color: #fff; font-style: normal; font-weight: 800; font-size: 14px; }
.rd-day.on i { background: var(--warn); animation: oa-pop .3s both; }
.rd-day.today i { outline: 2px solid var(--warn); outline-offset: 1px; }
.rd-day em { font-style: normal; font-size: 11px; color: var(--muted); font-weight: 600; }
@media (max-width: 600px) { .rd-daily .btn { align-self: stretch; } }

/* ---------- 22 Nov: Mental Math Trainer on the OA console, multi-choice settings chips, lesson drill button ---------- */
.tip-mchips { display: flex; flex-wrap: wrap; gap: 6px; }
.tip-mchips button { height: 34px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface-2); color: var(--text); font: inherit; font-size: 13.5px; font-weight: 500; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .12s var(--tm-spring); }
.tip-mchips button:hover { border-color: var(--accent); }
.tip-mchips button.on { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.tip-wide .tip-tile.edit:has(.tip-mchips) { padding: 0; background: none; border: 0; }
.tip-tile.edit:has(.tip-mchips):focus-within { box-shadow: none; }
.tip-mchips button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.tip-err { color: var(--err); margin: 8px 0 0; }
.tip-lh-drill { margin-top: 12px; }
.mt-stage .oa-body, .mt-stage { min-height: 0; }
.mt-prog { height: 6px; margin: 2px 0 6px; } .mt-prog i { background: var(--k1); transition: width .3s; }
.mt-q { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 26px 8px 18px; animation: oa-in .18s both; }
.mt-q.ok .mt-text { color: var(--k3); } .mt-q.wrong .mt-text { color: inherit; }
.mt-text { font: 700 clamp(34px, 6vw, 52px)/1.1 Inter, system-ui, sans-serif; letter-spacing: -.01em; font-variant-numeric: tabular-nums; text-align: center; transition: color .2s; }
.mt-text .tip-tex { font-size: .9em; }
.mt-ans { display: flex; align-items: baseline; gap: 12px; min-height: 52px; font: 700 clamp(28px, 4.6vw, 40px)/1.1 Inter, system-ui, sans-serif; font-variant-numeric: tabular-nums; }
.mt-eq { color: var(--muted); font-weight: 600; }
.mt-typed { min-width: 3ch; padding: 4px 12px 6px; border-bottom: 3px solid var(--k1); color: var(--text); }
.mt-ans.bad .mt-typed { border-color: var(--k1); color: var(--text); }
.mt-caret { display: inline-block; width: 3px; height: .9em; margin-left: 2px; background: var(--k1); vertical-align: -0.08em; animation: mt-blink 1s steps(1) infinite; }
@keyframes mt-blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .mt-caret { animation: none; } }
.mt-sub { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.mt-help { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; font-size: 13px; color: var(--muted); padding-bottom: 6px; }
.mt-pad { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; max-width: 420px; margin: 0 auto; }
.mt-key { height: 54px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--surface); color: var(--text); font: 700 20px Inter, system-ui, sans-serif; touch-action: manipulation; user-select: none; }
.mt-key.w { font-size: 15px; color: var(--k1); }
.mt-key:active { transform: scale(.96); background: var(--surface-2); }
.oa-rev summary .rd-tag.tip-sel { border: 1px solid var(--line); background-color: var(--surface-2); padding: 0 8px !important; line-height: 28px; }
/* on-screen keypad for typed-number trainers on touch devices */
.oa-pad { margin-top: 12px; }
.mt-key:disabled { opacity: .45; }
.quote-ui .fld.on .inp { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
/* ---------- Firms tab: firm cards (logo or initials, animated process strip) and firm guides ---------- */
.rd-card { --tc: var(--k1); } .rd-card.t-pt { --tc: var(--k3); } .rd-card.t-hf { --tc: var(--k5); } .rd-card.t-ins { --tc: var(--k2); }
.rd-art { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: radial-gradient(120% 90% at 50% 40%, color-mix(in srgb, var(--tc) 12%, var(--surface-2)), var(--surface-2) 72%); }
.rd-logo { position: relative; flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; overflow: hidden;
  background: var(--surface); border: 1px solid color-mix(in srgb, var(--tc) 30%, var(--line)); box-shadow: 0 4px 12px -6px #0003; }
.rd-mono { font-weight: 800; font-size: 17px; letter-spacing: -.02em; color: var(--tc); }
.rd-logo img { position: absolute; inset: 14%; width: 72%; height: 72%; object-fit: contain; opacity: 0; transition: opacity .25s; }
.rd-logo.ok img { opacity: 1; } .rd-logo.ok .rd-mono { visibility: hidden; }
.tm-titlebar .rd-logo { --tc: var(--k1); border-radius: 9px; } .tm-titlebar .rd-mono { font-size: 13px; }
.rd-strip { position: relative; display: flex; align-items: center; gap: 14px; }
.rd-strip::before { content: ""; position: absolute; left: 9px; right: 9px; top: 50%; height: 2px; margin-top: -1px; background: color-mix(in srgb, var(--tc) 25%, var(--line)); }
.rd-strip i { position: relative; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font: 700 10px/1 Inter, system-ui, sans-serif; font-style: normal;
  background: var(--surface); color: var(--muted); border: 1.5px solid color-mix(in srgb, var(--tc) 35%, var(--line));
  animation: rd-step calc(var(--n) * .45s + 1.6s) calc(var(--i) * .45s) infinite both; }
@keyframes rd-step { 0% { background: var(--surface); color: var(--muted); transform: scale(1); } 8% { background: var(--tc); color: #fff; border-color: var(--tc); transform: scale(1.18); }
  22%, 100% { background: color-mix(in srgb, var(--tc) 18%, var(--surface)); color: var(--tc); border-color: color-mix(in srgb, var(--tc) 50%, var(--line)); transform: scale(1); } }
.rd-cstar { position: absolute; top: 6px; right: 6px; }
.rd-card .tbody p { font-size: 12.5px; }
.rd-cmeta { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; }
.rd-cmeta .rd-bar { flex: 1; min-width: 40px; max-width: 110px; } .rd-cmeta .rd-num { font-size: 13px; } .rd-cmeta .rd-d { font-style: normal; }
.rd-guide .tip-h { margin-bottom: 10px; }
.rd-gstages { margin: 0 0 10px; padding-left: 20px; display: flex; flex-direction: column; gap: 12px; }
.rd-gstages li::marker { font-weight: 700; color: var(--accent); }
.rd-gstages p { margin: 3px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--text-2); }
.rd-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; } .rd-links .btn.sm { padding: 5px 10px; font-size: 12.5px; }
.rd-progs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 12px; margin-bottom: 10px; }
.rd-prog { display: flex; flex-direction: column; gap: 8px; }
.rd-prog > b { font-size: 14.5px; }
.rd-prog dl { display: grid; grid-template-columns: 52px 1fr; gap: 4px 10px; margin: 0; font-size: 13px; line-height: 1.5; }
.rd-prog dt { color: var(--muted); font-weight: 600; } .rd-prog dd { margin: 0; color: var(--text-2); }
.rd-out { display: inline-flex; align-items: center; gap: 4px; margin-top: auto; font-size: 13px; font-weight: 600; }
.rd-topics { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; } .rd-topics li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.rd-topics li:last-child { border-bottom: none; } .rd-topics .rd-links { margin-top: 6px; }
.rd-src { margin: 0 0 10px; padding-left: 18px; line-height: 1.7; font-size: 13.5px; }
@media (prefers-reduced-motion: reduce) { .rd-strip i { animation: none; background: color-mix(in srgb, var(--tc) 18%, var(--surface)); color: var(--tc); } }
/* application tracker */
.rd-cd { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap;
  background: var(--accent-soft); color: var(--accent); } .rd-cd svg { width: 13px; height: 13px; } .rd-cd em { font-style: normal; font-weight: 500; opacity: .85; }
.rd-cd.mid { background: var(--warn-soft); color: var(--warn); } .rd-cd.lo { background: var(--err-soft, color-mix(in srgb, var(--err) 14%, transparent)); color: var(--err); }
.rd-cd.none, .rd-cd.closed { background: var(--surface-2); color: var(--muted); font-weight: 600; }
.rd-track { height: 30px; padding: 0 26px 0 10px; font-size: 12.5px; font-weight: 600; border-radius: 8px; width: auto !important; max-width: 170px; }
.rd-track.on { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); }
.rd-track.s-offer { color: var(--ok); } .rd-track.s-rejected, .rd-track.s-withdrawn { color: var(--muted); }
.rd-prog-t { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.rd-apps { display: flex; flex-direction: column; gap: 4px; }
.rd-app { --tc: var(--k1); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.rd-app .rd-logo { border-radius: 8px; } .rd-app .rd-mono { font-size: 11px; }
.rd-app-n { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; background: none; border: none; padding: 0; text-align: left; cursor: pointer; color: var(--text); font: inherit; }
.rd-app-n b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; } .rd-app-n em { font-style: normal; font-size: 12px; color: var(--muted); }
.rd-app-n:hover b { color: var(--accent); }
.rd-card .tbody .rd-cd { height: 22px; font-size: 11.5px; padding: 0 8px; }
.rd-app-t { display: flex; align-items: center; justify-content: flex-end; gap: 8px; } .rd-app-t .rd-track { width: 150px !important; }
@media (max-width: 600px) { .rd-app { grid-template-columns: auto minmax(0, 1fr); } .rd-app-t { grid-column: 2; justify-content: flex-start; } }

/* firm logos: user-supplied marks recoloured to the firm-type colour through a mask (logos/<id>.png) */
.rd-logo.ok img { opacity: 0 !important; }
.rd-logo.ok::after { content: ""; position: absolute; inset: 14%; background: var(--tc); -webkit-mask: var(--lg) center / contain no-repeat; mask: var(--lg) center / contain no-repeat; }
.tm-titlebar .rd-logo.ok::after, .rd-app .rd-logo.ok::after { inset: 12%; }
/* ===== firm cards: full-panel logo animations, one per firm; every logo copy stays inside the panel ===== */
.rd-art.lgx-on { display: block; }
.lgx { position: absolute; inset: 0; overflow: hidden; }
.lgx i { --s: 64px; position: absolute; left: 50%; top: 50%; width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
  background: var(--tc); -webkit-mask: var(--lg) center / contain no-repeat; mask: var(--lg) center / contain no-repeat; opacity: 0; font-style: normal; }
.lgx.txt i { background: none; -webkit-mask: none; mask: none; color: var(--tc); display: grid; place-items: center; font: 800 calc(var(--s) * .42) / 1 Inter, system-ui, sans-serif; }
.lgx i.fx, .lgx .fx { -webkit-mask: none; mask: none; }
.rd-art.lgx-on .rd-cstar { z-index: 3; }
.lgx i:nth-child(1){--n:1} 
@keyframes x-run { 0% { left: calc(var(--s) / 2 + 6px); opacity: 0; } 12%,88% { opacity: 1; } 100% { left: calc(100% - var(--s) / 2 - 6px); opacity: 0; } }
@keyframes x-tilt { 0%,100% { transform: perspective(160px) rotateY(0); } 30% { transform: perspective(160px) rotateY(32deg); } 70% { transform: perspective(160px) rotateY(-32deg); } }
@keyframes x-blink { 0%,100% { opacity: .15; } 50% { opacity: .9; } }
@keyframes x-echo { 0% { transform: scale(.25); opacity: .9; } 100% { transform: scale(1); opacity: 0; } }
@keyframes x-swing { 0%,100% { transform: rotate(13deg); } 50% { transform: rotate(-13deg); } }
@keyframes x-cell { 0%, 8% { opacity: 0; transform: scale(.4); } 16%, 80% { opacity: 1; transform: scale(1); } 92%, 100% { opacity: 0; transform: scale(.4); } }
@keyframes x-sway { 0%,100% { transform: translateX(-12px); } 50% { transform: translateX(12px); } }
@keyframes x-wipe { 0% { opacity: 0; visibility: hidden; clip-path: inset(0 100% 0 0); } .5% { opacity: 1; visibility: visible; clip-path: inset(0 100% 0 0); } 45%,80% { opacity: 1; visibility: visible; clip-path: inset(0 0 0 0); } 99.5% { opacity: 1; visibility: visible; clip-path: inset(0 0 0 100%); } 99.6%,100% { opacity: 0; visibility: hidden; clip-path: inset(0 100% 0 0); } }
@keyframes x-coin { to { transform: perspective(140px) rotateY(360deg); } }
@keyframes x-fall { 0% { top: 12%; opacity: 0; } 15%,80% { opacity: .8; } 100% { top: 86%; opacity: 0; } }
@keyframes x-float { 0%,100% { transform: translateY(4px) rotate(-3deg); } 50% { transform: translateY(-4px) rotate(3deg); } }
@keyframes x-up { 0% { top: 86%; opacity: 0; transform: rotate(-20deg); } 20%,75% { opacity: .55; } 100% { top: 14%; opacity: 0; transform: rotate(20deg); } }
@keyframes x-pop { 0%, 10% { opacity: 0; transform: scale(.2); } 18% { opacity: 1; transform: scale(1.12); } 24%, 82% { opacity: 1; transform: scale(1); } 92%, 100% { opacity: 0; transform: scale(.2); } }
@keyframes x-bounce { 0% { transform: translateY(-30px); } 30% { transform: translateY(0); } 42% { transform: translateY(-12px); } 54% { transform: translateY(0); } 62% { transform: translateY(-4px); } 70%,100% { transform: translateY(0); } }
@keyframes x-shadow { 0% { transform: scaleX(.35); opacity: .1; } 30% { transform: scaleX(1); opacity: .3; } 42% { transform: scaleX(.6); opacity: .15; } 54%,100% { transform: scaleX(1); opacity: .3; } }
@keyframes x-step { 0%,20% { transform: rotate(0); } 25%,45% { transform: rotate(90deg); } 50%,70% { transform: rotate(180deg); } 75%,95% { transform: rotate(270deg); } 100% { transform: rotate(360deg); } }
@keyframes x-spinr { to { transform: rotate(-360deg); } }
@keyframes x-spin { to { transform: rotate(360deg); } }
@keyframes x-rise { 0%, 5% { clip-path: inset(100% 0 0 0); } 35%, 80% { clip-path: inset(0 0 0 0); } 95%, 100% { clip-path: inset(100% 0 0 0); } }
@keyframes x-circ { from { transform: rotate(0) translateX(30px) rotate(0); } to { transform: rotate(360deg) translateX(30px) rotate(-360deg); } }
@keyframes x-breathe { 0%,100% { transform: scale(.85); } 50% { transform: scale(1.05); } }
@keyframes x-swim { 0% { left: calc(var(--s) / 2 + 6px); transform: scaleX(1); } 48% { left: calc(100% - var(--s) / 2 - 6px); transform: scaleX(1); } 50% { left: calc(100% - var(--s) / 2 - 6px); transform: scaleX(-1); } 98% { left: calc(var(--s) / 2 + 6px); transform: scaleX(-1); } 100% { left: calc(var(--s) / 2 + 6px); transform: scaleX(1); } }
@keyframes x-sheen { 0% { left: -40%; } 100% { left: 110%; } }
@keyframes x-key { 0% { left: calc(var(--s) / 2 + 6px); transform: rotate(0); } 35% { left: 50%; transform: rotate(0); } 50%, 75% { left: 50%; transform: rotate(90deg); } 90% { left: 50%; transform: rotate(0); } 100% { left: calc(var(--s) / 2 + 6px); transform: rotate(0); } }
@keyframes x-hop { 0% { left: 20%; top: 64%; } 16% { left: 35%; top: 32%; } 33% { left: 50%; top: 64%; } 50% { left: 65%; top: 32%; } 66% { left: 80%; top: 64%; } 83% { left: 50%; top: 26%; } 100% { left: 20%; top: 64%; } }
@keyframes x-build { 0%, 8% { opacity: 0; transform: translateY(-10px); } 16%, 78% { opacity: 1; transform: translateY(0); } 90%, 100% { opacity: 0; transform: translateY(0); } }
@keyframes x-jit { 0%, 60%, 100% { transform: translate(0); } 64% { transform: translate(-4px, 1px); } 68% { transform: translate(4px, -1px); } 72% { transform: translate(-2px, 0); } 76% { transform: translate(0); } }
@keyframes x-diag { 0%, 5% { opacity: 0; transform: scale(.5); } 15%, 75% { opacity: 1; transform: scale(1); } 90%, 100% { opacity: 0; transform: scale(.5); } }
@keyframes x-ripple { 0%,100% { transform: scaleY(-1) skewX(0); } 50% { transform: scaleY(-1) skewX(10deg); } }
@keyframes x-swayy { 0%,100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }
@keyframes x-well { 0% { transform: rotate(0) translateX(34px) scale(1); opacity: 0; } 15% { opacity: 1; } 100% { transform: rotate(900deg) translateX(0) scale(.3); opacity: 0; } }
@keyframes x-beat { 0%,45%,100% { transform: scale(1); } 10% { transform: scale(1.14); } 20% { transform: scale(1.02); } 30% { transform: scale(1.1); } }
@keyframes x-sigma { 0%, 20% { opacity: 0; } 35%, 70% { opacity: .5; } 85%, 100% { opacity: 0; } }
@keyframes x-iris { 0% { clip-path: circle(0% at 50% 50%); transform: rotate(-90deg); } 40%, 80% { clip-path: circle(72% at 50% 50%); transform: rotate(0); } 100% { clip-path: circle(0% at 50% 50%); transform: rotate(90deg); } }
@keyframes x-shad { 0%,100% { transform: scaleX(.7); opacity: .18; } 50% { transform: scaleX(1); opacity: .3; } }
@keyframes x-cursor { 0%,16% { left: 25%; top: 30%; } 17%,33% { left: 50%; top: 30%; } 34%,50% { left: 75%; top: 30%; } 51%,66% { left: 75%; top: 70%; } 67%,83% { left: 50%; top: 70%; } 84%,100% { left: 25%; top: 70%; } }
@keyframes x-flipx { to { transform: perspective(140px) rotateX(360deg); } }
@keyframes x-sliceA { 0%, 55%, 100% { transform: translateX(0); } 60% { transform: translateX(-8px); } 66% { transform: translateX(5px); } 72% { transform: translateX(0); } }
@keyframes x-sliceB { 0%, 55%, 100% { transform: translateX(0); } 60% { transform: translateX(8px); } 66% { transform: translateX(-5px); } 72% { transform: translateX(0); } }
@keyframes x-long { 0%,100% { transform: translateY(2px); } 50% { transform: translateY(-5px); } }
@keyframes x-short { 0%,100% { transform: scaleY(-1) translateY(2px); } 50% { transform: scaleY(-1) translateY(-5px); } }
@keyframes x-tl { 0%, 100% { transform: scale(1); } 10% { transform: scale(1.35); } 20% { transform: scale(1); } }
@keyframes x-burns { 0%,100% { transform: scale(.86) translateX(-8px); } 50% { transform: scale(1) translateX(8px); } }
@keyframes x-flick { 0%,100% { opacity: .2; } 40% { opacity: .2; } 50% { opacity: 1; } 60% { opacity: .5; } }
@keyframes x-rock { 0%,100% { transform: rotate(-7deg); } 50% { transform: rotate(7deg); } }
@keyframes x-par { 0%,100% { transform: translateX(-10px); } 50% { transform: translateX(10px); } }

/* Optiver: a big mark tilting in 3D, two small ones blinking in the corners */
.lgx-optiver i:nth-child(1) { --s: 84px; opacity: 1; animation: x-tilt 4s ease-in-out infinite; }
.lgx-optiver i:nth-child(2), .lgx-optiver i:nth-child(3) { --s: 22px; animation: x-blink 2s ease-in-out infinite; }
.lgx-optiver i:nth-child(2) { left: 13%; top: 26%; } .lgx-optiver i:nth-child(3) { left: 87%; top: 74%; animation-delay: -1s; }
/* IMC: echoes of the ring spread out from a steady centre */
.lgx-imc i:nth-child(-n+4) { --s: 88px; animation: x-echo 2.4s ease-out infinite; }
.lgx-imc i:nth-child(2) { animation-delay: -.6s; } .lgx-imc i:nth-child(3) { animation-delay: -1.2s; } .lgx-imc i:nth-child(4) { animation-delay: -1.8s; }
.lgx-imc i:nth-child(5) { --s: 40px; opacity: 1; }
/* Flow Traders: a stream of marks flowing across */
.lgx-flow i:nth-child(-n+5) { --s: 32px; animation: x-run 5s linear infinite; }
.lgx-flow i:nth-child(2) { animation-delay: -1s; top: 32%; } .lgx-flow i:nth-child(3) { animation-delay: -2s; top: 68%; } .lgx-flow i:nth-child(4) { animation-delay: -3s; } .lgx-flow i:nth-child(5) { animation-delay: -4s; top: 32%; }
/* Akuna: a pendulum swing, with two small ones out of phase */
.lgx-akuna i:nth-child(1) { --s: 84px; opacity: 1; transform-origin: 50% 0; animation: x-swing 2.6s ease-in-out infinite; }
.lgx-akuna i:nth-child(2), .lgx-akuna i:nth-child(3) { --s: 30px; opacity: .45; transform-origin: 50% 0; animation: x-swing 2.6s ease-in-out infinite reverse; }
.lgx-akuna i:nth-child(2) { left: 14%; } .lgx-akuna i:nth-child(3) { left: 86%; }
/* Jane Street: a puzzle grid filling in, cell by cell */
.lgx-janestreet i { --s: 30px; animation: x-cell 5s ease-in-out infinite; animation-delay: calc(var(--k) * .25s); }
.lgx-janestreet i:nth-child(-n+4) { top: 30%; } .lgx-janestreet i:nth-child(n+5) { top: 72%; }
.lgx-janestreet i:nth-child(4n+1) { left: 20%; } .lgx-janestreet i:nth-child(4n+2) { left: 40%; } .lgx-janestreet i:nth-child(4n+3) { left: 60%; } .lgx-janestreet i:nth-child(4n+4) { left: 80%; }
/* SIG: three bands of waves rolling against each other */
.lgx-sig i:nth-child(-n+3) { --s: 66px; opacity: 1; animation: x-sway 2.4s ease-in-out infinite; }
.lgx-sig i:nth-child(1) { top: 30%; opacity: .45; } .lgx-sig i:nth-child(2) { animation-delay: -.8s; } .lgx-sig i:nth-child(3) { top: 70%; opacity: .45; animation-delay: -1.6s; }
/* Citadel Securities: the mark is wiped across over its own ghost */
.lgx-citsec i:nth-child(1) { --s: 90px; opacity: .14; } .lgx-citsec i:nth-child(2) { --s: 90px; opacity: 1; animation: x-wipe 3.2s ease-in-out infinite; }
/* DRW: a coin flip with small coins falling */
.lgx-drw i:nth-child(1) { --s: 70px; opacity: 1; animation: x-coin 3s linear infinite; }
.lgx-drw i:nth-child(n+2):nth-child(-n+5) { --s: 16px; animation: x-fall 2.8s linear infinite; }
.lgx-drw i:nth-child(2) { left: 12%; } .lgx-drw i:nth-child(3) { left: 26%; animation-delay: -1s; } .lgx-drw i:nth-child(4) { left: 74%; animation-delay: -.5s; } .lgx-drw i:nth-child(5) { left: 88%; animation-delay: -1.8s; }
/* Maven: the mark floats while small ones drift up like feathers */
.lgx-maven i:nth-child(1) { --s: 80px; opacity: 1; animation: x-float 3.4s ease-in-out infinite; }
.lgx-maven i:nth-child(n+2):nth-child(-n+4) { --s: 22px; animation: x-up 4.2s linear infinite; }
.lgx-maven i:nth-child(2) { left: 16%; } .lgx-maven i:nth-child(3) { left: 80%; animation-delay: -1.4s; } .lgx-maven i:nth-child(4) { left: 90%; animation-delay: -2.8s; }
/* Da Vinci: four small marks pop in the corners, then a big one in the middle */
.lgx-davinci i:nth-child(-n+4) { --s: 28px; animation: x-pop 5s ease-out infinite; animation-delay: calc(var(--k) * .35s); }
.lgx-davinci i:nth-child(1) { left: 18%; top: 28%; } .lgx-davinci i:nth-child(2) { left: 82%; top: 28%; } .lgx-davinci i:nth-child(3) { left: 82%; top: 72%; } .lgx-davinci i:nth-child(4) { left: 18%; top: 72%; }
.lgx-davinci i:nth-child(5) { --s: 66px; animation: x-pop 5s ease-out infinite; animation-delay: 1.5s; }
/* Belvedere: dropped onto a floor, bounce and settle */
.lgx-belvedere i:nth-child(1) { --s: 56px; top: 60%; opacity: 1; animation: x-bounce 2.8s ease-in infinite; }
.lgx-belvedere i:nth-child(2) { --s: 56px; height: 6px; margin-top: 0; top: 86%; border-radius: 50%; -webkit-mask: none; mask: none; animation: x-shadow 2.8s ease-in infinite; }
/* Chicago Trading Company: quarter turns, two small ones turning the other way */
.lgx-ctc i:nth-child(1) { --s: 70px; opacity: 1; animation: x-step 4s cubic-bezier(.6,0,.3,1) infinite; }
.lgx-ctc i:nth-child(2), .lgx-ctc i:nth-child(3) { --s: 26px; opacity: .5; animation: x-spinr 6s linear infinite; }
.lgx-ctc i:nth-child(2) { left: 13%; top: 30%; } .lgx-ctc i:nth-child(3) { left: 87%; top: 70%; }
/* PEAK6: a range of peaks building up from the bottom */
.lgx-peak6 i:nth-child(-n+3) { opacity: 1; animation: x-rise 4s ease-in-out infinite; }
.lgx-peak6 i:nth-child(1) { --s: 44px; left: 24%; top: 64%; opacity: .5; } .lgx-peak6 i:nth-child(2) { --s: 76px; top: 54%; animation-delay: .3s; } .lgx-peak6 i:nth-child(3) { --s: 38px; left: 77%; top: 68%; opacity: .5; animation-delay: .6s; }
/* Five Rings: five marks circling a breathing centre */
.lgx-fiverings i:nth-child(-n+5) { --s: 28px; opacity: .7; animation: x-circ 7s linear infinite; animation-delay: calc(var(--k) * -1.4s); }
.lgx-fiverings i:nth-child(6) { --s: 34px; opacity: 1; animation: x-breathe 3s ease-in-out infinite; }
/* Mako: swims the length of the card and turns, with a fading wake */
.lgx-mako i:nth-child(-n+3) { --s: 56px; animation: x-swim 6s ease-in-out infinite; }
.lgx-mako i:nth-child(1) { opacity: 1; } .lgx-mako i:nth-child(2) { opacity: .3; animation-delay: -.15s; } .lgx-mako i:nth-child(3) { opacity: .12; animation-delay: -.3s; }
/* Wintermute: the mark with a sheen passing over and tiny marks falling like snow */
.lgx-wintermute i:nth-child(1) { --s: 80px; opacity: 1; animation: x-float 4s ease-in-out infinite; }
.lgx-wintermute i:nth-child(n+2):nth-child(-n+6) { --s: 12px; animation: x-fall 3.2s linear infinite; }
.lgx-wintermute i:nth-child(2) { left: 10%; } .lgx-wintermute i:nth-child(3) { left: 24%; animation-delay: -1.1s; } .lgx-wintermute i:nth-child(4) { left: 70%; animation-delay: -2s; } .lgx-wintermute i:nth-child(5) { left: 84%; animation-delay: -.6s; } .lgx-wintermute i:nth-child(6) { left: 93%; animation-delay: -2.6s; }
.lgx-wintermute i:nth-child(7) { -webkit-mask: none; mask: none; opacity: 1; width: 30%; height: 100%; top: 0; margin: 0; background: linear-gradient(100deg, transparent, color-mix(in srgb, #fff 55%, transparent), transparent); animation: x-sheen 2.6s linear infinite; }
/* Keyrock: slides in like a key, turns, slides back */
.lgx-keyrock i:nth-child(1) { --s: 58px; opacity: 1; animation: x-key 4s ease-in-out infinite; }
.lgx-keyrock i:nth-child(2) { --s: 58px; opacity: .12; }
/* Jump Trading: hops across the card and back */
.lgx-jump i:nth-child(1) { --s: 44px; opacity: 1; animation: x-hop 3s ease-in-out infinite; }
.lgx-jump i:nth-child(2) { --s: 44px; opacity: .2; animation: x-hop 3s ease-in-out infinite; animation-delay: -.12s; }
/* Hudson River Trading: three currents at different speeds */
.lgx-hrt i:nth-child(-n+3) { animation: x-run 4s linear infinite; }
.lgx-hrt i:nth-child(1) { --s: 34px; top: 26%; } .lgx-hrt i:nth-child(2) { --s: 52px; animation-duration: 3s; animation-delay: -1s; } .lgx-hrt i:nth-child(3) { --s: 30px; top: 78%; animation-duration: 5s; animation-delay: -2.5s; }
/* Tower Research: a tower built one block at a time */
.lgx-tower i:nth-child(-n+3) { --s: 28px; animation: x-build 4s ease-out infinite; }
.lgx-tower i:nth-child(1) { top: 80%; } .lgx-tower i:nth-child(2) { top: 50%; animation-delay: .4s; } .lgx-tower i:nth-child(3) { top: 20%; animation-delay: .8s; }
/* XTX Markets: a big mark with a colour-split glitch */
.lgx-xtx i:nth-child(-n+3) { --s: 84px; opacity: 1; }
.lgx-xtx i:nth-child(2) { background: var(--k4); opacity: .45; animation: x-jit 2.4s steps(1) infinite; } .lgx-xtx i:nth-child(3) { background: var(--k1); opacity: .45; animation: x-jit 2.4s steps(1) infinite reverse; }
/* Virtu: the tick repeats up a diagonal */
.lgx-virtu i:nth-child(-n+4) { --s: 34px; animation: x-diag 4s ease-out infinite; animation-delay: calc(var(--k) * .3s); }
.lgx-virtu i:nth-child(1) { left: 18%; top: 74%; } .lgx-virtu i:nth-child(2) { left: 39%; top: 58%; } .lgx-virtu i:nth-child(3) { left: 61%; top: 42%; } .lgx-virtu i:nth-child(4) { left: 82%; top: 26%; }
/* Geneva Trading: the mark and its rippling reflection in a lake */
.lgx-geneva i:nth-child(1) { --s: 44px; top: 29%; opacity: 1; animation: x-swayy 3s ease-in-out infinite; }
.lgx-geneva i:nth-child(2) { --s: 44px; top: 72%; opacity: .25; animation: x-ripple 1.8s ease-in-out infinite; }
.lgx-geneva i:nth-child(3) { -webkit-mask: none; mask: none; opacity: .3; width: 70%; height: 1px; margin: 0 0 0 -35%; top: 51%; }
/* Graviton (no logo): its initials spiral into a well */
.lgx-graviton i:nth-child(-n+3) { --s: 30px; animation: x-well 3.6s ease-in infinite; animation-delay: calc(var(--k) * -1.2s); }
.lgx-graviton i:nth-child(4) { --s: 10px; opacity: 1; border-radius: 50%; background: var(--tc); font-size: 0; }
/* Two Sigma: a heartbeat in the middle, ±2σ ghosts either side */
.lgx-twosigma i:nth-child(1) { --s: 64px; opacity: 1; animation: x-beat 1.8s ease-in-out infinite; }
.lgx-twosigma i:nth-child(2), .lgx-twosigma i:nth-child(3) { --s: 30px; animation: x-sigma 3.6s ease-in-out infinite; }
.lgx-twosigma i:nth-child(2) { left: 15%; } .lgx-twosigma i:nth-child(3) { left: 85%; animation-delay: -1.8s; }
/* G-Research: the G opens like an iris as it turns */
.lgx-gresearch i:nth-child(1) { --s: 84px; opacity: 1; animation: x-iris 4s ease-in-out infinite; }
.lgx-gresearch i:nth-child(2) { --s: 84px; opacity: .1; }
/* D. E. Shaw: a slowly turning sphere over its shadow */
.lgx-deshaw i:nth-child(1) { --s: 74px; top: 45%; opacity: 1; animation: x-spin 10s linear infinite; }
.lgx-deshaw i:nth-child(2) { --s: 60px; height: 7px; margin-top: 0; top: 88%; border-radius: 50%; -webkit-mask: none; mask: none; animation: x-shad 3s ease-in-out infinite; }
/* Squarepoint: a cursor stepping round a grid of marks */
.lgx-squarepoint i:nth-child(-n+6) { --s: 26px; opacity: .2; }
.lgx-squarepoint i:nth-child(-n+3) { top: 30%; } .lgx-squarepoint i:nth-child(n+4):nth-child(-n+6) { top: 70%; }
.lgx-squarepoint i:nth-child(1), .lgx-squarepoint i:nth-child(4) { left: 25%; } .lgx-squarepoint i:nth-child(3), .lgx-squarepoint i:nth-child(6) { left: 75%; }
.lgx-squarepoint i:nth-child(7) { --s: 30px; opacity: 1; animation: x-cursor 4.8s steps(1) infinite; }
/* QRT: a big flip with two small flips out of step */
.lgx-qrt i:nth-child(1) { --s: 70px; opacity: 1; animation: x-flipx 3.2s ease-in-out infinite; }
.lgx-qrt i:nth-child(2), .lgx-qrt i:nth-child(3) { --s: 28px; opacity: .45; animation: x-flipx 3.2s ease-in-out infinite; animation-delay: -1.6s; }
.lgx-qrt i:nth-child(2) { left: 14%; } .lgx-qrt i:nth-child(3) { left: 86%; }
/* Point72: the mark slices apart in a glitch */
.lgx-point72 i:nth-child(1) { --s: 84px; opacity: 1; clip-path: inset(0 0 50% 0); animation: x-sliceA 2.6s steps(1) infinite; }
.lgx-point72 i:nth-child(2) { --s: 84px; opacity: 1; clip-path: inset(50% 0 0 0); animation: x-sliceB 2.6s steps(1) infinite; }
/* Marshall Wace: long above the line, short (mirrored) below */
.lgx-marshallwace i:nth-child(1) { --s: 40px; top: 27%; opacity: 1; animation: x-long 2.6s ease-in-out infinite; }
.lgx-marshallwace i:nth-child(2) { --s: 40px; top: 73%; opacity: .4; animation: x-short 2.6s ease-in-out infinite; animation-delay: -1.3s; }
.lgx-marshallwace i:nth-child(3) { -webkit-mask: none; mask: none; opacity: .35; width: 76%; height: 1.5px; margin: 0 0 0 -38%; top: 50%; }
/* Man Group: a timeline of marks, oldest faintest, with a pulse running along */
.lgx-man i:nth-child(-n+4) { --s: 28px; animation: x-tl 3.2s ease-in-out infinite; animation-delay: calc(var(--k) * .4s); }
.lgx-man i:nth-child(1) { left: 15%; opacity: .25; } .lgx-man i:nth-child(2) { left: 38%; opacity: .5; } .lgx-man i:nth-child(3) { left: 62%; opacity: .75; } .lgx-man i:nth-child(4) { left: 85%; opacity: 1; }
.lgx-man i:nth-child(5) { -webkit-mask: none; mask: none; opacity: .3; width: 70%; height: 1.5px; margin: 0 0 0 -35%; top: 50%; z-index: -1; }
/* Brevan Howard: a slow camera drift and zoom */
.lgx-brevan i:nth-child(1) { --s: 88px; opacity: 1; animation: x-burns 6s ease-in-out infinite; }
/* Balyasny: a radar sweep behind the mark */
.lgx-balyasny i:nth-child(1) { --s: 92px; -webkit-mask: none; mask: none; opacity: 1; border-radius: 50%; background: conic-gradient(from 0deg, color-mix(in srgb, var(--tc) 35%, transparent), transparent 30%); animation: x-spin 2s linear infinite; }
.lgx-balyasny i:nth-child(2) { --s: 70px; opacity: 1; }
/* Millennium: a honeycomb of pods lighting up on their own */
.lgx-millennium i:nth-child(-n+7) { --s: 26px; animation: x-flick 2.6s ease-in-out infinite; }
.lgx-millennium i:nth-child(1) { opacity: 1; animation-delay: -.3s; } .lgx-millennium i:nth-child(2) { transform: translate(28px, 0); animation-delay: -1.1s; } .lgx-millennium i:nth-child(3) { transform: translate(-28px, 0); animation-delay: -2s; }
.lgx-millennium i:nth-child(4) { transform: translate(14px, -24px); animation-delay: -.7s; } .lgx-millennium i:nth-child(5) { transform: translate(-14px, -24px); animation-delay: -1.6s; } .lgx-millennium i:nth-child(6) { transform: translate(14px, 24px); animation-delay: -2.3s; } .lgx-millennium i:nth-child(7) { transform: translate(-14px, 24px); animation-delay: -.2s; }
/* Maverick: rocking, with distant copies moving in parallax */
.lgx-maverick i:nth-child(1) { --s: 80px; opacity: 1; animation: x-rock 3s ease-in-out infinite; }
.lgx-maverick i:nth-child(2) { --s: 46px; left: 20%; opacity: .2; animation: x-par 4s ease-in-out infinite; } .lgx-maverick i:nth-child(3) { --s: 34px; left: 82%; opacity: .14; animation: x-par 5s ease-in-out infinite reverse; }
/* Rothesay: a pulse inside a turning dashed orbit */
.lgx-rothesay i:nth-child(1) { --s: 62px; opacity: 1; animation: x-breathe 2.6s ease-in-out infinite; }
.lgx-rothesay i:nth-child(2) { --s: 88px; -webkit-mask: none; mask: none; opacity: 1; background: none; border-radius: 50%; border: 2px dashed color-mix(in srgb, var(--tc) 50%, transparent); box-sizing: border-box; animation: x-spin 8s linear infinite; }
@media (prefers-reduced-motion: reduce) { .lgx i { animation: none !important; } }
/* fixes after first look: wider honeycomb, bigger wordmarks, glitch copies under the main mark */
.lgx-millennium i:nth-child(2) { transform: translate(38px, 0); } .lgx-millennium i:nth-child(3) { transform: translate(-38px, 0); }
.lgx-millennium i:nth-child(4) { transform: translate(19px, -28px); } .lgx-millennium i:nth-child(5) { transform: translate(-19px, -28px); } .lgx-millennium i:nth-child(6) { transform: translate(19px, 28px); } .lgx-millennium i:nth-child(7) { transform: translate(-19px, 28px); }
.lgx-millennium i:nth-child(-n+7) { --s: 30px; }
.lgx-jump i:nth-child(1), .lgx-jump i:nth-child(2) { --s: 62px; }
.lgx-marshallwace i:nth-child(1), .lgx-marshallwace i:nth-child(2) { --s: 58px; }
.lgx-xtx i:nth-child(1) { z-index: 2; } .lgx-xtx i:nth-child(2), .lgx-xtx i:nth-child(3) { opacity: .3; }
/* corrected: the round logo is Graviton's (a sphere turning over its shadow, with particles falling in);
   D. E. Shaw has no usable logo yet, so its initials sit in a molecule of orbiting atoms */
.lgx-graviton i:nth-child(-n+4) { animation: none; opacity: 0; transform: none; }
.lgx-graviton i:nth-child(1) { --s: 74px; top: 45%; opacity: 1; animation: x-spin 10s linear infinite; }
.lgx-graviton i:nth-child(2) { --s: 60px; height: 7px; margin-top: 0; top: 88%; border-radius: 50%; -webkit-mask: none; mask: none; background: var(--tc); animation: x-shad 3s ease-in-out infinite; }
.lgx-graviton i:nth-child(n+3):nth-child(-n+5) { --s: 8px; top: 45%; -webkit-mask: none; mask: none; background: var(--tc); border-radius: 50%; opacity: 1; animation: x-well 3s ease-in infinite; }
.lgx-graviton i:nth-child(4) { animation-delay: -1s; } .lgx-graviton i:nth-child(5) { animation-delay: -2s; }
.lgx-deshaw i:nth-child(-n+2) { animation: none; opacity: 0; }
.lgx-deshaw i:nth-child(1) { --s: 62px; opacity: 1; font-size: 22px; animation: x-breathe 3s ease-in-out infinite; }
.lgx-deshaw i:nth-child(n+2):nth-child(-n+4) { --s: 10px; border-radius: 50%; background: var(--tc); font-size: 0; opacity: .8; animation: x-circ 4s linear infinite; }
.lgx-deshaw i:nth-child(3) { animation-delay: -1.33s; --s: 8px; } .lgx-deshaw i:nth-child(4) { animation-delay: -2.66s; --s: 12px; }
.lgx-deshaw i:nth-child(2) { height: var(--s); top: 50%; margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); }
.lgx-graviton i:nth-child(n+3):nth-child(-n+5) { height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); }
.lgx.lgx-deshaw i:nth-child(3) { animation-delay: -1.33s; --s: 8px; } .lgx.lgx-deshaw i:nth-child(4) { animation-delay: -2.66s; --s: 12px; }
.lgx.lgx-graviton i:nth-child(4) { animation-delay: -1s; } .lgx.lgx-graviton i:nth-child(5) { animation-delay: -2s; }
/* D. E. Shaw (wordmark): the rule draws itself across, then the name rises into place under it */
@keyframes x-rule { 0%, 5% { clip-path: inset(0 100% 0 0); } 30%, 85% { clip-path: inset(0 0 0 0); } 95%, 100% { clip-path: inset(0 0 0 0); opacity: 0; } }
@keyframes x-name { 0%, 25% { clip-path: inset(0 0 100% 0); transform: translateY(8px); opacity: 0; } 45%, 85% { clip-path: inset(0 0 0 0); transform: translateY(0); opacity: 1; } 95%, 100% { opacity: 0; } }
.lgx.lgx-deshaw i { width: 214px; height: 47px; margin: -24px 0 0 -107px; font-size: 0; border-radius: 0; opacity: 0; animation: none; background: var(--tc); }
.lgx.lgx-deshaw i:nth-child(1) { -webkit-mask: url(logos/deshaw_line.png) center / contain no-repeat; mask: url(logos/deshaw_line.png) center / contain no-repeat; opacity: 1; animation: x-rule 5s ease-out infinite; }
.lgx.lgx-deshaw i:nth-child(2) { -webkit-mask: url(logos/deshaw_text.png) center / contain no-repeat; mask: url(logos/deshaw_text.png) center / contain no-repeat; opacity: 1; top: 50%; animation: x-name 5s ease-out infinite; }
.lgx.lgx-deshaw i:nth-child(n+3) { opacity: 0 !important; animation: none !important; }
.lgx.lgx-deshaw i:nth-child(2) { animation: x-name 5s ease-out infinite; }
.lgx.lgx-deshaw i:nth-child(1), .lgx.lgx-deshaw i:nth-child(2) { -webkit-mask-size: 100% 100%; mask-size: 100% 100%; -webkit-mask-position: 0 0; mask-position: 0 0; }
.lgx.lgx-deshaw i:nth-child(1), .lgx.lgx-deshaw i:nth-child(2) { top: 50%; }
.rd-art.lgx-on .lgx { z-index: 1; } .rd-art.lgx-on .rd-cstar { z-index: 3; }
.lgx.lgx-deshaw i:nth-child(2) { border-radius: 0; }


/* ===== logo refresh (22 Nov, later): new Marshall Wace / Maverick / Brevan marks, cleaner D. E. Shaw, Five Rings and Belvedere redone ===== */
/* Marshall Wace: the wide dot-and-dash mark — long above the line, its mirror (short) below */
.lgx.lgx-marshallwace i { width: 190px; height: 42px; margin: -21px 0 0 -95px; }
.lgx.lgx-marshallwace i:nth-child(1) { top: 27%; }
.lgx.lgx-marshallwace i:nth-child(2) { top: 75%; }
.lgx.lgx-marshallwace i:nth-child(3) { width: 80%; height: 1.5px; margin: 0 0 0 -40%; top: 51%; }
/* Five Rings: just the five marks circling, each brightening to full in turn */
@keyframes x-ringfade { 0% { opacity: .15; } 60%, 100% { opacity: 1; } }
.lgx.lgx-fiverings i:nth-child(6) { opacity: 0; animation: none; }
.lgx.lgx-fiverings i:nth-child(-n+5) { --s: 32px; animation: x-circ 7s linear infinite, x-ringfade 3.5s ease-out infinite alternate; }
.lgx.lgx-fiverings i:nth-child(1) { animation-delay: 0s, 0s; } .lgx.lgx-fiverings i:nth-child(2) { animation-delay: -1.4s, .35s; } .lgx.lgx-fiverings i:nth-child(3) { animation-delay: -2.8s, .7s; }
.lgx.lgx-fiverings i:nth-child(4) { animation-delay: -4.2s, 1.05s; } .lgx.lgx-fiverings i:nth-child(5) { animation-delay: -5.6s, 1.4s; }
/* Belvedere ("beautiful view"): the B rises over a horizon with rays opening behind it */
@keyframes x-sunrise { 0%, 8% { transform: translateY(40px); clip-path: inset(0 0 100% 0); } 40%, 82% { transform: translateY(0); clip-path: inset(0 0 0 0); } 94%, 100% { transform: translateY(40px); clip-path: inset(0 0 100% 0); } }
@keyframes x-rays { 0%, 30% { opacity: 0; transform: rotate(-20deg) scale(.6); } 50%, 80% { opacity: 1; transform: rotate(0) scale(1); } 94%, 100% { opacity: 0; transform: rotate(10deg) scale(.6); } }
.lgx.lgx-belvedere i { animation: none; opacity: 0; transform: none; }
.lgx.lgx-belvedere i:nth-child(1) { --s: 58px; top: 47%; opacity: 1; z-index: 2; height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); animation: x-sunrise 5s cubic-bezier(.3,.8,.3,1) infinite; }
.lgx.lgx-belvedere i:nth-child(2) { -webkit-mask: none; mask: none; opacity: .45; width: 82%; height: 2px; margin: 0 0 0 -41%; top: 82%; border-radius: 1px; z-index: 3; }
.lgx.lgx-belvedere i:nth-child(3) { --s: 96px; top: 47%; height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); -webkit-mask: none; mask: none; border-radius: 50%; z-index: 1;
  background: repeating-conic-gradient(from -90deg at 50% 50%, color-mix(in srgb, var(--tc) 22%, transparent) 0 8deg, transparent 8deg 20deg);
  -webkit-mask: radial-gradient(circle, #000 35%, transparent 70%); mask: radial-gradient(circle, #000 35%, transparent 70%); animation: x-rays 5s ease-out infinite; }
/* D. E. Shaw: cleaner line; the rule draws across, the name is revealed left to right under it, both hold and fade together */
@keyframes x-rule2 { 0%, 4% { clip-path: inset(0 100% 0 0); opacity: .7; } 28%, 84% { clip-path: inset(0 0 0 0); opacity: .7; } 96%, 100% { clip-path: inset(0 0 0 0); opacity: 0; } }
@keyframes x-name2 { 0%, 22% { clip-path: inset(-2px 100% -2px 0); opacity: 1; } 52%, 84% { clip-path: inset(-2px 0 -2px 0); opacity: 1; } 96%, 100% { clip-path: inset(-2px 0 -2px 0); opacity: 0; } }
.lgx.lgx-deshaw i:nth-child(1) { animation: x-rule2 6s cubic-bezier(.4,0,.2,1) infinite; }
.lgx.lgx-deshaw i:nth-child(2) { animation: x-name2 6s cubic-bezier(.4,0,.2,1) infinite; }
.lgx.lgx-marshallwace i:nth-child(-n+2) { width: 160px; height: 36px; margin: -18px 0 0 -80px; }

/* ===== round 3 (22 Nov): firm-specific animations for the cards the user marked as generic; DRW letters only; D. E. Shaw loop without a flash ===== */
@property --ga { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@property --yr { syntax: "<integer>"; inherits: false; initial-value: 1783; }
.lgx.lgx-optiver.lgx-optiver i:nth-child(n), .lgx.lgx-akuna.lgx-akuna i:nth-child(n), .lgx.lgx-maverick.lgx-maverick i:nth-child(n), .lgx.lgx-maven.lgx-maven i:nth-child(n), .lgx.lgx-belvedere.lgx-belvedere i:nth-child(n), .lgx.lgx-marshallwace.lgx-marshallwace i:nth-child(n), .lgx.lgx-wintermute.lgx-wintermute i:nth-child(n), .lgx.lgx-balyasny.lgx-balyasny i:nth-child(n), .lgx.lgx-ctc.lgx-ctc i:nth-child(n), .lgx.lgx-gresearch.lgx-gresearch i:nth-child(n), .lgx.lgx-geneva.lgx-geneva i:nth-child(n), .lgx.lgx-janestreet.lgx-janestreet i:nth-child(n), .lgx.lgx-man.lgx-man i:nth-child(n), .lgx.lgx-peak6.lgx-peak6 i:nth-child(n), .lgx.lgx-qrt.lgx-qrt i:nth-child(n), .lgx.lgx-squarepoint.lgx-squarepoint i:nth-child(n), .lgx.lgx-twosigma.lgx-twosigma i:nth-child(n), .lgx.lgx-virtu.lgx-virtu i:nth-child(n), .lgx.lgx-drw.lgx-drw i:nth-child(n), .lgx.lgx-deshaw.lgx-deshaw i:nth-child(n) { --s: 64px; animation: none; opacity: 0; transform: none; transform-origin: 50% 50%; filter: none; box-shadow: none; mix-blend-mode: normal; clip-path: none; left: 50%; top: 50%; right: auto; bottom: auto; width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); border: 0; border-radius: 0; background: var(--tc); -webkit-mask: var(--lg) center / contain no-repeat; mask: var(--lg) center / contain no-repeat; z-index: auto; color: var(--tc); font-size: 0; }
.lgx.lgx-optiver.lgx-optiver i:nth-child(n)::after, .lgx.lgx-akuna.lgx-akuna i:nth-child(n)::after, .lgx.lgx-maverick.lgx-maverick i:nth-child(n)::after, .lgx.lgx-maven.lgx-maven i:nth-child(n)::after, .lgx.lgx-belvedere.lgx-belvedere i:nth-child(n)::after, .lgx.lgx-marshallwace.lgx-marshallwace i:nth-child(n)::after, .lgx.lgx-wintermute.lgx-wintermute i:nth-child(n)::after, .lgx.lgx-balyasny.lgx-balyasny i:nth-child(n)::after, .lgx.lgx-ctc.lgx-ctc i:nth-child(n)::after, .lgx.lgx-gresearch.lgx-gresearch i:nth-child(n)::after, .lgx.lgx-geneva.lgx-geneva i:nth-child(n)::after, .lgx.lgx-janestreet.lgx-janestreet i:nth-child(n)::after, .lgx.lgx-man.lgx-man i:nth-child(n)::after, .lgx.lgx-peak6.lgx-peak6 i:nth-child(n)::after, .lgx.lgx-qrt.lgx-qrt i:nth-child(n)::after, .lgx.lgx-squarepoint.lgx-squarepoint i:nth-child(n)::after, .lgx.lgx-twosigma.lgx-twosigma i:nth-child(n)::after, .lgx.lgx-virtu.lgx-virtu i:nth-child(n)::after, .lgx.lgx-drw.lgx-drw i:nth-child(n)::after, .lgx.lgx-deshaw.lgx-deshaw i:nth-child(n)::after { content: none; }
@keyframes o-flat { 0%, 5% { clip-path: inset(0 100% 0 0); } 25%, 88% { clip-path: inset(0 0 0 0); opacity: .5; } 100% { clip-path: inset(0 0 0 0); opacity: 0; } }
@keyframes o-leg { 0%, 25% { clip-path: inset(0 100% 0 0); } 50%, 88% { clip-path: inset(0 0 0 0); opacity: .5; } 100% { clip-path: inset(0 0 0 0); opacity: 0; } }
@keyframes o-ride { 0% { left: 12%; top: 62%; opacity: 0; } 6% { opacity: 1; } 25% { left: 55%; top: 62%; } 50% { left: 78%; top: 24%; transform: scale(1); } 58% { left: 78%; top: 24%; transform: scale(1.2); } 66%, 88% { left: 78%; top: 24%; transform: scale(1); opacity: 1; } 100% { left: 78%; top: 24%; opacity: 0; } }
.lgx.lgx-optiver.lgx-optiver i:nth-child(1) { -webkit-mask: none; mask: none; left: 8%; width: 47%; height: 2px; margin: 0; top: 78%; animation: o-flat 5s linear infinite; }
.lgx.lgx-optiver.lgx-optiver i:nth-child(2) { -webkit-mask: none; mask: none; left: 55%; width: 23%; height: 38%; margin: 0; top: 40%; background: linear-gradient(to bottom right, transparent calc(50% - 1.2px), var(--tc) calc(50% - 1px), var(--tc) calc(50% + 1px), transparent calc(50% + 1.2px)); animation: o-leg 5s linear infinite; }
.lgx.lgx-optiver.lgx-optiver i:nth-child(3) { --s: 32px; z-index: 2; animation: o-ride 5s ease-in-out infinite; }
.lgx.lgx-optiver.lgx-optiver i:nth-child(4) { -webkit-mask: none; mask: none; left: 55%; top: 70%; width: auto; height: auto; margin: 0 0 0 -14px; background: none; font: 600 9px/1 Inter, sans-serif; opacity: .55; } .lgx.lgx-optiver.lgx-optiver i:nth-child(4)::after { content: "strike"; }
@keyframes a-roll { 0%, 100% { left: 16%; top: 34%; transform: rotate(-200deg); } 50% { left: 84%; top: 34%; transform: rotate(200deg); } 25% { left: 50%; top: 62%; transform: rotate(0); } 75% { left: 50%; top: 62%; transform: rotate(0); } }
.lgx.lgx-akuna.lgx-akuna i:nth-child(1) { -webkit-mask: none; mask: none; left: 10%; width: 80%; height: 58px; margin: 0; top: 26%; background: none; border: 2px solid color-mix(in srgb, var(--tc) 45%, transparent); border-top: 0; border-radius: 0 0 50% 50% / 0 0 100% 100%; opacity: 1; }
.lgx.lgx-akuna.lgx-akuna i:nth-child(2) { --s: 40px; opacity: 1; z-index: 2; animation: a-roll 4s ease-in-out infinite; }
.lgx.lgx-akuna.lgx-akuna i:nth-child(3) { -webkit-mask: none; mask: none; left: 50%; top: 90%; width: auto; height: auto; margin: 0 0 0 -24px; background: none; font: 600 9px/1 Inter, sans-serif; opacity: .55; } .lgx.lgx-akuna.lgx-akuna i:nth-child(3)::after { content: "implied vol"; }
@keyframes m-candle { 0%, 5% { transform: scaleY(0); } 30%, 85% { transform: scaleY(1); } 100% { transform: scaleY(0); } }
@keyframes m-peaks { 0%, 30% { opacity: 0; transform: translateY(14px); } 45%, 85% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(0); } }
.lgx.lgx-maverick.lgx-maverick i:nth-child(2) { -webkit-mask: none; mask: none; left: 14%; width: 9px; height: 22px; margin: 0 0 0 -4.5px; top: calc(90% - 22px); background: var(--tc); opacity: .35; border-radius: 2px; transform-origin: 50% 100%; animation: m-candle 5s ease-out infinite; animation-delay: 0.00s; }
.lgx.lgx-maverick.lgx-maverick i:nth-child(3) { -webkit-mask: none; mask: none; left: 26%; width: 9px; height: 36px; margin: 0 0 0 -4.5px; top: calc(90% - 36px); background: var(--k4); opacity: .35; border-radius: 2px; transform-origin: 50% 100%; animation: m-candle 5s ease-out infinite; animation-delay: 0.12s; }
.lgx.lgx-maverick.lgx-maverick i:nth-child(4) { -webkit-mask: none; mask: none; left: 38%; width: 9px; height: 28px; margin: 0 0 0 -4.5px; top: calc(90% - 28px); background: var(--tc); opacity: .35; border-radius: 2px; transform-origin: 50% 100%; animation: m-candle 5s ease-out infinite; animation-delay: 0.24s; }
.lgx.lgx-maverick.lgx-maverick i:nth-child(5) { -webkit-mask: none; mask: none; left: 62%; width: 9px; height: 44px; margin: 0 0 0 -4.5px; top: calc(90% - 44px); background: var(--tc); opacity: .35; border-radius: 2px; transform-origin: 50% 100%; animation: m-candle 5s ease-out infinite; animation-delay: 0.36s; }
.lgx.lgx-maverick.lgx-maverick i:nth-child(6) { -webkit-mask: none; mask: none; left: 74%; width: 9px; height: 30px; margin: 0 0 0 -4.5px; top: calc(90% - 30px); background: var(--k4); opacity: .35; border-radius: 2px; transform-origin: 50% 100%; animation: m-candle 5s ease-out infinite; animation-delay: 0.48s; }
.lgx.lgx-maverick.lgx-maverick i:nth-child(7) { -webkit-mask: none; mask: none; left: 86%; width: 9px; height: 40px; margin: 0 0 0 -4.5px; top: calc(90% - 40px); background: var(--tc); opacity: .35; border-radius: 2px; transform-origin: 50% 100%; animation: m-candle 5s ease-out infinite; animation-delay: 0.60s; }
.lgx.lgx-maverick.lgx-maverick i:nth-child(1) { --s: 78px; top: 48%; z-index: 2; animation: m-peaks 5s ease-out infinite; }
@keyframes q-write { 0% { transform: translate(-112px, 14px) rotate(0); opacity: 0; } 6% { opacity: .8; } 10% { transform: translate(-84px, 12px) rotate(-7deg); } 20% { transform: translate(-44px, 16px) rotate(6deg); } 30% { transform: translate(-4px, 12px) rotate(-7deg); } 40%, 56% { transform: translate(40px, 14px) rotate(0); opacity: .8; } 70%, 88% { transform: translate(0, 0) rotate(0); opacity: .8; } 100% { transform: translate(0, 0); opacity: 0; } }
@keyframes q-ink { 0%, 4% { clip-path: inset(0 100% 0 0); opacity: .45; } 40%, 60% { clip-path: inset(0 0 0 0); opacity: .45; } 72%, 100% { clip-path: inset(0 0 0 0); opacity: 0; } }
@keyframes q-v { 0%, 52% { clip-path: inset(0 0 100% 0); opacity: 1; } 68%, 88% { clip-path: inset(0 0 0 0); opacity: 1; } 100% { clip-path: inset(0 0 0 0); opacity: 0; } }
.lgx.lgx-maven.lgx-maven i:nth-child(1) { --s: 72px; top: 44%; z-index: 2; -webkit-mask-image: url(logos/maven_feather.png); mask-image: url(logos/maven_feather.png); transform-origin: 46% 74%; animation: q-write 5s ease-in-out infinite; }
.lgx.lgx-maven.lgx-maven i:nth-child(2) { -webkit-mask: none; mask: none; left: 7%; width: 60%; height: 1.5px; margin: 0; top: 79%; animation: q-ink 5s linear infinite; }
.lgx.lgx-maven.lgx-maven i:nth-child(3) { --s: 72px; top: 44%; -webkit-mask-image: url(logos/maven_v.png); mask-image: url(logos/maven_v.png); animation: q-v 5s ease-out infinite; }
@keyframes b-look { 0% { left: 16%; } 35%, 70% { left: 50%; } 100% { left: 84%; } }
@keyframes b-lens { 0% { clip-path: circle(30px at 16% 50%); } 35%, 70% { clip-path: circle(30px at 50% 50%); } 100% { clip-path: circle(30px at 84% 50%); } }
.lgx.lgx-belvedere.lgx-belvedere i:nth-child(1), .lgx.lgx-belvedere.lgx-belvedere i:nth-child(2) { left: 0; top: 0; width: 100%; height: 100%; margin: 0; -webkit-mask: var(--lg) center / 54px 54px no-repeat; mask: var(--lg) center / 54px 54px no-repeat; }
.lgx.lgx-belvedere.lgx-belvedere i:nth-child(1) { opacity: .12; } .lgx.lgx-belvedere.lgx-belvedere i:nth-child(2) { opacity: 1; animation: b-lens 4.5s ease-in-out infinite alternate; }
.lgx.lgx-belvedere.lgx-belvedere i:nth-child(3) { -webkit-mask: none; mask: none; --s: 62px; background: linear-gradient(var(--tc), var(--tc)) center / 1px 30% no-repeat, linear-gradient(var(--tc), var(--tc)) center / 30% 1px no-repeat; border: 2px solid var(--tc); border-radius: 50%; box-sizing: border-box; opacity: .7; animation: b-look 4.5s ease-in-out infinite alternate; }
.lgx.lgx-belvedere.lgx-belvedere i:nth-child(4) { -webkit-mask: none; mask: none; left: 0; top: auto; bottom: 0; width: 100%; height: 34px; margin: 0; opacity: .14; background: linear-gradient(var(--tc), var(--tc)) 6% 100% / 6% 22px no-repeat, linear-gradient(var(--tc), var(--tc)) 13% 100% / 6% 34px no-repeat, linear-gradient(var(--tc), var(--tc)) 20% 100% / 6% 26px no-repeat, linear-gradient(var(--tc), var(--tc)) 28% 100% / 6% 40px no-repeat, linear-gradient(var(--tc), var(--tc)) 36% 100% / 6% 30px no-repeat, linear-gradient(var(--tc), var(--tc)) 64% 100% / 6% 36px no-repeat, linear-gradient(var(--tc), var(--tc)) 72% 100% / 6% 24px no-repeat, linear-gradient(var(--tc), var(--tc)) 80% 100% / 6% 42px no-repeat, linear-gradient(var(--tc), var(--tc)) 88% 100% / 6% 28px no-repeat, linear-gradient(var(--tc), var(--tc)) 95% 100% / 6% 20px no-repeat; }
@keyframes w-print { 0% { clip-path: inset(0 100% 0 0); opacity: 0; visibility: hidden; } 4% { clip-path: inset(0 100% 0 0); visibility: visible; } 45%, 80% { clip-path: inset(0 0 0 0); opacity: 1; } 96% { opacity: 0; clip-path: inset(0 0 0 0); } 96.1% { opacity: 0; visibility: hidden; clip-path: inset(0 100% 0 0); } 100% { opacity: 0; visibility: hidden; clip-path: inset(0 100% 0 0); } }
@keyframes w-cursor { 0%, 4% { left: calc(50% - 80px); opacity: 1; } 45% { left: calc(50% + 80px); opacity: 1; } 50%, 100% { left: calc(50% + 80px); opacity: 0; } }
.lgx.lgx-marshallwace.lgx-marshallwace i:nth-child(1) { -webkit-mask: none; mask: none; left: 8%; top: 12%; width: 84%; height: 76%; margin: 0; background: radial-gradient(circle, color-mix(in srgb, var(--tc) 18%, transparent) 1px, transparent 1.6px) 0 0 / 7px 7px; border-radius: 8px; opacity: 1; }
.lgx.lgx-marshallwace.lgx-marshallwace i:nth-child(2) { width: 160px; height: 36px; margin: -18px 0 0 -80px; z-index: 2; animation: w-print 5s steps(24) infinite; }
.lgx.lgx-marshallwace.lgx-marshallwace i:nth-child(3) { -webkit-mask: none; mask: none; width: 3px; height: 44px; margin: -22px 0 0 0; z-index: 3; animation: w-cursor 5s steps(24) infinite; }
@keyframes h-rain { 0% { top: -10%; opacity: 0; } 15%, 75% { opacity: .5; } 100% { top: 78%; opacity: 0; } }
@keyframes h-scan { 0%, 20% { clip-path: inset(0 0 100% 0); opacity: 1; transform: translate(0); } 50% { clip-path: inset(0 0 0 0); } 54% { transform: translate(-3px, 0); } 56% { transform: translate(3px, 0); } 58%, 86% { transform: translate(0); clip-path: inset(0 0 0 0); opacity: 1; } 100% { opacity: 0; clip-path: inset(0 0 0 0); } }
.lgx.lgx-wintermute.lgx-wintermute i:nth-child(2) { -webkit-mask: none; mask: none; left: 8%; width: auto; height: auto; margin: 0 0 0 -12px; background: none; font: 600 10px/1.2 ui-monospace, monospace; writing-mode: vertical-rl; animation: h-rain 3.2s linear infinite; animation-delay: -0.74s; } .lgx.lgx-wintermute.lgx-wintermute i:nth-child(2)::after { content: "0x7f"; }
.lgx.lgx-wintermute.lgx-wintermute i:nth-child(3) { -webkit-mask: none; mask: none; left: 22%; width: auto; height: auto; margin: 0 0 0 -12px; background: none; font: 600 10px/1.2 ui-monospace, monospace; writing-mode: vertical-rl; animation: h-rain 2.2s linear infinite; animation-delay: -1.11s; } .lgx.lgx-wintermute.lgx-wintermute i:nth-child(3)::after { content: "a3e1"; }
.lgx.lgx-wintermute.lgx-wintermute i:nth-child(4) { -webkit-mask: none; mask: none; left: 36%; width: auto; height: auto; margin: 0 0 0 -12px; background: none; font: 600 10px/1.2 ui-monospace, monospace; writing-mode: vertical-rl; animation: h-rain 2.7s linear infinite; animation-delay: -1.48s; } .lgx.lgx-wintermute.lgx-wintermute i:nth-child(4)::after { content: "ff02"; }
.lgx.lgx-wintermute.lgx-wintermute i:nth-child(5) { -webkit-mask: none; mask: none; left: 64%; width: auto; height: auto; margin: 0 0 0 -12px; background: none; font: 600 10px/1.2 ui-monospace, monospace; writing-mode: vertical-rl; animation: h-rain 3.2s linear infinite; animation-delay: -1.85s; } .lgx.lgx-wintermute.lgx-wintermute i:nth-child(5)::after { content: "9d1e"; }
.lgx.lgx-wintermute.lgx-wintermute i:nth-child(6) { -webkit-mask: none; mask: none; left: 78%; width: auto; height: auto; margin: 0 0 0 -12px; background: none; font: 600 10px/1.2 ui-monospace, monospace; writing-mode: vertical-rl; animation: h-rain 2.2s linear infinite; animation-delay: -2.22s; } .lgx.lgx-wintermute.lgx-wintermute i:nth-child(6)::after { content: "e5a0"; }
.lgx.lgx-wintermute.lgx-wintermute i:nth-child(7) { -webkit-mask: none; mask: none; left: 92%; width: auto; height: auto; margin: 0 0 0 -12px; background: none; font: 600 10px/1.2 ui-monospace, monospace; writing-mode: vertical-rl; animation: h-rain 2.7s linear infinite; animation-delay: -2.59s; } .lgx.lgx-wintermute.lgx-wintermute i:nth-child(7)::after { content: "4b2c"; }
.lgx.lgx-wintermute.lgx-wintermute i:nth-child(1) { --s: 74px; z-index: 2; animation: h-scan 5s ease-out infinite; }
@keyframes y-pod { 0%, 25%, 80%, 100% { transform: translate(0, 0) rotate(0); } 45%, 60% { transform: translate(var(--dx), var(--dy)); } }
.lgx.lgx-balyasny.lgx-balyasny i:nth-child(1) { --s: 74px; opacity: 1; --dx: 3.5px; --dy: -6.1px; clip-path: polygon(50% 50%, 50.0% -30.0%, 90.0% -19.3%, 119.3% 10.0%); animation: y-pod 4s ease-in-out infinite; animation-delay: 0.00s; }
.lgx.lgx-balyasny.lgx-balyasny i:nth-child(2) { --s: 74px; opacity: 1; --dx: 7.0px; --dy: 0.0px; clip-path: polygon(50% 50%, 119.3% 10.0%, 130.0% 50.0%, 119.3% 90.0%); animation: y-pod 4s ease-in-out infinite; animation-delay: 0.08s; }
.lgx.lgx-balyasny.lgx-balyasny i:nth-child(3) { --s: 74px; opacity: 1; --dx: 3.5px; --dy: 6.1px; clip-path: polygon(50% 50%, 119.3% 90.0%, 90.0% 119.3%, 50.0% 130.0%); animation: y-pod 4s ease-in-out infinite; animation-delay: 0.16s; }
.lgx.lgx-balyasny.lgx-balyasny i:nth-child(4) { --s: 74px; opacity: 1; --dx: -3.5px; --dy: 6.1px; clip-path: polygon(50% 50%, 50.0% 130.0%, 10.0% 119.3%, -19.3% 90.0%); animation: y-pod 4s ease-in-out infinite; animation-delay: 0.24s; }
.lgx.lgx-balyasny.lgx-balyasny i:nth-child(5) { --s: 74px; opacity: 1; --dx: -7.0px; --dy: 0.0px; clip-path: polygon(50% 50%, -19.3% 90.0%, -30.0% 50.0%, -19.3% 10.0%); animation: y-pod 4s ease-in-out infinite; animation-delay: 0.32s; }
.lgx.lgx-balyasny.lgx-balyasny i:nth-child(6) { --s: 74px; opacity: 1; --dx: -3.5px; --dy: -6.1px; clip-path: polygon(50% 50%, -19.3% 10.0%, 10.0% -19.3%, 50.0% -30.0%); animation: y-pod 4s ease-in-out infinite; animation-delay: 0.40s; }
@keyframes c-gust { 0% { left: -30%; opacity: 0; } 20%, 70% { opacity: .5; } 100% { left: 100%; opacity: 0; } }
@keyframes c-pin { 0% { transform: rotate(0); } 30% { transform: rotate(160deg); } 45% { transform: rotate(520deg); } 70% { transform: rotate(700deg); } 100% { transform: rotate(720deg); } }
.lgx.lgx-ctc.lgx-ctc i:nth-child(2) { -webkit-mask: none; mask: none; top: 24%; width: 40%; height: 2px; margin: 0; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--tc), transparent); animation: c-gust 2.4s ease-in infinite; animation-delay: 0s; }
.lgx.lgx-ctc.lgx-ctc i:nth-child(3) { -webkit-mask: none; mask: none; top: 40%; width: 60%; height: 2px; margin: 0; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--tc), transparent); animation: c-gust 2.4s ease-in infinite; animation-delay: 0.6s; }
.lgx.lgx-ctc.lgx-ctc i:nth-child(4) { -webkit-mask: none; mask: none; top: 62%; width: 46%; height: 2px; margin: 0; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--tc), transparent); animation: c-gust 2.4s ease-in infinite; animation-delay: 1.1s; }
.lgx.lgx-ctc.lgx-ctc i:nth-child(5) { -webkit-mask: none; mask: none; top: 78%; width: 34%; height: 2px; margin: 0; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--tc), transparent); animation: c-gust 2.4s ease-in infinite; animation-delay: 1.7s; }
.lgx.lgx-ctc.lgx-ctc i:nth-child(1) { --s: 66px; opacity: 1; z-index: 2; animation: c-pin 4s cubic-bezier(.4,0,.2,1) infinite; }
@keyframes g-draw { 0% { --ga: 0deg; opacity: 0; visibility: hidden; } 0.5% { --ga: 0deg; opacity: 1; visibility: visible; } 45%, 85% { --ga: 360deg; opacity: 1; } 99% { --ga: 360deg; opacity: 0; } 99.1% { opacity: 0; visibility: hidden; --ga: 0deg; } 100% { opacity: 0; visibility: hidden; --ga: 0deg; } }
@keyframes g-in { 0% { transform: translate(var(--dx), var(--dy)); opacity: 0; } 10% { opacity: .9; } 40% { transform: translate(0, 0); opacity: .9; } 46%, 100% { transform: translate(0, 0); opacity: 0; } }
.lgx.lgx-gresearch.lgx-gresearch i:nth-child(1) { --s: 80px; opacity: 1; -webkit-mask: var(--lg) center / contain no-repeat, conic-gradient(from 90deg, #000 var(--ga), transparent 0); -webkit-mask-composite: source-in; mask: var(--lg) center / contain no-repeat, conic-gradient(from 90deg, #000 var(--ga), transparent 0); mask-composite: intersect; animation: g-draw 4.5s cubic-bezier(.5,0,.3,1) infinite; }
.lgx.lgx-gresearch.lgx-gresearch i:nth-child(2) { --s: 80px; opacity: .1; }
.lgx.lgx-gresearch.lgx-gresearch i:nth-child(3) { -webkit-mask: none; mask: none; --s: 6px; border-radius: 50%; --dx: -110px; --dy: -30px; animation: g-in 4.5s ease-in infinite; animation-delay: 0.00s; }
.lgx.lgx-gresearch.lgx-gresearch i:nth-child(4) { -webkit-mask: none; mask: none; --s: 6px; border-radius: 50%; --dx: -90px; --dy: 32px; animation: g-in 4.5s ease-in infinite; animation-delay: 0.06s; }
.lgx.lgx-gresearch.lgx-gresearch i:nth-child(5) { -webkit-mask: none; mask: none; --s: 6px; border-radius: 50%; --dx: 100px; --dy: -34px; animation: g-in 4.5s ease-in infinite; animation-delay: 0.12s; }
.lgx.lgx-gresearch.lgx-gresearch i:nth-child(6) { -webkit-mask: none; mask: none; --s: 6px; border-radius: 50%; --dx: 115px; --dy: 20px; animation: g-in 4.5s ease-in infinite; animation-delay: 0.18s; }
.lgx.lgx-gresearch.lgx-gresearch i:nth-child(7) { -webkit-mask: none; mask: none; --s: 6px; border-radius: 50%; --dx: -40px; --dy: -40px; animation: g-in 4.5s ease-in infinite; animation-delay: 0.24s; }
.lgx.lgx-gresearch.lgx-gresearch i:nth-child(8) { -webkit-mask: none; mask: none; --s: 6px; border-radius: 50%; --dx: 50px; --dy: 38px; animation: g-in 4.5s ease-in infinite; animation-delay: 0.30s; }
@keyframes j-jet { 0%, 5% { height: 0; } 40%, 80% { height: 50px; } 95%, 100% { height: 0; } }
@keyframes j-lift { 0%, 5% { top: 84%; opacity: 0; } 12% { opacity: 1; } 40%, 80% { top: 30%; opacity: 1; } 95%, 100% { top: 84%; opacity: 0; } }
@keyframes j-drop { 0%, 35% { transform: translate(0, 0); opacity: 0; } 45% { opacity: .7; } 80% { transform: translate(var(--dx), 34px); opacity: 0; } 100% { opacity: 0; } }
.lgx.lgx-geneva.lgx-geneva i:nth-child(1) { --s: 40px; z-index: 2; animation: j-lift 5s ease-in-out infinite; }
.lgx.lgx-geneva.lgx-geneva i:nth-child(2) { -webkit-mask: none; mask: none; top: auto; bottom: 12%; width: 6px; height: 0; margin: 0 0 0 -3px; border-radius: 3px 3px 0 0; background: linear-gradient(to top, var(--tc), color-mix(in srgb, var(--tc) 30%, transparent)); opacity: .6; animation: j-jet 5s ease-in-out infinite; }
.lgx.lgx-geneva.lgx-geneva i:nth-child(3) { -webkit-mask: none; mask: none; left: 8%; top: 88%; width: 84%; height: 2px; margin: 0; opacity: .35; border-radius: 2px; }
.lgx.lgx-geneva.lgx-geneva i:nth-child(4) { -webkit-mask: none; mask: none; --s: 4px; top: 42%; border-radius: 50%; --dx: -30px; animation: j-drop 5s ease-in infinite; animation-delay: 0.00s; }
.lgx.lgx-geneva.lgx-geneva i:nth-child(5) { -webkit-mask: none; mask: none; --s: 4px; top: 42%; border-radius: 50%; --dx: -16px; animation: j-drop 5s ease-in infinite; animation-delay: 0.10s; }
.lgx.lgx-geneva.lgx-geneva i:nth-child(6) { -webkit-mask: none; mask: none; --s: 4px; top: 42%; border-radius: 50%; --dx: 16px; animation: j-drop 5s ease-in infinite; animation-delay: 0.20s; }
.lgx.lgx-geneva.lgx-geneva i:nth-child(7) { -webkit-mask: none; mask: none; --s: 4px; top: 42%; border-radius: 50%; --dx: 30px; animation: j-drop 5s ease-in infinite; animation-delay: 0.30s; }
@keyframes f-deal { 0%, 5% { left: 50%; transform: rotateY(180deg) scale(.6); opacity: 0; } 12% { opacity: 1; } 30% { left: var(--x); transform: rotateY(180deg) scale(1); } 45%, 85% { left: var(--x); transform: rotateY(0) scale(1); opacity: 1; } 100% { left: var(--x); opacity: 0; } }
@keyframes f-suit { 0%, 40% { opacity: 0; } 46%, 100% { opacity: 1; } }
@keyframes f-goal { 0%, 50% { opacity: 0; transform: scale(.4); } 60% { opacity: 1; transform: scale(1.15); } 66%, 85% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }
.lgx.lgx-janestreet.lgx-janestreet i:nth-child(2) { -webkit-mask: none; mask: none; --x: 16%; width: 28px; height: 40px; margin: -20px 0 0 -14px; background: var(--surface, #fff); border: 1.5px solid var(--tc); border-radius: 5px; box-sizing: border-box; display: grid; place-items: center; font: 700 17px/1 Inter, sans-serif; animation: f-deal 5s ease-out infinite; animation-delay: 0.0s; } .lgx.lgx-janestreet.lgx-janestreet i:nth-child(2)::after { content: "♠"; animation: f-suit 5s steps(1) infinite; animation-delay: 0.0s; }
.lgx.lgx-janestreet.lgx-janestreet i:nth-child(3) { -webkit-mask: none; mask: none; --x: 34%; width: 28px; height: 40px; margin: -20px 0 0 -14px; background: var(--surface, #fff); border: 1.5px solid var(--tc); border-radius: 5px; box-sizing: border-box; display: grid; place-items: center; font: 700 17px/1 Inter, sans-serif; animation: f-deal 5s ease-out infinite; animation-delay: 0.1s; } .lgx.lgx-janestreet.lgx-janestreet i:nth-child(3)::after { content: "♣"; animation: f-suit 5s steps(1) infinite; animation-delay: 0.1s; }
.lgx.lgx-janestreet.lgx-janestreet i:nth-child(4) { -webkit-mask: none; mask: none; --x: 66%; width: 28px; height: 40px; margin: -20px 0 0 -14px; background: var(--surface, #fff); border: 1.5px solid var(--tc); border-radius: 5px; box-sizing: border-box; display: grid; place-items: center; font: 700 17px/1 Inter, sans-serif; animation: f-deal 5s ease-out infinite; animation-delay: 0.2s; } .lgx.lgx-janestreet.lgx-janestreet i:nth-child(4)::after { content: "♥"; animation: f-suit 5s steps(1) infinite; animation-delay: 0.2s; }
.lgx.lgx-janestreet.lgx-janestreet i:nth-child(5) { -webkit-mask: none; mask: none; --x: 84%; width: 28px; height: 40px; margin: -20px 0 0 -14px; background: var(--surface, #fff); border: 1.5px solid var(--tc); border-radius: 5px; box-sizing: border-box; display: grid; place-items: center; font: 700 17px/1 Inter, sans-serif; animation: f-deal 5s ease-out infinite; animation-delay: 0.3s; } .lgx.lgx-janestreet.lgx-janestreet i:nth-child(5)::after { content: "♦"; animation: f-suit 5s steps(1) infinite; animation-delay: 0.3s; }
.lgx.lgx-janestreet.lgx-janestreet i:nth-child(1) { --s: 40px; z-index: 2; animation: f-goal 5s ease-out infinite; }
@keyframes y-count { 0%, 5% { --yr: 1783; } 55%, 100% { --yr: 2026; } }
@keyframes y-fill { 0%, 5% { clip-path: inset(100% 0 0 0); opacity: 1; } 55%, 88% { clip-path: inset(0 0 0 0); opacity: 1; } 100% { opacity: 0; clip-path: inset(0 0 0 0); } }
.lgx.lgx-man.lgx-man i:nth-child(1) { --s: 60px; left: 33%; opacity: 1; animation: y-fill 5s ease-out infinite; }
.lgx.lgx-man.lgx-man i:nth-child(2) { --s: 60px; left: 33%; opacity: .12; }
.lgx.lgx-man.lgx-man i:nth-child(3) { -webkit-mask: none; mask: none; left: 68%; width: auto; height: auto; margin: -14px 0 0 -30px; background: none; opacity: 1; font: 800 26px/1 Inter, sans-serif; font-variant-numeric: tabular-nums; counter-reset: yr var(--yr); animation: y-count 5s cubic-bezier(.3,0,.2,1) infinite, x-sigma 5s linear infinite; } .lgx.lgx-man.lgx-man i:nth-child(3)::after { content: counter(yr); }
.lgx.lgx-man.lgx-man i:nth-child(4) { -webkit-mask: none; mask: none; left: 68%; top: 72%; width: auto; height: auto; margin: 0 0 0 -30px; background: none; opacity: .55; font: 600 10px/1 Inter, sans-serif; } .lgx.lgx-man.lgx-man i:nth-child(4)::after { content: "since 1783"; }
@keyframes p-rise { 0%, 4% { clip-path: inset(100% 0 0 0); } 22%, 84% { clip-path: inset(0 0 0 0); opacity: 1; } 96%, 100% { clip-path: inset(0 0 0 0); opacity: 0; } }
.lgx.lgx-peak6.lgx-peak6 i:nth-child(1) { --s: 34px; left: 13%; top: calc(90% - 17px); opacity: 0.5; animation: p-rise 5s ease-out infinite; animation-delay: 0.00s; }
.lgx.lgx-peak6.lgx-peak6 i:nth-child(2) { --s: 48px; left: 28%; top: calc(90% - 24px); opacity: 0.7; animation: p-rise 5s ease-out infinite; animation-delay: 0.18s; }
.lgx.lgx-peak6.lgx-peak6 i:nth-child(3) { --s: 40px; left: 43%; top: calc(90% - 20px); opacity: 0.6; animation: p-rise 5s ease-out infinite; animation-delay: 0.36s; }
.lgx.lgx-peak6.lgx-peak6 i:nth-child(4) { --s: 62px; left: 58%; top: calc(90% - 31px); opacity: 1; animation: p-rise 5s ease-out infinite; animation-delay: 0.54s; }
.lgx.lgx-peak6.lgx-peak6 i:nth-child(5) { --s: 38px; left: 73%; top: calc(90% - 19px); opacity: 0.6; animation: p-rise 5s ease-out infinite; animation-delay: 0.72s; }
.lgx.lgx-peak6.lgx-peak6 i:nth-child(6) { --s: 50px; left: 87%; top: calc(90% - 25px); opacity: 0.8; animation: p-rise 5s ease-out infinite; animation-delay: 0.90s; }
@keyframes q-stack { 0%, 4% { transform: translateY(-18px); opacity: 0; } 14%, 86% { transform: translateY(0); opacity: 1; } 96%, 100% { transform: translateY(0); opacity: 0; } }
.lgx.lgx-qrt.lgx-qrt i:nth-child(1) { --s: 34px; margin: calc(0.0px - 17.0px) 0 0 calc(0.0px - 17.0px); z-index: 0; animation: q-stack 5s cubic-bezier(.3,1.3,.5,1) infinite; animation-delay: 0.00s; }
.lgx.lgx-qrt.lgx-qrt i:nth-child(2) { --s: 34px; margin: calc(9.8px - 17.0px) 0 0 calc(-17.0px - 17.0px); z-index: 1; animation: q-stack 5s cubic-bezier(.3,1.3,.5,1) infinite; animation-delay: 0.22s; }
.lgx.lgx-qrt.lgx-qrt i:nth-child(3) { --s: 34px; margin: calc(9.8px - 17.0px) 0 0 calc(17.0px - 17.0px); z-index: 1; animation: q-stack 5s cubic-bezier(.3,1.3,.5,1) infinite; animation-delay: 0.44s; }
.lgx.lgx-qrt.lgx-qrt i:nth-child(4) { --s: 34px; margin: calc(19.6px - 17.0px) 0 0 calc(0.0px - 17.0px); z-index: 2; animation: q-stack 5s cubic-bezier(.3,1.3,.5,1) infinite; animation-delay: 0.66s; }
.lgx.lgx-qrt.lgx-qrt i:nth-child(5) { --s: 34px; margin: calc(-19.6px - 17.0px) 0 0 calc(0.0px - 17.0px); z-index: 4; animation: q-stack 5s cubic-bezier(.3,1.3,.5,1) infinite; animation-delay: 0.88s; }
.lgx.lgx-qrt.lgx-qrt i:nth-child(6) { --s: 34px; margin: calc(-9.8px - 17.0px) 0 0 calc(-17.0px - 17.0px); z-index: 5; animation: q-stack 5s cubic-bezier(.3,1.3,.5,1) infinite; animation-delay: 1.10s; }
.lgx.lgx-qrt.lgx-qrt i:nth-child(7) { --s: 34px; margin: calc(-9.8px - 17.0px) 0 0 calc(17.0px - 17.0px); z-index: 5; animation: q-stack 5s cubic-bezier(.3,1.3,.5,1) infinite; animation-delay: 1.32s; }
.lgx.lgx-qrt.lgx-qrt i:nth-child(8) { --s: 34px; margin: calc(0.0px - 17.0px) 0 0 calc(0.0px - 17.0px); z-index: 6; animation: q-stack 5s cubic-bezier(.3,1.3,.5,1) infinite; animation-delay: 1.54s; }
@keyframes s-pt { 0%, 100% { left: 22%; top: 34%; } 25% { left: 70%; top: 30%; } 50% { left: 78%; top: 68%; } 75% { left: 30%; top: 66%; } }
@keyframes s-lock { 0%, 100% { left: 22%; top: 34%; transform: scale(1); } 8% { transform: scale(1.35); } 16% { left: 22%; top: 34%; transform: scale(1); } 25% { left: 70%; top: 30%; transform: scale(1.35); } 33% { transform: scale(1); } 50% { left: 78%; top: 68%; transform: scale(1.35); } 58% { transform: scale(1); } 75% { left: 30%; top: 66%; transform: scale(1.35); } 83% { transform: scale(1); } }
.lgx.lgx-squarepoint.lgx-squarepoint i:nth-child(1) { -webkit-mask: none; mask: none; --s: 7px; border-radius: 50%; opacity: 1; z-index: 2; animation: s-pt 6s cubic-bezier(.5,0,.2,1) infinite; }
.lgx.lgx-squarepoint.lgx-squarepoint i:nth-child(2) { --s: 44px; opacity: 1; animation: s-lock 6s cubic-bezier(.6,0,.2,1) infinite; animation-delay: .25s; }
@keyframes t-draw { 0%, 4% { clip-path: inset(0 100% 0 0); } 40%, 86% { clip-path: inset(0 0 0 0); opacity: 1; } 100% { clip-path: inset(0 0 0 0); opacity: 0; } }
@keyframes t-band { 0%, 40% { opacity: 0; } 55%, 86% { opacity: .22; } 100% { opacity: 0; } }
@keyframes t-peak { 0%, 45% { opacity: 0; transform: scale(.4); } 58% { opacity: 1; transform: scale(1.15); } 64%, 86% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }
.lgx.lgx-twosigma.lgx-twosigma i:nth-child(1), .lgx.lgx-twosigma.lgx-twosigma i:nth-child(2) { width: 180px; height: 72px; margin: 0 0 0 -90px; top: calc(94% - 72px); }
.lgx.lgx-twosigma.lgx-twosigma i:nth-child(1) { -webkit-mask-image: url(logos/bell_line.png); mask-image: url(logos/bell_line.png); -webkit-mask-size: 100% 100%; mask-size: 100% 100%; animation: t-draw 5s ease-in-out infinite; }
.lgx.lgx-twosigma.lgx-twosigma i:nth-child(2) { -webkit-mask-image: url(logos/bell_band.png); mask-image: url(logos/bell_band.png); -webkit-mask-size: 100% 100%; mask-size: 100% 100%; animation: t-band 5s ease-in-out infinite; }
.lgx.lgx-twosigma.lgx-twosigma i:nth-child(3) { --s: 30px; top: calc(94% - 72px + 6px); z-index: 2; animation: t-peak 5s ease-out infinite; }
.lgx.lgx-twosigma.lgx-twosigma i:nth-child(4) { -webkit-mask: none; mask: none; top: 86%; width: auto; height: auto; margin: 0 0 0 calc(-56px - 10px); background: none; font: 700 10px/1 Inter, sans-serif; animation: t-band 5s ease-in-out infinite; } .lgx.lgx-twosigma.lgx-twosigma i:nth-child(4)::after { content: "−2σ"; }
.lgx.lgx-twosigma.lgx-twosigma i:nth-child(5) { -webkit-mask: none; mask: none; top: 86%; width: auto; height: auto; margin: 0 0 0 calc(56px - 10px); background: none; font: 700 10px/1 Inter, sans-serif; animation: t-band 5s ease-in-out infinite; } .lgx.lgx-twosigma.lgx-twosigma i:nth-child(5)::after { content: "+2σ"; }
.lgx.lgx-twosigma.lgx-twosigma i:nth-child(4), .lgx.lgx-twosigma.lgx-twosigma i:nth-child(5) { animation: x-sigma 5s ease-in-out infinite; }
@keyframes v-merid { 0% { transform: scaleX(1); } 50% { transform: scaleX(.05); } 100% { transform: scaleX(1); } }
@keyframes v-fill { 0%, 8% { opacity: 0; transform: scale(.3); } 14% { opacity: 1; transform: scale(1.2); } 20%, 60% { opacity: 1; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1); } }
@keyframes v-main { 0%, 55% { opacity: 0; transform: scale(.5); } 65% { opacity: 1; transform: scale(1.12); } 70%, 88% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }
.lgx.lgx-virtu.lgx-virtu i:nth-child(1) { -webkit-mask: none; mask: none; --s: 80px; background: none; border: 1.5px solid color-mix(in srgb, var(--tc) 40%, transparent); border-radius: 50%; box-sizing: border-box; opacity: 1; }
.lgx.lgx-virtu.lgx-virtu i:nth-child(2), .lgx.lgx-virtu.lgx-virtu i:nth-child(3) { -webkit-mask: none; mask: none; --s: 80px; background: none; border: 1.5px solid color-mix(in srgb, var(--tc) 30%, transparent); border-radius: 50%; box-sizing: border-box; opacity: 1; animation: v-merid 4s linear infinite; } .lgx.lgx-virtu.lgx-virtu i:nth-child(3) { animation-delay: -2s; }
.lgx.lgx-virtu.lgx-virtu i:nth-child(4) { --s: 16px; margin: calc(-18px - 8px) 0 0 calc(-22px - 8px); animation: v-fill 5s ease-out infinite; animation-delay: 0.00s; }
.lgx.lgx-virtu.lgx-virtu i:nth-child(5) { --s: 16px; margin: calc(-24px - 8px) 0 0 calc(18px - 8px); animation: v-fill 5s ease-out infinite; animation-delay: 0.35s; }
.lgx.lgx-virtu.lgx-virtu i:nth-child(6) { --s: 16px; margin: calc(10px - 8px) 0 0 calc(26px - 8px); animation: v-fill 5s ease-out infinite; animation-delay: 0.70s; }
.lgx.lgx-virtu.lgx-virtu i:nth-child(7) { --s: 16px; margin: calc(22px - 8px) 0 0 calc(-14px - 8px); animation: v-fill 5s ease-out infinite; animation-delay: 1.05s; }
.lgx.lgx-virtu.lgx-virtu i:nth-child(8) { --s: 40px; z-index: 2; animation: v-main 5s ease-out infinite; }
@keyframes d-stamp { 0%, 6% { opacity: 0; transform: scale(1.6); } 14% { opacity: 1; transform: scale(.94); } 18%, 84% { opacity: 1; transform: scale(1); } 96%, 100% { opacity: 0; transform: scale(1); } }
@keyframes d-sheen { 0%, 45% { background-position: 120% 0; opacity: 0; } 50% { opacity: 1; } 70%, 100% { background-position: -20% 0; opacity: 0; } }
.lgx.lgx-drw.lgx-drw i:nth-child(1) { width: 180px; height: 56px; margin: -28px 0 0 -90px; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; clip-path: inset(0 73% 0 0); transform-origin: 14% 50%; animation: d-stamp 5s cubic-bezier(.3,1.4,.5,1) infinite; animation-delay: 0s; }
.lgx.lgx-drw.lgx-drw i:nth-child(2) { width: 180px; height: 56px; margin: -28px 0 0 -90px; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; clip-path: inset(0 43.5% 0 29%); transform-origin: 43% 50%; animation: d-stamp 5s cubic-bezier(.3,1.4,.5,1) infinite; animation-delay: 0.35s; }
.lgx.lgx-drw.lgx-drw i:nth-child(3) { width: 180px; height: 56px; margin: -28px 0 0 -90px; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; clip-path: inset(0 0 0 55.5%); transform-origin: 78% 50%; animation: d-stamp 5s cubic-bezier(.3,1.4,.5,1) infinite; animation-delay: 0.7s; }
.lgx.lgx-drw.lgx-drw i:nth-child(4) { width: 180px; height: 56px; margin: -28px 0 0 -90px; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; z-index: 2; background: linear-gradient(100deg, transparent 40%, rgba(255,255,255,.75) 50%, transparent 60%) 120% 0 / 300% 100% no-repeat; animation: d-sheen 5s ease-in-out infinite; animation-delay: .7s; }
@keyframes x-rule3 { 0% { clip-path: inset(0 100% 0 0); opacity: 0; visibility: hidden; } 3% { opacity: .75; visibility: visible; } 28%, 84% { clip-path: inset(0 0 0 0); opacity: .75; } 94% { clip-path: inset(0 0 0 0); opacity: 0; } 94.1% { opacity: 0; visibility: hidden; clip-path: inset(0 100% 0 0); } 100% { opacity: 0; visibility: hidden; clip-path: inset(0 100% 0 0); } }
@keyframes x-name3 { 0% { clip-path: inset(-2px 100% -2px 0); opacity: 0; visibility: hidden; } 22% { clip-path: inset(-2px 100% -2px 0); opacity: 0; visibility: visible; } 24% { opacity: 1; } 52%, 84% { clip-path: inset(-2px 0 -2px 0); opacity: 1; } 94% { clip-path: inset(-2px 0 -2px 0); opacity: 0; } 94.1% { opacity: 0; visibility: hidden; clip-path: inset(-2px 100% -2px 0); } 100% { opacity: 0; visibility: hidden; clip-path: inset(-2px 100% -2px 0); } }
.lgx.lgx-deshaw.lgx-deshaw i:nth-child(1), .lgx.lgx-deshaw.lgx-deshaw i:nth-child(2) { width: 214px; height: 47px; margin: -24px 0 0 -107px; -webkit-mask-size: 100% 100%; mask-size: 100% 100%; }
.lgx.lgx-deshaw.lgx-deshaw i:nth-child(1) { -webkit-mask-image: url(logos/deshaw_line.png); mask-image: url(logos/deshaw_line.png); animation: x-rule3 6s cubic-bezier(.4,0,.2,1) infinite; }
.lgx.lgx-deshaw.lgx-deshaw i:nth-child(2) { -webkit-mask-image: url(logos/deshaw_text.png); mask-image: url(logos/deshaw_text.png); animation: x-name3 6s cubic-bezier(.4,0,.2,1) infinite; }
@media (prefers-reduced-motion: reduce) { .lgx i, .lgx i::after { animation: none !important; } .lgx i { opacity: 1; } }
/* ===== charts: one line per difficulty; the legend buttons hide and show lines ===== */
.tip-legend-g { flex-wrap: wrap; gap: 6px 8px; padding-top: 8px; }
.tip-lg { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text-2); font: inherit; font-size: 11px; cursor: pointer; }
.tip-lg:hover { border-color: color-mix(in srgb, var(--text-2) 40%, var(--line)); }
.tip-lg.off { text-decoration: line-through; opacity: .5; }
.tip-lg.off i { background: var(--muted) !important; }
/* ===== round 4 (22 Nov): rebuilt cards. Every loop begins and ends with the same (hidden) state, so there is no flash on restart; no text, logo shapes only ===== */
@property --wp { syntax: "<percentage>"; inherits: false; initial-value: 0%; }
.lgx.lgx-wintermute.lgx-wintermute.lgx-wintermute i:nth-child(n), .lgx.lgx-maven.lgx-maven.lgx-maven i:nth-child(n), .lgx.lgx-optiver.lgx-optiver.lgx-optiver i:nth-child(n), .lgx.lgx-akuna.lgx-akuna.lgx-akuna i:nth-child(n), .lgx.lgx-brevan.lgx-brevan.lgx-brevan i:nth-child(n), .lgx.lgx-ctc.lgx-ctc.lgx-ctc i:nth-child(n), .lgx.lgx-man.lgx-man.lgx-man i:nth-child(n), .lgx.lgx-peak6.lgx-peak6.lgx-peak6 i:nth-child(n), .lgx.lgx-janestreet.lgx-janestreet.lgx-janestreet i:nth-child(n), .lgx.lgx-drw.lgx-drw.lgx-drw i:nth-child(n), .lgx.lgx-belvedere.lgx-belvedere.lgx-belvedere i:nth-child(n), .lgx.lgx-balyasny.lgx-balyasny.lgx-balyasny i:nth-child(n), .lgx.lgx-tower.lgx-tower.lgx-tower i:nth-child(n), .lgx.lgx-maverick.lgx-maverick.lgx-maverick i:nth-child(n), .lgx.lgx-twosigma.lgx-twosigma.lgx-twosigma i:nth-child(n), .lgx.lgx-virtu.lgx-virtu.lgx-virtu i:nth-child(n) { --s: 80px; left: 50%; top: 50%; right: auto; bottom: auto; width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2); background: var(--tc); -webkit-mask: var(--lg) center / contain no-repeat; mask: var(--lg) center / contain no-repeat; opacity: 0; transform: none; transform-origin: 50% 50%; animation: none; clip-path: none; filter: none; border: 0; border-radius: 0; box-shadow: none; mix-blend-mode: normal; z-index: 1; display: block; }
.lgx.lgx-wintermute.lgx-wintermute.lgx-wintermute i:nth-child(n)::before, .lgx.lgx-wintermute.lgx-wintermute.lgx-wintermute i:nth-child(n)::after, .lgx.lgx-maven.lgx-maven.lgx-maven i:nth-child(n)::before, .lgx.lgx-maven.lgx-maven.lgx-maven i:nth-child(n)::after, .lgx.lgx-optiver.lgx-optiver.lgx-optiver i:nth-child(n)::before, .lgx.lgx-optiver.lgx-optiver.lgx-optiver i:nth-child(n)::after, .lgx.lgx-akuna.lgx-akuna.lgx-akuna i:nth-child(n)::before, .lgx.lgx-akuna.lgx-akuna.lgx-akuna i:nth-child(n)::after, .lgx.lgx-brevan.lgx-brevan.lgx-brevan i:nth-child(n)::before, .lgx.lgx-brevan.lgx-brevan.lgx-brevan i:nth-child(n)::after, .lgx.lgx-ctc.lgx-ctc.lgx-ctc i:nth-child(n)::before, .lgx.lgx-ctc.lgx-ctc.lgx-ctc i:nth-child(n)::after, .lgx.lgx-man.lgx-man.lgx-man i:nth-child(n)::before, .lgx.lgx-man.lgx-man.lgx-man i:nth-child(n)::after, .lgx.lgx-peak6.lgx-peak6.lgx-peak6 i:nth-child(n)::before, .lgx.lgx-peak6.lgx-peak6.lgx-peak6 i:nth-child(n)::after, .lgx.lgx-janestreet.lgx-janestreet.lgx-janestreet i:nth-child(n)::before, .lgx.lgx-janestreet.lgx-janestreet.lgx-janestreet i:nth-child(n)::after, .lgx.lgx-drw.lgx-drw.lgx-drw i:nth-child(n)::before, .lgx.lgx-drw.lgx-drw.lgx-drw i:nth-child(n)::after, .lgx.lgx-belvedere.lgx-belvedere.lgx-belvedere i:nth-child(n)::before, .lgx.lgx-belvedere.lgx-belvedere.lgx-belvedere i:nth-child(n)::after, .lgx.lgx-balyasny.lgx-balyasny.lgx-balyasny i:nth-child(n)::before, .lgx.lgx-balyasny.lgx-balyasny.lgx-balyasny i:nth-child(n)::after, .lgx.lgx-tower.lgx-tower.lgx-tower i:nth-child(n)::before, .lgx.lgx-tower.lgx-tower.lgx-tower i:nth-child(n)::after, .lgx.lgx-maverick.lgx-maverick.lgx-maverick i:nth-child(n)::before, .lgx.lgx-maverick.lgx-maverick.lgx-maverick i:nth-child(n)::after, .lgx.lgx-twosigma.lgx-twosigma.lgx-twosigma i:nth-child(n)::before, .lgx.lgx-twosigma.lgx-twosigma.lgx-twosigma i:nth-child(n)::after, .lgx.lgx-virtu.lgx-virtu.lgx-virtu i:nth-child(n)::before, .lgx.lgx-virtu.lgx-virtu.lgx-virtu i:nth-child(n)::after { content: none; display: none; animation: none; }
@keyframes wm-draw { 0% { --wp: -8%; opacity: 0; visibility: hidden; } 0.5% { --wp: -8%; opacity: 1; visibility: visible; } 42% { --wp: 100%; } 86% { --wp: 100%; opacity: 1; } 96% { --wp: 100%; opacity: 0; } 96.1% { opacity: 0; visibility: hidden; --wp: -8%; } 100% { opacity: 0; visibility: hidden; --wp: -8%; } }
@keyframes wm-glow { 0%, 40% { opacity: 0; transform: scale(1); } 50% { opacity: .55; transform: scale(1.06); } 64%, 100% { opacity: 0; transform: scale(1.1); } }
@keyframes wm-frost { 0%, 8% { opacity: 0; transform: translate(var(--fx), var(--fy)) scale(.2) rotate(0); } 40% { opacity: .55; transform: translate(0, 0) scale(1) rotate(60deg); } 86% { opacity: .55; transform: translate(0, 0) scale(1) rotate(90deg); } 96%, 100% { opacity: 0; transform: translate(0, 0) scale(1) rotate(100deg); } }
.lgx.lgx-wintermute.lgx-wintermute.lgx-wintermute i:nth-child(1) { --s: 84px; z-index: 2; -webkit-mask: var(--lg) center / contain no-repeat, linear-gradient(to top, #000 var(--wp), transparent calc(var(--wp) + 8%)); mask: var(--lg) center / contain no-repeat, linear-gradient(to top, #000 var(--wp), transparent calc(var(--wp) + 8%)); -webkit-mask-composite: source-in; mask-composite: intersect; animation: wm-draw 6s ease-in-out infinite; }
.lgx.lgx-wintermute.lgx-wintermute.lgx-wintermute i:nth-child(2) { --s: 84px; background: color-mix(in srgb, var(--tc) 55%, #fff); filter: blur(3px); animation: wm-glow 6s ease-out infinite; }
.lgx.lgx-wintermute.lgx-wintermute.lgx-wintermute i:nth-child(3) { --lg: url(logos/fx/flake.png); --s: 14px; --fx: -14px; --fy: -10px; left: 7%; top: 22%; background: color-mix(in srgb, var(--tc) 55%, #fff); animation: wm-frost 6s ease-out infinite; animation-delay: 0s; }
.lgx.lgx-wintermute.lgx-wintermute.lgx-wintermute i:nth-child(4) { --lg: url(logos/fx/flake.png); --s: 18px; --fx: 14px; --fy: -10px; left: 93%; top: 28%; background: color-mix(in srgb, var(--tc) 55%, #fff); animation: wm-frost 6s ease-out infinite; animation-delay: -.15s; }
.lgx.lgx-wintermute.lgx-wintermute.lgx-wintermute i:nth-child(5) { --lg: url(logos/fx/flake.png); --s: 12px; --fx: -12px; --fy: 12px; left: 12%; top: 80%; background: color-mix(in srgb, var(--tc) 55%, #fff); animation: wm-frost 6s ease-out infinite; animation-delay: -.3s; }
.lgx.lgx-wintermute.lgx-wintermute.lgx-wintermute i:nth-child(6) { --lg: url(logos/fx/flake.png); --s: 15px; --fx: 12px; --fy: 12px; left: 88%; top: 78%; background: color-mix(in srgb, var(--tc) 55%, #fff); animation: wm-frost 6s ease-out infinite; animation-delay: -.45s; }
.lgx.lgx-wintermute.lgx-wintermute.lgx-wintermute i:nth-child(7) { --lg: url(logos/fx/flake.png); --s: 10px; --fx: -6px; --fy: -12px; left: 26%; top: 10%; background: color-mix(in srgb, var(--tc) 55%, #fff); animation: wm-frost 6s ease-out infinite; animation-delay: -.2s; }
.lgx.lgx-wintermute.lgx-wintermute.lgx-wintermute i:nth-child(8) { --lg: url(logos/fx/flake.png); --s: 11px; --fx: 6px; --fy: 12px; left: 74%; top: 90%; background: color-mix(in srgb, var(--tc) 55%, #fff); animation: wm-frost 6s ease-out infinite; animation-delay: -.35s; }
@keyframes mv-v { 0%, 4% { opacity: 0; transform: translateY(34px); } 40% { opacity: 1; transform: translateY(0); } 86% { opacity: 1; transform: translateY(0); } 96%, 100% { opacity: 0; transform: translateY(0); } }
@keyframes mv-f { 0% { opacity: 0; transform: translate(16px, -64px) rotate(-22deg); } 7% { opacity: 1; } 15% { transform: translate(-9px, -46px) rotate(16deg); } 24% { transform: translate(10px, -28px) rotate(-12deg); } 33% { transform: translate(-5px, -12px) rotate(7deg); } 41% { transform: translate(2px, -2px) rotate(-2deg); } 46% { opacity: 1; transform: translate(0, 0) rotate(0); } 86% { opacity: 1; transform: translate(0, 0) rotate(0); } 96%, 100% { opacity: 0; transform: translate(0, 0) rotate(0); } }
.lgx.lgx-maven.lgx-maven.lgx-maven i:nth-child(1) { --lg: url(logos/maven_v.png); --s: 86px; animation: mv-v 6s cubic-bezier(.2,.8,.3,1) infinite; }
.lgx.lgx-maven.lgx-maven.lgx-maven i:nth-child(2) { --lg: url(logos/maven_feather.png); --s: 86px; z-index: 2; background: color-mix(in srgb, var(--tc) 55%, #fff); transform-origin: 70% 15%; animation: mv-f 6s ease-in-out infinite; }
@keyframes op-l { 0%, 0% { opacity: 0; transform: translate(-44px, 8px) rotate(-14deg); } 26%, 38% { opacity: 1; transform: translate(0, 0) rotate(0); } 39%, 100% { opacity: 0; transform: translate(0, 0) rotate(0); } }
@keyframes op-r { 0%, 5% { opacity: 0; transform: translate(44px, 8px) rotate(14deg); } 31%, 38% { opacity: 1; transform: translate(0, 0) rotate(0); } 39%, 100% { opacity: 0; transform: translate(0, 0) rotate(0); } }
@keyframes op-b { 0%, 10% { opacity: 0; transform: translate(0px, 34px) rotate(0deg); } 36%, 38% { opacity: 1; transform: translate(0, 0) rotate(0); } 39%, 100% { opacity: 0; transform: translate(0, 0) rotate(0); } }
.lgx.lgx-optiver.lgx-optiver.lgx-optiver i:nth-child(1) { --lg: url(logos/fx/opt_l.png); --s: 84px; z-index: 2; animation: op-l 6s cubic-bezier(.2,.9,.3,1.1) infinite; }
.lgx.lgx-optiver.lgx-optiver.lgx-optiver i:nth-child(2) { --lg: url(logos/fx/opt_r.png); --s: 84px; z-index: 2; animation: op-r 6s cubic-bezier(.2,.9,.3,1.1) infinite; }
.lgx.lgx-optiver.lgx-optiver.lgx-optiver i:nth-child(3) { --lg: url(logos/fx/opt_b.png); --s: 84px; z-index: 2; animation: op-b 6s cubic-bezier(.2,.9,.3,1.1) infinite; }
@keyframes op-full { 0%, 37% { opacity: 0; } 38%, 86% { opacity: 1; } 96%, 100% { opacity: 0; } }
.lgx.lgx-optiver.lgx-optiver.lgx-optiver i:nth-child(4) { --s: 84px; z-index: 2; animation: op-full 6s linear infinite; }
@keyframes ak-spin { 0% { opacity: 1; transform: translateY(0) perspective(220px) rotateY(0); } 25% { opacity: 1; transform: translateY(-3px) perspective(220px) rotateY(90deg); } 50% { opacity: 1; transform: translateY(0) perspective(220px) rotateY(180deg); } 75% { opacity: 1; transform: translateY(3px) perspective(220px) rotateY(270deg); } 100% { opacity: 1; transform: translateY(0) perspective(220px) rotateY(360deg); } }
@keyframes ak-ripple { 0% { opacity: 0; transform: scale(.15); } 15% { opacity: .7; } 100% { opacity: 0; transform: scale(1.5); } }
.lgx.lgx-akuna.lgx-akuna.lgx-akuna i:nth-child(1) { --s: 76px; top: 44%; z-index: 2; animation: ak-spin 6s linear infinite; }
.lgx.lgx-akuna.lgx-akuna.lgx-akuna i:nth-child(2) { -webkit-mask: none; mask: none; background: none; width: 78px; height: 14px; margin: -7px 0 0 -39px; top: 88%; border: 1.5px solid color-mix(in srgb, var(--tc) 65%, transparent); border-radius: 50%; animation: ak-ripple 6s ease-out infinite; animation-delay: 0s; }
.lgx.lgx-akuna.lgx-akuna.lgx-akuna i:nth-child(3) { -webkit-mask: none; mask: none; background: none; width: 78px; height: 14px; margin: -7px 0 0 -39px; top: 88%; border: 1.5px solid color-mix(in srgb, var(--tc) 65%, transparent); border-radius: 50%; animation: ak-ripple 6s ease-out infinite; animation-delay: -2s; }
.lgx.lgx-akuna.lgx-akuna.lgx-akuna i:nth-child(4) { -webkit-mask: none; mask: none; background: none; width: 78px; height: 14px; margin: -7px 0 0 -39px; top: 88%; border: 1.5px solid color-mix(in srgb, var(--tc) 65%, transparent); border-radius: 50%; animation: ak-ripple 6s ease-out infinite; animation-delay: -4s; }
@keyframes bh-coin { 0% { opacity: 0; transform: translateX(-150px) perspective(320px) rotateY(90deg); } 5% { opacity: 1; } 38% { opacity: 1; transform: translateX(0) perspective(320px) rotateY(1080deg) scale(1); } 42% { transform: translateX(0) perspective(320px) rotateY(1080deg) scale(1.07); } 46% { transform: translateX(0) perspective(320px) rotateY(1080deg) scale(1); } 86% { opacity: 1; transform: translateX(0) perspective(320px) rotateY(1080deg) scale(1); } 96%, 100% { opacity: 0; transform: translateX(0) perspective(320px) rotateY(1170deg) scale(1); } }
.lgx.lgx-brevan.lgx-brevan.lgx-brevan i:nth-child(1) { -webkit-mask: none; mask: none; --s: 76px; border-radius: 50%; background: radial-gradient(circle at 34% 28%, color-mix(in srgb, var(--tc) 14%, var(--surface)), color-mix(in srgb, var(--tc) 34%, var(--surface)) 75%); box-shadow: inset 0 0 0 2.5px color-mix(in srgb, var(--tc) 70%, var(--surface)), inset 0 0 0 5px color-mix(in srgb, var(--tc) 18%, var(--surface)), 0 3px 8px -3px #0004; animation: bh-coin 6s cubic-bezier(.15,.7,.25,1) infinite; }
.lgx.lgx-brevan.lgx-brevan.lgx-brevan i:nth-child(2) { --lg: url(logos/brevan.png); --s: 76px; z-index: 2; -webkit-mask-size: 54%; mask-size: 54%; animation: bh-coin 6s cubic-bezier(.15,.7,.25,1) infinite; }
@keyframes ct-l { 0% { opacity: 0; transform: translateX(-58px); } 30% { opacity: 1; transform: translateX(0); } 86% { opacity: 1; transform: translateX(0); } 96%, 100% { opacity: 0; transform: translateX(0); } }
@keyframes ct-r { 0% { opacity: 0; transform: translateX(58px); } 30% { opacity: 1; transform: translateX(0); } 86% { opacity: 1; transform: translateX(0); } 96%, 100% { opacity: 0; transform: translateX(0); } }
@keyframes ct-s { 0%, 28% { opacity: 0; transform: rotate(-600deg) scale(.3); } 33% { opacity: 1; } 52% { transform: rotate(16deg) scale(1); } 58% { transform: rotate(-9deg) scale(1); } 63% { transform: rotate(4deg) scale(1); } 67% { opacity: 1; transform: rotate(0) scale(1); } 86% { opacity: 1; transform: rotate(0) scale(1); } 96%, 100% { opacity: 0; transform: rotate(0) scale(1); } }
.lgx.lgx-ctc.lgx-ctc.lgx-ctc i:nth-child(1) { --lg: url(logos/fx/ctc_l.png); --s: 84px; animation: ct-l 6s cubic-bezier(.2,.8,.3,1) infinite; }
.lgx.lgx-ctc.lgx-ctc.lgx-ctc i:nth-child(2) { --lg: url(logos/fx/ctc_r.png); --s: 84px; animation: ct-r 6s cubic-bezier(.2,.8,.3,1) infinite; }
.lgx.lgx-ctc.lgx-ctc.lgx-ctc i:nth-child(3) { --lg: url(logos/fx/ctc_s.png); --s: 84px; z-index: 2; background: linear-gradient(90deg, var(--tc) 59.8%, color-mix(in srgb, var(--tc) 12%, var(--surface-2)) 59.8%); transform-origin: 59.8% 46.6%; animation: ct-s 6s ease-out infinite; }
@keyframes mn-1 { 0%, 0% { opacity: 0; transform: translateY(40px); } 12% { opacity: 1; transform: translateY(-5px); } 15% { transform: translateY(1px); } 18%, 40% { opacity: 1; transform: translateY(0); } 43% { transform: translateY(4px); } 47%, 63% { opacity: 1; transform: translateY(0); } 64%, 99% { opacity: 0; transform: translateY(0); } 100% { opacity: 0; transform: translateY(40px); } }
.lgx.lgx-man.lgx-man.lgx-man i:nth-child(1) { --lg: url(logos/fx/man_1.png); --s: 86px; animation: mn-1 6s ease-in-out infinite; }
@keyframes mn-2 { 0%, 7% { opacity: 0; transform: translateY(40px); } 19% { opacity: 1; transform: translateY(-5px); } 22% { transform: translateY(1px); } 25%, 46% { opacity: 1; transform: translateY(0); } 49% { transform: translateY(4px); } 53%, 63% { opacity: 1; transform: translateY(0); } 64%, 99% { opacity: 0; transform: translateY(0); } 100% { opacity: 0; transform: translateY(40px); } }
.lgx.lgx-man.lgx-man.lgx-man i:nth-child(2) { --lg: url(logos/fx/man_2.png); --s: 86px; animation: mn-2 6s ease-in-out infinite; }
@keyframes mn-3 { 0%, 14% { opacity: 0; transform: translateY(40px); } 26% { opacity: 1; transform: translateY(-5px); } 29% { transform: translateY(1px); } 32%, 52% { opacity: 1; transform: translateY(0); } 55% { transform: translateY(4px); } 59%, 63% { opacity: 1; transform: translateY(0); } 64%, 99% { opacity: 0; transform: translateY(0); } 100% { opacity: 0; transform: translateY(40px); } }
.lgx.lgx-man.lgx-man.lgx-man i:nth-child(3) { --lg: url(logos/fx/man_3.png); --s: 86px; animation: mn-3 6s ease-in-out infinite; }
@keyframes mn-full { 0%, 62% { opacity: 0; visibility: hidden; } 63%, 86% { opacity: 1; visibility: visible; } 96% { opacity: 0; visibility: visible; } 100% { opacity: 0; visibility: hidden; } }
.lgx.lgx-man.lgx-man.lgx-man i:nth-child(4) { --s: 86px; animation: mn-full 6s linear infinite; }
@keyframes pk-1 { 0%, 0% { opacity: 0; transform: scaleY(0); } 14% { opacity: 0.42; transform: scaleY(1); } 86% { opacity: 0.42; transform: scaleY(1); } 96%, 100% { opacity: 0; transform: scaleY(1); } }
.lgx.lgx-peak6.lgx-peak6.lgx-peak6 i:nth-child(1) { -webkit-mask: none; mask: none; left: 11%; top: auto; bottom: 0; width: 43px; height: 28px; margin: 0 0 0 -22px; clip-path: polygon(50% 0, 100% 100%, 0 100%); transform-origin: 50% 100%; background: linear-gradient(to bottom, var(--tc), color-mix(in srgb, var(--tc) 30%, transparent)); animation: pk-1 6s cubic-bezier(.2,.8,.3,1) infinite; }
@keyframes pk-2 { 0%, 6% { opacity: 0; transform: scaleY(0); } 20% { opacity: 0.32; transform: scaleY(1); } 86% { opacity: 0.32; transform: scaleY(1); } 96%, 100% { opacity: 0; transform: scaleY(1); } }
.lgx.lgx-peak6.lgx-peak6.lgx-peak6 i:nth-child(2) { -webkit-mask: none; mask: none; left: 26%; top: auto; bottom: 0; width: 62px; height: 40px; margin: 0 0 0 -31px; clip-path: polygon(50% 0, 100% 100%, 0 100%); transform-origin: 50% 100%; background: linear-gradient(to bottom, var(--tc), color-mix(in srgb, var(--tc) 30%, transparent)); animation: pk-2 6s cubic-bezier(.2,.8,.3,1) infinite; }
@keyframes pk-3 { 0%, 12% { opacity: 0; transform: scaleY(0); } 26% { opacity: 0.5; transform: scaleY(1); } 86% { opacity: 0.5; transform: scaleY(1); } 96%, 100% { opacity: 0; transform: scaleY(1); } }
.lgx.lgx-peak6.lgx-peak6.lgx-peak6 i:nth-child(3) { -webkit-mask: none; mask: none; left: 42%; top: auto; bottom: 0; width: 84px; height: 54px; margin: 0 0 0 -42px; clip-path: polygon(50% 0, 100% 100%, 0 100%); transform-origin: 50% 100%; background: linear-gradient(to bottom, var(--tc), color-mix(in srgb, var(--tc) 30%, transparent)); animation: pk-3 6s cubic-bezier(.2,.8,.3,1) infinite; }
@keyframes pk-4 { 0%, 18% { opacity: 0; transform: scaleY(0); } 32% { opacity: 0.34; transform: scaleY(1); } 86% { opacity: 0.34; transform: scaleY(1); } 96%, 100% { opacity: 0; transform: scaleY(1); } }
.lgx.lgx-peak6.lgx-peak6.lgx-peak6 i:nth-child(4) { -webkit-mask: none; mask: none; left: 58%; top: auto; bottom: 0; width: 71px; height: 46px; margin: 0 0 0 -36px; clip-path: polygon(50% 0, 100% 100%, 0 100%); transform-origin: 50% 100%; background: linear-gradient(to bottom, var(--tc), color-mix(in srgb, var(--tc) 30%, transparent)); animation: pk-4 6s cubic-bezier(.2,.8,.3,1) infinite; }
@keyframes pk-5 { 0%, 24% { opacity: 0; transform: scaleY(0); } 38% { opacity: 0.44; transform: scaleY(1); } 86% { opacity: 0.44; transform: scaleY(1); } 96%, 100% { opacity: 0; transform: scaleY(1); } }
.lgx.lgx-peak6.lgx-peak6.lgx-peak6 i:nth-child(5) { -webkit-mask: none; mask: none; left: 74%; top: auto; bottom: 0; width: 56px; height: 36px; margin: 0 0 0 -28px; clip-path: polygon(50% 0, 100% 100%, 0 100%); transform-origin: 50% 100%; background: linear-gradient(to bottom, var(--tc), color-mix(in srgb, var(--tc) 30%, transparent)); animation: pk-5 6s cubic-bezier(.2,.8,.3,1) infinite; }
@keyframes pk-6 { 0%, 30% { opacity: 0; transform: scaleY(0); } 44% { opacity: 0.3; transform: scaleY(1); } 86% { opacity: 0.3; transform: scaleY(1); } 96%, 100% { opacity: 0; transform: scaleY(1); } }
.lgx.lgx-peak6.lgx-peak6.lgx-peak6 i:nth-child(6) { -webkit-mask: none; mask: none; left: 89%; top: auto; bottom: 0; width: 40px; height: 26px; margin: 0 0 0 -20px; clip-path: polygon(50% 0, 100% 100%, 0 100%); transform-origin: 50% 100%; background: linear-gradient(to bottom, var(--tc), color-mix(in srgb, var(--tc) 30%, transparent)); animation: pk-6 6s cubic-bezier(.2,.8,.3,1) infinite; }
@keyframes pk-logo { 0%, 48% { opacity: 0; transform: translateY(-10px) scale(.4); } 58% { opacity: 1; transform: translateY(1px) scale(1.06); } 63% { opacity: 1; transform: translateY(0) scale(1); } 86% { opacity: 1; transform: translateY(0) scale(1); } 96%, 100% { opacity: 0; transform: translateY(0) scale(1); } }
.lgx.lgx-peak6.lgx-peak6.lgx-peak6 i:nth-child(7) { --s: 38px; left: 42%; top: auto; bottom: 50px; margin: 0 0 0 -19px; z-index: 2; transform-origin: 50% 100%; animation: pk-logo 6s ease-out infinite; }
@keyframes js-1 { 0% { opacity: 0; transform: rotate(-300deg); } 8% { opacity: 1; } 48% { opacity: 1; transform: rotate(7deg); } 54% { transform: rotate(-3.5deg); } 60% { opacity: 1; transform: rotate(0); } 86% { opacity: 1; transform: rotate(0); } 96% { opacity: 0; transform: rotate(90deg); } 100% { opacity: 0; transform: rotate(-300deg); } }
.lgx.lgx-janestreet.lgx-janestreet.lgx-janestreet i:nth-child(1) { --lg: url(logos/fx/js_a1.png); --s: 84px; animation: js-1 6s cubic-bezier(.25,.6,.3,1) infinite; }
@keyframes js-2 { 0% { opacity: 0; transform: rotate(420deg); } 8% { opacity: 1; } 48% { opacity: 1; transform: rotate(-7deg); } 54% { transform: rotate(3.5deg); } 60% { opacity: 1; transform: rotate(0); } 86% { opacity: 1; transform: rotate(0); } 96% { opacity: 0; transform: rotate(-120deg); } 100% { opacity: 0; transform: rotate(420deg); } }
.lgx.lgx-janestreet.lgx-janestreet.lgx-janestreet i:nth-child(2) { --lg: url(logos/fx/js_a2.png); --s: 84px; animation: js-2 6s cubic-bezier(.25,.6,.3,1) infinite; }
@keyframes js-3 { 0% { opacity: 0; transform: rotate(-540deg); } 8% { opacity: 1; } 48% { opacity: 1; transform: rotate(7deg); } 54% { transform: rotate(-3.5deg); } 60% { opacity: 1; transform: rotate(0); } 86% { opacity: 1; transform: rotate(0); } 96% { opacity: 0; transform: rotate(150deg); } 100% { opacity: 0; transform: rotate(-540deg); } }
.lgx.lgx-janestreet.lgx-janestreet.lgx-janestreet i:nth-child(3) { --lg: url(logos/fx/js_a3.png); --s: 84px; animation: js-3 6s cubic-bezier(.25,.6,.3,1) infinite; }
@keyframes dr-d { 0%, 2% { opacity: 0; transform: scale(1.8); } 8% { opacity: 1; transform: scale(.94); } 11% { opacity: 1; transform: scale(1); } 86% { opacity: 1; transform: scale(1); } 96%, 100% { opacity: 0; transform: scale(1); } }
@keyframes dr-r { 0%, 11% { opacity: 0; transform: scale(1.8); } 17% { opacity: 1; transform: scale(.94); } 20% { opacity: 1; transform: scale(1); } 86% { opacity: 1; transform: scale(1); } 96%, 100% { opacity: 0; transform: scale(1); } }
@keyframes dr-w { 0%, 20% { opacity: 0; transform: scale(1.8); } 26% { opacity: 1; transform: scale(.94); } 29% { opacity: 1; transform: scale(1); } 86% { opacity: 1; transform: scale(1); } 96%, 100% { opacity: 0; transform: scale(1); } }
@keyframes dr-wedge { 0%, 30% { opacity: 0; transform: translateY(-26px); } 37% { opacity: 1; transform: translateY(2px); } 40% { opacity: 1; transform: translateY(0); } 86% { opacity: 1; transform: translateY(0); } 96%, 100% { opacity: 0; transform: translateY(0); } }
.lgx.lgx-drw.lgx-drw.lgx-drw i:nth-child(1) { --lg: url(logos/fx/drw_d.png); width: 152px; height: 53px; margin: -26.5px 0 0 -76px;  animation: dr-d 6s cubic-bezier(.3,.7,.3,1) infinite; }
.lgx.lgx-drw.lgx-drw.lgx-drw i:nth-child(2) { --lg: url(logos/fx/drw_r.png); width: 152px; height: 53px; margin: -26.5px 0 0 -76px;  animation: dr-r 6s cubic-bezier(.3,.7,.3,1) infinite; }
.lgx.lgx-drw.lgx-drw.lgx-drw i:nth-child(3) { --lg: url(logos/fx/drw_w.png); width: 152px; height: 53px; margin: -26.5px 0 0 -76px;  animation: dr-w 6s cubic-bezier(.3,.7,.3,1) infinite; }
.lgx.lgx-drw.lgx-drw.lgx-drw i:nth-child(4) { --lg: url(logos/fx/drw_wedge.png); width: 152px; height: 53px; margin: -26.5px 0 0 -76px; background: color-mix(in srgb, var(--tc) 55%, #fff); animation: dr-wedge 6s cubic-bezier(.3,.7,.3,1) infinite; }
@keyframes by-1 { 0%, 18% { transform: translate(0, 0); } 38%, 58% { transform: translate(4.5px, -6px); } 80%, 100% { transform: translate(0, 0); } }
.lgx.lgx-balyasny.lgx-balyasny.lgx-balyasny i:nth-child(1) { --lg: url(logos/fx/bal_1.png); --s: 76px; opacity: 1; animation: by-1 6s cubic-bezier(.45,0,.3,1) infinite; }
@keyframes by-2 { 0%, 18% { transform: translate(0, 0); } 38%, 58% { transform: translate(-8px, 2.2px); } 80%, 100% { transform: translate(0, 0); } }
.lgx.lgx-balyasny.lgx-balyasny.lgx-balyasny i:nth-child(2) { --lg: url(logos/fx/bal_2.png); --s: 76px; opacity: 1; animation: by-2 6s cubic-bezier(.45,0,.3,1) infinite; }
@keyframes by-3 { 0%, 18% { transform: translate(0, 0); } 38%, 58% { transform: translate(-0.8px, 8px); } 80%, 100% { transform: translate(0, 0); } }
.lgx.lgx-balyasny.lgx-balyasny.lgx-balyasny i:nth-child(3) { --lg: url(logos/fx/bal_3.png); --s: 76px; opacity: 1; animation: by-3 6s cubic-bezier(.45,0,.3,1) infinite; }
@keyframes b5-logo { 0%, 10% { opacity: 0; filter: blur(9px); transform: scale(1.25); } 30% { opacity: .9; } 48% { opacity: 1; filter: blur(0); transform: scale(1); } 86% { opacity: 1; filter: blur(0); transform: scale(1); } 96%, 100% { opacity: 0; filter: blur(0); transform: scale(1); } }
@keyframes b5-corner { 0% { opacity: 0; transform: translate(var(--cx), var(--cy)); } 12% { opacity: .8; } 40% { opacity: .8; transform: translate(0, 0); } 56% { opacity: .8; transform: translate(0, 0); } 70%, 100% { opacity: 0; transform: translate(0, 0); } }
.lgx.lgx-belvedere.lgx-belvedere.lgx-belvedere i:nth-child(1) { --lg: url(logos/belvedere.png); --s: 70px; animation: b5-logo 6s ease-out infinite; }
.lgx.lgx-belvedere.lgx-belvedere.lgx-belvedere i:nth-child(2) { -webkit-mask: none; mask: none; background: none; width: 14px; height: 14px; margin: -49px 0 0 -49px; border-top: 2px solid var(--tc); border-left: 2px solid var(--tc); --cx: -24px; --cy: -18px; animation: b5-corner 6s cubic-bezier(.2,.8,.3,1) infinite; }
.lgx.lgx-belvedere.lgx-belvedere.lgx-belvedere i:nth-child(3) { -webkit-mask: none; mask: none; background: none; width: 14px; height: 14px; margin: -49px 0 0 35px; border-top: 2px solid var(--tc); border-right: 2px solid var(--tc); --cx: 24px; --cy: -18px; animation: b5-corner 6s cubic-bezier(.2,.8,.3,1) infinite; }
.lgx.lgx-belvedere.lgx-belvedere.lgx-belvedere i:nth-child(4) { -webkit-mask: none; mask: none; background: none; width: 14px; height: 14px; margin: 35px 0 0 -49px; border-bottom: 2px solid var(--tc); border-left: 2px solid var(--tc); --cx: -24px; --cy: 18px; animation: b5-corner 6s cubic-bezier(.2,.8,.3,1) infinite; }
.lgx.lgx-belvedere.lgx-belvedere.lgx-belvedere i:nth-child(5) { -webkit-mask: none; mask: none; background: none; width: 14px; height: 14px; margin: 35px 0 0 35px; border-bottom: 2px solid var(--tc); border-right: 2px solid var(--tc); --cx: 24px; --cy: 18px; animation: b5-corner 6s cubic-bezier(.2,.8,.3,1) infinite; }
@keyframes tw-1 { 0%, 4% { opacity: 0; transform: translateY(-64px); } 7% { opacity: 1; } 16% { transform: translateY(0); } 19% { transform: translateY(-5px); } 22% { opacity: 1; transform: translateY(0); } 86% { opacity: 1; transform: translateY(0); } 96%, 100% { opacity: 0; transform: translateY(0); } }
.lgx.lgx-tower.lgx-tower.lgx-tower i:nth-child(1) { --lg: url(logos/fx/tw_3.png); --s: 94px; z-index: 3; animation: tw-1 6s cubic-bezier(.5,0,.6,1) infinite; }
@keyframes tw-2 { 0%, 20% { opacity: 0; transform: translateY(-64px); } 23% { opacity: 1; } 32% { transform: translateY(0); } 35% { transform: translateY(-5px); } 38% { opacity: 1; transform: translateY(0); } 86% { opacity: 1; transform: translateY(0); } 96%, 100% { opacity: 0; transform: translateY(0); } }
.lgx.lgx-tower.lgx-tower.lgx-tower i:nth-child(2) { --lg: url(logos/fx/tw_2.png); --s: 94px; z-index: 2; animation: tw-2 6s cubic-bezier(.5,0,.6,1) infinite; }
@keyframes tw-3 { 0%, 36% { opacity: 0; transform: translateY(-64px); } 39% { opacity: 1; } 48% { transform: translateY(0); } 51% { transform: translateY(-5px); } 54% { opacity: 1; transform: translateY(0); } 86% { opacity: 1; transform: translateY(0); } 96%, 100% { opacity: 0; transform: translateY(0); } }
.lgx.lgx-tower.lgx-tower.lgx-tower i:nth-child(3) { --lg: url(logos/fx/tw_1.png); --s: 94px; z-index: 1; animation: tw-3 6s cubic-bezier(.5,0,.6,1) infinite; }
@keyframes m1-draw { 0% { --wp: -4%; opacity: 0; visibility: hidden; } 0.5% { --wp: -4%; opacity: 1; visibility: visible; } 40% { --wp: 100%; } 86% { --wp: 100%; opacity: 1; } 96% { --wp: 100%; opacity: 0; } 96.1% { opacity: 0; visibility: hidden; --wp: -4%; } 100% { opacity: 0; visibility: hidden; --wp: -4%; } }
@keyframes m1-tri { 0%, 34% { opacity: 0; transform: translateY(22px); } 52% { opacity: 1; transform: translateY(0); } 86% { opacity: 1; transform: translateY(0); } 96%, 100% { opacity: 0; transform: translateY(0); } }
.lgx.lgx-maverick.lgx-maverick.lgx-maverick i:nth-child(1) { --lg: url(logos/fx/mav_w.png); --s: 84px; z-index: 2; -webkit-mask: var(--lg) center / contain no-repeat, linear-gradient(to right, #000 var(--wp), transparent calc(var(--wp) + 4%)); mask: var(--lg) center / contain no-repeat, linear-gradient(to right, #000 var(--wp), transparent calc(var(--wp) + 4%)); -webkit-mask-composite: source-in; mask-composite: intersect; animation: m1-draw 6s ease-in-out infinite; }
.lgx.lgx-maverick.lgx-maverick.lgx-maverick i:nth-child(2) { --lg: url(logos/fx/mav_g.png); --s: 84px; animation: m1-tri 6s cubic-bezier(.2,.8,.3,1) infinite; }
@keyframes t3-line { 0% { --wp: -4%; opacity: 0; visibility: hidden; } 0.5% { --wp: -4%; opacity: .9; visibility: visible; } 30% { --wp: 100%; } 58% { --wp: 100%; opacity: .9; } 70% { --wp: 100%; opacity: 0; } 70.1% { opacity: 0; visibility: hidden; --wp: -4%; } 100% { opacity: 0; visibility: hidden; --wp: -4%; } }
@keyframes t3-band { 0%, 26% { opacity: 0; transform: scaleY(0); } 40% { opacity: .4; transform: scaleY(1); } 50% { opacity: .4; transform: scaleY(1); } 60%, 100% { opacity: 0; transform: scaleY(1); } }
@keyframes t3-logo { 0%, 46% { opacity: 0; transform: translateY(26px) scale(.25); } 62% { opacity: 1; transform: translateY(-2px) scale(1.04); } 66% { opacity: 1; transform: translateY(0) scale(1); } 86% { opacity: 1; transform: translateY(0) scale(1); } 96%, 100% { opacity: 0; transform: translateY(0) scale(1); } }
.lgx.lgx-twosigma.lgx-twosigma.lgx-twosigma i:nth-child(1) { --lg: url(logos/bell_line.png); width: 150px; height: 60px; margin: -30px 0 0 -75px; top: 62%; -webkit-mask: var(--lg) center / contain no-repeat, linear-gradient(to right, #000 var(--wp), transparent calc(var(--wp) + 4%)); mask: var(--lg) center / contain no-repeat, linear-gradient(to right, #000 var(--wp), transparent calc(var(--wp) + 4%)); -webkit-mask-composite: source-in; mask-composite: intersect; animation: t3-line 6s ease-in-out infinite; }
.lgx.lgx-twosigma.lgx-twosigma.lgx-twosigma i:nth-child(2) { --lg: url(logos/bell_band.png); width: 150px; height: 60px; margin: -30px 0 0 -75px; top: 62%; transform-origin: 50% 100%; animation: t3-band 6s ease-out infinite; }
.lgx.lgx-twosigma.lgx-twosigma.lgx-twosigma i:nth-child(3) { --s: 70px; z-index: 2; animation: t3-logo 6s cubic-bezier(.2,.8,.3,1) infinite; }
@keyframes v2-1 { 0% { clip-path: inset(0 100% 0 0); opacity: 0; visibility: hidden; } 0.5% { opacity: 1; clip-path: inset(0 100% 0 0); visibility: visible; } 12% { clip-path: inset(0 78% 0 0); } 86% { opacity: 1; clip-path: inset(0 0 0 0); } 96% { opacity: 0; clip-path: inset(0 0 0 0); } 96.1% { opacity: 0; visibility: hidden; clip-path: inset(0 100% 0 0); } 100% { opacity: 0; visibility: hidden; clip-path: inset(0 100% 0 0); } }
@keyframes v2-2 { 0% { clip-path: inset(100% 0 0 0); opacity: 0; visibility: hidden; } 10% { opacity: 1; clip-path: inset(100% 0 0 0); visibility: visible; } 32% { clip-path: inset(0 0 0 0); } 86% { opacity: 1; clip-path: inset(0 0 0 0); } 96% { opacity: 0; clip-path: inset(0 0 0 0); } 96.1% { opacity: 0; visibility: hidden; clip-path: inset(100% 0 0 0); } 100% { opacity: 0; visibility: hidden; clip-path: inset(100% 0 0 0); } }
@keyframes v2-3 { 0%, 32% { opacity: 0; transform: translateX(34px); } 50% { opacity: 1; transform: none; } 86% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: none; } }
.lgx.lgx-virtu.lgx-virtu.lgx-virtu i:nth-child(1) { --lg: url(logos/fx/vt_1.png); --s: 84px; z-index: 3; animation: v2-1 6s ease-out infinite; }
.lgx.lgx-virtu.lgx-virtu.lgx-virtu i:nth-child(2) { --lg: url(logos/fx/vt_2.png); --s: 84px; z-index: 2; animation: v2-2 6s ease-in-out infinite; }
.lgx.lgx-virtu.lgx-virtu.lgx-virtu i:nth-child(3) { --lg: url(logos/fx/vt_3.png); --s: 84px; z-index: 1; animation: v2-3 6s cubic-bezier(.2,.8,.3,1) infinite; }
@media (prefers-reduced-motion: reduce) { .lgx.lgx-wintermute.lgx-wintermute.lgx-wintermute i:nth-child(n), .lgx.lgx-maven.lgx-maven.lgx-maven i:nth-child(n), .lgx.lgx-optiver.lgx-optiver.lgx-optiver i:nth-child(n), .lgx.lgx-akuna.lgx-akuna.lgx-akuna i:nth-child(n), .lgx.lgx-brevan.lgx-brevan.lgx-brevan i:nth-child(n), .lgx.lgx-ctc.lgx-ctc.lgx-ctc i:nth-child(n), .lgx.lgx-man.lgx-man.lgx-man i:nth-child(n), .lgx.lgx-peak6.lgx-peak6.lgx-peak6 i:nth-child(n), .lgx.lgx-janestreet.lgx-janestreet.lgx-janestreet i:nth-child(n), .lgx.lgx-drw.lgx-drw.lgx-drw i:nth-child(n), .lgx.lgx-belvedere.lgx-belvedere.lgx-belvedere i:nth-child(n), .lgx.lgx-balyasny.lgx-balyasny.lgx-balyasny i:nth-child(n), .lgx.lgx-tower.lgx-tower.lgx-tower i:nth-child(n), .lgx.lgx-maverick.lgx-maverick.lgx-maverick i:nth-child(n), .lgx.lgx-twosigma.lgx-twosigma.lgx-twosigma i:nth-child(n), .lgx.lgx-virtu.lgx-virtu.lgx-virtu i:nth-child(n) { animation: none !important; opacity: 0; --wp: 100%; }
  .lgx.lgx-wintermute.lgx-wintermute.lgx-wintermute i:nth-child(1), .lgx.lgx-maven.lgx-maven.lgx-maven i:nth-child(1), .lgx.lgx-maven.lgx-maven.lgx-maven i:nth-child(2), .lgx.lgx-optiver.lgx-optiver.lgx-optiver i:nth-child(4), .lgx.lgx-akuna.lgx-akuna.lgx-akuna i:nth-child(1), .lgx.lgx-brevan.lgx-brevan.lgx-brevan i:nth-child(1), .lgx.lgx-brevan.lgx-brevan.lgx-brevan i:nth-child(2), .lgx.lgx-ctc.lgx-ctc.lgx-ctc i:nth-child(1), .lgx.lgx-ctc.lgx-ctc.lgx-ctc i:nth-child(2), .lgx.lgx-ctc.lgx-ctc.lgx-ctc i:nth-child(3), .lgx.lgx-man.lgx-man.lgx-man i:nth-child(4), .lgx.lgx-peak6.lgx-peak6.lgx-peak6 i:nth-child(1), .lgx.lgx-peak6.lgx-peak6.lgx-peak6 i:nth-child(2), .lgx.lgx-peak6.lgx-peak6.lgx-peak6 i:nth-child(3), .lgx.lgx-peak6.lgx-peak6.lgx-peak6 i:nth-child(4), .lgx.lgx-peak6.lgx-peak6.lgx-peak6 i:nth-child(5), .lgx.lgx-peak6.lgx-peak6.lgx-peak6 i:nth-child(6), .lgx.lgx-peak6.lgx-peak6.lgx-peak6 i:nth-child(7), .lgx.lgx-janestreet.lgx-janestreet.lgx-janestreet i:nth-child(1), .lgx.lgx-janestreet.lgx-janestreet.lgx-janestreet i:nth-child(2), .lgx.lgx-janestreet.lgx-janestreet.lgx-janestreet i:nth-child(3), .lgx.lgx-drw.lgx-drw.lgx-drw i:nth-child(1), .lgx.lgx-drw.lgx-drw.lgx-drw i:nth-child(2), .lgx.lgx-drw.lgx-drw.lgx-drw i:nth-child(3), .lgx.lgx-drw.lgx-drw.lgx-drw i:nth-child(4), .lgx.lgx-belvedere.lgx-belvedere.lgx-belvedere i:nth-child(1), .lgx.lgx-balyasny.lgx-balyasny.lgx-balyasny i:nth-child(1), .lgx.lgx-balyasny.lgx-balyasny.lgx-balyasny i:nth-child(2), .lgx.lgx-balyasny.lgx-balyasny.lgx-balyasny i:nth-child(3), .lgx.lgx-tower.lgx-tower.lgx-tower i:nth-child(1), .lgx.lgx-tower.lgx-tower.lgx-tower i:nth-child(2), .lgx.lgx-tower.lgx-tower.lgx-tower i:nth-child(3), .lgx.lgx-maverick.lgx-maverick.lgx-maverick i:nth-child(1), .lgx.lgx-maverick.lgx-maverick.lgx-maverick i:nth-child(2), .lgx.lgx-twosigma.lgx-twosigma.lgx-twosigma i:nth-child(3), .lgx.lgx-virtu.lgx-virtu.lgx-virtu i:nth-child(1), .lgx.lgx-virtu.lgx-virtu.lgx-virtu i:nth-child(2), .lgx.lgx-virtu.lgx-virtu.lgx-virtu i:nth-child(3) { opacity: 1; transform: none; clip-path: none; }
  .lgx.lgx-peak6.lgx-peak6.lgx-peak6 i:nth-child(1), .lgx.lgx-peak6.lgx-peak6.lgx-peak6 i:nth-child(2), .lgx.lgx-peak6.lgx-peak6.lgx-peak6 i:nth-child(3), .lgx.lgx-peak6.lgx-peak6.lgx-peak6 i:nth-child(4), .lgx.lgx-peak6.lgx-peak6.lgx-peak6 i:nth-child(5), .lgx.lgx-peak6.lgx-peak6.lgx-peak6 i:nth-child(6) { opacity: .4; clip-path: polygon(50% 0, 100% 100%, 0 100%); } }

/* ===== TEMPORARY PREVIEW: UK finance tracker ===== */
.trk-seg { max-width: 420px; margin-bottom: 12px; }
.trk-list { display: grid; gap: 12px; }
.trk-firm { padding: 14px 16px; }
.trk-fh { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.trk-fh b { font-size: 16px; }
.trk-fh .sp { flex: 1; }
.trk-cat { font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); color: var(--text-2); }
.trk-tbl { display: grid; }
.trk-row { display: grid; grid-template-columns: 120px 1fr 120px 120px; gap: 12px; align-items: start; padding: 10px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.trk-th { border-top: 0; padding: 0 0 6px; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 700; }
.trk-prog a { color: var(--text); font-weight: 600; text-decoration: none; }
.trk-prog a:hover { text-decoration: underline; }
.trk-prog small { display: block; color: var(--text-2); margin-top: 3px; font-size: 12px; }
.trk-kind { display: inline-block; margin-left: 8px; font-style: normal; font-size: 11px; font-weight: 600; padding: 1px 7px; border-radius: 6px; vertical-align: 1px; }
.trk-kind.k-Spring { background: color-mix(in srgb, var(--k5) 14%, transparent); color: var(--k5); }
.trk-kind.k-Summer { background: color-mix(in srgb, var(--k1) 14%, transparent); color: var(--k1); }
.trk-d em { display: none; font-style: normal; color: var(--muted); margin-right: 6px; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; }
.trk-st { display: inline-block; font-style: normal; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.trk-st.s-open { background: color-mix(in srgb, var(--k3) 16%, transparent); color: var(--k3); }
.trk-st.s-soon { background: color-mix(in srgb, var(--k2) 18%, transparent); color: var(--k2); }
.trk-st.s-closed { background: color-mix(in srgb, var(--k4) 12%, transparent); color: var(--k4); }
.trk-st.s-unknown { background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }
@media (max-width: 720px) {
  .trk-row { grid-template-columns: 1fr 1fr; }
  .trk-th { display: none; }
  .trk-prog { grid-column: 1 / -1; order: -1; }
  .trk-d em { display: inline; }
}

/* tracker layout variants (preview) */
.trk-flat { padding: 0; overflow: hidden; }
.trk-scroll { overflow-x: auto; }
.trk-t { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.trk-t th { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--surface-2); position: sticky; top: 0; }
.trk-t td { padding: 9px 12px; border-top: 1px solid var(--line); vertical-align: middle; }
.trk-t a { color: var(--text); font-weight: 600; text-decoration: none; }
.trk-t .nowrap { white-space: nowrap; }
.trk-hb { all: unset; cursor: pointer; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; color: var(--muted); white-space: nowrap; }
.trk-btabs { display: none; margin-bottom: 10px; }
.trk-board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; align-items: start; }
.trk-col { display: grid; gap: 8px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 14px; padding: 10px; }
.trk-colh { display: flex; justify-content: space-between; align-items: center; padding: 2px 2px 4px; }
.trk-bcard { display: grid; gap: 4px; padding: 10px 12px; text-decoration: none; color: var(--text); font-size: 13px; }
.trk-bcard:hover { border-color: var(--text-2); }
.trk-bm { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.trk-bm .trk-kind { margin-left: 0; }
.trk-time { display: grid; gap: 12px; }
.trk-month { padding: 12px 16px; }
.trk-mh { margin: 0 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.trk-tl { display: grid; grid-template-columns: 36px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.trk-day { font-size: 18px; font-weight: 800; text-align: center; font-variant-numeric: tabular-nums; }
.trk-tlm a { color: var(--text); text-decoration: none; }
.trk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; align-items: start; }
.trk-tile { padding: 0; overflow: hidden; }
.trk-tile.on { grid-column: span 2; }
.trk-tb { all: unset; box-sizing: border-box; cursor: pointer; display: grid; gap: 4px; justify-items: start; padding: 14px; width: 100%; }
.trk-ini { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: 14px; background: var(--surface-2); border: 1px solid var(--line); margin-bottom: 4px; }
.trk-tlist { border-top: 1px solid var(--line); padding: 8px 14px 12px; display: grid; gap: 8px; font-size: 13px; }
.trk-tlist a { color: var(--text); font-weight: 600; text-decoration: none; display: block; }
@media (max-width: 720px) {
  .trk-btabs { display: flex; overflow-x: auto; }
  .trk-board { grid-template-columns: 1fr; }
  .trk-col { display: none; }
  .trk-col.cur { display: grid; }
  .trk-tile.on { grid-column: 1 / -1; }
}

/* by-type accordion variants (preview) */
.trk-mc { font-size: 11px; padding: 1px 7px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); margin-left: 6px; letter-spacing: 0; }
.trk-accb { all: unset; box-sizing: border-box; cursor: pointer; width: 100%; }
.trk-accb:hover .trk-tlm b { text-decoration: underline; }
.trk-day small { display: block; font-size: 10px; font-weight: 700; text-transform: uppercase; color: var(--muted); letter-spacing: .05em; }
.trk-accr { display: flex; align-items: center; gap: 10px; }
.trk-chev { color: var(--muted); font-size: 13px; transition: transform .15s; display: inline-block; }
.trk-acc.on .trk-chev, .trk-det[open] summary .trk-chev { transform: rotate(180deg); }
.trk-accp { padding: 4px 0 12px; }
.trk-accp .trk-firm { box-shadow: none; background: var(--surface-2); }
.trk-th2 { all: unset; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; gap: 10px; width: 100%; padding: 4px 0 8px; font-size: 15px; }
.trk-fl { display: grid; }
.trk-det { border-top: 1px solid var(--line); }
.trk-det summary { list-style: none; display: flex; align-items: center; gap: 10px; padding: 11px 2px; cursor: pointer; font-size: 14px; }
.trk-det summary::-webkit-details-marker { display: none; }
.trk-det summary .sp { flex: 1; }
.trk-det .trk-accp { padding: 2px 0 12px 0; }
.trk-dots { display: flex; gap: 3px; width: 42px; flex-wrap: wrap; }
.trk-dot { width: 8px; height: 8px; border-radius: 50%; display: block; }
.trk-dot.s-open { background: var(--k3); } .trk-dot.s-soon { background: var(--k2); } .trk-dot.s-closed { background: var(--k4); opacity: .6; } .trk-dot.s-unknown { background: var(--line); border: 1px solid var(--muted); box-sizing: border-box; }
.trk-accb.trk-tl { display: grid; grid-template-columns: 44px 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.trk-dots { width: auto; min-width: 22px; }
.trk-loc { display: inline-block; margin-left: 8px; font-size: 11.5px; color: var(--muted); vertical-align: 1px; }
@keyframes nc-cap0 { 0%, 4% { opacity: 0; transform: translate(-38px,0);  } 22%, 82% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes nc-cap1 { 0%, 13% { opacity: 0; transform: translate(0,-30px);  } 31%, 82% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes nc-cap2 { 0%, 22% { opacity: 0; transform: translate(30px,22px);  } 40%, 82% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes nc-gs0 { 0%, 5% { opacity: 0; transform: scale(1.7);  } 13% { opacity: 1; transform: scale(.94); } 17%, 82% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes nc-gs1 { 0%, 17% { opacity: 0; transform: scale(1.7);  } 25% { opacity: 1; transform: scale(.94); } 29%, 82% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes nc-wipeL { 0% { clip-path: inset(0 100% 0 0); opacity: 0; visibility: hidden; } 4% { opacity: 0; clip-path: inset(0 100% 0 0); visibility: visible; } 4.5% { opacity: 1; clip-path: inset(0 100% 0 0); } 38%, 82% { opacity: 1; clip-path: inset(0 0 0 0); } 94% { opacity: 0; clip-path: inset(0 0 0 0); } 94.1% { opacity: 0; visibility: hidden; clip-path: inset(0 100% 0 0); } 100% { opacity: 0; visibility: hidden; clip-path: inset(0 100% 0 0); } }
@keyframes nc-burin { 0%, 4% { opacity: 0; transform: translateX(-42px); } 6% { opacity: .9; } 36% { opacity: .9; transform: translateX(42px); } 40%, 100% { opacity: 0; transform: translateX(42px); } }
@keyframes nc-msT { 0%, 4% { opacity: 0; transform: translateX(-70px);  } 26%, 82% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes nc-msB { 0%, 4% { opacity: 0; transform: translateX(70px);  } 26%, 82% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes nc-boa0 { 0%, 4% { opacity: 0; transform: translateX(-36px) skewX(-25deg);  } 16%, 82% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes nc-boa1 { 0%, 9% { opacity: 0; transform: translateX(-36px) skewX(-25deg);  } 21%, 82% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes nc-boa2 { 0%, 14% { opacity: 0; transform: translateX(-36px) skewX(-25deg);  } 26%, 82% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes nc-boa3 { 0%, 19% { opacity: 0; transform: translateX(-36px) skewX(-25deg);  } 31%, 82% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes nc-boa4 { 0%, 24% { opacity: 0; transform: translateX(-36px) skewX(-25deg);  } 36%, 82% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes nc-boa5 { 0%, 29% { opacity: 0; transform: translateX(-36px) skewX(-25deg);  } 41%, 82% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes nc-boa6 { 0%, 34% { opacity: 0; transform: translateX(-36px) skewX(-25deg);  } 46%, 82% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes nc-boa7 { 0%, 39% { opacity: 0; transform: translateX(-36px) skewX(-25deg);  } 51%, 82% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes nc-citT { 0%, 4% { opacity: 0; transform: translateY(22px);  } 22%, 82% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes nc-citA { 0% { clip-path: inset(0 100% 0 0); opacity: 0; visibility: hidden; } 24% { opacity: 0; clip-path: inset(0 100% 0 0); visibility: visible; } 24.5% { opacity: 1; clip-path: inset(0 100% 0 0); } 42%, 82% { opacity: 1; clip-path: inset(0 0 0 0); } 94% { opacity: 0; clip-path: inset(0 0 0 0); } 94.1% { opacity: 0; visibility: hidden; clip-path: inset(0 100% 0 0); } 100% { opacity: 0; visibility: hidden; clip-path: inset(0 100% 0 0); } }
@keyframes nc-wfB { 0%, 4% { opacity: 0; transform: scaleX(0);  } 22%, 82% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes nc-wfL { 0%, 20% { opacity: 0; transform: translateY(-46px);  } 30% { opacity: 1; transform: translateY(4px); } 34%, 82% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes nc-barL { 0%, 4% { opacity: 0; transform: rotate(-28deg) scaleX(.25);  } 28%, 82% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes nc-barR { 0%, 4% { opacity: 0; transform: rotate(28deg) scaleX(.25);  } 28%, 82% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes nc-dbF { 0% { clip-path: polygon(0 0, 0 0, 0 0, 0 0); opacity: 0; visibility: hidden; } 4% { opacity: 0; clip-path: polygon(0 0, 0 0, 0 0, 0 0); visibility: visible; } 4.5% { opacity: 1; clip-path: polygon(0 0, 0 0, 0 0, 0 0); } 14% { opacity: 1; clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); } 24% { opacity: 1; clip-path: polygon(0 0, 100% 0, 100% 100%, 100% 100%); } 34%, 82% { opacity: 1; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); } 94% { opacity: 0; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); } 94.1% { opacity: 0; visibility: hidden; clip-path: polygon(0 0, 0 0, 0 0, 0 0); } 100% { opacity: 0; visibility: hidden; clip-path: polygon(0 0, 0 0, 0 0, 0 0); } }
@keyframes nc-dbS { 0% { clip-path: inset(100% 0 0 0); transform: translate(-6px, 6px); opacity: 0; visibility: hidden; } 34% { opacity: 0; clip-path: inset(100% 0 0 0); transform: translate(-6px, 6px); visibility: visible; } 34.5% { opacity: 1; clip-path: inset(100% 0 0 0); transform: translate(-6px, 6px); } 46%, 82% { opacity: 1; clip-path: inset(0 0 0 0); transform: none; } 94% { opacity: 0; clip-path: inset(0 0 0 0); transform: none; } 94.1% { transform: none; opacity: 0; visibility: hidden; clip-path: inset(100% 0 0 0); } 100% { transform: translate(-6px, 6px); opacity: 0; visibility: hidden; clip-path: inset(100% 0 0 0); } }
@keyframes nc-ubsA { 0%, 4% { opacity: 0; transform: rotate(0deg) scale(.9);  } 26%, 34% { opacity: 1; transform: rotate(-32deg); } 44%, 100% { opacity: 0; transform: rotate(-32deg); } }
@keyframes nc-ubsB { 0%, 4% { opacity: 0; transform: rotate(0deg) scale(.9);  } 26%, 34% { opacity: 1; transform: rotate(32deg); } 44%, 100% { opacity: 0; transform: rotate(32deg); } }
@keyframes nc-ubsM { 0%, 4% { opacity: 0; transform: scaleX(.35); } 26% { opacity: 1; transform: none; } 50% { transform: none; } 56% { transform: rotate(10deg); } 62%, 82% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes nc-bnp0 { 0%, 4% { opacity: 0; transform: translate(-46px, 38px) scale(.3) rotate(-40deg);  } 18%, 82% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes nc-bnp1 { 0%, 12% { opacity: 0; transform: translate(-46px, 38px) scale(.3) rotate(-40deg);  } 26%, 82% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes nc-bnp2 { 0%, 20% { opacity: 0; transform: translate(-46px, 38px) scale(.3) rotate(-40deg);  } 34%, 82% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes nc-bnp3 { 0%, 28% { opacity: 0; transform: translate(-46px, 38px) scale(.3) rotate(-40deg);  } 42%, 82% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes nc-sgT { 0%, 4% { opacity: 0; transform: translateY(-48px);  } 24%, 82% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes nc-sgB { 0%, 4% { opacity: 0; transform: translateY(48px);  } 24%, 82% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes nc-hs0 { 0%, 4% { opacity: 0; transform: translateX(-44px);  } 20%, 82% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes nc-hs1 { 0%, 4% { opacity: 0; transform: translateX(44px);  } 20%, 82% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes nc-hs2 { 0%, 16% { opacity: 0; transform: translateY(-36px);  } 32%, 82% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes nc-hs3 { 0%, 16% { opacity: 0; transform: translateY(36px);  } 32%, 82% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes nc-noB { 0%, 4% { opacity: 0; transform: scaleY(0); } 4.5% { opacity: 1; transform: scaleY(0); } 20%, 82% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes nc-noT { 0%, 16% { opacity: 0; transform: scaleY(0); } 16.5% { opacity: 1; transform: scaleY(0); } 32%, 82% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes nc-nw0 { 0%, 4% { opacity: 0; transform: translateY(-40px);  } 20%, 82% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes nc-nw1 { 0%, 12% { opacity: 0; transform: translate(-36px,22px);  } 28%, 82% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes nc-nw2 { 0%, 20% { opacity: 0; transform: translate(36px,22px);  } 36%, 82% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes nc-lbH { 0%, 4% { opacity: 0; transform: rotate(-22deg); } 18% { opacity: 1; transform: rotate(-22deg); } 30% { transform: rotate(4deg); } 36%, 82% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes nc-lbS { 0%, 4% { opacity: 0; transform: rotate(-22deg); } 18% { opacity: 1; transform: rotate(-22deg); } 30% { transform: rotate(4deg); } 36% { opacity: 1; transform: none; } 46% { opacity: .2; } 54%, 82% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes nc-rbG { 0% { clip-path: inset(0 100% 0 0); opacity: 0; visibility: hidden; } 4% { opacity: 0; clip-path: inset(0 100% 0 0); visibility: visible; } 4.5% { opacity: 1; clip-path: inset(0 100% 0 0); } 26%, 82% { opacity: 1; clip-path: inset(0 0 0 0); } 94% { opacity: 0; clip-path: inset(0 0 0 0); } 94.1% { opacity: 0; visibility: hidden; clip-path: inset(0 100% 0 0); } 100% { opacity: 0; visibility: hidden; clip-path: inset(0 100% 0 0); } }
@keyframes nc-rbL { 0%, 22% { opacity: 0; transform: translateY(34px);  } 40%, 82% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes nc-mqD { 0%, 4% { opacity: 0; transform: rotateY(90deg); } 14% { opacity: 1; transform: rotateY(0deg); } 22% { opacity: 1; transform: rotateY(180deg); } 30% { opacity: 1; transform: rotateY(360deg); } 36%, 100% { opacity: 0; transform: rotateY(360deg); } }
@keyframes nc-mqP { 0%, 28% { opacity: 0; transform: scale(0); } 30% { opacity: 1; transform: scale(0); } 36% { opacity: 1; transform: scale(34); } 40%, 100% { opacity: 0; transform: scale(34); } }
@keyframes nc-mqL { 0%, 34% { opacity: 0; transform: scale(.96);  } 44%, 82% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes nc-sc0 { 0%, 4% { opacity: 0; transform: translate(-30px,30px);  } 18%, 82% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes nc-sc1 { 0%, 11% { opacity: 0; transform: translate(-30px,30px);  } 25%, 82% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes nc-sc2 { 0%, 18% { opacity: 0; transform: translate(-30px,30px);  } 32%, 82% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes nc-sc3 { 0%, 25% { opacity: 0; transform: translate(-30px,30px);  } 39%, 82% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: none; } }
@keyframes nc-wipeD { 0% { clip-path: inset(0 0 100% 0); opacity: 0; visibility: hidden; } 4% { opacity: 0; clip-path: inset(0 0 100% 0); visibility: visible; } 4.5% { opacity: 1; clip-path: inset(0 0 100% 0); } 34%, 82% { opacity: 1; clip-path: inset(0 0 0 0); } 94% { opacity: 0; clip-path: inset(0 0 0 0); } 94.1% { opacity: 0; visibility: hidden; clip-path: inset(0 0 100% 0); } 100% { opacity: 0; visibility: hidden; clip-path: inset(0 0 100% 0); } }
/* ===== new firm cards (banks + Citadel, Capula), 22 Nov ===== */
:root { --k6: #b3203f; } :root[data-theme=dark] { --k6: #ff6d87; }
.rd-card.t-bank { --tc: var(--k6); }
.lgx.lgx-citadel.lgx-citadel.lgx-citadel i:nth-child(1) { --s: 84px; opacity: 0; transform: none; transform-origin: 50% 50%; clip-path: none; filter: none; animation: none; background: var(--tc); --s: 90px; -webkit-mask: url(logos/citadel.png) center / contain no-repeat; mask: url(logos/citadel.png) center / contain no-repeat; opacity: .14; }
.lgx.lgx-citadel.lgx-citadel.lgx-citadel i:nth-child(2) { --s: 84px; opacity: 0; transform: none; transform-origin: 50% 50%; clip-path: none; filter: none; animation: none; background: var(--tc); --s: 90px; -webkit-mask: url(logos/citadel.png) center / contain no-repeat; mask: url(logos/citadel.png) center / contain no-repeat; opacity: 1; animation: x-wipe 3.2s ease-in-out infinite; }
.lgx.lgx-capula.lgx-capula.lgx-capula i:nth-child(1) { --s: 84px; opacity: 0; transform: none; transform-origin: 50% 50%; clip-path: none; filter: none; animation: none; background: var(--tc); -webkit-mask: url(logos/fx/capula_c1.png) center / contain no-repeat; mask: url(logos/fx/capula_c1.png) center / contain no-repeat;  animation: nc-cap0 6s cubic-bezier(.2,.7,.2,1) infinite;  }
.lgx.lgx-capula.lgx-capula.lgx-capula i:nth-child(2) { --s: 84px; opacity: 0; transform: none; transform-origin: 50% 50%; clip-path: none; filter: none; animation: none; background: var(--tc); -webkit-mask: url(logos/fx/capula_c2.png) center / contain no-repeat; mask: url(logos/fx/capula_c2.png) center / contain no-repeat;  animation: nc-cap1 6s cubic-bezier(.2,.7,.2,1) infinite;  }
.lgx.lgx-capula.lgx-capula.lgx-capula i:nth-child(3) { --s: 84px; opacity: 0; transform: none; transform-origin: 50% 50%; clip-path: none; filter: none; animation: none; background: var(--tc); -webkit-mask: url(logos/fx/capula_c3.png) center / contain no-repeat; mask: url(logos/fx/capula_c3.png) center / contain no-repeat;  animation: nc-cap2 6s cubic-bezier(.2,.7,.2,1) infinite;  }
.lgx.lgx-goldman.lgx-goldman.lgx-goldman i:nth-child(1) { --s: 84px; opacity: 0; transform: none; transform-origin: 50% 50%; clip-path: none; filter: none; animation: none; background: var(--tc); -webkit-mask: url(logos/fx/goldman_g.png) center / contain no-repeat; mask: url(logos/fx/goldman_g.png) center / contain no-repeat;  animation: nc-gs0 6s cubic-bezier(.2,.7,.2,1) infinite;  }
.lgx.lgx-goldman.lgx-goldman.lgx-goldman i:nth-child(2) { --s: 84px; opacity: 0; transform: none; transform-origin: 50% 50%; clip-path: none; filter: none; animation: none; background: var(--tc); -webkit-mask: url(logos/fx/goldman_s.png) center / contain no-repeat; mask: url(logos/fx/goldman_s.png) center / contain no-repeat;  animation: nc-gs1 6s cubic-bezier(.2,.7,.2,1) infinite;  }
.lgx.lgx-jpmorgan.lgx-jpmorgan.lgx-jpmorgan i:nth-child(1) { --s: 84px; opacity: 0; transform: none; transform-origin: 50% 50%; clip-path: none; filter: none; animation: none; background: var(--tc); -webkit-mask: url(logos/jpmorgan.png) center / contain no-repeat; mask: url(logos/jpmorgan.png) center / contain no-repeat;  animation: nc-wipeL 6s cubic-bezier(.2,.7,.2,1) infinite;  }
.lgx.lgx-jpmorgan.lgx-jpmorgan.lgx-jpmorgan i:nth-child(2) { --s: 84px; opacity: 0; transform: none; transform-origin: 50% 50%; clip-path: none; filter: none; animation: none; background: var(--tc); --s: 84px; width: 2px; margin-left: 0; -webkit-mask: none; mask: none; animation: nc-burin 6s cubic-bezier(.2,.7,.2,1) infinite; }
.lgx.lgx-morganstanley.lgx-morganstanley.lgx-morganstanley i:nth-child(1) { --s: 84px; opacity: 0; transform: none; transform-origin: 50% 50%; clip-path: none; filter: none; animation: none; background: var(--tc); -webkit-mask: url(logos/fx/morganstanley_top.png) center / contain no-repeat; mask: url(logos/fx/morganstanley_top.png) center / contain no-repeat;  animation: nc-msT 6s cubic-bezier(.2,.7,.2,1) infinite;  }
.lgx.lgx-morganstanley.lgx-morganstanley.lgx-morganstanley i:nth-child(2) { --s: 84px; opacity: 0; transform: none; transform-origin: 50% 50%; clip-path: none; filter: none; animation: none; background: var(--tc); -webkit-mask: url(logos/fx/morganstanley_bot.png) center / contain no-repeat; mask: url(logos/fx/morganstanley_bot.png) center / contain no-repeat;  animation: nc-msB 6s cubic-bezier(.2,.7,.2,1) infinite;  }
.lgx.lgx-bofa.lgx-bofa.lgx-bofa i:nth-child(1) { --s: 84px; opacity: 0; transform: none; transform-origin: 50% 50%; clip-path: none; filter: none; animation: none; background: var(--tc); -webkit-mask: url(logos/fx/bofa_s1.png) center / contain no-repeat; mask: url(logos/fx/bofa_s1.png) center / contain no-repeat; background: color-mix(in srgb, var(--tc) 48%, var(--surface-2)); animation: nc-boa0 6s cubic-bezier(.2,.7,.2,1) infinite;  }
.lgx.lgx-bofa.lgx-bofa.lgx-bofa i:nth-child(2) { --s: 84px; opacity: 0; transform: none; transform-origin: 50% 50%; clip-path: none; filter: none; animation: none; background: var(--tc); -webkit-mask: url(logos/fx/bofa_s2.png) center / contain no-repeat; mask: url(logos/fx/bofa_s2.png) center / contain no-repeat; background: color-mix(in srgb, var(--tc) 48%, var(--surface-2)); animation: nc-boa1 6s cubic-bezier(.2,.7,.2,1) infinite;  }
.lgx.lgx-bofa.lgx-bofa.lgx-bofa i:nth-child(3) { --s: 84px; opacity: 0; transform: none; transform-origin: 50% 50%; clip-path: none; filter: none; animation: none; background: var(--tc); -webkit-mask: url(logos/fx/bofa_p1.png) center / contain no-repeat; mask: url(logos/fx/bofa_p1.png) center / contain no-repeat;  animation: nc-boa2 6s cubic-bezier(.2,.7,.2,1) infinite;  }
.lgx.lgx-bofa.lgx-bofa.lgx-bofa i:nth-child(4) { --s: 84px; opacity: 0; transform: none; transform-origin: 50% 50%; clip-path: none; filter: none; animation: none; background: var(--tc); -webkit-mask: url(logos/fx/bofa_p2.png) center / contain no-repeat; mask: url(logos/fx/bofa_p2.png) center / contain no-repeat;  animation: nc-boa3 6s cubic-bezier(.2,.7,.2,1) infinite;  }
.lgx.lgx-bofa.lgx-bofa.lgx-bofa i:nth-child(5) { --s: 84px; opacity: 0; transform: none; transform-origin: 50% 50%; clip-path: none; filter: none; animation: none; background: var(--tc); -webkit-mask: url(logos/fx/bofa_p3.png) center / contain no-repeat; mask: url(logos/fx/bofa_p3.png) center / contain no-repeat;  animation: nc-boa4 6s cubic-bezier(.2,.7,.2,1) infinite;  }
.lgx.lgx-bofa.lgx-bofa.lgx-bofa i:nth-child(6) { --s: 84px; opacity: 0; transform: none; transform-origin: 50% 50%; clip-path: none; filter: none; animation: none; background: var(--tc); -webkit-mask: url(logos/fx/bofa_p4.png) center / contain no-repeat; mask: url(logos/fx/bofa_p4.png) center / contain no-repeat;  animation: nc-boa5 6s cubic-bezier(.2,.7,.2,1) infinite;  }
.lgx.lgx-bofa.lgx-bofa.lgx-bofa i:nth-child(7) { --s: 84px; opacity: 0; transform: none; transform-origin: 50% 50%; clip-path: none; filter: none; animation: none; background: var(--tc); -webkit-mask: url(logos/fx/bofa_p5.png) center / contain no-repeat; mask: url(logos/fx/bofa_p5.png) center / contain no-repeat;  animation: nc-boa6 6s cubic-bezier(.2,.7,.2,1) infinite;  }
.lgx.lgx-bofa.lgx-bofa.lgx-bofa i:nth-child(8) { --s: 84px; opacity: 0; transform: none; transform-origin: 50% 50%; clip-path: none; filter: none; animation: none; background: var(--tc); -webkit-mask: url(logos/fx/bofa_p6.png) center / contain no-repeat; mask: url(logos/fx/bofa_p6.png) center / contain no-repeat;  animation: nc-boa7 6s cubic-bezier(.2,.7,.2,1) infinite;  }
.lgx.lgx-citi.lgx-citi.lgx-citi i:nth-child(1) { --s: 84px; opacity: 0; transform: none; transform-origin: 50% 50%; clip-path: none; filter: none; animation: none; background: var(--tc); -webkit-mask: url(logos/fx/citi_txt.png) center / contain no-repeat; mask: url(logos/fx/citi_txt.png) center / contain no-repeat;  animation: nc-citT 6s cubic-bezier(.2,.7,.2,1) infinite;  }
.lgx.lgx-citi.lgx-citi.lgx-citi i:nth-child(2) { --s: 84px; opacity: 0; transform: none; transform-origin: 50% 50%; clip-path: none; filter: none; animation: none; background: var(--tc); -webkit-mask: url(logos/fx/citi_arc.png) center / contain no-repeat; mask: url(logos/fx/citi_arc.png) center / contain no-repeat;  animation: nc-citA 6s cubic-bezier(.2,.7,.2,1) infinite;  }
.lgx.lgx-wellsfargo.lgx-wellsfargo.lgx-wellsfargo i:nth-child(1) { --s: 84px; opacity: 0; transform: none; transform-origin: 50% 50%; clip-path: none; filter: none; animation: none; background: var(--tc); -webkit-mask: url(logos/fx/wellsfargo_2.png) center / contain no-repeat; mask: url(logos/fx/wellsfargo_2.png) center / contain no-repeat; background: color-mix(in srgb, var(--tc) 48%, var(--surface-2)); animation: nc-wfB 6s cubic-bezier(.2,.7,.2,1) infinite; transform-origin: 0 50%; }
.lgx.lgx-wellsfargo.lgx-wellsfargo.lgx-wellsfargo i:nth-child(2) { --s: 84px; opacity: 0; transform: none; transform-origin: 50% 50%; clip-path: none; filter: none; animation: none; background: var(--tc); -webkit-mask: url(logos/fx/wellsfargo_p.png) center / contain no-repeat; mask: url(logos/fx/wellsfargo_p.png) center / contain no-repeat;  animation: nc-wfL 6s cubic-bezier(.2,.7,.2,1) infinite;  }
.lgx.lgx-barclays.lgx-barclays.lgx-barclays i:nth-child(1) { --s: 84px; opacity: 0; transform: none; transform-origin: 50% 50%; clip-path: none; filter: none; animation: none; background: var(--tc); -webkit-mask: url(logos/fx/barclays_l.png) center / contain no-repeat; mask: url(logos/fx/barclays_l.png) center / contain no-repeat;  animation: nc-barL 6s cubic-bezier(.2,.7,.2,1) infinite; transform-origin: 100% 60%; }
.lgx.lgx-barclays.lgx-barclays.lgx-barclays i:nth-child(2) { --s: 84px; opacity: 0; transform: none; transform-origin: 50% 50%; clip-path: none; filter: none; animation: none; background: var(--tc); -webkit-mask: url(logos/fx/barclays_r.png) center / contain no-repeat; mask: url(logos/fx/barclays_r.png) center / contain no-repeat;  animation: nc-barR 6s cubic-bezier(.2,.7,.2,1) infinite; transform-origin: 0% 60%; }
.lgx.lgx-deutsche.lgx-deutsche.lgx-deutsche i:nth-child(1) { --s: 84px; opacity: 0; transform: none; transform-origin: 50% 50%; clip-path: none; filter: none; animation: none; background: var(--tc); -webkit-mask: url(logos/fx/deutsche_frame.png) center / contain no-repeat; mask: url(logos/fx/deutsche_frame.png) center / contain no-repeat;  animation: nc-dbF 6s cubic-bezier(.2,.7,.2,1) infinite;  }
.lgx.lgx-deutsche.lgx-deutsche.lgx-deutsche i:nth-child(2) { --s: 84px; opacity: 0; transform: none; transform-origin: 50% 50%; clip-path: none; filter: none; animation: none; background: var(--tc); -webkit-mask: url(logos/fx/deutsche_slash.png) center / contain no-repeat; mask: url(logos/fx/deutsche_slash.png) center / contain no-repeat;  animation: nc-dbS 6s cubic-bezier(.2,.7,.2,1) infinite;  }
.lgx.lgx-ubs.lgx-ubs.lgx-ubs i:nth-child(1) { --s: 84px; opacity: 0; transform: none; transform-origin: 50% 50%; clip-path: none; filter: none; animation: none; background: var(--tc); -webkit-mask: url(logos/ubs.png) center / contain no-repeat; mask: url(logos/ubs.png) center / contain no-repeat;  animation: nc-ubsA 6s cubic-bezier(.2,.7,.2,1) infinite; opacity: 0; }
.lgx.lgx-ubs.lgx-ubs.lgx-ubs i:nth-child(2) { --s: 84px; opacity: 0; transform: none; transform-origin: 50% 50%; clip-path: none; filter: none; animation: none; background: var(--tc); -webkit-mask: url(logos/ubs.png) center / contain no-repeat; mask: url(logos/ubs.png) center / contain no-repeat;  animation: nc-ubsB 6s cubic-bezier(.2,.7,.2,1) infinite;  }
.lgx.lgx-ubs.lgx-ubs.lgx-ubs i:nth-child(1), .lgx.lgx-ubs.lgx-ubs.lgx-ubs i:nth-child(2) { background: color-mix(in srgb, var(--tc) 40%, var(--surface-2)); }
.lgx.lgx-ubs.lgx-ubs.lgx-ubs i:nth-child(3) { --s: 84px; opacity: 0; transform: none; transform-origin: 50% 50%; clip-path: none; filter: none; animation: none; background: var(--tc); -webkit-mask: url(logos/ubs.png) center / contain no-repeat; mask: url(logos/ubs.png) center / contain no-repeat;  animation: nc-ubsM 6s cubic-bezier(.2,.7,.2,1) infinite;  }
.lgx.lgx-bnp.lgx-bnp.lgx-bnp i:nth-child(1) { --s: 84px; opacity: 0; transform: none; transform-origin: 50% 50%; clip-path: none; filter: none; animation: none; background: var(--tc); -webkit-mask: url(logos/fx/bnp_s1.png) center / contain no-repeat; mask: url(logos/fx/bnp_s1.png) center / contain no-repeat;  animation: nc-bnp0 6s cubic-bezier(.2,.7,.2,1) infinite;  }
.lgx.lgx-bnp.lgx-bnp.lgx-bnp i:nth-child(2) { --s: 84px; opacity: 0; transform: none; transform-origin: 50% 50%; clip-path: none; filter: none; animation: none; background: var(--tc); -webkit-mask: url(logos/fx/bnp_s2.png) center / contain no-repeat; mask: url(logos/fx/bnp_s2.png) center / contain no-repeat;  animation: nc-bnp1 6s cubic-bezier(.2,.7,.2,1) infinite;  }
.lgx.lgx-bnp.lgx-bnp.lgx-bnp i:nth-child(3) { --s: 84px; opacity: 0; transform: none; transform-origin: 50% 50%; clip-path: none; filter: none; animation: none; background: var(--tc); -webkit-mask: url(logos/fx/bnp_s3.png) center / contain no-repeat; mask: url(logos/fx/bnp_s3.png) center / contain no-repeat;  animation: nc-bnp2 6s cubic-bezier(.2,.7,.2,1) infinite;  }
.lgx.lgx-bnp.lgx-bnp.lgx-bnp i:nth-child(4) { --s: 84px; opacity: 0; transform: none; transform-origin: 50% 50%; clip-path: none; filter: none; animation: none; background: var(--tc); -webkit-mask: url(logos/fx/bnp_s4.png) center / contain no-repeat; mask: url(logos/fx/bnp_s4.png) center / contain no-repeat;  animation: nc-bnp3 6s cubic-bezier(.2,.7,.2,1) infinite;  }
.lgx.lgx-socgen.lgx-socgen.lgx-socgen i:nth-child(1) { --s: 84px; opacity: 0; transform: none; transform-origin: 50% 50%; clip-path: none; filter: none; animation: none; background: var(--tc); -webkit-mask: url(logos/fx/socgen_p.png) center / contain no-repeat; mask: url(logos/fx/socgen_p.png) center / contain no-repeat;  animation: nc-sgT 6s cubic-bezier(.2,.7,.2,1) infinite;  }
.lgx.lgx-socgen.lgx-socgen.lgx-socgen i:nth-child(2) { --s: 84px; opacity: 0; transform: none; transform-origin: 50% 50%; clip-path: none; filter: none; animation: none; background: var(--tc); -webkit-mask: url(logos/fx/socgen_2.png) center / contain no-repeat; mask: url(logos/fx/socgen_2.png) center / contain no-repeat; background: color-mix(in srgb, var(--tc) 48%, var(--surface-2)); animation: nc-sgB 6s cubic-bezier(.2,.7,.2,1) infinite;  }
.lgx.lgx-hsbc.lgx-hsbc.lgx-hsbc i:nth-child(1) { --s: 84px; opacity: 0; transform: none; transform-origin: 50% 50%; clip-path: none; filter: none; animation: none; background: var(--tc); -webkit-mask: url(logos/fx/hsbc_l.png) center / contain no-repeat; mask: url(logos/fx/hsbc_l.png) center / contain no-repeat;  animation: nc-hs0 6s cubic-bezier(.2,.7,.2,1) infinite;  }
.lgx.lgx-hsbc.lgx-hsbc.lgx-hsbc i:nth-child(2) { --s: 84px; opacity: 0; transform: none; transform-origin: 50% 50%; clip-path: none; filter: none; animation: none; background: var(--tc); -webkit-mask: url(logos/fx/hsbc_r.png) center / contain no-repeat; mask: url(logos/fx/hsbc_r.png) center / contain no-repeat;  animation: nc-hs1 6s cubic-bezier(.2,.7,.2,1) infinite;  }
.lgx.lgx-hsbc.lgx-hsbc.lgx-hsbc i:nth-child(3) { --s: 84px; opacity: 0; transform: none; transform-origin: 50% 50%; clip-path: none; filter: none; animation: none; background: var(--tc); -webkit-mask: url(logos/fx/hsbc_t.png) center / contain no-repeat; mask: url(logos/fx/hsbc_t.png) center / contain no-repeat;  animation: nc-hs2 6s cubic-bezier(.2,.7,.2,1) infinite;  }
.lgx.lgx-hsbc.lgx-hsbc.lgx-hsbc i:nth-child(4) { --s: 84px; opacity: 0; transform: none; transform-origin: 50% 50%; clip-path: none; filter: none; animation: none; background: var(--tc); -webkit-mask: url(logos/fx/hsbc_b.png) center / contain no-repeat; mask: url(logos/fx/hsbc_b.png) center / contain no-repeat;  animation: nc-hs3 6s cubic-bezier(.2,.7,.2,1) infinite;  }
.lgx.lgx-nomura.lgx-nomura.lgx-nomura i:nth-child(1) { --s: 84px; opacity: 0; transform: none; transform-origin: 50% 50%; clip-path: none; filter: none; animation: none; background: var(--tc); -webkit-mask: url(logos/fx/nomura_2.png) center / contain no-repeat; mask: url(logos/fx/nomura_2.png) center / contain no-repeat; background: color-mix(in srgb, var(--tc) 48%, var(--surface-2)); animation: nc-noB 6s cubic-bezier(.2,.7,.2,1) infinite; transform-origin: 50% 100%; }
.lgx.lgx-nomura.lgx-nomura.lgx-nomura i:nth-child(2) { --s: 84px; opacity: 0; transform: none; transform-origin: 50% 50%; clip-path: none; filter: none; animation: none; background: var(--tc); -webkit-mask: url(logos/fx/nomura_p.png) center / contain no-repeat; mask: url(logos/fx/nomura_p.png) center / contain no-repeat;  animation: nc-noT 6s cubic-bezier(.2,.7,.2,1) infinite; transform-origin: 50% 64%; }
.lgx.lgx-natwest.lgx-natwest.lgx-natwest i:nth-child(1) { --s: 84px; opacity: 0; transform: none; transform-origin: 50% 50%; clip-path: none; filter: none; animation: none; background: var(--tc); -webkit-mask: url(logos/fx/natwest_top.png) center / contain no-repeat; mask: url(logos/fx/natwest_top.png) center / contain no-repeat;  animation: nc-nw0 6s cubic-bezier(.2,.7,.2,1) infinite;  }
.lgx.lgx-natwest.lgx-natwest.lgx-natwest i:nth-child(2) { --s: 84px; opacity: 0; transform: none; transform-origin: 50% 50%; clip-path: none; filter: none; animation: none; background: var(--tc); -webkit-mask: url(logos/fx/natwest_bl.png) center / contain no-repeat; mask: url(logos/fx/natwest_bl.png) center / contain no-repeat;  animation: nc-nw1 6s cubic-bezier(.2,.7,.2,1) infinite;  }
.lgx.lgx-natwest.lgx-natwest.lgx-natwest i:nth-child(3) { --s: 84px; opacity: 0; transform: none; transform-origin: 50% 50%; clip-path: none; filter: none; animation: none; background: var(--tc); -webkit-mask: url(logos/fx/natwest_br.png) center / contain no-repeat; mask: url(logos/fx/natwest_br.png) center / contain no-repeat;  animation: nc-nw2 6s cubic-bezier(.2,.7,.2,1) infinite;  }
.lgx.lgx-lloyds.lgx-lloyds.lgx-lloyds i:nth-child(1) { --s: 84px; opacity: 0; transform: none; transform-origin: 50% 50%; clip-path: none; filter: none; animation: none; background: var(--tc); -webkit-mask: url(logos/fx/lloyds_p.png) center / contain no-repeat; mask: url(logos/fx/lloyds_p.png) center / contain no-repeat;  animation: nc-lbH 6s cubic-bezier(.2,.7,.2,1) infinite; transform-origin: 36% 96%; }
.lgx.lgx-lloyds.lgx-lloyds.lgx-lloyds i:nth-child(2) { --s: 84px; opacity: 0; transform: none; transform-origin: 50% 50%; clip-path: none; filter: none; animation: none; background: var(--tc); -webkit-mask: url(logos/fx/lloyds_2.png) center / contain no-repeat; mask: url(logos/fx/lloyds_2.png) center / contain no-repeat; background: color-mix(in srgb, var(--tc) 48%, var(--surface-2)); animation: nc-lbS 6s cubic-bezier(.2,.7,.2,1) infinite; transform-origin: 36% 96%; }
.lgx.lgx-rbc.lgx-rbc.lgx-rbc i:nth-child(1) { --s: 84px; opacity: 0; transform: none; transform-origin: 50% 50%; clip-path: none; filter: none; animation: none; background: var(--tc); -webkit-mask: url(logos/fx/rbc_globe.png) center / contain no-repeat; mask: url(logos/fx/rbc_globe.png) center / contain no-repeat;  animation: nc-rbG 6s cubic-bezier(.2,.7,.2,1) infinite;  }
.lgx.lgx-rbc.lgx-rbc.lgx-rbc i:nth-child(2) { --s: 84px; opacity: 0; transform: none; transform-origin: 50% 50%; clip-path: none; filter: none; animation: none; background: var(--tc); -webkit-mask: url(logos/fx/rbc_lion.png) center / contain no-repeat; mask: url(logos/fx/rbc_lion.png) center / contain no-repeat;  animation: nc-rbL 6s cubic-bezier(.2,.7,.2,1) infinite;  }
.lgx.lgx-macquarie.lgx-macquarie.lgx-macquarie i:nth-child(1) { --s: 84px; opacity: 0; transform: none; transform-origin: 50% 50%; clip-path: none; filter: none; animation: none; background: var(--tc); --s: 76px; -webkit-mask: none; mask: none; border-radius: 50%; animation: nc-mqD 6s ease-in-out infinite; }
.lgx.lgx-macquarie.lgx-macquarie.lgx-macquarie i:nth-child(2) { --s: 84px; opacity: 0; transform: none; transform-origin: 50% 50%; clip-path: none; filter: none; animation: none; background: var(--tc); --s: 1px; -webkit-mask: none; mask: none; border-radius: 50%; background: var(--surface-2); animation: nc-mqP 6s ease-in-out infinite; z-index: 2; }
.lgx.lgx-macquarie.lgx-macquarie.lgx-macquarie i:nth-child(3) { --s: 84px; opacity: 0; transform: none; transform-origin: 50% 50%; clip-path: none; filter: none; animation: none; background: var(--tc); -webkit-mask: url(logos/macquarie.png) center / contain no-repeat; mask: url(logos/macquarie.png) center / contain no-repeat;  animation: nc-mqL 6s cubic-bezier(.2,.7,.2,1) infinite;  }
.lgx.lgx-stanchart.lgx-stanchart.lgx-stanchart i:nth-child(1) { --s: 84px; opacity: 0; transform: none; transform-origin: 50% 50%; clip-path: none; filter: none; animation: none; background: var(--tc); -webkit-mask: url(logos/fx/stanchart_r1.png) center / contain no-repeat; mask: url(logos/fx/stanchart_r1.png) center / contain no-repeat;  animation: nc-sc0 6s cubic-bezier(.2,.7,.2,1) infinite;  }
.lgx.lgx-stanchart.lgx-stanchart.lgx-stanchart i:nth-child(2) { --s: 84px; opacity: 0; transform: none; transform-origin: 50% 50%; clip-path: none; filter: none; animation: none; background: var(--tc); -webkit-mask: url(logos/fx/stanchart_r2.png) center / contain no-repeat; mask: url(logos/fx/stanchart_r2.png) center / contain no-repeat;  animation: nc-sc1 6s cubic-bezier(.2,.7,.2,1) infinite;  }
.lgx.lgx-stanchart.lgx-stanchart.lgx-stanchart i:nth-child(3) { --s: 84px; opacity: 0; transform: none; transform-origin: 50% 50%; clip-path: none; filter: none; animation: none; background: var(--tc); -webkit-mask: url(logos/fx/stanchart_r3.png) center / contain no-repeat; mask: url(logos/fx/stanchart_r3.png) center / contain no-repeat;  animation: nc-sc2 6s cubic-bezier(.2,.7,.2,1) infinite;  }
.lgx.lgx-stanchart.lgx-stanchart.lgx-stanchart i:nth-child(4) { --s: 84px; opacity: 0; transform: none; transform-origin: 50% 50%; clip-path: none; filter: none; animation: none; background: var(--tc); -webkit-mask: url(logos/fx/stanchart_r4.png) center / contain no-repeat; mask: url(logos/fx/stanchart_r4.png) center / contain no-repeat;  animation: nc-sc3 6s cubic-bezier(.2,.7,.2,1) infinite;  }
.lgx.lgx-jefferies.lgx-jefferies.lgx-jefferies i:nth-child(1) { --s: 84px; opacity: 0; transform: none; transform-origin: 50% 50%; clip-path: none; filter: none; animation: none; background: var(--tc); -webkit-mask: url(logos/jefferies.png) center / contain no-repeat; mask: url(logos/jefferies.png) center / contain no-repeat;  animation: nc-wipeD 6s cubic-bezier(.2,.7,.2,1) infinite;  }
@media (prefers-reduced-motion: reduce) { .lgx[class*=lgx-] i { animation: none !important; } }
/* small dropdown arrows: one size (Firms > Tracker programme arrows), right when closed, down when open, 1px up when open and 1px down when closed */
.tf-car, .trk-chev { display: inline-block !important; font-size: 167% !important; line-height: 1 !important; transform-origin: 50% 50%; transition: transform .15s var(--tm-out) !important; transform: translateY(1px) rotate(-90deg) !important; }
.tf-btn[aria-expanded="true"] .tf-car,
.trk-acc.on .trk-chev,
.trk-det[open] > summary .trk-chev,
.trk2-sec:not(.shut) .trk2-h .trk-chev,
.trk-th2[aria-expanded="true"] .trk-chev { transform: translateY(-1px) rotate(0deg) !important; }
@media (prefers-reduced-motion: reduce) { .tf-car, .trk-chev { transition: none !important; } }
/* ---- G2 (src/tip_g2.css.txt) ---- */
/* ===== Market Games, new screens (27 Nov 2026): src/tip_g2.jsx.txt. Appended to tip.css. ===== */
.g2 .g2-col { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.g2 .g2-ac { align-items: center; text-align: center; }
.g2 .g2-row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.g2 .g2-row.sb { justify-content: space-between; } .g2 .g2-row.c { justify-content: center; }
.g2 .g2-c { text-align: center; }
.g2 .g2-panel { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); padding: 14px; min-width: 0; }
.g2 .g2-panel.soft { background: var(--surface-2); border-color: transparent; }
.g2 .g2-chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--surface-2); color: var(--text-2); white-space: nowrap; margin-left: 6px; }
.g2 .g2-chip.k1 { background: color-mix(in srgb, var(--k1) 14%, transparent); color: var(--k1); }
.g2 .g2-chip.k2 { background: color-mix(in srgb, var(--k2) 16%, transparent); color: var(--k2); }
.g2 .g2-chip.k3 { background: color-mix(in srgb, var(--k3) 14%, transparent); color: var(--k3); }
.g2 .g2-chip.k4 { background: color-mix(in srgb, var(--k4) 14%, transparent); color: var(--k4); }
.g2 .g2-row .g2-chip, .g2 .ea-nav .g2-chip { margin-left: 0; }
.g2 .g2-tb { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.g2 .g2-tb th { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.g2 .g2-tb td { padding: 7px 8px; border-bottom: 1px solid var(--line); }
.g2 .g2-tb tr:last-child td { border-bottom: 0; }
.g2 .g2-spark { display: block; width: 100%; height: 100%; }
.g2 .g2-spark path.l { fill: none; stroke: var(--k1); stroke-width: 2; vector-effect: non-scaling-stroke; }
.g2 .g2-spark path.a { fill: color-mix(in srgb, var(--k1) 10%, transparent); stroke: none; }
.g2 .g2-big { font-size: 46px; font-weight: 700; line-height: 1; }
.g2 .g2-settle { display: flex; gap: 24px; align-items: center; }
.g2 .g2-foot { display: flex; gap: 10px; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--line); }
.g2 .g2-av { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 12px; background: color-mix(in srgb, var(--k1) 15%, transparent); color: var(--k1); }
.g2 .g2-tk { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: color-mix(in srgb, var(--k1) 15%, transparent); color: var(--k1); font-weight: 800; flex: none; }
.g2 .g2-hand { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.g2 .mm-px .right, .g2 .mm-px.right { box-shadow: 0 0 0 3px color-mix(in srgb, var(--k3) 30%, transparent); }
.g2 .mm-px.wrong { box-shadow: 0 0 0 3px color-mix(in srgb, var(--k4) 30%, transparent); }
.g2 .oa-banner .start { flex: none; }
.g2 .g2-ban { align-items: center; justify-content: space-between; }
.flash-up { animation: g2-fu .7s ease-out; } .flash-dn { animation: g2-fd .7s ease-out; }
@keyframes g2-fu { from { color: var(--k3); } } @keyframes g2-fd { from { color: var(--k4); } }

/* focus layout (Market of Cards F, Market Making Dice D) */
.g2 .g2-focus { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; padding: 4px 0; }
.g2 .g2-dots { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.g2 .g2-dots i { width: 34px; height: 6px; border-radius: 3px; background: var(--surface-2); transition: background .3s; }
.g2 .g2-dots i.done { background: var(--k3); } .g2 .g2-dots i.now { background: var(--k1); }
.g2 .g2-q { font-size: 28px; font-weight: 700; text-align: center; letter-spacing: -.01em; }
.g2 .g2-q small { display: block; font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-top: 4px; }
.g2 .g2-last { display: flex; justify-content: center; min-height: 0; }
.g2 .g2-last.l { justify-content: flex-start; }
.g2 .g2-last span { padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; background: var(--surface-2); animation: oa-in .3s both; }
.g2 .g2-last span.up { background: color-mix(in srgb, var(--k3) 13%, var(--surface)); color: var(--k3); }
.g2 .g2-last span.dn { background: color-mix(in srgb, var(--k4) 13%, var(--surface)); color: var(--k4); }
.g2 .g2-ask2 { text-align: center; padding: 9px 12px; border-radius: 12px; background: color-mix(in srgb, var(--k2) 14%, var(--surface)); font-weight: 600; }
.g2 .g2-ask2.l { text-align: left; }
.g2 .g2-qrow { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: stretch; }
.g2 .g2-qrow .start { padding: 0 34px; min-height: 64px; }
.g2 .g2-bigq input { font-size: 30px; }
.g2 .g2-dicehost { width: 100%; max-width: 520px; margin: 0 auto; min-height: 150px; }
.g2 .g2-dice2d { display: flex; gap: 12px; justify-content: center; align-items: center; min-height: 150px; }
.g2 .mf-cards { display: flex; justify-content: center; align-items: flex-end; gap: 22px; flex-wrap: wrap; }
.g2 .mf-cards .g { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.g2 .mf-cards .g > div { display: flex; gap: 8px; }
.g2 .mf-tr { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.g2 .mf-tc { padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; gap: 10px; align-items: stretch; text-align: center; animation: oa-in .3s both; transition: opacity .25s; }
.g2 .mf-tc .px { font-size: 26px; font-weight: 700; font-variant-numeric: tabular-nums; }
.g2 .mf-tc.used { opacity: .55; }
.g2 .g2-tape summary { cursor: pointer; font-size: 11.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.g2 .g2-tape .mm-tape { margin-top: 8px; }

/* drag-to-quote line */
.g2 .ql { position: relative; height: var(--h, 96px); margin: 4px 16px 0; cursor: crosshair; touch-action: none; user-select: none; -webkit-user-select: none; }
.g2 .ql.off { cursor: default; opacity: .6; }
.g2 .ql-ax { position: absolute; left: 0; right: 0; bottom: 22px; height: 2px; background: var(--line); }
.g2 .ql-tk { position: absolute; bottom: 0; transform: translateX(-50%); font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; pointer-events: none; }
.g2 .ql-tk::before { content: ""; position: absolute; left: 50%; top: -8px; width: 1px; height: 6px; background: var(--line); }
.g2 .ql-br { position: absolute; bottom: 34px; height: 30px; border-radius: 8px; background: color-mix(in srgb, var(--k1) 16%, transparent); border: 2px solid var(--k1); cursor: grab; z-index: 2; }
.g2 .ql-br:active { cursor: grabbing; }
.g2 .ql-hd { position: absolute; top: -4px; bottom: -4px; width: 14px; border-radius: 6px; background: var(--surface); border: 2px solid var(--k1); cursor: ew-resize; box-shadow: 0 2px 6px -2px rgba(20, 30, 60, .35); }
.g2 .ql-hd::before { content: ""; position: absolute; inset: -10px -12px; }
.g2 .ql-hd.l { left: -8px; } .g2 .ql-hd.r { right: -8px; }
.g2 .ql-hd::after { content: ""; position: absolute; left: 50%; top: 50%; width: 2px; height: 12px; margin: -6px 0 0 -1px; background: var(--k1); border-radius: 1px; }
.g2 .ql-lb { position: absolute; top: 5px; font-size: 12.5px; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; pointer-events: none; }
.g2 .ql-lb.l { right: calc(100% + 14px); color: var(--k3); } .g2 .ql-lb.r { left: calc(100% + 14px); color: var(--k4); }
.g2 .ql-hint { position: absolute; left: 0; right: 0; bottom: 44px; text-align: center; font-size: 12.5px; color: var(--muted); pointer-events: none; }

/* Trading Game C */
.g2 .tc-head { padding: 4px 8px 10px; } .g2 .tc-head > .g2-row { padding: 8px 6px 0; }
.g2 .tc-steps { display: grid; padding: 12px 6px 4px; }
.g2 .tc-step { display: flex; flex-direction: column; align-items: center; gap: 8px; position: relative; }
.g2 .tc-step::after { content: ""; position: absolute; top: 40px; left: calc(50% + 36px); right: calc(-50% + 36px); height: 2px; background: var(--line); transition: background .3s; }
.g2 .tc-step:last-child::after { display: none; }
.g2 .tc-step.done::after { background: var(--k1); }
.g2 .tc-step .oa-lbl { font-size: 10.5px; } .g2 .tc-step.now .oa-lbl { color: var(--k1); }
.g2 .tc-step.now .dk-card { outline: 3px solid color-mix(in srgb, var(--k1) 40%, transparent); outline-offset: 4px; border-radius: 10px; }
.g2 .tc-main { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 14px; align-items: start; }
.g2 .tc-book { padding: 6px 10px; }
.g2 .tc-row { display: grid; grid-template-columns: 64px 1fr 1fr 56px 124px 124px; gap: 8px; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; animation: oa-in .3s both; transition: opacity .25s; }
.g2 .tc-row:last-child { border-bottom: 0; }
.g2 .tc-row.used { opacity: .5; }
.g2 .tc-row .nm { font-weight: 700; }
.g2 .tc-row .mm-px { padding: 7px 10px; } .g2 .tc-row .mm-px b { font-size: 15px; }
.g2 .tc-th { font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); animation: none; }
.g2 .tc-dial { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.g2 .tc-dial svg { width: 200px; height: 113px; }
.g2 .tc-dial .bg { fill: none; stroke: var(--surface-2); stroke-width: 16; stroke-linecap: round; }
.g2 .tc-dial .fg { fill: none; stroke-width: 16; stroke-linecap: round; transition: stroke-dasharray .4s var(--tm-out, ease), stroke-dashoffset .4s var(--tm-out, ease); }
.g2 .tc-dial .nd { stroke: var(--text); stroke-width: 3; stroke-linecap: round; transition: transform .4s var(--tm-out, ease); transform-origin: 110px 112px; }
.g2 .tc-dial b { font-size: 30px; font-variant-numeric: tabular-nums; line-height: 1; margin-top: 2px; }
.g2 .tc-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.g2 .tc-tiles > div { padding: 10px 12px; border-radius: 12px; background: var(--surface-2); }
.g2 .tc-tiles b { display: block; font-size: 18px; font-variant-numeric: tabular-nums; }

/* Event Contracts A */
.g2 .ev-grid { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 14px; align-items: start; }
.g2 .ev-feed { display: flex; flex-direction: column; gap: 8px; }
.g2 .ev-q { font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.g2 .ev-head { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); animation: oa-in .35s both; }
.g2 .ev-head .ar { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-weight: 800; background: var(--surface-2); }
.g2 .ev-head.up .ar { background: color-mix(in srgb, var(--k3) 15%, transparent); color: var(--k3); }
.g2 .ev-head.dn .ar { background: color-mix(in srgb, var(--k4) 15%, transparent); color: var(--k4); }
.g2 .ev-head b { font-size: 14.5px; } .g2 .ev-head em { font-style: normal; font-size: 12px; color: var(--muted); }
.g2 .ev-head .lr { font-weight: 800; font-variant-numeric: tabular-nums; font-size: 15px; }
.g2 .ev-head.new { box-shadow: 0 0 0 3px color-mix(in srgb, var(--k1) 25%, transparent); }
.g2 .ev-head.prior { border-style: dashed; }
.g2 .ev-wait { padding: 10px 12px; border-radius: 12px; border: 1.5px dashed var(--line); color: var(--muted); font-size: 13px; }

/* ETF Arbitrage A */
.g2 .ea-grid { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 14px; align-items: start; }
.g2 .ea-comp { display: grid; grid-template-columns: 30px 1fr auto; gap: 4px 10px; align-items: center; padding: 10px; border-radius: 12px; background: var(--surface); }
.g2 .ea-comp b { font-size: 18px; font-variant-numeric: tabular-nums; } .g2 .ea-comp em { font-style: normal; font-size: 11.5px; color: var(--muted); }
.g2 .ea-comp .g2-spark { grid-column: 1 / -1; height: 26px; }
.g2 .ea-nav { display: flex; justify-content: space-between; align-items: baseline; padding: 10px 12px; border-radius: 12px; border: 1.5px dashed var(--k2); }
.g2 .ea-nav .oa-lbl, .g2 .ea-nav b { color: var(--k2); } .g2 .ea-nav b { font-size: 22px; font-variant-numeric: tabular-nums; }
.g2 .ea-meter { position: relative; height: 150px; margin: 6px 10px 0; }
.g2 .ea-axis { position: absolute; left: 0; right: 0; top: 78px; height: 4px; border-radius: 2px; background: var(--line); }
.g2 .ea-strip { position: absolute; left: 0; right: 0; top: 58px; height: 44px; border-radius: 12px; overflow: hidden; background: linear-gradient(90deg, color-mix(in srgb, var(--k3) 26%, transparent) 0%, color-mix(in srgb, var(--k3) 9%, transparent) var(--fl), color-mix(in srgb, var(--muted) 10%, transparent) 50%, color-mix(in srgb, var(--k4) 9%, transparent) var(--fr), color-mix(in srgb, var(--k4) 26%, transparent) 100%); }
.g2 .ea-strip i { position: absolute; top: 0; bottom: 0; left: calc(var(--fl) - 3%); width: calc(var(--fr) - var(--fl) + 6%); background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--muted) 30%, transparent) 0 5px, transparent 5px 10px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent); }
.g2 .ea-zl { position: absolute; top: 108px; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.g2 .ea-zl.buy { left: 6px; color: var(--k3); } .g2 .ea-zl.sell { right: 6px; color: var(--k4); }
.g2 .ea-navmark { position: absolute; top: 46px; height: 68px; width: 2px; margin-left: -1px; background: var(--k2); }
.g2 .ea-pin { position: absolute; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; transition: left .45s var(--tm-out, ease); }
.g2 .ea-pin b { font-size: 13px; font-variant-numeric: tabular-nums; padding: 2px 7px; border-radius: 7px; color: #fff; }
.g2 .ea-pin.bid { top: 22px; } .g2 .ea-pin.bid b { background: var(--k4); } .g2 .ea-pin.bid i { width: 2px; height: 58px; background: var(--k4); }
.g2 .ea-pin.ask { top: 96px; flex-direction: column-reverse; } .g2 .ea-pin.ask b { background: var(--k3); } .g2 .ea-pin.ask i { width: 2px; height: 0; }
.g2 .ea-key { gap: 16px; } .g2 .ea-key i { display: inline-block; vertical-align: -2px; margin-right: 4px; }
.g2 .ea-key .k-nav { width: 2px; height: 12px; background: var(--k2); }
.g2 .ea-key .k-fee { width: 14px; height: 10px; border-radius: 3px; background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--muted) 40%, transparent) 0 3px, transparent 3px 6px); }
.g2 .ea-act { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.g2 .ea-act .mm-px { padding: 18px 20px; font-size: 16px; } .g2 .ea-act .mm-px b { font-size: 28px; }

/* Card Game A */
.g2 .ca-desks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.g2 .ca-desk { padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; gap: 10px; animation: oa-in .3s both; transition: border-color .2s, box-shadow .2s; }
.g2 .ca-desk .nm { display: flex; align-items: center; justify-content: space-between; } .g2 .ca-desk .nm b { font-size: 16px; }
.g2 .ca-desk .px { font-size: 30px; font-weight: 700; text-align: center; font-variant-numeric: tabular-nums; }
.g2 .ca-desk .mm-px { padding: 12px; } .g2 .ca-desk .mm-px b { font-size: 18px; }
.g2 .ca-desk.right { border-color: var(--k3); box-shadow: 0 0 0 4px color-mix(in srgb, var(--k3) 14%, transparent); }
.g2 .ca-pass { width: 100%; padding: 16px; border-radius: 14px; border: 1.5px dashed var(--line); background: var(--surface); font: 600 16px Inter, system-ui, sans-serif; cursor: pointer; color: var(--text); display: flex; gap: 10px; align-items: center; justify-content: center; }
.g2 .ca-pass:hover:not(:disabled) { background: var(--surface-2); }
.g2 .ca-pass.right { border-color: var(--k3); border-style: solid; }

/* Betting Board B */
.g2 .bb-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 14px; align-items: start; }
.g2 .bb-tiles { display: grid; gap: 12px; }
.g2 .bb-tile { padding: 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 6px; font: inherit; color: inherit; transition: transform .12s, border-color .2s, background .2s; animation: oa-in .3s both; min-width: 0; }
.g2 .bb-tile:hover { transform: translateY(-2px); }
.g2 .bb-tile .o { font-size: 34px; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1; }
.g2 .bb-tile.on { border-color: var(--k1); background: color-mix(in srgb, var(--k1) 6%, var(--surface)); }
.g2 .bb-tile em { font-style: normal; font-size: 12px; color: var(--muted); }
.g2 .bb-tile .g2-chip { margin-left: 0; align-self: flex-start; }
.g2 .bb-tbw { overflow-x: auto; }
.g2 .bb-tb input { width: 110px; border: 1.5px solid var(--line); border-radius: 9px; padding: 7px 10px; font: 700 16px Inter, system-ui, sans-serif; background: var(--surface); color: var(--text); font-variant-numeric: tabular-nums; }
.g2 .bb-tb td { vertical-align: middle; }
.g2 .bb-odds { font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; }
.g2 .bb-min { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); }
.g2 .bb-min > b { font-size: 24px; font-variant-numeric: tabular-nums; }
.g2 .bb-pad { font-variant-numeric: tabular-nums; display: flex; flex-direction: column; gap: 6px; }
.g2 .bb-pad .ln { display: flex; justify-content: space-between; font-size: 14px; }
.g2 .bb-pad .tot { display: flex; justify-content: space-between; border-top: 2px solid var(--line); padding-top: 8px; font-weight: 800; font-size: 18px; }
.g2 .bb-gauge { position: relative; height: 14px; border-radius: 7px; background: var(--surface-2); }
.g2 .bb-gauge i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 7px; transition: width .3s var(--tm-out, ease), background .3s; }
.g2 .bb-gauge u { position: absolute; top: -5px; bottom: -5px; width: 3px; margin-left: -1.5px; border-radius: 2px; background: var(--k2); }
.g2 .bb-call { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.g2 .bb-call button { padding: 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); font: 600 16px Inter, system-ui, sans-serif; cursor: pointer; color: var(--text); }
.g2 .bb-call button:hover { background: var(--surface-2); }
.g2 .bb-call button.arb { border-color: color-mix(in srgb, var(--k3) 50%, var(--line)); }

/* Fermi A */
.g2 .fa-wrap { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; padding: 6px 0 2px; }
.g2 .fa-q { font-size: 24px; font-weight: 650; line-height: 1.35; text-align: center; text-wrap: balance; }
.g2 .fa-track { position: relative; height: 110px; margin: 0 22px; touch-action: none; user-select: none; -webkit-user-select: none; }
.g2 .fa-axis { position: absolute; left: 0; right: 0; top: 52px; height: 6px; border-radius: 3px; background: var(--surface-2); }
.g2 .fa-hint { position: absolute; left: 0; right: 0; top: 14px; text-align: center; font-size: 12.5px; color: var(--muted); pointer-events: none; }
.g2 .fa-band { cursor: grab; position: absolute; top: 44px; height: 22px; border-radius: 8px; background: color-mix(in srgb, var(--k1) 18%, transparent); border: 1.5px solid color-mix(in srgb, var(--k1) 55%, transparent); }
.g2 .fa-h { position: absolute; top: 38px; width: 28px; height: 34px; margin-left: -14px; border-radius: 9px; background: var(--surface); border: 2px solid var(--k1); box-shadow: 0 4px 10px -4px rgba(20, 30, 60, .35); cursor: grab; display: grid; place-items: center; z-index: 2; }
.g2 .fa-h::before { content: ""; position: absolute; inset: -8px -6px; }
.g2 .fa-h::after { content: ""; width: 2px; height: 14px; background: var(--k1); border-radius: 1px; }
.g2 .fa-h.pt { top: 30px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--k2); border-color: var(--k2); }
.g2 .fa-h.pt::after { display: none; }
.g2 .fa-h span { position: absolute; top: -24px; font-size: 12px; font-weight: 700; white-space: nowrap; color: var(--k1); font-variant-numeric: tabular-nums; pointer-events: none; }
.g2 .fa-h.pt span { color: var(--k2); top: -22px; }
.g2 .fa-dec { position: absolute; top: 80px; transform: translateX(-50%); font-size: 11px; color: var(--muted); white-space: nowrap; pointer-events: none; }
.g2 .fa-dec::before { content: ""; position: absolute; left: 50%; top: -18px; width: 1px; height: 8px; background: var(--line); }
.g2 .fa-ans { position: absolute; top: 22px; height: 64px; width: 3px; margin-left: -1.5px; border-radius: 2px; background: var(--k3); color: var(--k3); animation: oa-in .35s both; }
.g2 .fa-ans.miss { background: var(--k4); color: var(--k4); }
.g2 .fa-ans span { position: absolute; bottom: -40px; left: 50%; transform: translateX(-50%); font-size: 12px; font-weight: 700; white-space: nowrap; }
.g2 .fa-boxes { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 10px; align-items: end; }
.g2 .fa-boxes label { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.g2 .fa-boxes label > span { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.g2 .fa-boxes .start { height: 50px; }

/* Higher or Lower C */
.g2 .hl-cards { display: flex; gap: 22px; justify-content: center; align-items: center; }
.g2 .hl-vs { font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .08em; }
.g2 .hl-call { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.g2 .hl-call button { padding: 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); font: 700 18px Inter, system-ui, sans-serif; cursor: pointer; color: var(--text); }
.g2 .hl-call button:hover { background: var(--surface-2); }
.g2 .hl-call .hi { border-color: color-mix(in srgb, var(--k3) 50%, var(--line)); color: var(--k3); }
.g2 .hl-call .lo { border-color: color-mix(in srgb, var(--k4) 50%, var(--line)); color: var(--k4); }
.g2 .hc-strip { display: flex; gap: 6px; overflow-x: auto; padding: 6px 2px 10px; scroll-behavior: smooth; }
.g2 .hc-it { display: flex; flex-direction: column; align-items: center; gap: 4px; flex: none; animation: oa-in .3s both; }
.g2 .hc-it em { font-style: normal; font-size: 10.5px; font-weight: 800; padding: 1px 6px; border-radius: 6px; white-space: nowrap; }
.g2 .hc-it em.w { background: color-mix(in srgb, var(--k3) 15%, transparent); color: var(--k3); }
.g2 .hc-it em.l { background: color-mix(in srgb, var(--k4) 15%, transparent); color: var(--k4); }
.g2 .hc-it em.n { background: var(--surface-2); color: var(--muted); }
.g2 .hc-main { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 14px; align-items: start; }
.g2 .hc-stake { flex-wrap: nowrap; } .g2 .hc-stake .oa-num-box span { color: var(--muted); font-weight: 600; }
.g2 .hc-rev { max-height: 300px; overflow: auto; }

/* Odds Betting F */
.g2 .of-top { display: grid; grid-template-columns: minmax(0, 1fr) 180px; gap: 14px; align-items: center; }
.g2 .of-card { padding: 24px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); text-align: center; display: flex; flex-direction: column; gap: 12px; align-items: center; box-shadow: var(--shadow); animation: oa-in .3s both; }
.g2 .of-q { font-size: 22px; font-weight: 650; line-height: 1.35; text-wrap: balance; }
.g2 .of-odds { display: inline-flex; align-items: baseline; gap: 6px; padding: 8px 14px; border-radius: 12px; background: color-mix(in srgb, var(--k1) 10%, var(--surface)); color: var(--k1); font-weight: 800; font-size: 24px; font-variant-numeric: tabular-nums; }
.g2 .of-odds span { font-size: 13px; font-weight: 600; }
.g2 .of-score { font-size: 52px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.g2 .of-opts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.g2 .of-opts button { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 8px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--surface); font: 700 16px Inter, system-ui, sans-serif; cursor: pointer; color: var(--text); transition: border-color .2s, background .2s; }
.g2 .of-opts button:hover:not(:disabled) { background: var(--surface-2); }
.g2 .of-opts button:disabled { cursor: default; }
.g2 .of-opts button span { font-size: 12px; font-weight: 600; color: var(--muted); }
.g2 .of-opts button.right { border-color: var(--k3); background: color-mix(in srgb, var(--k3) 9%, var(--surface)); }
.g2 .of-opts button.wrong { border-color: var(--k4); background: color-mix(in srgb, var(--k4) 9%, var(--surface)); }

/* Superday A */
.sd-track { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; padding: 8px 0 4px; }
.sd-st { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; position: relative; }
.sd-st::after { content: ""; position: absolute; top: 28px; left: calc(50% + 34px); right: calc(-50% + 34px); height: 3px; border-radius: 2px; background: var(--line); }
.sd-st:last-child::after { display: none; } .sd-st.done::after { background: var(--k3); }
.sd-dot { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); font-weight: 800; color: var(--muted); font-size: 18px; transition: background .3s, box-shadow .3s; }
.sd-st.now .sd-dot { background: var(--k1); color: #fff; box-shadow: 0 0 0 6px color-mix(in srgb, var(--k1) 18%, transparent); }
.sd-st b { font-size: 14px; } .sd-st span { font-size: 12px; color: var(--muted); }
.sd-track.compact { margin-bottom: 12px; padding: 4px 0 0; }
.sd-track.compact .sd-st { gap: 4px; } .sd-track.compact .sd-st b { font-size: 12px; }
.sd-track.compact .sd-dot { width: 40px; height: 40px; font-size: 15px; }
.sd-track.compact .sd-st::after { top: 20px; left: calc(50% + 26px); right: calc(-50% + 26px); }
.g2 .sd-card { max-width: 620px; width: 100%; margin: 6px auto 0; padding: 24px; border-radius: 18px; border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; gap: 12px; align-items: center; text-align: center; box-shadow: var(--shadow); }
.g2 .sd-card h3 { margin: 0; font-size: 28px; letter-spacing: -.01em; }

/* tablets and phones */
@media (max-width: 900px) {
  .g2 .tc-main, .g2 .hc-main, .g2 .bb-grid, .g2 .ev-grid, .g2 .ea-grid { grid-template-columns: 1fr; }
  .g2 .tc-side { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px; }
  .g2 .tc-side .mm-err { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .g2 .g2-q { font-size: 22px; } .g2 .g2-q small { font-size: 13px; }
  .g2 .g2-qrow .start { padding: 0 20px; min-height: 58px; }
  .g2 .g2-bigq input { font-size: 24px; }
  .g2 .g2-focus { gap: 12px; }
  .g2 .g2-dots i { width: 22px; }
  .g2 .mf-cards { gap: 10px 14px; }
  .g2 .mf-cards .g.ctr { flex-basis: 100%; }
  .g2 .mf-tr, .g2 .ca-desks { grid-template-columns: 1fr; gap: 10px; }
  .g2 .mf-tc { padding: 12px; gap: 8px; } .g2 .mf-tc .px { font-size: 22px; }
  .g2 .ca-desk { padding: 12px; gap: 8px; } .g2 .ca-desk .px { font-size: 24px; }
  .g2 .ql { margin: 4px 10px 0; }
  .g2 .ql-tk { font-size: 10px; }
  .g2 .ql-tk:nth-of-type(even) { display: none; }
  .g2 .ql-lb { display: none; }
  .g2 .oa-banner { flex-wrap: wrap; } .g2 .oa-banner > span { flex: 1 1 100%; } .g2 .oa-banner > .start { flex: 1 1 100%; }
  .g2 .ql-br { bottom: 30px; }
  .g2 .tc-steps .dk-card { width: 46px !important; height: 64.4px !important; }
  .g2 .tc-step::after { top: 32px; left: calc(50% + 28px); right: calc(-50% + 28px); }
  .g2 .tc-step .oa-lbl { font-size: 9.5px; letter-spacing: .03em; }
  .g2 .tc-row { grid-template-columns: 1fr 1fr; gap: 6px 8px; padding: 10px 0; }
  .g2 .tc-row .nm { grid-column: 1 / -1; display: flex; gap: 10px; }
  .g2 .tc-row > span:nth-child(2), .g2 .tc-row > span:nth-child(3), .g2 .tc-row > .w { display: none; }
  .g2 .tc-th { display: none; }
  .g2 .tc-side { grid-template-columns: 1fr; }
  .g2 .tc-dial svg { width: 170px; height: 96px; }
  .g2 .g2-foot { flex-direction: column; align-items: stretch; text-align: center; }
  .g2 .g2-settle { flex-direction: column; gap: 10px; align-items: flex-start; }
  .g2 .g2-ban { flex-direction: column; align-items: stretch; }
  .g2 .ev-q { font-size: 19px; }
  .g2 .ea-meter { margin: 6px 0 0; }
  .g2 .ea-act .mm-px { padding: 14px; } .g2 .ea-act .mm-px b { font-size: 22px; }
  .g2 .ea-act kbd { display: none; }
  .g2 .bb-tiles { gap: 8px; } .g2 .bb-tile { padding: 12px 10px; } .g2 .bb-tile .o { font-size: 26px; }
  .g2 .bb-tile .g2-chip { font-size: 10.5px; padding: 2px 6px; white-space: normal; }
  .g2 .bb-tb { table-layout: fixed; }
  .g2 .bb-tb input { width: 100%; min-width: 0; padding: 6px 6px; font-size: 15px; }
  .g2 .bb-tb th, .g2 .bb-tb td { padding: 6px 3px; font-size: 13px; overflow: hidden; text-overflow: ellipsis; }
  .g2 .bb-tb th:nth-child(4), .g2 .bb-tb td:nth-child(4) { display: none; }
  .g2 .bb-tb th:nth-child(1) { width: 31%; } .g2 .bb-tb th:nth-child(2) { width: 17%; } .g2 .bb-tb th:nth-child(3) { width: 31%; } .g2 .bb-tb th { font-size: 10px; letter-spacing: .03em; }
  .g2 .bb-min { flex-direction: column; align-items: flex-start; gap: 2px; } .g2 .bb-min > span { font-size: 13px; }
  .g2 .bb-odds { font-size: 17px; }
  .g2 .bb-call { grid-template-columns: 1fr; }
  .g2 .bb-call kbd, .g2 .of-opts kbd, .g2 .ca-desk kbd, .g2 .ca-pass kbd { display: none; }
  .g2 .fa-q { font-size: 19px; }
  .g2 .fa-track { margin: 0 14px; }
  .g2 .fa-dec:nth-of-type(even) { display: none; }
  .g2 .fa-boxes { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .g2 .fa-boxes .oa-num-box { min-width: 0; } .g2 .fa-boxes .oa-num-box input { font-size: 19px; }
  .g2 .g2-keys { display: none; }
  .g2 .ev-feed { max-height: 230px; overflow: auto; }
  .g2 .ea-grid > .g2-panel.soft { order: 2; }
  .g2 .ea-grid > .g2-panel.soft { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .g2 .ea-grid > .g2-panel.soft > .oa-lbl, .g2 .ea-grid > .g2-panel.soft > .ea-nav { grid-column: 1 / -1; }
  .g2 .ea-comp { grid-template-columns: 1fr; gap: 2px; padding: 8px; text-align: center; justify-items: center; }
  .g2 .ea-comp b { font-size: 16px; } .g2 .ea-comp .g2-spark { width: 100%; }
  .g2 .fa-boxes label:nth-child(2) { grid-column: 1 / -1; order: 3; }
  .g2 .fa-boxes label:nth-child(3) { order: 2; }
  .g2 .fa-boxes .start { grid-column: 1 / -1; order: 4; }
  .g2 .hl-cards { gap: 14px; } .g2 .hl-cards .dk-card { width: 70px !important; height: 98px !important; }
  .g2 .hc-stake { flex-wrap: wrap; } .g2 .hc-stake .oa-num-box { flex-basis: 100% !important; }
  .g2 .hc-stake .btn { flex: 1; }
  .g2 .of-top { grid-template-columns: 1fr; }
  .g2 .of-sc { flex-direction: row; justify-content: center; gap: 10px; }
  .g2 .of-score { font-size: 30px; }
  .g2 .of-card { padding: 18px 14px; } .g2 .of-q { font-size: 19px; }
  .g2 .of-opts { grid-template-columns: 1fr 1fr; }
  .sd-st span { display: none; }
  .sd-st b { font-size: 12px; }
  .sd-dot { width: 44px; height: 44px; }
  .sd-st::after { top: 22px; left: calc(50% + 28px); right: calc(-50% + 28px); }
  .g2 .sd-card { padding: 18px 14px; } .g2 .sd-card h3 { font-size: 23px; }
}
/* ---- end G2 ---- */

/* Firm-card artwork lifecycle. The IntersectionObserver controls only the
   decorative panel; interactive stars, text, and other content remain live. */
.lgx[data-orbi-art-paused] i,.lgx[data-orbi-art-paused] i::before,.lgx[data-orbi-art-paused] i::after{animation-play-state:paused!important}

/* Preserve the original answer underline while using an actual editable control. */
.mt-ans input.mt-typed { box-sizing: content-box; min-width: 3ch; max-width: calc(100% - 40px); margin: 0; padding: 4px 12px 6px; border: 0; border-bottom: 3px solid var(--k1); border-radius: 0; background: transparent; box-shadow: none; font: inherit; color: var(--text); text-align: center; outline: none; caret-color: var(--k1); }
.mt-ans input.mt-typed:focus { border-bottom-color: var(--k1); outline: none; box-shadow: none; }
