/* Spot network selector (dropdown on the right of the intro) and the market preview state. */
/* Right of the intro: selector and Bridge, stacked, as wide as the trade ticket (spot-terminal.css column widths). */
.intro{gap:20px;--ticket-w:290px}
@media(min-width:1700px){.intro{--ticket-w:310px}}
@media(max-width:1250px) and (min-width:1101px){.intro{--ticket-w:270px}}
.spot-controls{display:flex;flex-direction:column;gap:8px;align-self:flex-start;flex:none;width:var(--ticket-w)}
.spot-controls:not(:has(>:not([hidden]))){display:none}
.network-picker{position:relative;width:100%}
.network-picker[hidden]{display:none}
.network-toggle{display:flex;width:100%;align-items:center;gap:9px;min-height:40px;padding:0 12px 0 14px;border:1px solid #c4f568;border-radius:9px;background:#0e130d;color:#f0f4ed;font:inherit;font-size:14px;font-weight:600;cursor:pointer}
.network-toggle:hover{background:#151d12}
.network-toggle:focus-visible,.network-menu button:focus-visible{outline:2px solid #c4f568;outline-offset:2px}
.network-dot{flex:none;width:8px;height:8px;border-radius:50%;background:#c4f568;box-shadow:0 0 8px #c4f56866}
.network-toggle>span{flex:none}
.network-toggle .network-chevron{margin-left:auto}
.network-toggle .network-default[hidden]{display:none}
.network-chevron,.network-check{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.network-toggle[aria-expanded="true"] .network-chevron{transform:rotate(180deg)}
.network-menu{position:absolute;left:0;right:0;top:calc(100% + 6px);z-index:60;padding:12px 10px 10px;border:1px solid #35482a;border-radius:10px;background:#111810;box-shadow:0 18px 50px #000a}
.network-menu[hidden]{display:none}
.network-menu-title{margin:0 6px 8px;color:#a7b49d;font-size:12px}
.network-menu button{display:flex;align-items:center;gap:10px;width:100%;min-height:36px;padding:0 6px;border:0;border-radius:7px;background:none;color:#e5eedc;font:inherit;font-size:14px;text-align:left;cursor:pointer}
.network-menu button:hover{background:#1a2414}
.network-menu button[hidden]{display:none}
.network-menu button>span{flex:1}
.network-default{padding:2px 6px;border-radius:4px;background:#c4f568;color:#0b0f0a;font-size:10px;font-style:normal;font-weight:700}
/* Elysium logomark (official, elysium.kinetiq.xyz/assets/brand/elysium/elysium-logomark-light.svg). */
.network-logo{flex:none;display:block;width:16px;height:16px;object-fit:contain}
.network-toggle .network-logo-ely,.network-picker[data-current="elysium"] .network-toggle .network-logo-rh{display:none}
.network-picker[data-current="elysium"] .network-toggle .network-logo-ely{display:block}
.network-menu [data-network="robinhood"] .network-logo,.network-toggle .network-logo-rh{opacity:1}
.network-check{color:#c4f568;visibility:hidden}
.network-menu button[aria-pressed="true"] .network-check{visibility:visible}
/* Chain name and id for screen readers; the menu itself shows only the network names, as designed. */
.network-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
/* Elysium trade panel (elysium-trade.js) replaces the Robinhood swap form while Elysium is selected. */
body.ely-trade-on .ticket[data-trading-locked="true"]>:is(.trade-tabs,.spot-order-types,#pay-label,#pay,.amount-box,#target-fields,.swap-divider,.receive,.slippage,.quote-details,#market-execution,#transaction){display:none}
body.ely-trade-on #trading-preview{display:none}
.ely-trade[hidden]{display:none}
.ely-trade .ely-tabs{margin-bottom:12px}
.ely-trade .ely-tabs button{cursor:pointer;font:inherit;font-weight:600}
.ely-box{margin-top:0}
.ely-input{display:flex;align-items:center;gap:10px;margin-top:10px}
.ely-input input{flex:1;min-width:0;border:0;background:none;color:var(--text,#f0f4ed);font:inherit;font-size:28px;outline:none;font-variant-numeric:tabular-nums}
.ely-input b{color:#a7be90;font-size:14px;font-weight:600}
.ely-input strong{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;font-size:24px;font-weight:400;color:#c4f568;font-variant-numeric:tabular-nums}
.ely-chips{display:flex;gap:6px;margin-top:10px}
.ely-chips button{flex:1;min-height:30px;border:1px solid var(--line,#293128);border-radius:6px;background:none;color:#a7be90;font:inherit;font-size:12px;cursor:pointer}
.ely-chips button:hover{border-color:#6c8949;color:#c4f568}
.ely-arrow{display:grid;place-items:center;height:26px;color:#c4f568}
.ely-details{margin:12px 0 0;padding:0}
.ely-details[hidden]{display:none}
.ely-details div{display:flex;justify-content:space-between;gap:12px;padding:5px 0;font-size:11.5px}
.ely-details dt{color:var(--muted,#93a08f)}
.ely-details dd{margin:0;color:#e5eedc;text-align:right;font-variant-numeric:tabular-nums}
.ely-error,.ely-done{margin:10px 0 0;padding:9px 11px;border-radius:7px;font-size:12.5px;line-height:1.5}
.ely-error{border:1px solid #6b3a2c;background:#2a1712;color:#f5b8a3}
.ely-done{border:1px solid #3d542a;background:#141d10;color:#dcef9f}
.ely-done a{color:#c4f568}
.ely-error[hidden],.ely-done[hidden]{display:none}
.ely-primary{width:100%;min-height:46px;margin-top:12px;border:0;border-radius:8px;background:#c4f568;color:#0b0f0a;font:inherit;font-size:15px;font-weight:700;cursor:pointer}
.ely-primary:disabled{background:#2b3820;color:#7d916b;cursor:not-allowed}
.ely-primary:focus-visible,.ely-chips button:focus-visible,.ely-tabs button:focus-visible{outline:2px solid #c4f568;outline-offset:2px}
.ely-note{margin:10px 0 0;color:#7d8b74;font-size:11px;line-height:1.5}
/* Bridge: under the selector, same width. */
.spot-bridge{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:44px;padding:0 16px;border:1.5px solid #c4f568;border-radius:9px;background:#111a0d;color:#f0f4ed;font:inherit;font-size:16px;font-weight:600;cursor:pointer;transition:background .15s,box-shadow .15s}
.spot-bridge:hover{background:#18240f;box-shadow:0 0 0 3px #c4f5681a}
.spot-bridge:focus-visible{outline:2px solid #c4f568;outline-offset:2px}
.spot-bridge[hidden]{display:none}
.spot-bridge-icon{width:22px;height:22px;fill:none;stroke:#c4f568;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.price-source{display:block;margin:4px 0 0 auto;color:#93a08f;font-size:12px;line-height:1.35;max-width:34ch;white-space:normal}
.price-source:empty{display:none}
.trading-preview{margin:0 0 14px;padding:10px 12px;border:1px solid #4c5a24;border-radius:10px;background:#151c0b;color:#dcef9f;font-size:13px;font-weight:600}
.trading-preview[hidden]{display:none}
/* Preview networks: the trade form is shown disabled, never interactive. */
.ticket[data-trading-locked="true"]>.trade-tabs,.ticket[data-trading-locked="true"]>.spot-order-types,
.ticket[data-trading-locked="true"] #pay,.ticket[data-trading-locked="true"]>.amount-box,
.ticket[data-trading-locked="true"] #market-execution{opacity:.45;pointer-events:none}
.ticket[data-trading-locked="true"] #transaction{display:none}
.pool-summary{padding:10px 12px 4px}
.pool-summary p{margin:0 0 6px}
.pool-summary small,.pool-method small{color:#93a08f}
.pool-method{padding:6px 12px 12px;margin:0}
#activity-content td small{display:block;color:#93a08f;font-size:11px}
#activity-content tr.reference-pool td{background:#1a2412}
@media (max-width:640px){.intro{flex-wrap:wrap;align-items:flex-end}.spot-controls{width:100%}.network-toggle{min-height:44px}.price-source{max-width:19ch;font-size:10.5px}}
.ticket[data-trading-locked="true"] #pay-label,.ticket[data-trading-locked="true"] #pay{display:none}
