/* Zmarket: shared visual system. Layout only; account and trading logic stay intact. */
:root{--bg:#0c1318;--panel:#131e25;--panel2:#19272f;--line:#293941;--text:#edf2f3;--muted:#a0afb6;--aqua:#65dfcd;--green:#77d9b0;--red:#ed9cae}
body{background:#0c1318!important;color:#edf2f3;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;-webkit-font-smoothing:antialiased}
button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}
h1,h2,h3{letter-spacing:-.025em}p{line-height:1.65}button:disabled{cursor:not-allowed}
:where(main,.shell,.wrap)>h1{font-weight:650;letter-spacing:-.04em}
:where(.panel,.card){border-color:#293941!important;border-radius:16px!important;background:#131e25!important;box-shadow:none!important}
:where(input,select,textarea,.field){border-color:#34464f!important;border-radius:9px!important;background:#101a21!important;color:#edf2f3!important;min-height:44px}
:where(button,.btn,.toplink,.action){border-radius:9px;line-height:1.4}
:where(.btn.primary,button.primary){background:#65dfcd!important;border-color:#65dfcd!important;color:#0b2926!important;box-shadow:none!important}
:where(button,a):focus-visible{outline:2px solid #8deedc;outline-offset:4px}
/* Main exchange */
body:has(header.top) .shell{max-width:1320px;padding-left:28px;padding-right:28px}
header.top{background:#0c1318f5!important;border-color:#293941!important;backdrop-filter:blur(16px)}
body header.top .bar{gap:16px!important;row-gap:12px!important;padding-top:18px!important;padding-bottom:14px!important}
header.top .brand{gap:10px;min-width:200px}.brand strong{letter-spacing:.16em!important;font-weight:750!important}.brand small{letter-spacing:.12em!important;font-size:8px!important}
header.top .brand img{width:42px;height:42px;clip-path:none;border-radius:0;object-fit:contain}
header.top #search{order:1;flex:1 1 200px;width:auto;max-width:320px;background:#131e25!important}
header.top .spacer{order:1}header.top #authNav,header.top #walletBtn,header.top .zmarket-language-control{order:2}
header.top #authNav{max-width:none;gap:8px}header.top #walletBtn{font-size:13px;background:transparent;border-color:#34464f;color:#c3d3d8}
header.top nav#nav{order:4!important;width:100%;gap:4px!important;border-top:1px solid #233139;padding-top:10px}
header.top nav#nav button{font-size:13px;font-weight:550;padding:9px 14px;color:#a0afb6}
header.top nav#nav button.active{background:#20312f;color:#87e8d6}
body #zm-quick-links{max-width:1320px!important;padding:12px 28px 0!important;gap:22px!important}
body #zm-quick-links a{background:transparent!important;border:0!important;border-radius:0!important;padding:6px 0!important;min-height:32px!important;color:#a0afb6!important;font-size:12px!important;font-weight:500!important}
body #zm-quick-links a:hover{background:transparent!important;color:#87e8d6!important}
#app>.hero{background:none;border:0;border-radius:0;margin:12px 0 26px;padding:34px 0 24px;gap:40px;min-height:230px;overflow:visible}
.hero h1{font-size:clamp(30px,3.5vw,48px);font-weight:650;letter-spacing:-.045em;line-height:1.12;max-width:720px;margin:12px 0 18px}
.hero p{font-size:14px;max-width:590px;color:#a0afb6;margin-bottom:24px}
.hero .eyebrow{font-size:10px;letter-spacing:.17em;color:#a0afb6}
.hero img{width:165px;height:165px;object-fit:contain;filter:none;margin-right:42px;opacity:.9}
.hero .badge{display:inline-block;background:transparent;color:#9aabae;font-size:9px;letter-spacing:.08em;margin-left:10px;padding:0}
.category-scroller{margin:0 0 24px;border-bottom:1px solid #293941;padding-bottom:0;scrollbar-width:thin}
.category-pills{gap:4px;align-items:stretch}.category-chip{background:transparent;border:0;border-bottom:2px solid transparent;border-radius:0;padding:12px 11px;color:#a0afb6;font-size:12px;min-height:44px}
.category-chip:hover,.category-chip.selected{background:transparent;border-color:#65dfcd;color:#e3f4ef}
.category-glyph{display:inline-flex;align-items:center;font-size:15px;line-height:1;flex-shrink:0}.category-number{background:#233139;color:#acbec3;font-size:9px;padding:1px 5px}
.section-title{margin:22px 0 18px}.section-title h2{font-size:20px;font-weight:600}.section-title select{font-size:12px;min-height:40px;padding:9px 32px 9px 12px}
#markets .grid{gap:16px}.market{border-color:#2a3a42;border-radius:14px;padding:20px;min-height:250px;background:#131e25;transition:border-color .16s ease,background .16s ease}
.market:hover{transform:none;border-color:#56716f;background:#16232b}.market .meta{font-size:10px;color:#92a6af;gap:8px}.market .tag{background:none;color:#a6bbb9;padding:0;font-size:10px;font-weight:600;letter-spacing:.03em}
.market h3{font-size:16px;line-height:1.5;font-weight:600;letter-spacing:-.015em;min-height:72px;margin:18px 0 20px}
.market .prob{font-size:26px;font-weight:650;letter-spacing:-.04em;color:#b9eee2}.market .barline{height:4px;margin:12px 0 16px;background:#2a3a42}.market .barline i{background:#65bcae}
.market-footer{font-size:10px;gap:12px;align-items:center}.trade-mini{gap:6px}.trade-mini button{font-size:11px;padding:9px 10px;min-height:36px;border:1px solid transparent}
.trade-mini .yes{background:#1a3931;color:#a7e4c8}.trade-mini .no{background:#382932;color:#e8b4c2}.market [data-open]{font-size:12px;font-weight:550;min-height:36px;margin-top:12px;color:#b0dcd2}
.market [data-favorite]{border-color:#34464f!important;background:transparent!important;min-width:34px;min-height:34px}
.category-directory{background:none;border:0;border-top:1px solid #293941;border-radius:0;padding:28px 0;margin-top:40px}.category-directory h2{font-size:18px}.category-tile{background:#131e25;border-color:#293941;border-radius:10px;min-height:76px}.category-tile-icon{background:transparent}.category-tile-copy strong{font-weight:550}.category-tile-copy small{color:#98adb5}
.layout{gap:24px;margin-top:32px}.detail-title{font-weight:600;letter-spacing:-.035em}.layout .panel{padding:24px}.layout .side{align-self:start}.stats .stat{background:#101a21;border-color:#293941;border-radius:10px}.stat strong{font-weight:600}
.footer{line-height:1.8}.footer strong{font-weight:550!important;color:#c8d9db!important}
#zm-support-link{background:#65dfcd!important;color:#0b2926!important;box-shadow:0 4px 16px #0005!important;font-size:13px!important;padding:12px 17px!important;font-weight:600!important;border:1px solid #8ce9d9;border-radius:99px!important}
/* Companion pages share the same material and type scale. */
body:not(:has(header.top)) header{background:#0c1318f5!important;border-color:#293941!important}
body:not(:has(header.top)) .market{background:#131e25!important;border-color:#293941!important;box-shadow:none}
body:not(:has(header.top)) main>h1{margin-bottom:14px}.intro h1{font-weight:650;letter-spacing:-.04em}
body:has(#zmarket-privy-panel) main{border-color:#293941!important}
@media(min-width:1500px){body header.top .bar{column-gap:22px!important}}
@media(max-width:1060px){header.top #search{display:block!important;max-width:none}.hero img{margin-right:10px;width:135px;height:135px}}
@media(max-width:700px){
 body:has(header.top) .shell{padding-left:16px;padding-right:16px}
 header.top{position:static!important}body header.top .bar{padding:14px 16px!important;gap:10px!important}
 header.top .brand{min-width:0;flex:1 1 130px}.brand small{display:none!important}
 header.top .brand img{width:34px;height:34px}header.top .brand strong{font-size:16px}
 header.top #authNav{margin-left:auto;flex:0 1 auto}header.top #walletBtn{font-size:11px;padding:9px 10px}
 header.top #search{order:5!important;flex:1 1 100%;width:100%;max-width:none}
 header.top .zmarket-language-control{margin-left:auto!important}header.top .zmarket-language-control select{max-width:130px!important;font-size:12px!important}
 header.top nav#nav{order:4!important;padding-top:10px;gap:2px!important}header.top nav#nav button{padding:9px 10px;font-size:12px;flex:1 1 auto}
 body #zm-quick-links{padding:8px 16px 0!important;gap:18px!important}body #zm-quick-links a{flex:0 1 auto!important;font-size:11px!important}
 #app>.hero{padding:24px 0 8px;min-height:0;margin-bottom:22px;display:block}.hero img{display:none}.hero h1{font-size:34px;max-width:19ch;line-height:1.14}.hero p{font-size:13px;max-width:48ch}.hero .badge{margin:12px 0 0;display:block}
 .category-chip{padding:12px 10px}.category-scroller{margin-bottom:20px}.section-title h2{font-size:18px}
 #markets .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.market{padding:15px;min-height:252px}.market h3{font-size:14px;min-height:84px;margin:14px 0}.market .meta{font-size:9px}.market .prob{font-size:23px}.market-footer{align-items:flex-start;gap:8px;flex-direction:column}.trade-mini{width:100%}.trade-mini button{flex:1;min-height:40px}.market [data-open]{text-align:left;width:100%;font-size:11px}
 .layout{gap:16px;margin-top:20px}.layout .panel{padding:18px}.detail-title{font-size:25px}.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.category-tile{padding:12px 8px}.category-tile-icon{width:26px;min-width:26px}.category-tile-copy strong{font-size:11px}
}
@media(max-width:390px){#markets .grid{grid-template-columns:1fr}.market{min-height:220px}.market h3{min-height:0}.market-footer{flex-direction:row;align-items:center}.trade-mini{width:auto}.hero h1{font-size:30px}}
@media(prefers-reduced-motion:reduce){.market{transition:none}}
/* News desk and weekly market outlook */
#zm-market-pulse{margin:4px 0 32px;padding:24px 0;border-top:1px solid #293941;border-bottom:1px solid #293941}
.zm-pulse-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:8px}.zm-pulse-heading h2{font-size:22px;font-weight:600;margin:0}.zm-pulse-kicker{font-size:10px;letter-spacing:.13em;text-transform:uppercase;color:#a0afb6;margin:0 0 7px}
.zm-pulse-button{background:transparent;color:#c7d9de;border:1px solid #34464f;padding:9px 12px;font-size:12px;min-height:40px;cursor:pointer}.zm-pulse-button:disabled{opacity:.4;cursor:default}
.zm-pulse-status,.zm-pulse-note{font-size:11px;color:#a0afb6;margin:8px 0 16px}.zm-pulse-note{font-size:10px;line-height:1.6}.zm-pulse-news{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:18px}.zm-news-card{padding:20px;background:#131e25;border:1px solid #293941;border-radius:12px;display:flex;flex-direction:column;min-width:0}.zm-pulse-meta{color:#87d6c6;font-size:11px;font-weight:600}.zm-news-card h3{font-size:19px;line-height:1.4;font-weight:550;margin:15px 0;overflow-wrap:anywhere}.zm-news-date{font-size:11px;color:#a0afb6;margin-top:auto}.zm-source-link{font-size:12px;color:#9de1d2;min-height:36px;display:flex;align-items:center}.zm-pulse-controls{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}
.zm-weekly{margin-top:24px;padding-top:24px;border-top:1px solid #293941}.zm-weekly h2{font-size:18px}.zm-pulse-source{font-size:10px;color:#a0afb6}.zm-forecast-strip{display:flex;gap:12px;overflow-x:auto;max-width:100%;padding:8px 0 14px;scrollbar-width:thin;scroll-snap-type:x proximity}.zm-forecast-card{flex:0 0 245px;min-width:0;scroll-snap-align:start;background:#131e25;border:1px solid #34464f;border-radius:12px;padding:15px}.zm-forecast-card summary{cursor:pointer;font-size:13px;line-height:1.5}.zm-forecast-title{display:block;min-height:58px}.zm-forecast-card strong{display:block;font-size:25px;font-weight:600;color:#9be5d1;margin-top:10px}.zm-forecast-card p{font-size:11px;color:#b7c7cc}.zm-forecast-card code{font-size:10px;overflow-wrap:anywhere}
body:has(#zm-market-pulse) #app>.hero{padding-top:24px;padding-bottom:8px;margin-bottom:12px;min-height:0}body:has(#zm-market-pulse) .hero h1{font-size:clamp(28px,2.6vw,38px)}
@media(max-width:700px){.zm-pulse-news{grid-template-columns:1fr;gap:10px}.zm-news-card{padding:17px}.zm-news-card h3{font-size:17px;margin:10px 0}.zm-pulse-heading{flex-wrap:wrap}.zm-pulse-heading h2{font-size:20px}.zm-forecast-card{flex-basis:220px}.zm-pulse-controls{justify-content:space-between}.zm-pulse-source{max-width:100%}}

.zm-forecast-condition{display:block;color:#b7c7cc;font-size:11px;margin-top:8px}

/* Picture-led editorial cards */
.zm-pulse-news{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:20px}
.zm-news-card{padding:0;overflow:hidden;border-radius:16px;background:#131e25;transition:border-color .16s ease}
.zm-news-card:hover{border-color:#59746f}.zm-news-figure{margin:0;position:relative}.zm-news-picture-link{display:block;aspect-ratio:16/9;overflow:hidden;background:#080e13}.zm-news-picture{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s ease}.zm-news-picture-link:hover .zm-news-picture{transform:scale(1.025)}
.zm-news-figure figcaption{padding:7px 14px;font-size:9px;line-height:1.5;color:#a0afb6;background:#101920;min-height:28px}.zm-news-image-credit{color:inherit;text-decoration:none}.zm-news-image-credit:hover{text-decoration:underline}
.zm-news-body{display:flex;flex-direction:column;flex:1;padding:20px 22px 16px}.zm-news-body h3{font-size:21px;font-weight:600;letter-spacing:-.025em;line-height:1.35;margin:12px 0 20px}.zm-news-body .zm-news-date{padding-top:8px}.zm-source-link{min-height:40px}
@media(max-width:700px){.zm-pulse-news{grid-template-columns:1fr;gap:16px}.zm-news-body{padding:18px}.zm-news-body h3{font-size:20px}.zm-news-picture-link{aspect-ratio:16/9}}
@media(prefers-reduced-motion:reduce){.zm-news-picture,.zm-news-card{transition:none}}

.zm-commodities{padding:20px 0;margin-bottom:20px;border-top:1px solid #293941;border-bottom:1px solid #293941;min-width:0;max-width:100%}.zm-commodities h2{font-size:18px;font-weight:600;margin:0}.zm-commodity-subtitle{font-size:11px;color:#a0afb6}.zm-commodities .tradingview-widget-container{width:100%;min-height:76px;overflow:hidden}.zm-commodities iframe{max-width:100%;border:0}.tradingview-widget-copyright,.zm-commodity-note,.zm-commodity-fallback{font-size:10px;color:#a0afb6;line-height:1.6}.zm-commodity-note{margin:10px 0 4px}.zm-commodity-fallback{color:#94d5c7;display:inline-block;min-height:30px}#zm-market-pulse .zm-forecast-card .zm-source-link{white-space:normal}
/* Market-first discovery: clear navigation and progressive browsing. */
body #zm-quick-links{display:none!important}
header.top nav#nav{align-items:center;position:relative}
.zm-watch-nav,.zm-more>summary{display:inline-flex!important;align-items:center;padding:9px 14px!important;min-height:40px;font-size:13px;font-weight:550;color:#b6c8ce;border-radius:9px;cursor:pointer;background:transparent!important;border:0!important;text-decoration:none!important}
.zm-watch-nav:hover,.zm-more>summary:hover{background:#20312f!important;color:#9de5d2}.zm-more>summary::after{content:'⌄';margin-left:8px}.zm-more>summary::-webkit-details-marker{display:none}
.zm-more{position:relative}.zm-more[open]>summary,.zm-more:has(.active)>summary{background:#20312f!important;color:#9de5d2}
.zm-more>div{position:absolute;z-index:40;top:calc(100% + 8px);left:0;display:flex;flex-direction:column;align-items:stretch;min-width:230px;max-width:calc(100vw - 32px);padding:8px;background:#16232b;border:1px solid #3a5058;border-radius:12px;box-shadow:0 12px 30px #0006}
header.top .zm-more>div button,.zm-more>div a{display:block!important;text-align:left;font-size:13px;padding:12px!important;min-height:44px;white-space:normal;color:#c2d5da}.zm-more>div a:hover{background:#20312f;border-radius:8px}
#app>.hero.zm-discovery-intro{padding:22px 0 14px!important;margin:10px 0 14px!important;min-height:0!important;gap:18px}.zm-discovery-intro h1{font-size:clamp(27px,2.7vw,38px)!important;margin:10px 0 12px}.zm-discovery-intro p{max-width:650px;margin-bottom:16px}.zm-discovery-intro img{width:92px;height:92px;margin-right:24px}.zm-news-jump{margin-left:10px;background:transparent;font-weight:500;color:#b9d4cf}
.zm-how{font-size:12px;margin-top:15px;max-width:690px}.zm-how summary{color:#a6c7c3;cursor:pointer;min-height:32px;padding:5px 0}.zm-how p{font-size:12px;color:#b6c8ce;margin:8px 0}.zm-how[open]{padding:12px 16px;background:#131e25;border:1px solid #293941;border-radius:12px}
.zm-load-more{display:flex;justify-content:center;align-items:center;gap:20px;flex-wrap:wrap;margin:26px 0 14px}.zm-load-more span{font-size:12px;color:#a0afb6}.zm-load-more button{min-height:44px;padding:11px 22px}
#zm-market-pulse,#zm-commodities{scroll-margin-top:var(--zm-header-offset,16px)}
.zm-commodities{padding:13px 0;margin:0 0 18px}.zm-commodities .zm-pulse-heading{margin-bottom:0}.zm-commodities .tradingview-widget-container{min-height:65px}
@media(max-width:700px){.zm-discovery-intro img{display:none}.zm-watch-nav,.zm-more>summary{font-size:12px;padding:9px 10px!important}.zm-more>div{left:auto;right:0;min-width:220px}#app>.hero.zm-discovery-intro{padding-top:18px!important}.zm-news-jump{margin-left:6px;margin-top:6px}.zm-discovery-intro .badge{display:inline!important;margin:0 0 0 8px!important}.zm-load-more{gap:12px}.zm-how[open]{padding:10px 12px}}

/* Regional catalogue selector uses the same grid and materials as the market board. */
.zm-region-selector{box-sizing:border-box;max-width:1320px;margin:0 auto;padding:16px 28px 0}
.zm-region-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px 24px;padding:14px 16px;background:#131e25;border:1px solid #293941;border-radius:12px}
.zm-region-copy{min-width:0;line-height:1.5}.zm-region-copy strong{display:block;font-size:12px;font-weight:550;color:#c6d7dc;letter-spacing:.01em}
.zm-region-note{display:block;margin-top:5px;font-size:10px;line-height:1.6;color:#99adb6;max-width:680px;overflow-wrap:anywhere}
.zm-region-options{display:flex;align-items:stretch;gap:4px;padding:4px;border:1px solid #34464f;border-radius:10px;background:#101920;min-width:0}
.zm-region-options a{display:flex;align-items:center;justify-content:center;text-align:center;min-height:36px;padding:7px 13px;border:1px solid transparent;border-radius:7px;font-size:11px;font-weight:550;line-height:1.4;color:#a8bcc5;text-decoration:none}
.zm-region-options a:hover{color:#e6f4ef;background:#1b2c30}.zm-region-options a[aria-current=page]{color:#a7ead8;background:#223a35;border-color:#3d675e}
@media(max-width:700px){.zm-region-selector{padding:12px 16px 0}.zm-region-row{grid-template-columns:minmax(0,1fr);gap:12px;padding:14px}.zm-region-options{justify-self:start;max-width:100%;box-sizing:border-box}.zm-region-options a{min-height:40px;flex:1 1 0;white-space:normal}.zm-region-note{font-size:10px}}
@media(max-width:390px){.zm-region-options{width:100%;justify-self:stretch}}
/* Mobile layout: compact masthead, readable cards and secondary information on demand. */
.zm-more>div a.zm-mobile-wallet{display:none!important}
.zm-commodity-toggle{display:none}
.zm-region-info>summary{list-style:none;cursor:pointer}.zm-region-info>summary::-webkit-details-marker{display:none}
@media(max-width:700px){
 body header.top .bar{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:10px!important;padding:12px 16px!important;align-items:center}
 header.top .brand{grid-column:1;grid-row:1;min-width:0;max-width:100%;gap:8px}.brand strong{font-size:16px!important}.brand img{width:32px!important;height:32px!important}
 header.top #authNav{grid-column:2;grid-row:1;margin:0!important;max-width:100%;gap:6px;flex-wrap:nowrap!important}header.top #authNav .name{display:none}header.top #authNav .btn{padding:10px 11px;min-height:42px;font-size:12px}
 header.top #walletBtn,header.top .spacer{display:none!important}
 header.top #search{grid-column:1/-1;grid-row:2;display:block!important;width:100%;max-width:none;min-height:46px;font-size:16px!important;padding:12px 14px;margin:0;box-sizing:border-box}
 header.top nav#nav{grid-column:1/-1;grid-row:3;width:100%;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px!important;overflow:visible!important;border-top:0;padding-top:0!important;align-items:stretch}
 header.top nav#nav>button,header.top nav#nav>.zm-watch-nav,header.top nav#nav>.zm-more>summary{min-height:44px!important;padding:10px 5px!important;justify-content:center;text-align:center;white-space:normal;font-size:12px;box-sizing:border-box;width:100%}
 header.top nav#nav>.zm-more{min-width:0}.zm-more>div{width:min(290px,calc(100vw - 32px));min-width:220px;right:0;left:auto;padding:8px}
 .zm-more>div a.zm-mobile-wallet{display:flex!important}
 header.top .zm-more .zmarket-language-control{position:static!important;display:flex!important;align-items:center;gap:10px;margin:8px 6px 4px!important;max-width:100%!important;width:auto!important;min-width:0;box-sizing:border-box}
 header.top .zm-more .zmarket-language-control select{width:100%!important;max-width:100%!important;min-width:0!important;min-height:46px!important;font-size:16px!important;box-sizing:border-box}
 header.top .zm-account-balances{grid-column:1/-1;grid-row:2;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:100%;margin:0!important;box-sizing:border-box}
 header.top .zm-account-balances[hidden]{display:none!important}header.top .bar:has(.zm-account-balances:not([hidden])) #search{grid-row:3}header.top .bar:has(.zm-account-balances:not([hidden])) nav#nav{grid-row:4}
 .zm-account-balances>a{min-width:0!important;padding:10px 12px!important}.zm-account-balances>a>strong{font-size:17px}.zm-account-balances .zm-balance-mode{grid-column:1/-1;max-width:none!important;text-align:center}
 .zm-region-selector{padding:10px 16px 0}.zm-region-row{gap:8px;padding:10px 12px;border-radius:10px}.zm-region-info>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:36px}.zm-region-info>summary::after{content:'ⓘ';color:#91b3bc;font-size:16px;flex-shrink:0}.zm-region-info .zm-region-note{font-size:11px;padding:5px 0 8px;margin:0}.zm-region-options{justify-self:stretch;width:100%;padding:3px;box-sizing:border-box}.zm-region-options a{min-height:40px;font-size:12px}
 #app>.hero.zm-discovery-intro{margin:0 0 12px!important;padding:18px 0 10px!important}.zm-discovery-intro h1{font-size:26px!important;line-height:1.2;margin:0 0 10px;max-width:none}.zm-discovery-intro .eyebrow,.zm-discovery-intro>div>p,.zm-discovery-intro [data-scroll=markets]{display:none}.zm-discovery-intro .badge{margin:0 10px 0 0!important;font-size:10px}.zm-news-jump{margin:0!important;font-size:12px;min-height:40px;padding:9px 12px}.zm-how{margin-top:7px}.zm-how summary{min-height:40px;font-size:12px;display:flex;align-items:center}.zm-how p{font-size:13px;line-height:1.65}
 .zm-commodities{padding:10px 0;margin-bottom:14px}.zm-commodities .zm-pulse-heading{margin:0}.zm-commodities h2{font-size:15px}.zm-commodity-subtitle{display:none}.zm-commodity-toggle{display:list-item;min-height:44px;padding:11px 0;font-size:12px;color:#b6d8d0;cursor:pointer;box-sizing:border-box}.zm-commodity-note{font-size:11px}.zm-commodities .tradingview-widget-container{min-height:68px}
 .category-scroller{margin:0 0 12px}.category-chip{min-height:46px;font-size:12px;padding:12px 10px;gap:7px}.category-glyph{font-size:16px}.category-number{font-size:10px}
 .section-title{margin:16px 0 12px;align-items:center;gap:8px}.section-title h2{font-size:19px;line-height:1.35}.section-title select{font-size:16px!important;min-height:44px;max-width:45%;padding:10px}
 #markets .grid{grid-template-columns:minmax(0,1fr)!important;gap:12px}#markets .market{padding:17px;min-height:0;border-radius:14px}#markets .market h3{font-size:17px;line-height:1.45;min-height:0;margin:13px 0 16px;font-weight:600}#markets .market .meta{font-size:11px;align-items:center}#markets .market .tag{font-size:11px}#markets .market [data-favorite]{min-width:44px;min-height:44px;padding:8px!important}#markets .market .prob{font-size:28px}#markets .market .barline{margin:10px 0 14px}
 #markets .market-footer{display:flex;flex-direction:column;align-items:stretch;gap:10px;font-size:11px}#markets .trade-mini{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;width:100%}#markets .trade-mini button{min-height:46px;font-size:14px;padding:11px;border-radius:9px}#markets .market [data-open]{min-height:44px;width:100%;text-align:center;font-size:13px;border-top:1px solid #293941;padding-top:10px;margin-top:10px}
 .zm-load-more{margin:20px 0;flex-direction:column;gap:10px}.zm-load-more .btn{width:100%;min-height:48px}.zm-pulse-heading h2{font-size:20px}.zm-pulse-button{min-height:44px;font-size:12px}.zm-pulse-status{font-size:11px}.zm-pulse-controls{display:grid;grid-template-columns:1fr 1fr;gap:10px}.zm-news-body h3{font-size:19px}.zm-forecast-card{flex-basis:82%;max-width:300px}.zm-forecast-card summary{min-height:100px;font-size:14px}.zm-source-link{min-height:44px}
 .layout,.two{grid-template-columns:minmax(0,1fr)!important;gap:14px}.layout .panel{padding:16px}.detail-title{font-size:24px;overflow-wrap:anywhere}.toggle button,.side .btn{min-height:48px}.summary>div{gap:12px}.summary>div>*{min-width:0;overflow-wrap:anywhere}
 input,textarea,select,.field{font-size:16px!important;max-width:100%;box-sizing:border-box}button,.btn{touch-action:manipulation}.composer{gap:8px}.composer input{min-width:0;flex-basis:100%}.composer button{width:100%;min-height:46px}.quick>button{min-height:44px}.panel{min-width:0}.category-directory{margin-top:24px;padding-top:22px}.category-grid{gap:10px}.category-tile{min-height:70px}.category-tile-copy strong{font-size:12px}.footer{margin-top:28px}
 #zm-support-link{font-size:0!important;width:48px!important;height:48px!important;min-height:48px!important;padding:0!important;justify-content:center!important}#zm-support-link::before{content:'💬';font-size:22px;line-height:1}
}
@media(max-width:350px){body header.top .bar{padding-left:12px!important;padding-right:12px!important;gap:8px!important}header.top .brand strong{font-size:14px!important;letter-spacing:.1em!important}header.top #authNav .btn{padding:9px 8px;font-size:11px}.zm-discovery-intro h1{font-size:24px!important}}

#zm-back-to-top{position:fixed;left:max(16px,env(safe-area-inset-left,0px));bottom:20px;z-index:9998;width:48px;height:48px;padding:0;border:1px solid #3f676d;border-radius:50%;background:#102c33;color:#79f0de;box-shadow:0 4px 18px #0005;font-size:26px;cursor:pointer;display:flex;align-items:center;justify-content:center;touch-action:manipulation}#zm-back-to-top[hidden]{display:none}#zm-back-to-top:hover{background:#1a4146}#zm-back-to-top:focus-visible{outline:3px solid #79f0de;outline-offset:3px}

/* Give the brand room and retain direct touch dragging for Support. */
header.top .brand img{width:56px;height:56px;flex-shrink:0}.zm-discovery-intro img{width:150px;height:150px;opacity:1}
@media(max-width:700px){header.top .brand img{width:48px!important;height:48px!important}header.top .brand{gap:10px}#zm-support-link{touch-action:none!important;-webkit-user-drag:none;cursor:grab}#zm-support-link:active{cursor:grabbing}}
@media(max-width:350px){header.top .brand img{width:42px!important;height:42px!important}header.top .brand{gap:6px!important}}

@media(min-width:701px){#app>.hero.zm-discovery-intro>img{width:clamp(210px,22vw,300px)!important;height:clamp(210px,22vw,300px)!important;max-width:30%;flex-shrink:0;margin-right:0;opacity:1}}
.zm-discussion{margin:30px 0!important;max-width:920px;padding:24px!important}.zm-discussion-heading{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.zm-discussion-heading h2{margin:0;font-size:24px}.zm-discussion-heading>select{margin-left:auto}.zm-discussion select,.zm-discussion input,.zm-discussion textarea{background:#0c171e;color:#edf2f3;border:1px solid #3b555e;border-radius:9px;padding:11px;font:inherit;max-width:100%;box-sizing:border-box}.zm-discussion textarea{display:block;width:100%;resize:vertical;min-height:90px;margin:12px 0}.zm-discussion button{border:1px solid #3b555e;background:#19343b;color:#dcefed;padding:10px 14px;min-height:44px;border-radius:9px;cursor:pointer;font:inherit}.zm-discussion button:disabled{opacity:.5}.zm-discussion summary{cursor:pointer;padding:10px 0;min-height:44px}.zm-discussion form{margin:12px 0}.zm-discussion form[hidden],.zm-discussion details[hidden]{display:none}.zm-social-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:12px 0}.zm-social-actions small{margin-left:auto}.zm-comment{padding:22px 0;border-top:1px solid #293941}.zm-comment>p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:15px;line-height:1.65}.zm-comment-meta{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.zm-comment-meta small{color:#a0afb6;font-size:11px}.zm-social-avatar{display:grid;place-items:center;background:#204b4c;color:#93eddb;border-radius:50%;width:34px;height:34px;font-weight:700}.zm-social-stance{font-size:11px;border:1px solid #3b555e;border-radius:99px;padding:4px 9px}.zm-social-stance.yes{color:#73e2c0}.zm-social-stance.no{color:#f4a3a3}.zm-comment-reply{margin:14px 0 0 24px;padding:14px 0 0 16px;border-left:2px solid #30474f;border-top:0}.zm-comment-reply .zm-comment-meta{font-size:12px}.zm-comment-reply>p{font-size:14px}@media(max-width:700px){.zm-discussion{padding:16px!important}.zm-discussion-heading h2{font-size:21px}.zm-discussion input,.zm-discussion select,.zm-discussion textarea{font-size:16px}.zm-comment-reply{margin-left:8px;padding-left:12px}.zm-discussion-heading>select{max-width:50%}.zm-social-actions{gap:8px}}
/* Market social feed: discussion and recorded activity share one clear workspace. */
.zm-discussion{border:0!important;border-top:1px solid #293941!important;border-radius:0!important;background:transparent!important;margin:24px 0 0!important;padding:20px 0!important;max-width:none}.zm-feed-tabs{display:flex;gap:20px;margin-right:auto}.zm-feed-tabs button{border:0;border-bottom:3px solid transparent;border-radius:0;background:none;padding:10px 0;font-size:23px;font-weight:700;color:#81979f}.zm-feed-tabs button[aria-selected=true]{color:#edf2f3;border-bottom-color:#65dfcd}.zm-feed-tabs button:focus-visible{outline:2px solid #65dfcd;outline-offset:4px}.zm-discussion-heading{gap:12px;margin-bottom:16px}.zm-discussion-heading>span{font-size:12px;color:#a0afb6}.zm-discussion-heading>select{margin-left:0;font-size:12px;min-height:42px}.zm-discussion [role=tabpanel][hidden],.zm-discussion select[hidden]{display:none!important}.zm-discussion [role=tabpanel]>form{border:1px solid #344e57;background:#111f26;border-radius:16px;padding:18px;margin:14px 0 24px}.zm-discussion [role=tabpanel]>form>textarea{border:0;background:transparent;min-height:90px;margin:0 0 12px;padding:0;resize:vertical;font-size:16px}.zm-discussion [role=tabpanel]>form>textarea:disabled{opacity:.7}.zm-discussion [role=tabpanel]>form .zm-social-actions{margin:0}.zm-discussion [role=tabpanel]>form button[type=submit]{margin-left:auto;background:#65dfcd;color:#062124;border:0;border-radius:99px;font-weight:700;padding:12px 22px}.zm-position-attach{display:inline-flex;align-items:center;gap:8px;font-size:12px;border:1px solid #344e57;border-radius:99px;padding:10px;cursor:pointer}.zm-position-attach input,.zm-discussion details label input[type=checkbox]{width:18px;height:18px;min-height:0;accent-color:#65dfcd}.zm-comment{padding:20px 0}.zm-comment-meta strong{font-size:14px}.zm-comment>p{margin:12px 0}.zm-comment .zm-social-actions button{background:none;border:0;color:#a0afb6;padding:6px 9px;font-size:12px}.zm-comment .zm-social-actions button[aria-pressed=true]{color:#65dfcd;background:#19343b}.zm-feed-market{display:block;font-size:12px;color:#a0afb6;margin-bottom:8px;text-decoration:none}.zm-feed-market:hover{color:#65dfcd}.zm-social-avatar{flex-shrink:0;background:repeating-linear-gradient(45deg,#1e555a,#1e555a 3px,#16333c 3px,#16333c 6px);border:1px solid #337b7c}.zm-activity-row{display:flex;gap:15px;padding:24px 0;border-top:1px solid #293941}.zm-activity-row>div{min-width:0}.zm-activity-row strong{font-size:14px}.zm-activity-trade{margin:8px 0;font-size:16px;line-height:1.5}.zm-activity-trade.yes{color:#65dfbd}.zm-activity-trade.no{color:#f4a3a3}.zm-activity-row small{color:#a0afb6;font-size:12px}.zm-discussion details label:has(input[type=checkbox]){display:flex;align-items:flex-start;gap:10px;font-size:13px;line-height:1.6;padding:12px 0}@media(max-width:700px){.zm-discussion{padding:18px 0!important}.zm-feed-tabs{width:100%;gap:24px}.zm-feed-tabs button{font-size:22px}.zm-discussion-heading>select{flex:1;max-width:100%;font-size:14px}.zm-discussion [role=tabpanel]>form{padding:15px}.zm-position-attach{font-size:12px}.zm-comment .zm-social-actions{gap:3px}.zm-activity-row{gap:10px;padding:18px 0}.zm-activity-trade{font-size:15px}}
.zm-price-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}.zm-price-legend{display:flex;gap:18px;flex-wrap:wrap;font-size:14px}.zm-price-legend small{font-size:10px;display:block;color:#a0afb6}.zm-price-periods{display:flex;gap:5px}.zm-price-periods button{border:1px solid #3b555e;background:transparent;color:#b9cdd1;border-radius:8px;padding:8px 12px;min-height:40px}.zm-price-periods button[aria-pressed=true]{background:#214943;color:#94efdb;border-color:#65dfbd}.zm-price-svg{display:block;width:100%;height:auto;aspect-ratio:760/280;overflow:visible;touch-action:pan-y;margin-top:14px;background:transparent}.zm-price-svg text{fill:#a0afb6;font:10px system-ui,sans-serif}.zm-price-inspect{display:block;font-size:11px;color:#a0afb6}.zm-price-slider{display:block;width:100%;accent-color:#65dfbd;min-height:35px}.zm-price-readout{display:block;font-size:12px;line-height:1.6;color:#d4e7e7;min-height:40px;margin-top:5px}.zm-price-status{font-size:12px;line-height:1.6;color:#b8cdce}@media(max-width:700px){.zm-price-svg{min-height:180px}.zm-price-legend{gap:12px}.zm-price-periods button{min-height:44px}.zm-price-readout{font-size:11px}}
/* Compact market navigation: related actions stay together across screen sizes. */
body:has(header.top) #app{display:flex;flex-direction:column}
#app>.category-scroller{order:-2;margin:0 0 10px!important;padding:0!important;border-bottom:1px solid #293941}
#app>.hero{order:-1}
.category-pills{gap:0!important;justify-content:flex-start!important}
.category-chip{padding:10px 9px!important;gap:6px!important;min-height:44px;flex:0 0 auto!important;white-space:nowrap}
body header.top .bar{gap:10px!important;row-gap:6px!important;padding-top:10px!important;padding-bottom:8px!important}
header.top nav#nav{gap:2px!important;justify-content:flex-start!important;padding-top:5px!important}
header.top nav#nav>button,header.top nav#nav>.zm-watch-nav,header.top .zm-more>summary{padding:9px 10px!important;margin:0!important;min-height:44px;flex:0 0 auto!important;white-space:nowrap}
#app>.hero .btn{margin:0 4px 0 0!important}
#app>.hero .zm-news-jump{margin-left:0!important}
body #zm-quick-links{padding-top:5px!important;gap:6px!important}
.zm-region-selector{padding-top:10px!important;padding-bottom:0!important}
@media(min-width:1180px){
 body header.top .bar{flex-wrap:nowrap!important;min-height:78px;gap:12px!important}
 header.top .brand{order:0;min-width:0;flex:0 0 auto}
 header.top nav#nav{order:0!important;width:auto!important;flex:0 0 auto;border-top:0!important;padding:0!important;flex-wrap:nowrap!important}
 header.top #search{order:1;min-width:140px;max-width:280px;flex:1 1 220px;margin-left:auto}
 header.top .spacer{display:none!important}
 header.top #authNav{order:3;flex:0 0 auto;margin-left:0!important;gap:6px!important}
 header.top #walletBtn{display:none!important}
 header.top .zmarket-language-control{order:4;flex:0 0 auto!important;margin-left:0!important}
 header.top .zmarket-language-control select{max-width:120px!important;padding:10px 7px!important}
 header.top .zm-account-balances{order:2;margin-left:0!important;gap:5px}
 header.top .zm-account-balances>a{min-width:76px;padding:7px 8px!important}
 header.top:has(.zm-account-balances:not([hidden])) nav#nav{gap:0!important}
 header.top:has(.zm-account-balances:not([hidden])) nav#nav>button,header.top:has(.zm-account-balances:not([hidden])) nav#nav>.zm-watch-nav{padding-left:7px!important;padding-right:7px!important}
}
@media(min-width:701px) and (max-width:1179px){header.top nav#nav{margin:0!important;padding-top:4px!important}header.top .zmarket-language-control select{max-width:130px!important}}
@media(max-width:700px){
 body header.top .bar{gap:7px!important;padding-top:9px!important;padding-bottom:6px!important}
 header.top nav#nav{display:flex!important;grid-template-columns:none!important;gap:2px!important;width:100%;flex-wrap:nowrap!important;justify-content:flex-start!important;align-items:center!important;padding-top:0!important}
 header.top nav#nav>button,header.top nav#nav>.zm-watch-nav,header.top nav#nav>.zm-more{width:auto!important;flex:0 0 auto!important;font-size:12px}
 header.top nav#nav>.zm-more>summary{width:auto!important;padding:9px 10px!important}
 .category-chip{padding:9px 8px!important;font-size:12px!important;min-height:44px}
 #app>.category-scroller{margin-bottom:4px!important}
 #app>.hero.zm-discovery-intro{padding-top:12px!important;padding-bottom:10px!important;margin-top:4px!important;margin-bottom:8px!important;gap:12px!important}
}

/* Phone polish: compact region tools and consistent content rhythm. */
@media(max-width:700px){
 body header.top .bar{padding:8px 14px!important;gap:8px!important}header.top .brand{gap:7px!important}header.top .brand>img{width:36px!important;height:36px!important}header.top #authNav .btn{min-height:38px!important;font-size:11px!important;padding:9px 10px!important}header.top #search{min-height:42px!important;padding:10px 12px!important;border-radius:10px!important;font-size:14px!important}header.top .zm-more>summary{font-size:11px!important;color:#a8bcbd}
 .zm-region-selector{padding:6px 14px 0!important}.zm-region-row{display:grid!important;grid-template-columns:32px minmax(0,1fr)!important;align-items:center;gap:6px!important;padding:5px!important;border-radius:10px}.zm-region-info{min-width:0}.zm-region-info:not([open])>summary{width:32px;min-height:36px;justify-content:center;padding:0}.zm-region-info:not([open])>summary strong{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.zm-region-info[open]{grid-column:1/-1}.zm-region-info[open]+.zm-region-options{grid-column:1/-1}.zm-region-options{grid-column:2;justify-self:stretch!important;gap:3px!important;padding:2px!important;border:0;background:transparent}.zm-region-options a{min-height:34px!important;padding:6px 10px!important;font-size:11px!important}.zm-region-info[open]>summary{padding:0 8px}.zm-region-note{padding:8px!important}
 #app>.category-scroller{margin:4px 0 0!important;border-bottom:1px solid #24363b}.category-scroller::-webkit-scrollbar{height:0}.category-pills{gap:4px}.category-chip{font-size:11px!important;min-height:40px!important;padding:8px!important}.category-number{display:none!important}
 #app>.hero.zm-discovery-intro{padding:12px 0!important;margin:0!important;border-top:1px solid #24363b!important}.zm-discovery-intro .zm-news-jump{border:0!important;background:transparent!important;padding:6px 0!important;min-height:36px!important;font-size:11px!important}.zm-how{font-size:11px}.zm-how summary{font-size:11px!important;min-height:36px!important}
 #markets .section-title{margin:16px 0 10px}#markets .market{padding:16px!important;border-radius:14px!important;border-color:#293c40!important;background:#111e24!important}#markets .market h3{font-size:17px!important;line-height:1.4!important;letter-spacing:-.015em;margin:12px 0!important}#markets .market .prob{font-size:25px!important}#markets .market .meta{font-size:10px!important}#markets .market .trade-mini button{min-height:44px!important;font-size:14px!important}#markets .market [data-open]{min-height:36px!important;font-size:12px!important}#markets .grid{gap:12px!important}.category-directory{margin-top:20px!important}
 #zm-mobile-nav{box-shadow:0 -4px 16px #0002;background:#12231f}.zm-commodities{margin-bottom:4px!important;padding-top:10px!important;padding-bottom:10px!important}.zm-commodities h2{font-size:14px!important}.zm-commodity-toggle{min-height:36px!important;padding:8px 0!important;font-size:11px!important}#zm-support-link{width:42px!important;height:42px!important;min-height:42px!important}#zm-support-link::before{font-size:19px!important}
 #zmarket-app-install{bottom:calc(86px + env(safe-area-inset-bottom,0px))!important}
}
@media(max-width:700px){
 #app .category-pills,#app .category-scroller{scrollbar-width:none!important}#app .category-pills::-webkit-scrollbar,#app .category-scroller::-webkit-scrollbar{display:none!important;height:0!important}
 #app>.hero.zm-discovery-intro{padding:8px 0!important}#app>.hero.zm-discovery-intro>div{display:flex;align-items:center;flex-wrap:wrap;gap:12px}#app>.hero.zm-discovery-intro h1{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;margin:0!important}#app>.hero.zm-discovery-intro .badge{display:none!important}#app>.hero.zm-discovery-intro .zm-how{margin:0!important}#app>.hero.zm-discovery-intro .zm-how[open]{flex-basis:100%}
}

/* Discovery order: featured, intro, categories, quotes, markets, sports, news. */
#app>.category-directory{order:1}#app>.zm-commodities{order:2}#app>#markets{order:3}#app>.zm-sports-ticker{order:90}#app>#zm-market-pulse{order:100}
#app>.hero.zm-discovery-intro{min-height:0!important}
#app>.hero.zm-discovery-intro h1{position:static!important;width:auto!important;height:auto!important;clip-path:none!important;overflow:visible!important;white-space:normal!important;margin:0 0 8px!important}
#app>.category-directory{margin-top:0!important;padding-top:18px}
@media(max-width:700px){#app>.hero.zm-discovery-intro h1{font-size:19px!important;flex-basis:100%}.zm-feature-card h2{-webkit-line-clamp:3;max-height:3.6em}}

/* Final requested sequence: quotes, market cards, category directory. */
#app>.zm-commodities{order:0}#app>#markets{order:1}#app>.category-directory{order:2}

/* Full-width category navigation, both regional catalogues. */
#app>.category-scroller{box-sizing:border-box;max-width:none!important}
.category-chip[data-category="Trending"]{font-weight:800!important;color:#e9f4f3}

/* Keep expanded regional information out of the narrow mobile info column. */
@media(max-width:700px){
 .zm-region-row:has(.zm-region-info[open]){grid-template-columns:minmax(0,1fr)!important}
 .zm-region-row:has(.zm-region-info[open])>.zm-region-copy,
 .zm-region-row:has(.zm-region-info[open])>.zm-region-options{grid-column:1/-1}
 .zm-region-info .zm-region-note{white-space:normal;word-break:normal;overflow-wrap:break-word}
}

.zm-admin-badge{display:inline-flex;align-items:center;border:1px solid #55dccc;border-radius:999px;padding:3px 9px;background:#123c38;color:#8ff4e4;font:700 11px/1.4 system-ui,sans-serif;letter-spacing:.04em;white-space:nowrap}.zm-comment-meta{flex-wrap:wrap;gap:8px}
