/* Instrument themes share the same game board and settlement rules. */
.market-switch{display:flex;align-items:center;gap:3px;flex:none;border:1px solid #473058;background:#110a1c;padding:3px;border-radius:10px;letter-spacing:0}
.market-switch button{display:flex;gap:6px;align-items:center;justify-content:center;height:29px;padding:0 10px;border-radius:6px;color:#9685aa;font-size:11px;transition:background .2s,color .2s,box-shadow .2s}
.market-switch button b{font-size:11px;font-weight:650;letter-spacing:.4px}
.market-switch button.active{background:linear-gradient(135deg,#3d2855,#281b38);color:#f2eafa;box-shadow:inset 0 0 0 1px #9d72cb66,0 0 14px #9858e315}
.market-switch button:hover:not(:disabled){color:white;background:#322040}
.market-switch button:disabled:not(.active){opacity:.4}
.market-icon{width:17px;height:17px;border-radius:50%;display:grid;place-items:center;font-style:normal;font-weight:700;font-size:12px;line-height:1}
.btc-icon{background:#ed9b2926;color:#ffc56b;border:1px solid #d99a4d55}
.spy-icon{background:#5283b52c;color:#a0d1ff;border:1px solid #6c9bbf55;font-size:10px}
.market-quote{display:flex;flex-direction:column;gap:2px;min-width:119px;flex:none;letter-spacing:0;padding:0 1px}
#market-price{font-size:16px;font-weight:650;line-height:1.15;font-variant-numeric:tabular-nums;color:#c2ff8b;white-space:nowrap;letter-spacing:.2px}
#market-price.price-down{color:#c4a4ef}
#market-pair{font-size:8px;letter-spacing:1.4px;color:#8c799e;line-height:1.2}
.ticker #recent{min-width:0;flex:1}
.ticker #recent span{flex:none}
.ticker .history-link{flex:none}
.history-market{font-size:9px;font-style:normal;color:#c4a0e9;margin-right:8px;letter-spacing:.7px}
@media(max-width:1000px){.ticker .ticker-label,.ticker .divider{display:none}.ticker #recent span:nth-child(n+5){display:none}}
@media(max-width:640px){.ticker{gap:10px}.market-switch{padding:2px;gap:1px;border-radius:8px}.market-switch button{height:26px;padding:0 7px;gap:5px}.market-switch button b{font-size:10px}.market-icon{width:15px;height:15px;font-size:11px}.spy-icon{font-size:9px}.market-quote{min-width:112px}#market-price{font-size:14px}#market-pair{font-size:7px;letter-spacing:1px}.ticker #recent{display:none}.ticker .history-link{margin-left:auto}}
@media(max-width:380px){.ticker{gap:8px;padding-left:10px;padding-right:10px}.market-quote{min-width:100px}#market-price{font-size:13px}.ticker .history-link{font-size:0;width:20px}.ticker .history-link:after{content:'↗';font-size:16px}}
@media(prefers-reduced-motion:reduce){.market-switch button{transition:none}}

.market-quote{gap:1px}#market-reference-time{font-size:7px;line-height:1.2;color:#756584;letter-spacing:.1px;white-space:nowrap}.ticker{height:51px}@media(max-width:640px){.ticker{height:43px}#market-reference-time{font-size:6px}}
