/* VIRAZO market desk: original banknote, bullion and coin illustrations. */
.market-page{max-width:1180px}.market-hero{display:flex;align-items:center;justify-content:space-between;min-height:172px;gap:24px;padding:6px 0 24px}.market-hero h1{font-size:40px;letter-spacing:-1.5px;margin:4px 0 7px;line-height:1.5}.market-caption{display:flex;gap:8px;align-items:center;font-size:12px;color:var(--muted)}.market-live-mark{height:7px;width:7px;background:#2b9c75;border-radius:50%;box-shadow:0 0 0 4px #2b9c7510}.market-hero p{font-size:14px;color:var(--muted);margin:0 0 13px}.market-source-label{display:inline-flex;gap:9px;align-items:center;font-size:10px;color:var(--muted)}.market-hero-art{position:relative;width:270px;height:155px;flex-shrink:0;margin-inline-end:20px}.market-hero-art img{position:absolute;filter:drop-shadow(0 12px 12px #61421510);object-fit:contain}.hero-note{left:42px;top:0;transform:rotate(8deg)}.hero-bar{left:0;top:52px;transform:rotate(-7deg)}.hero-coin{right:0;bottom:0;transform:rotate(13deg)}.market-spotlights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0 0 30px;padding:4px 0 10px}.market-tile{display:block;position:relative;border:1px solid var(--border);border-radius:23px;overflow:hidden;color:var(--ink);transition:border-color .2s,box-shadow .2s;background:var(--surface)}.market-tile:hover{color:var(--ink);border-color:color-mix(in srgb,var(--tile-accent) 40%,var(--border));box-shadow:0 8px 26px color-mix(in srgb,var(--tile-accent) 8%,transparent)}.market-gold{--tile-accent:#b17b1f;--tile-tint:#faf2df;--tile-dark:#352a18}.market-forex{--tile-accent:#25856a;--tile-tint:#e8f4ed;--tile-dark:#182e26}.market-crypto{--tile-accent:#7765c5;--tile-tint:#efecfa;--tile-dark:#292238}.market-feature{padding:22px;background:var(--tile-tint);border-color:color-mix(in srgb,var(--tile-accent) 14%,var(--border));min-height:226px}.market-feature:before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at top left,#ffffffb8,transparent 65%);pointer-events:none}.market-tile-heading{display:flex;align-items:center;gap:12px;position:relative;min-width:0}.market-tile-heading>div{min-width:0}.market-asset{width:78px;height:59px;object-fit:contain;flex-shrink:0;filter:drop-shadow(0 5px 5px #3f35200c)}.market-tile h3{font-size:14px;font-weight:700;margin:1px 0 0;line-height:1.8;overflow-wrap:anywhere;text-wrap:initial}.asset-code{font-size:10px;letter-spacing:.8px;color:var(--muted);font-family:Vazir,Tahoma,sans-serif}.market-feature .market-asset{width:95px;height:71px}.market-price{display:flex;align-items:baseline;gap:8px;position:relative;margin:17px 0 13px;flex-wrap:wrap}.market-price strong{font-size:28px;line-height:1.5;font-weight:700;letter-spacing:-1px;font-variant-numeric:tabular-nums;unicode-bidi:isolate}.market-price>span{font-size:11px;color:var(--muted);white-space:nowrap}.market-tile-bottom{display:flex;align-items:center;gap:8px;min-height:28px;position:relative}.market-tile-bottom>small{font-size:10px;color:var(--muted)}.market-trend{display:inline-flex;gap:5px;align-items:center;padding:3px 8px;border-radius:8px;font-size:11px;font-weight:700;direction:ltr;white-space:nowrap}.market-trend b{font-weight:700}.trend-up{background:#17835411;color:#16724f}.trend-down{background:#d2395010;color:#bd3047}.trend-flat{background:#6d72800c;color:var(--muted)}.market-time{display:flex;align-items:center;gap:5px;font-size:9px;color:var(--muted);margin-top:14px;flex-wrap:wrap;position:relative}.fresh-dot{width:4px;height:4px;background:#28a275;display:inline-block;border-radius:50%;flex-shrink:0}.fresh-dot.is-stale{background:#bd8328}.stale-label{color:#916017;background:#b47d2012;font-size:10px;padding:2px 6px;border-radius:5px}.market-board{margin-bottom:27px}.market-board-top{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:16px}.market-board-top h2{font-size:21px;margin:0}.market-search{display:flex;align-items:center;gap:8px;border:1px solid var(--border);border-radius:14px;background:var(--surface);padding:0 12px;color:var(--muted);width:310px}.market-search input{border:0;min-height:44px;width:100%;min-width:0;font-size:12px;background:transparent;padding:7px 0;color:var(--ink)}.market-search:focus-within{border-color:var(--accent)}.market-tabs{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:19px}.market-tabs a{display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:8px 15px;font-size:12px;background:var(--surface);border-radius:13px}.market-tabs a.active{background:var(--ink);color:var(--surface);border-color:var(--ink)}.market-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.market-standard{padding:18px}.market-standard .market-price strong{font-size:25px}.market-standard .market-tile-heading{gap:5px}.market-standard .market-tile-heading>div{flex:1}.market-standard .market-asset{width:65px;height:49px}.market-standard h3{font-size:13px}.market-standard:after{content:'';position:absolute;inset:0 auto 0 0;width:3px;background:var(--tile-accent);opacity:.55}.market-notice{display:flex;align-items:center;gap:12px;background:var(--surface);border:1px solid var(--border);border-radius:15px;padding:14px 18px;margin-bottom:16px;font-size:12px;color:var(--muted)}.market-notice p{margin:0;line-height:2}.market-no-results{text-align:center;padding:30px;font-size:13px;color:var(--muted)}.market-converter{padding:24px;border-radius:24px;margin-top:30px;background:linear-gradient(120deg,color-mix(in srgb,var(--accent-soft) 45%,var(--surface)),var(--surface))}.converter-heading{display:flex;gap:13px;align-items:center;margin-bottom:22px}.converter-symbol{display:grid;place-items:center;width:49px;height:49px;background:var(--surface);border:1px solid var(--border);border-radius:16px;color:var(--accent-ink)}.converter-heading h2{font-size:20px;margin:0 0 3px}.converter-heading p{font-size:11px;color:var(--muted);margin:0}.market-converter .inline-form{margin:0}.market-converter label{flex:1.2;min-width:160px}.market-converter label:nth-child(2){flex:1;min-width:120px}.market-footnote{padding:0 5px}.market-detail-head{display:flex;align-items:center;gap:20px;margin:12px 0 26px}.market-detail-head img{width:135px;height:102px;object-fit:contain}.market-detail-head h1{font-size:30px;margin:3px 0 5px}.market-detail-head p{font-size:12px;color:var(--muted);margin:0}.market-back{display:inline-flex;gap:7px;align-items:center;font-size:12px;color:var(--muted);min-height:44px}.market-back svg{transform:rotate(180deg)}.market-detail-price .market-price strong{font-size:40px}.market-detail-price .market-price{margin-top:0}.market-buy-sell{display:flex;gap:40px;margin-top:25px;padding-top:20px;border-top:1px solid var(--border)}.market-buy-sell>div{display:flex;gap:7px;align-items:baseline;flex-wrap:wrap;flex:1}.market-buy-sell small{width:100%;font-size:11px;color:var(--muted);margin-bottom:5px}.market-buy-sell strong{font-size:22px;letter-spacing:-.5px}.market-buy-sell span{font-size:10px;color:var(--muted)}.market-page .history-table{font-variant-numeric:tabular-nums}.market-page .market-chart polyline{stroke:#2a9d7a}.market-page .tool-card{box-shadow:none}
[data-theme=dark] .market-feature{background:var(--tile-dark)}[data-theme=dark] .market-feature:before{opacity:.035}[data-theme=dark] .market-gold{--tile-accent:#e7bd69}[data-theme=dark] .market-forex{--tile-accent:#78cfa9}[data-theme=dark] .market-crypto{--tile-accent:#bcaff0}[data-theme=dark] .trend-up{background:#45c59b18;color:#7cdeb8}[data-theme=dark] .trend-down{background:#f0738618;color:#ffa5b2}[data-theme=dark] .stale-label{color:#ecc27a}[data-theme=dark] .market-tabs a.active{background:var(--accent-soft);color:var(--accent-ink);border-color:var(--accent-soft)}
@media(max-width:900px){.market-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.market-feature{padding:18px}.market-feature .market-asset{width:72px;height:54px}.market-price strong{font-size:24px}.market-feature h3{font-size:13px}.market-spotlights{gap:10px}.market-tile-heading{gap:5px}}
@media(max-width:600px){.market-page{padding-top:16px}.market-hero{min-height:142px;padding-bottom:20px;gap:10px}.market-hero h1{font-size:32px;margin-top:4px}.market-hero p{font-size:11px;line-height:1.9;max-width:180px;margin-bottom:7px}.market-caption{font-size:10px}.market-source-label{font-size:8px;gap:5px}.market-hero-art{width:126px;height:120px;margin:0}.hero-note{width:117px;height:88px;left:8px;top:3px}.hero-bar{width:100px;height:75px;left:-3px;top:45px}.hero-coin{width:77px;height:58px;right:-3px;bottom:0}.market-spotlights{display:grid;grid-auto-flow:column;grid-auto-columns:min(76vw,285px);grid-template-columns:none;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;padding:2px 0 12px;margin-bottom:22px;gap:12px}.market-feature{scroll-snap-align:start;min-height:214px;padding:18px}.market-feature .market-asset{width:88px;height:66px}.market-feature .market-price strong{font-size:29px}.market-feature h3{font-size:14px}.market-board-top{flex-direction:column;align-items:stretch;gap:14px}.market-board-top h2{font-size:20px}.market-search{width:100%}.market-tabs{flex-wrap:nowrap;gap:6px;overflow-x:auto;padding-bottom:4px;margin-bottom:12px}.market-tabs a{flex:1;white-space:nowrap;justify-content:center;padding-inline:11px;font-size:11px;min-height:42px}.market-tabs a svg{width:15px}.market-grid{gap:10px}.market-standard{padding:13px;border-radius:18px}.market-standard .market-tile-heading{display:flex;align-items:start;gap:4px;flex-direction:column}.market-standard .market-asset{width:66px;height:49px;margin-bottom:2px}.market-standard h3{font-size:11px;min-height:36px;display:flex;align-items:center}.market-standard .asset-code{font-size:8px}.market-standard .market-price{gap:4px;margin:10px 0 9px}.market-standard .market-price strong{font-size:21px;letter-spacing:-.8px;max-width:100%;overflow-wrap:anywhere}.market-price>span{font-size:9px}.market-standard .market-tile-bottom{gap:5px;flex-wrap:wrap;min-height:27px}.market-standard .market-tile-bottom>small{font-size:8px}.market-standard .market-trend{font-size:10px;padding:2px 5px}.market-standard .market-time{font-size:8px;line-height:1.9;gap:3px;margin-top:10px}.market-standard .market-time .stale-label{font-size:8px}.market-standard .market-time .fresh-dot{display:none}.market-converter{padding:18px;margin-top:22px}.converter-heading h2{font-size:18px}.market-converter .inline-form{display:grid;grid-template-columns:1fr 1fr;gap:12px}.market-converter label{min-width:0!important;font-size:11px}.market-converter label:first-child{grid-column:1/-1}.market-converter input,.market-converter select{width:100%;font-size:14px;min-width:0}.market-converter .button{grid-column:1/-1}.market-detail-head{gap:10px;margin-bottom:20px}.market-detail-head img{width:95px;height:72px}.market-detail-head h1{font-size:22px;line-height:1.8}.market-detail-price .market-price strong{font-size:32px}.market-buy-sell{gap:15px}.market-buy-sell strong{font-size:19px}.market-buy-sell small{font-size:10px}.market-notice{padding:12px;font-size:11px}.market-source-label{white-space:normal}.market-tile:active{border-color:var(--tile-accent)}}
@media(max-width:359px){.market-standard{padding:11px}.market-standard .market-price strong{font-size:18px}.market-standard .market-tile-bottom>small{font-size:7px}.market-hero-art{width:104px}.market-hero h1{font-size:29px}.hero-note{width:102px;left:0}.hero-bar{width:88px}.hero-coin{width:66px}.market-tabs a{padding-inline:9px}.market-tabs a svg{display:none}}
@media(prefers-reduced-motion:reduce){.market-tile{transition:none}.market-spotlights{scroll-behavior:auto}}

@media(max-width:600px){.market-standard .market-price strong{font-size:clamp(15px,4.3vw,18px);white-space:nowrap;overflow-wrap:normal;letter-spacing:-.65px}.market-standard .market-price{align-items:baseline;gap:4px}.market-standard .market-price>span{font-size:8px}}
