/* Readable 110% site scale, transparent weekly lines, one-time record entrance, compact news. */
:root{--site-scale:1.1;zoom:var(--site-scale)}
body{min-width:0}
.container{max-width:calc(100% - 36px)}
.weekly-price-chart,.hero-summary-spark,.weekly-spark{background:transparent!important;box-shadow:none!important;border:0!important}
.weekly-price-chart .spark-area{display:none}
.weekly-price-chart .spark-line{stroke-width:1.6;vector-effect:non-scaling-stroke;stroke-linecap:round;stroke-linejoin:round;fill:none}
.market-weekly{padding-top:9px;margin-top:4px;border-top:0}
.weekly-spark{margin:8px 0 7px}
.market-week-range{font-size:9px}.market-week-range small{font-size:9px}
.hero-summary-spark{width:98px;display:block}
.hero-summary-row{grid-template-columns:29px minmax(70px,1fr) minmax(80px,1fr) 49px 98px;gap:7px}
.hero-summary-spark .weekly-price-chart{min-height:35px}
.record-dashboard{margin-top:19px}
.record-metrics-v20 .record-correct{background:linear-gradient(145deg,#e1f5e9,#f0faf2);border:1px solid #92c8a8}
.record-metrics-v20 .record-correct strong{color:#25845a;font-size:32px}
.record-metrics-v20 .record-correct>span{color:#287450;font-weight:700}
.record-metrics-v20 .record-wrong{background:#fcf3f1}
.record-metrics-v20 strong,.record-donut-v20 strong,.record-market strong{font-variant-numeric:tabular-nums}
#track-record .record-donut-v20{background:conic-gradient(from -90deg,#36a574 calc(var(--accuracy)*1%),#e6eeea 0)}
.daily-outcome-grid #dailyAccuracyBars{background:none;gap:5px}
.daily-outcome-grid .daily-market-cell{border-radius:4px;animation:none!important;transform:none}
.daily-outcome-grid .daily-market-cell[data-outcome=correct]{background:#39a575;border-color:#359b6d;box-shadow:inset 0 1px 0 #ffffff26}
.daily-outcome-grid .daily-market-cell[data-outcome=wrong]{background:#c97773;border-color:#be6f6c}
.daily-outcome-legend i{background:#39a575}
.record-grid-awaiting .daily-market-cell:is([data-outcome=correct],[data-outcome=wrong]){opacity:0}
.daily-outcome-grid .daily-axis{font-size:10px;width:45px;padding-bottom:30px}
.daily-accuracy #dailyAccuracyNote{background:none;color:#7c909e;font-size:10px;padding:0;margin-top:8px}
.daily-outcome-legend{font-size:11px}
#newsReader{height:calc(100dvh / var(--site-scale));padding:18px}
#newsReader .reader-sheet{height:min(calc(94dvh / var(--site-scale)),960px);grid-template-rows:56px minmax(0,1fr) 56px 38px}
#newsReader .reader-toolbar{min-height:56px;gap:12px}
#newsReader .reader-close{margin-inline-start:0}
#newsReader .reader-jump-end{margin-inline-start:auto;border:1px solid #d4dfe5;border-radius:11px;background:#f6f8f9;color:#234961;display:inline-flex;align-items:center;gap:6px;padding:7px 10px;min-height:36px;cursor:pointer;font:500 11px/1.5 Vazirmatn,sans-serif}
.reader-jump-end svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
#newsReader .reader-jump-end:hover{background:#eaf0f3}
#newsReader .reader-scroll{padding-top:15px}
#newsReader .reader-scroll h1{font-size:23px;line-height:1.7;margin:7px 0}
#newsReader .reader-figure{margin:12px 0 16px;display:flex;flex-direction:column;align-items:center;background:transparent;border:0}
#newsReader .reader-image{display:block;flex:none;width:auto;height:auto;max-width:100%;max-height:min(24dvh,210px);aspect-ratio:auto;object-fit:contain;background:transparent;border-radius:12px}
#newsReader .reader-figure figcaption{align-self:center;font-size:9px;margin-top:5px}
#newsReader .reader-summary{font-size:13px;line-height:1.9;margin:8px 0}
#newsReader .reader-navigation{min-height:56px;padding-block:8px}
#newsReader .reader-next-preview{height:38px;min-height:38px;padding-block:6px}
.news-thumb{background:transparent}
.news-thumb .news-cover{object-fit:contain;background:transparent}
.allocation-list .asset-0,.allocation-bar .asset-0{background:#5a8d7b}
.allocation-list .asset-1,.allocation-bar .asset-1{background:#26a17b}
.allocation-list .asset-2,.allocation-bar .asset-2{background:#637d9a}
.allocation-list .asset-3,.allocation-bar .asset-3{background:#c9a652}
.allocation-list .asset-4,.allocation-bar .asset-4{background:#8a75a8}
.allocation-list .asset-5,.allocation-bar .asset-5{background:#ce855a}
@media (min-width:851px) and (max-width:1250px){
 .intro-grid{grid-template-columns:1fr;gap:22px}.intro-copy{grid-row:1}.hero-summary-v20{width:100%;max-width:650px;margin-inline:auto}.hero-facts{max-width:550px;margin-inline:auto}
 .hero-summary-row{grid-template-columns:30px minmax(75px,1fr) minmax(90px,1fr) 55px 98px}
}
@media(max-width:760px){
 :root{--container:calc(100% - 28px)}
 .container{max-width:calc(100% - 28px)}
 .hero-summary-row{grid-template-columns:28px minmax(58px,1fr) minmax(69px,1fr) 48px;gap:5px;min-height:90px;padding-block:9px}
 .hero-summary-row .hero-summary-spark{grid-column:1/-1;grid-row:2;width:100%;height:43px;display:block}
 .hero-summary-spark .weekly-price-chart{width:100%;height:43px;min-height:0}
 .hero-summary-price{font-size:12px}.hero-summary-name strong{font-size:11px}
 .record-metrics-v20{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .record-metrics-v20 span{font-size:11px}.record-metrics-v20 strong{font-size:26px}
 .record-metrics-v20 .record-correct strong{font-size:30px}
 .daily-outcome-grid #dailyAccuracyBars{min-width:520px;gap:4px}
 .daily-outcome-grid .daily-axis{width:35px;font-size:9px}
 #newsReader{padding:0}
 #newsReader .reader-sheet{height:100%;width:100%;grid-template-rows:54px minmax(0,1fr) 52px 36px}
 #newsReader .reader-toolbar{min-height:54px;padding:8px 12px;gap:8px}
 #newsReader .reader-scroll{padding:12px 16px 22px}
 #newsReader .reader-scroll h1{font-size:18px;line-height:1.8}
 #newsReader .reader-image{max-height:min(21dvh,165px);border-radius:10px}
 #newsReader .reader-summary{font-size:12px;line-height:1.85}
 #newsReader .reader-figure{margin:10px 0 12px}
 #newsReader .reader-jump-end{font-size:10px;gap:4px;padding:6px 8px}
 #newsReader .reader-toolbar .brand-word{font-size:22px}
 #newsReader .reader-navigation{min-height:52px}
 #newsReader .reader-next-preview{height:36px;min-height:36px}
}
@media(prefers-reduced-motion:reduce){.record-grid-awaiting .daily-market-cell{opacity:1}}
/* Keep viewport-filling tools inside the enlarged page. */
body{min-height:calc(100dvh / var(--site-scale))}
.image-viewer{height:min(calc(94dvh / var(--site-scale)),1100px);max-height:calc(94dvh / var(--site-scale))}
.tv-card:fullscreen,.tv-card.chart-expanded{height:calc(100dvh / var(--site-scale))}
#marketChartCard:fullscreen .local-chart,#marketChartCard.chart-expanded .local-chart{height:calc(100dvh / var(--site-scale) - 210px)}
/* Larger live prices, with units on a separate line on compact cards. */
#markets .native-market-card{container-type:inline-size}
#markets .native-price strong{font-size:36px;line-height:1.28;font-weight:750;letter-spacing:-.7px}
#markets .native-quote{gap:8px;padding-block:13px 9px}
#markets .native-price{min-height:48px}
@media(max-width:760px){
 #markets .native-price{display:grid;grid-template-columns:1fr;justify-items:center;gap:1px;min-height:58px}
 #markets .native-price strong{grid-row:1;font-size:clamp(23px,21cqw,30px);line-height:1.25;letter-spacing:-.7px}
 #markets .native-price .native-currency,#markets .native-price .native-unit{grid-row:2;font-size:11px;line-height:1.4;color:#758a99}
 #markets .native-quote{padding-top:10px;gap:4px}
}
html{overflow-x:clip}
#markets .native-price strong{font-size:clamp(28px,15cqw,36px)}
@media(max-width:760px){
 #markets .native-price strong{font-size:clamp(23px,21cqw,30px)}
 #marketAnalytics .period-card{container-type:inline-size;padding:12px}
 #marketAnalytics .stat-main{font-size:clamp(16px,21cqw,26px);letter-spacing:-.4px;white-space:nowrap}
}
