/* VIRAZO 0.5.12: Persian layout, structured listening queue and quote desk. */
.public-body{direction:rtl;text-align:start}
.reference-header .header-inner,.reference-header .brand,.reference-header .header-actions{direction:rtl}
.reference-header .brand img{order:-1}
.reference-header .desktop-nav{direction:rtl}
.reference-mobile-nav{direction:rtl;flex-direction:row}
.reference-shortcuts,.studio-track-heading,.studio-zodiac-grid,.studio-fortune-tools,.studio-gaming-bottom,.gaming-heroes{direction:rtl}
.studio-track-heading{justify-content:flex-start;text-align:start}
#player-queue,#full-player-queue,#song-details-queue{display:grid;gap:4px;max-height:310px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:5px;direction:rtl}
#player-queue .queue-track,#full-player-queue .queue-track,#song-details-queue .queue-track{display:grid;grid-template-columns:22px 42px minmax(0,1fr) 23px;gap:10px;align-items:center;width:100%;min-width:0;min-height:64px;margin:0;padding:8px;border:1px solid transparent;border-radius:7px;background:transparent;color:var(--ink);text-align:start;font:inherit;line-height:1.6;cursor:pointer}
.queue-track-number{font-size:11px;color:var(--muted);text-align:center;font-variant-numeric:tabular-nums}
.queue-track-cover{display:block;width:42px;height:42px;overflow:hidden;border-radius:6px;background:var(--hover)}
.queue-track-cover>img,.queue-track-cover>svg{display:block;width:100%;height:100%;object-fit:cover}
.queue-track-meta{min-width:0;display:grid;gap:2px}
.queue-track-meta strong,.queue-track-meta small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.queue-track-meta strong{font-size:12px;font-weight:700}.queue-track-meta small{font-size:10px;color:var(--muted)}
.queue-track-state{display:grid;place-items:center;color:var(--muted)}
#player-queue .queue-track:hover,#song-details-queue .queue-track:hover{background:var(--hover)}
#player-queue .queue-track.active,#song-details-queue .queue-track.active{background:var(--accent-soft);border-color:color-mix(in srgb,var(--accent) 20%,transparent);color:var(--accent)}
.queue-track.active .queue-track-state{color:var(--accent)}
[data-queue-count]{font-size:10px;font-weight:400;opacity:.65;margin-inline-start:6px}
#song-details .full-player-extras{background:var(--surface);padding:10px 12px;border-color:var(--border)}
#song-details .full-player-extras header,#full-player .full-player-extras header{display:flex;align-items:center;justify-content:space-between;gap:8px}
.full-quality{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;padding:8px}
.full-quality select,.queue-options select{font:inherit;color:var(--ink);background:var(--surface);border:1px solid var(--border);padding:7px 10px;border-radius:6px;max-width:180px;min-width:0}
#full-player-queue .queue-track{color:#f5f8ff}#full-player-queue .queue-track-meta small,#full-player-queue .queue-track-number,#full-player-queue .queue-track-state{color:#b9c4d7}
#full-player-queue .queue-track:hover{background:#ffffff0c}#full-player-queue .queue-track.active{background:#ffffff15;border-color:#ffffff25}#full-player-queue .queue-track.active .queue-track-state{color:#91d7ff}
#full-player .full-quality select{background:#202b3c;color:#f4f7fd;border-color:#ffffff30}
.queue-equalizer{height:18px;display:flex;align-items:center;gap:2px}.queue-equalizer i{display:block;width:3px;height:13px;background:currentColor;border-radius:2px;transform:scaleY(.5)}
.market-desk{--finance-bg:var(--surface);padding-top:22px}
.finance-page-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px}.finance-page-heading h1{font-size:21px;margin:0}.finance-page-heading>span{font-size:10px;color:var(--muted)}
.finance-highlights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px}
.finance-highlights>a{display:flex;align-items:center;gap:12px;padding:14px 16px;background:var(--finance-bg);border:1px solid var(--border);border-radius:10px;min-width:0}
.finance-highlights img{width:34px;height:34px;object-fit:contain}.finance-highlights>a>span{display:grid;gap:4px;min-width:0}.finance-highlights small{font-size:10px;color:var(--muted)}.finance-highlights strong{font-size:15px;white-space:nowrap}.finance-highlights strong small{font-weight:400;font-size:9px}.finance-highlights b{margin-inline-start:auto;font-size:11px;white-space:nowrap}
.market-desk .studio-market-toolbar{margin:0 0 18px;gap:12px;flex-wrap:wrap}.market-desk .studio-market-toolbar>label{margin-inline-start:auto}
.finance-board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:start}.finance-market{min-width:0}.finance-market>header{display:flex;align-items:center;justify-content:space-between;gap:6px;border:1px solid var(--border);border-radius:9px;background:var(--finance-bg);padding:12px 14px;margin-bottom:8px}.finance-market h2{font-size:14px;margin:0}.finance-market>header>a{display:flex;align-items:center;gap:4px;color:#008d90;font-size:10px;white-space:nowrap}
.quote-panel{background:var(--finance-bg);border:1px solid var(--border);border-radius:9px;overflow:hidden}.quote-scroll{max-height:433px;overflow:auto;scrollbar-width:none;overscroll-behavior:contain}.quote-scroll::-webkit-scrollbar{display:none}.quote-table{width:100%;border-collapse:collapse;table-layout:fixed}.quote-table th,.quote-table td{padding:12px;text-align:start;border:0;border-bottom:1px solid var(--border);background:transparent}.quote-table thead{position:sticky;top:0;z-index:1;background:var(--hover)}.quote-table thead th{font-size:10px;color:var(--muted);font-weight:400;padding-block:10px}.quote-table thead small{font-size:8px;opacity:.8}.quote-table th:first-child{width:56%}.quote-table th:last-child,.quote-table td{text-align:end}.quote-table tbody th>a{display:flex;align-items:center;gap:9px;min-width:0}.quote-table tbody th>a>span{display:grid;gap:4px;min-width:0}.quote-table img{width:29px;height:29px;flex-shrink:0;object-fit:contain}.quote-table th strong{font-size:11px;line-height:1.7;font-weight:600}.quote-table th small{display:flex;gap:8px;font-size:9px;color:var(--muted);font-weight:400}.quote-price{display:block;font-size:13px;line-height:1.6;white-space:nowrap}.quote-change{display:block;color:var(--muted);font-size:10px;direction:ltr;font-weight:500;white-space:nowrap}.quote-change.quote-up{color:#15996d}.quote-change.quote-down{color:#e44f64}.quote-unavailable,.quote-stale{display:block;font-size:9px;color:var(--muted);font-weight:400}.quote-stale{color:#aa781b}.quote-table tbody tr:last-child>*{border-bottom:0}.quote-table tbody tr:hover{background:var(--hover)}.quote-table .quote-selected{background:color-mix(in srgb,var(--accent) 5%,var(--surface))}.quote-more{width:100%;padding:8px;background:var(--surface);border:0;border-top:1px solid var(--border);font:inherit;font-size:10px;color:var(--muted);cursor:pointer}.quote-more span{margin-inline-start:10px}.quote-more[hidden]{display:none}
.finance-analysis{display:grid;grid-template-columns:minmax(0,2fr) minmax(250px,1fr);gap:18px;margin-top:20px;align-items:start}.finance-analysis>*{min-width:0}.finance-chart{scroll-margin-top:85px}.finance-side{display:grid;gap:12px}.finance-chart-help{display:flex;align-items:center;gap:12px;background:var(--finance-bg);border:1px solid var(--border);border-radius:9px;padding:14px;color:var(--muted);font-size:11px}.finance-chart-help svg{flex-shrink:0;color:var(--accent)}.finance-chart-help p{margin:0}.market-desk .studio-market-chart,.market-desk .studio-market-converter,.market-desk .studio-market-watchlist{background:var(--finance-bg)}
.reference-rates{gap:12px;background:none!important;border:0;overflow:visible;direction:rtl}
.reference-rates .rate-card{display:grid;grid-template-columns:38px minmax(0,1fr) 65px;align-items:center;gap:10px;padding:13px 14px;border:1px solid var(--ref-line,var(--border));border-radius:9px;background:var(--surface);min-width:0;min-height:94px;color:var(--ink)}
.reference-rates .rate-card:after{display:none}.rate-card-icon{width:36px;height:40px;display:grid;place-items:center;color:#508aab}.rate-card-icon img{object-fit:contain}.rate-card-copy{min-width:0;display:grid;gap:3px;text-align:start}.rate-card-copy>span{font-size:11px;font-weight:600}.rate-card-copy strong{font-size:14px;white-space:nowrap}.rate-card-copy strong small{font-size:8px;font-weight:400;color:var(--muted)}.rate-card-copy>small{font-size:8px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rate-card-trend{display:grid;justify-items:end;gap:3px;align-self:center}.rate-card-trend svg{width:65px;height:25px;fill:none;stroke:#27a28c;stroke-width:1.6}.rate-card-down .rate-card-trend svg{stroke:#dc6375}.rate-card-trend .quote-change{font-size:10px;background:none;padding:0}
@media(max-width:1050px){.finance-highlights>a{gap:8px;padding:12px}.finance-highlights strong{font-size:13px}.finance-highlights b{font-size:10px}.finance-board{gap:12px}.quote-table th,.quote-table td{padding:10px 8px}.quote-table th strong{font-size:10px}.quote-price{font-size:12px}.reference-rates .rate-card{grid-template-columns:30px minmax(0,1fr) 45px;gap:7px;padding:12px 9px}.rate-card-trend svg{width:45px}.rate-card-copy strong{font-size:12px}}
@media(max-width:760px){.reference-header .header-inner{direction:rtl}.reference-mobile-nav{flex-direction:row;direction:rtl}.market-desk{padding-top:16px}.finance-page-heading{align-items:start}.finance-page-heading h1{font-size:18px}.finance-page-heading>span{max-width:55%;font-size:9px}.finance-highlights{gap:7px;margin-bottom:14px}.finance-highlights>a{display:grid;grid-template-columns:1fr;justify-items:start;gap:5px;padding:10px 8px}.finance-highlights img{width:26px;height:26px}.finance-highlights strong{font-size:12px}.finance-highlights small{font-size:9px}.finance-highlights b{margin:0}.finance-highlights strong small{font-size:8px}.market-desk .studio-market-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 110px;gap:8px}.market-desk .studio-market-toolbar nav{grid-column:1/-1}.market-desk .studio-market-toolbar>label{margin:0;width:100%;min-width:0}.market-desk .studio-market-toolbar select{max-width:100%;min-width:0}.finance-board{grid-template-columns:1fr;gap:16px}.quote-scroll{max-height:360px}.quote-table th:first-child{width:58%}.quote-table th,.quote-table td{padding:12px 14px}.quote-table th strong{font-size:12px}.quote-price{font-size:14px}.quote-table th small{font-size:10px}.finance-analysis{grid-template-columns:1fr;gap:14px}.finance-market>header{padding:12px 14px}.finance-chart .studio-section-head{flex-wrap:wrap}.finance-chart .studio-section-head h2{font-size:13px}.finance-chart .studio-section-head select{max-width:155px}.reference-rates{gap:6px}.reference-rates .rate-card{display:flex;flex-direction:column;align-items:stretch;gap:6px;padding:10px 8px;min-height:110px}.rate-card-icon{width:27px;height:27px}.rate-card-icon img{width:26px;height:26px}.rate-card-icon svg{width:25px;height:25px}.rate-card-copy{gap:3px}.rate-card-copy>span{font-size:10px}.rate-card-copy strong{font-size:12px}.rate-card-copy>small{font-size:8px}.rate-card-trend{display:flex;flex-direction:row-reverse;align-items:center;justify-content:space-between;align-self:stretch;margin-top:auto}.rate-card-trend svg{width:40px;height:18px}.rate-card-trend .quote-change{font-size:9px}#player-queue .queue-track,#full-player-queue .queue-track,#song-details-queue .queue-track{grid-template-columns:18px 38px minmax(0,1fr) 19px;gap:7px;padding:7px 5px;min-height:58px}.queue-track-cover{width:38px;height:38px}}

html:not([data-theme=dark]) .quote-table thead{background:#f4f6f8}

html[data-theme=dark] .quote-up{color:#65deb0}html[data-theme=dark] .quote-down{color:#ff94a3}html[data-theme=dark] .finance-market>header>a{color:#64d5d2}html[data-theme=dark] .reference-header .header-actions :is(button,a){color:#bac8df}
