.market-switch{position:relative;margin-left:auto;margin-right:16px;font-size:.875rem;line-height:1.25rem;font-weight:500}.market-switch .visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}.market-switch-ghost{visibility:hidden;display:inline-flex;align-items:center;gap:8px;padding:6px 16px;border:1px solid transparent;white-space:nowrap}.market-switch-ghost .market-switch-chevron{display:inline-block;width:16px}.market-switch-box{position:absolute;top:0;right:0;z-index:1200;min-width:0;padding:0;border:1px solid var(--border-medium);border-radius:999px;background:var(--surface-1);box-shadow:var(--shadow-elev);color:var(--text-main);overflow:hidden;transition:border-radius .2s ease,min-width .2s ease,padding .2s ease}.market-switch-box[open]{min-width:14rem;padding:6px;border-radius:16px}.market-switch-summary{list-style:none;cursor:pointer;border-radius:999px}.market-switch-summary::-webkit-details-marker{display:none}.market-switch-summary:focus-visible,.market-switch-option:focus-visible{outline:2px solid var(--market-switch-current);outline-offset:2px}.market-switch-closed{display:inline-flex;align-items:center;gap:8px;padding:6px 16px;white-space:nowrap;color:var(--text-soft);transition:color .15s ease}.market-switch-summary:hover .market-switch-closed{color:var(--text-strong)}.market-switch-chevron{color:var(--text-muted)}.market-switch-open{display:none;align-items:center;justify-content:space-between;gap:12px;margin-bottom:4px;padding:6px 12px;border-bottom:1px solid var(--border-soft);color:var(--text-muted);font-size:.75rem;font-weight:600;letter-spacing:.05em;text-transform:uppercase}.market-switch-box[open] .market-switch-closed{display:none}.market-switch-box[open] .market-switch-open{display:flex}.market-switch-summary:hover .market-switch-x{color:var(--text-main)}.market-switch-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:2px}.market-switch-box[open] .market-switch-list{animation:market-switch-in .15s ease both;transform-origin:top right}.market-switch-box.is-closing .market-switch-list{animation:market-switch-out .15s ease both}.market-switch-option{display:flex;align-items:center;gap:10px;width:100%;padding:8px 12px;border-radius:8px;color:var(--text-soft);text-decoration:none;transition:background-color .15s ease,color .15s ease}.market-switch-option:hover{background:var(--surface-2);color:var(--text-strong)}.market-switch-option.is-current{background:var(--surface-3);color:var(--market-switch-current)}.market-switch-flag{font-size:1rem}.market-switch-name{flex:1}.market-switch-check{color:var(--market-switch-current);animation:market-switch-check .2s ease both}@keyframes market-switch-in{0%{opacity:0;transform:scale(.96)}to{opacity:1;transform:scale(1)}}@keyframes market-switch-out{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(.96)}}@keyframes market-switch-check{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@media(prefers-reduced-motion:reduce){.market-switch-box,.market-switch-closed,.market-switch-option{transition:none}.market-switch-box[open] .market-switch-list,.market-switch-box.is-closing .market-switch-list,.market-switch-check{animation:none}}@media(max-width:768px){.market-switch{margin-right:8px}}
