/* Forecast card layout and touch-safe navigation. */
.site-header,.site-header[data-header-hidden=true]{transform:none;will-change:auto;transition:top .18s ease;bottom:auto}
.site-header{top:0}.site-header[data-header-hidden=true]{top:calc(-1 * var(--nav-height,85px) - 8px);pointer-events:none}
.site-header:has(:focus-visible){top:0;transform:none;pointer-events:auto}
.site-header .mobile-nav[hidden]{display:none!important}.site-header .mobile-nav{touch-action:pan-y;pointer-events:auto}
body{padding-top:calc(var(--nav-height,85px) + 6px)}
.intro-section{scroll-margin-top:calc(var(--nav-height,85px) + 12px)}
#todayForecast.forecast-spotlight{animation:forecast-frame-glow 1.6s ease both;transform:none}
#todayForecast.forecast-spotlight .direction{animation:forecast-badge-glow 1.6s ease both;transform:none}
@keyframes forecast-frame-glow{0%,100%{box-shadow:0 0 0 1px #c9a65230}35%{box-shadow:0 0 0 3px #c9a65290,0 7px 28px #c9a65222}}
@keyframes forecast-badge-glow{0%,100%{box-shadow:0 0 0 0 #c9a65200}35%{box-shadow:0 0 0 2px #c9a65285,0 0 14px #c9a65228}}
#todayForecast{padding:19px;background:#fffefb;border-color:#e5e9e1;border-radius:22px}
#todayForecast>header{border:0;padding:0;gap:10px;align-items:center}
#todayForecast>header h2{font-size:18px;line-height:1.7}
#todayForecast>header>a{display:inline-flex;align-items:center;gap:7px;background:#f4f6fa;border:1px solid #dfe4ec;border-radius:11px;padding:8px 10px;white-space:nowrap;font-size:10px;color:#17324d}
.market-link-chevron{font:18px/1 Arial,sans-serif;direction:ltr}
#todayForecast .hero-summary-description{font-size:10px;line-height:1.9;margin:7px 0 15px;color:#8b96a4}
#heroForecastSummary{display:grid;gap:10px}
#todayForecast .hero-summary-row{display:grid;grid-template-columns:30px minmax(70px,1fr) minmax(100px,1.5fr) minmax(94px,1fr);grid-template-rows:auto auto;gap:5px 8px;padding:15px 12px;border:1px solid #e9ece7;border-radius:16px;background:#fff;box-shadow:0 4px 13px #17324d04;min-height:95px}
#todayForecast .hero-summary-row>.asset-icon{grid-column:1;grid-row:1/3;align-self:center;width:30px;height:30px}
#todayForecast .hero-summary-name{grid-column:2;grid-row:1/3;align-self:center}
#todayForecast .hero-summary-name strong{font-size:11px;line-height:1.8}#todayForecast .hero-summary-name small{font-size:9px;color:#8c98a8}
#todayForecast .hero-summary-price{grid-column:4;grid-row:1;font-size:17px;justify-self:stretch;align-self:end;justify-content:center;letter-spacing:-.3px}
#todayForecast .hero-summary-price small{font-size:9px}
#todayForecast .hero-summary-spark{grid-column:3;grid-row:1/3;align-self:center;height:54px;min-width:0;width:100%;padding-inline:8px;border-inline:1px solid #f1f2ee}
#todayForecast .weekly-price-chart{height:54px;width:100%}
#todayForecast .direction{grid-column:4;grid-row:2;display:flex;flex-direction:row;justify-content:center;align-items:center;gap:6px;align-self:start;justify-self:stretch;min-height:28px;padding:4px 8px;border-radius:9px}
#todayForecast .direction svg{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round}
#todayForecast .direction b{font-size:12px}
.weekly-price-chart .spark-area{display:block;stroke:none;pointer-events:none;opacity:1}
.hero-summary-row[data-prediction=up] .weekly-price-chart,.market-weekly[data-prediction=up] .weekly-price-chart{color:#4d9572}
.hero-summary-row[data-prediction=down] .weekly-price-chart,.market-weekly[data-prediction=down] .weekly-price-chart{color:#b74f51}
#newsReader::backdrop{position:fixed;inset:-100vmax;width:auto;height:auto}
.news-swipe-hint{position:absolute;z-index:9;left:50%;top:50%;transform:translate(-50%,-50%);width:220px;max-width:85%;padding:20px 15px;background:#071b30ed;color:#fff;border:1px solid #d9b75770;border-radius:18px;box-shadow:0 15px 40px #04132630;text-align:center;pointer-events:none}
.news-swipe-hint[hidden]{display:none!important}.news-swipe-hint p{font:500 12px/1.9 Vazirmatn,sans-serif;margin:10px 0 0}
.swipe-hand{display:flex;align-items:center;justify-content:center;gap:26px;color:#e7c879}
.swipe-hand>span{font:30px/1 Arial}.swipe-hand svg{width:40px;height:45px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;animation:hand-swipe 1.5s ease-in-out 2}
@keyframes hand-swipe{0%,100%{transform:translateX(0) rotate(0)}25%{transform:translateX(-16px) rotate(-8deg)}75%{transform:translateX(16px) rotate(8deg)}}
.footer-trust{display:flex;justify-content:flex-start;padding-block:6px 22px}.enamad-seal{display:grid;place-items:center;min-width:110px;min-height:120px;background:#fffdf6;border:1px solid #dfc98955;border-radius:14px;padding:8px}.enamad-seal img{display:block;width:100px;height:auto;max-height:130px;object-fit:contain}
@media(max-width:1100px) and (min-width:761px){#todayForecast .hero-summary-row{grid-template-columns:26px minmax(65px,1fr) minmax(55px,.85fr) 88px;gap:4px 5px;padding:13px 8px}#todayForecast .hero-summary-price{font-size:14px}#todayForecast .hero-summary-name strong{font-size:10px}}
@media(max-width:760px){
 body{padding-top:calc(var(--nav-height,74px) + 8px)}
 #newsReader{padding:12px 10px;padding-top:max(12px,env(safe-area-inset-top));padding-bottom:max(12px,env(safe-area-inset-bottom))}
 #newsReader .reader-sheet{height:100%;max-height:none}
 #todayForecast{padding:13px;border-radius:18px}
 #todayForecast>header h2{font-size:14px}#todayForecast>header>a{padding:7px 8px;font-size:9px;gap:5px}
 #todayForecast .hero-summary-description{font-size:9px;margin-bottom:13px}
 #todayForecast .hero-summary-row{grid-template-columns:minmax(93px,1fr) minmax(85px,1.15fr) 32px;grid-template-rows:auto auto 44px;gap:4px 6px;padding:13px 11px;min-height:145px;direction:ltr}
 #todayForecast .hero-summary-row>.asset-icon{grid-column:3;grid-row:1/3;align-self:start;width:32px;height:32px}
 #todayForecast .hero-summary-name{grid-column:2;grid-row:1/3;direction:rtl;text-align:right;align-self:start;padding-top:2px}
 #todayForecast .hero-summary-name strong{font-size:11px}#todayForecast .hero-summary-name small{font-size:9px}
 #todayForecast .direction{grid-column:1;grid-row:1;justify-self:start;align-self:start;min-width:83px;min-height:27px;padding:4px 9px;flex-direction:row-reverse}
 #todayForecast .direction b{font-size:12px}
 #todayForecast .hero-summary-price{grid-column:1/3;grid-row:2;justify-self:start;justify-content:flex-start;align-self:end;font-size:22px;gap:3px;margin-top:4px;z-index:1}
 #todayForecast .hero-summary-price small{font-size:9px}
 #todayForecast .hero-summary-spark{grid-column:1/-1;grid-row:3;border:0;padding:0;height:44px;margin-top:2px}
 #todayForecast .weekly-price-chart{height:44px}
 #markets .native-price{direction:ltr;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:center;align-items:baseline;gap:3px;min-height:35px;white-space:nowrap}
 #markets .native-price strong{font-size:clamp(18px,16cqw,28px);letter-spacing:-.7px;flex:0 1 auto;min-width:0}
 #markets .native-price .native-unit,#markets .native-price .native-currency{font-size:10px;line-height:1;flex:none}
}
@media(max-width:360px){#todayForecast>header h2{font-size:12px}#todayForecast>header>a{font-size:8px;padding:6px}#todayForecast .hero-summary-row{padding:11px 9px;grid-template-columns:minmax(80px,1fr) minmax(73px,1fr) 28px;gap:4px}#todayForecast .hero-summary-name strong{font-size:10px}#todayForecast .hero-summary-name small{font-size:8px}#todayForecast .hero-summary-row>.asset-icon{width:28px;height:28px}#todayForecast .hero-summary-price{font-size:20px}#markets .native-price strong{font-size:clamp(17px,16cqw,24px)}#markets .native-price .native-unit{font-size:8px}}
@media(prefers-reduced-motion:reduce){.site-header{transition:none}.swipe-hand svg,#todayForecast.forecast-spotlight,#todayForecast.forecast-spotlight .direction{animation:none}}
/* Replace the older animated/collapsed menu rules, including their tablet breakpoint. */
.site-header .mobile-nav{transform:none;transition:none;opacity:1;visibility:visible;max-height:calc(80dvh / var(--site-scale));overflow:auto}
@media(max-width:1100px){.site-header .mobile-nav.open:not([hidden]){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 12px;padding-block:12px!important}}

#markets .native-price .native-currency{order:0}#markets .native-price strong{order:1}#markets .native-price .native-unit{order:2}
