/* Live market card (same block in investment.css and crypto-exchange.css; drives site/pages/live-market.js) */
.live-section{padding:95px 6%;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:7%;align-items:center;border-top:1px solid var(--line)}
.live-section h2{font-size:clamp(36px,4vw,64px);font-weight:400;line-height:1.08;letter-spacing:-.05em}
.live-section .live-copy>p:not(.eyebrow){margin-top:22px;font-size:15px;line-height:1.8;color:var(--muted);max-width:470px}
.live-section .live-copy .actions{margin-top:28px}
.live-market{margin:0}
.lm-card{background:#2a2019;color:#f6e6d3;border-radius:14px;padding:26px 26px 18px;box-shadow:0 30px 70px -20px #51321e66,0 0 0 1px #765237}
.lm-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}
.lm-symbol{font-size:13px;color:#e5c9ae;line-height:1.5}
.lm-symbol b{display:block;font-size:20px;font-weight:400;letter-spacing:-.02em;color:#fff0db}
.lm-status{font-size:11px;padding:5px 11px;border-radius:20px;border:1px solid #6b5443;color:#e5c9ae;white-space:nowrap}
.lm-status[data-live=true]{border-color:#c97b4a;color:#ffd9b8}
.lm-status[data-live=true]::before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;background:#e4a77c;margin-right:7px;vertical-align:1px}
.lm-quote{display:flex;align-items:baseline;gap:12px;margin-top:22px}
.lm-price{font-size:clamp(36px,4vw,54px);letter-spacing:-.04em;font-variant-numeric:tabular-nums;line-height:1}
.lm-kind{text-decoration:none;font-size:11px;font-weight:600;letter-spacing:.08em;color:#2a2019;background:#e4a77c;border-radius:4px;padding:3px 7px}
.lm-unit{font-size:12px;color:#c9ab8f}
.lm-plot{position:relative;margin-top:22px;border-top:1px solid #4a392c;border-bottom:1px solid #4a392c}
.lm-chart{display:block;width:100%;height:240px}
.lm-empty{position:absolute;inset:0;display:grid;place-items:center;font-size:12px;color:#c9ab8f}
.lm-empty[hidden]{display:none}
.lm-meta{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:12px;font-size:11px;line-height:1.6;color:#c9ab8f;font-variant-numeric:tabular-nums}
.live-market figcaption{margin-top:12px;font-size:11px;line-height:1.6;color:var(--muted)}
@media(max-width:1000px){.live-section{grid-template-columns:1fr;gap:40px}}
@media(max-width:760px){.live-section{padding:65px 6%}.lm-card{padding:20px 18px 14px}.lm-chart{height:190px}}

/* Investment page */
.frame img{display:block;width:100%;height:auto}
.invest-apps{padding-top:40px}
.invest-apps .app-row:first-of-type{border-top:0}
.roadmap-pill{display:inline-block;font-size:11px;letter-spacing:.04em;color:#8c5530;border:1px solid #c9a684;border-radius:20px;padding:5px 12px;margin-bottom:18px}
/* Zoom on the right of the screenshot: end of the chart and the order ticket */
.ticket-crop{aspect-ratio:464/487;overflow:hidden;background:#1b1511}
.frame .ticket-crop img{width:220.7%;max-width:none;margin-left:-120.7%}
.invest-apps .app-row>div:last-child{max-width:560px;justify-self:end;width:100%}
@media(max-width:1000px){.invest-apps .app-row>div:last-child{justify-self:start}}

/* Investment app, rebuilt in HTML from the product (home screen in the hero, market list + order ticket below). */
.invest-stage{padding:35px 35px 0}
.invest-home,.invest-desk{--app:#fffaf3;--app-line:#ead9c6;--buy:#2f7d55;--sell:#b9442f;background:var(--app);color:#2a2019;border:1px solid #765237;border-bottom:0;border-radius:9px 9px 0 0;overflow:hidden;box-shadow:0 10px 40px #51321e33;font-variant-numeric:tabular-nums}
.invest-desk{border-bottom:1px solid #765237;border-radius:12px;box-shadow:0 30px 70px -20px #51321e66}
.up{color:var(--buy,#2f7d55);font-style:normal}.down{color:var(--sell,#b9442f);font-style:normal}
.ih-frame-bar{display:flex;justify-content:space-between;align-items:center;padding:9px 16px;background:#f3e6d7;border-bottom:1px solid var(--app-line);font-size:11px;color:#715b48}.ih-domain{padding:3px 12px;border-radius:20px;background:var(--app);border:1px solid var(--app-line)}
.ih-body{padding:22px 26px 0}
.ih-hero{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:22px 30px;border-radius:12px;background:#2a2019;color:#fff0db}.ih-hero p{font-size:13px;color:#e5c9ae}.ih-hero b{display:block;margin:8px 0 6px;font-size:clamp(26px,2.6vw,38px);font-weight:600;letter-spacing:-.02em}.ih-hero em{color:#7fd1a2;font-weight:600}
.ih-invest{padding:11px 22px;border-radius:8px;background:#c97b4a;color:#fff;font-size:13px;font-weight:600}
.ih-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:22px 0}.ih-tiles>div{display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:14px;align-items:center}.ih-icon{grid-row:1/3;display:grid;place-items:center;width:52px;height:52px;border-radius:12px;background:#f3e6d7;color:#a45d32;font-size:20px}.ih-tiles p{font-size:11px;letter-spacing:.02em;color:#715b48;text-transform:uppercase}.ih-tiles small{margin-left:6px;text-transform:none;color:#2a2019}.ih-tiles b{font-size:clamp(17px,1.6vw,24px);font-weight:600;letter-spacing:-.02em}
.ih-chart{border-top:1px solid var(--app-line);padding:18px 0 14px}.ih-chart-head{display:flex;justify-content:space-between;align-items:baseline}.ih-chart h3{font-size:18px;font-weight:500}.ih-chart-head span{font-size:12px;color:#715b48}.ih-chart svg{display:block;width:100%;height:200px;margin-top:14px}.ih-grid line{stroke:#ead9c6;stroke-width:1;vector-effect:non-scaling-stroke}.ih-months{display:flex;justify-content:space-between;font-size:10px;color:#8a7360;margin-top:6px}
/* Market list and order ticket */
.invest-wide .app-row{grid-template-columns:minmax(0,.8fr) minmax(0,1.5fr)}
.id-body{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(250px,1fr)}
.id-list{padding:16px 0;border-right:1px solid var(--app-line)}.id-label{padding:0 18px 8px;font-size:11px;color:#715b48}.id-list ul{list-style:none;margin:0;padding:0}
.im-row{width:100%;display:grid;grid-template-columns:34px minmax(0,1fr) auto 72px;gap:12px;align-items:center;padding:11px 18px;background:none;border:0;border-top:1px solid var(--app-line);text-align:left;color:inherit}.im-row:hover{background:#f6ebde}.im-row[aria-pressed=true]{background:#f3e3d1;box-shadow:inset 3px 0 0 #c97b4a}
.im-mono{display:grid;place-items:center;width:32px;height:32px;border-radius:8px;background:#2a2019;color:#fff0db;font-size:13px;font-weight:600}
.im-name{font-size:11px;color:#715b48;overflow:hidden}.im-name b{display:block;font-size:13px;font-weight:500;color:#2a2019;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.im-price{font-size:13px;font-weight:600}.im-chg{font-size:12px;font-weight:600;text-align:right}.im-chg small{display:block;font-size:10px;font-weight:500}
.id-ticket{padding:16px;display:flex;flex-direction:column;gap:12px;background:#fbf4ea}
.id-side{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:4px;border:1px solid var(--app-line);border-radius:10px;background:var(--app)}.id-side button{border:0;border-radius:7px;padding:9px 6px;background:none;font-size:13px;font-weight:600;color:#2a2019;line-height:1.3}.id-side b{display:block;font-weight:400;font-size:13px}.id-side [data-side=buy][aria-pressed=true]{background:var(--buy);color:#fff}.id-side [data-side=sell][aria-pressed=true]{background:var(--sell);color:#fff}
.id-qty-label{text-align:center;font-size:12px;color:#715b48}.id-qty{display:flex;justify-content:space-between;align-items:center}.id-qty button{width:38px;height:38px;border-radius:50%;border:0;background:#efdfcc;color:#51321e;font-size:20px}.id-qty output{font-size:30px;font-weight:600;letter-spacing:-.02em}
.id-amount{text-align:center;font-size:13px;color:#715b48}.id-amount b{color:#2a2019}
.id-opts{border:1px solid var(--app-line);border-radius:10px;background:var(--app)}.id-opts label{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:11px 14px;font-size:13px}.id-opts label+label{border-top:1px solid var(--app-line)}.id-opts select{border:0;background:none;font-weight:600;color:#2a2019}.id-check{justify-content:flex-start!important}.id-check input{accent-color:#c97b4a;width:16px;height:16px;margin:0}.id-guard{margin-left:auto;padding:5px 10px;border:1px solid var(--app-line);border-radius:7px;min-width:84px;text-align:right;color:#a58b72}.id-guard[data-on=true]{color:#2a2019;border-color:#c9a684}
.id-meta{display:flex;justify-content:space-between;gap:8px;font-size:11px;color:#715b48;flex-wrap:wrap}.id-meta b{color:#2a2019}
.id-go{border:0;border-radius:9px;padding:14px;background:var(--buy);color:#fff;font-size:14px;font-weight:600}.id-go[data-side=sell]{background:var(--sell)}
.id-note{font-size:12px;line-height:1.6;color:#51321e}.id-note a{border-bottom:1px solid currentColor;font-weight:600}.id-note[hidden]{display:none}
@media(max-width:1100px){.ih-tiles{grid-template-columns:1fr 1fr}}
@media(max-width:1000px){.invest-wide .app-row{grid-template-columns:1fr}}
@media(max-width:760px){.invest-stage{padding:14px 14px 0}.ih-body{padding:14px 14px 0}.ih-hero{padding:18px;flex-wrap:wrap}.ih-tiles{gap:14px}.ih-icon{width:40px;height:40px;font-size:16px}.ih-chart svg{height:140px}.ih-months span:nth-child(even){display:none}.ih-frame-bar .ih-domain{display:none}.id-body{grid-template-columns:1fr}.id-list{border-right:0;border-bottom:1px solid var(--app-line)}.im-row{grid-template-columns:30px minmax(0,1fr) auto 64px;gap:10px;padding:10px 14px}}
.invest-wide .app-row>div:last-child{max-width:none}

/* Black theme (the platform's own black skin tokens), the platform's default look on the site. Overrides the light values above. */
.invest-home,.invest-desk{--app:#000000;--app-line:#2f2e2e;--buy:#4ade80;--sell:#f87171;color:#dddddd;border-color:#2f2e2e}
.invest-home .up,.invest-desk .up{color:#4ade80}.invest-home .down,.invest-desk .down{color:#f87171}
.ih-frame-bar{background:#0f0f0f;color:#a8a8a8}.ih-domain{background:#000000;color:#c3c3c2}
.ih-hero{background:#0f0f0f;color:#dddddd;border:1px solid #2f2e2e}.ih-hero p{color:#a8a8a8}.ih-hero em{color:#4ade80}
.ih-icon{background:#0f0f0f;color:#c97b4a}.ih-tiles p{color:#a8a8a8}.ih-tiles small{color:#c3c3c2}
.ih-chart-head span,.ih-months{color:#a8a8a8}.ih-grid line{stroke:#1c1c1c}
.invest-home stop{stop-color:#4ade80}.invest-home path[stroke]{stroke:#4ade80}
.id-label{color:#a8a8a8}.im-row:hover{background:#0f0f0f}.im-row[aria-pressed=true]{background:#0f0f0f;box-shadow:inset 3px 0 0 #c97b4a}
.im-mono{background:#2f2e2e;color:#dddddd}.im-name{color:#a8a8a8}.im-name b{color:#dddddd}
.id-ticket{background:#080808}.id-side{background:#000000}.id-side button{color:#dddddd}
.id-qty-label,.id-amount,.id-meta{color:#a8a8a8}.id-amount b,.id-meta b{color:#dddddd}.id-qty button{background:#2f2e2e;color:#dddddd}
.id-opts{background:#000000}.id-opts select{color:#dddddd;background:#000000}.id-check input{accent-color:#c97b4a}.id-guard{color:#757575}.id-guard[data-on=true]{color:#dddddd;border-color:#575757}
.id-note{color:#c3c3c2}

.id-side [data-side=buy][aria-pressed=true],.id-go{color:#000}.id-side [data-side=sell][aria-pressed=true],.id-go[data-side=sell]{color:#000}
