.mobile-market-hero{margin:-8px -8px 0;color:#fff}.mobile-market-hero>div{background:#04100b;overflow:hidden;box-shadow:0 18px 40px #0005}.mobile-market-hero>div>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 16px 0}.mobile-market-hero>div>div:first-child>span{font-size:10px;letter-spacing:.04em}.mobile-market-hero>div>div:first-child>div{display:flex;gap:5px}.mobile-market-hero button{font:inherit;cursor:pointer}.mobile-market-hero>div>div:first-child button{min-height:40px;border:1px solid #ffffff40;border-radius:9px;padding:5px 10px;color:#fff;background:#ffffff08;font-size:11px;font-weight:700}.mobile-market-hero button[aria-pressed=true]{border-color:#34d399!important;background:#34d39930!important}.mobile-market-hero>div>div:nth-child(2){padding:14px 16px}.mobile-market-hero h2{font-size:21px;font-weight:800;line-height:1.3;margin:0}.mobile-market-hero p{font-size:14px;line-height:1.6;color:#cbd5e1;margin:5px 0 0}.mobile-market-hero [role=status]{min-height:250px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;padding:24px;border-top:1px solid #fbbf2433;background:linear-gradient(#fbbf2415,transparent);text-align:center}.mobile-market-hero [role=status]>span{font-size:38px;color:#fbbf24}.mobile-market-hero [role=status] p{max-width:290px}.mobile-market-hero [role=status] button{min-height:46px;padding:12px 20px;border-radius:12px;border:0;background:#34d399;color:#052e24;font-weight:800}.mobile-market-hero>div>button{display:block;width:100%;padding:0;border:0;background:transparent}.mobile-market-hero>div>p{padding:12px 16px;color:#fde68a;font-size:12px}.mobile-market-hero button:focus-visible{outline:3px solid #6ee7b7;outline-offset:2px}@media(min-width:768px){.mobile-market-hero{display:none}}

/* Restore the decorative bull beside the mobile market heading. */
@media(max-width:767px){
 .mobile-market-hero>div>div:nth-child(2){position:relative;min-height:108px;padding-right:124px;isolation:isolate}
 .mobile-market-hero>div>div:nth-child(2)::after{content:"";position:absolute;right:4px;top:0;bottom:0;width:116px;background:url('/mobile-signal-bull-320.webp') right center/contain no-repeat;pointer-events:none;z-index:-1;filter:drop-shadow(0 0 12px #22c55e45)}
}

/* Match the whole market heading to the displayed signal direction. */
.mobile-market-hero[data-market-side=long]>div{background:radial-gradient(ellipse at 85% 3%,#178856 0,transparent 60%),#06452f}
.mobile-market-hero[data-market-side=short]>div{background:radial-gradient(ellipse at 85% 3%,#bd3046 0,transparent 60%),#681627}
.mobile-market-hero[data-market-side=short]>div>div:first-child>span{color:#ffe0e5}
.mobile-market-hero[data-market-side=short]>div>div:first-child button[aria-pressed=true]{border-color:#fda4af!important;background:#fb718544!important}
.mobile-market-hero[data-market-side=short]>div>div:nth-child(2)::after{filter:hue-rotate(245deg) saturate(.85) drop-shadow(0 0 12px #fb718566)}
.mobile-market-hero[data-market-side=neutral]>div,.mobile-market-hero[data-market-side=closed]>div{background:#172033}
.mobile-market-hero[data-market-side=neutral]>div>div:nth-child(2)::after,.mobile-market-hero[data-market-side=closed]>div>div:nth-child(2)::after{opacity:.45;filter:grayscale(1)}

/* Compact mobile heading: raised artwork and decorative market-chart backdrop. */
@media(max-width:767px){
 .mobile-market-hero>div>div:first-child{position:relative;z-index:2;padding-top:8px}
 .mobile-market-hero>div>div:first-child button{min-height:44px;background:#071b20b3;backdrop-filter:blur(8px)}
 .mobile-market-hero>div>div:nth-child(2){min-height:0;padding:0 116px 12px 16px}
 .mobile-market-hero h2{font-size:clamp(18px,5.4vw,21px);line-height:1.3}
 .mobile-market-hero>div>div:nth-child(2)>p{margin-top:2px;font-size:12px;line-height:20px}

 .mobile-market-hero[data-market-side=long]{--ptc-market-banner:url('/market-buy-bull-20261105.png');--ptc-market-banner-position:60% center}
 .mobile-market-hero[data-market-side=short]{--ptc-market-banner:url('/market-sell-bear-20261105.png');--ptc-market-banner-position:85% center}
 .mobile-market-hero>div>div:nth-child(2)::before{content:"";position:absolute;inset:-52px 0 0;z-index:-2;pointer-events:none;background-image:var(--ptc-market-banner,none);background-position:var(--ptc-market-banner-position,center);background-size:cover;background-repeat:no-repeat}
 .mobile-market-hero>div>div:nth-child(2)::after{display:none}
 .mobile-market-hero h2,.mobile-market-hero>div>div:first-child>span,.mobile-market-hero>div>div:nth-child(2)>p{text-shadow:0 1px 6px #000}
 .mobile-market-hero[data-market-side=closed],.mobile-market-hero[data-market-side=neutral]{--ptc-market-banner:none}
}
