/* Public welcome-page refinements. Trading-workspace themes remain independent. */
.market-tags{flex-wrap:wrap;gap:12px 20px;color:#182f3f;font-size:12px;letter-spacing:.7px}
.market-tags span{font-size:9px;font-weight:800;color:#42566a}
.market-tags b{font-weight:850}
.terminal{background:#fff;border-color:#c9d7df;box-shadow:0 24px 65px rgba(29,63,54,.12)}
.terminal-top{background:#f0f7f4}
.quote-price{color:#182f3f;font-weight:750}
.quote-price small{font-weight:650}
.chart-stage{background:#fff}
.chart-meta{color:#475f70;font-variant-numeric:tabular-nums;gap:8px}
.chart-meta b,.ohlc-close{color:#08734f}
.timeframes button.active{background:#e3f3eb;color:#086447;font-weight:750}
.mini-order-buttons a{display:flex;align-items:center;justify-content:center;min-height:30px;border-radius:5px;font-size:8px;letter-spacing:.4px;font-weight:800;padding:7px 13px;transition:background .18s,transform .18s}
.mini-order-buttons .mini-buy{color:#fff;background:#087f5b;border:1px solid #087f5b}
.mini-order-buttons .mini-manage{color:#fff;background:#2e598a;border:1px solid #2e598a;flex:1;padding-inline:8px}
.mini-order-buttons .mini-buy:hover{background:#065f46}
.mini-order-buttons .mini-manage:hover{background:#22466f}
.mini-order{height:auto;min-height:122px}
.oi-legend{color:#425569;font-size:8px;font-weight:750}
.oi-legend i{background:#087f5b;width:7px;height:7px;border-radius:2px}
.oi-legend span:last-child i{background:#bf3d50}
.oi-bars>div::before{background:#087f5b}
.oi-bars>div::after{background:#bf3d50}
.mini-oi{background:linear-gradient(#fff,#f4f8fa);border-color:#cfdae3}
.mini-review svg{stroke:#087f5b;stroke-width:2.4}
.product-tour{border:1px solid #cfdae3;border-radius:16px;background:#fff;box-shadow:0 16px 45px rgba(23,43,62,.06);overflow:hidden}
.gallery-tabs{display:flex;gap:8px;padding:16px;border-bottom:1px solid #e0e7ed;background:#f5f8fa}
.gallery-tabs button{display:flex;align-items:center;gap:9px;flex:1;justify-content:center;padding:14px 16px;border:1px solid transparent;border-radius:9px;background:transparent;color:#536679;font-size:12px;font-weight:650;min-width:0}
.gallery-tabs button span{font-size:9px;opacity:.7;font-variant-numeric:tabular-nums}
.gallery-tabs button[aria-selected="true"]{background:#fff;border-color:#bbd6c8;color:#096c4d;box-shadow:0 3px 9px rgba(17,68,48,.07)}
.gallery-tabs button:hover{color:#08734f;background:#ebf4ef}
.gallery-panel[hidden]{display:none}
.gallery-screen{margin:24px 24px 0;border:1px solid #c5d1dd;border-radius:10px;overflow:hidden;background:#09141d}
.gallery-windowbar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:12px 15px;background:#edf2f6;border-bottom:1px solid #c5d1dd;color:#526477;font-size:9px;letter-spacing:1px}
.gallery-windowbar>span{display:flex;gap:5px}
.gallery-windowbar i{width:6px;height:6px;border-radius:50%;background:#b6c3ce}
.gallery-windowbar i:first-child{background:#cf7580}
.gallery-windowbar i:nth-child(2){background:#cfaa62}
.gallery-windowbar i:last-child{background:#69a88b}
.gallery-windowbar strong{font-size:9px;font-weight:650}
.gallery-windowbar small{font-size:8px}
.gallery-screen>a{display:block;position:relative;cursor:zoom-in;overflow:hidden}
.gallery-screen img{display:block;width:100%;height:auto;transition:filter .2s}
.gallery-screen a:hover img{filter:brightness(1.04)}
.gallery-enlarge{position:absolute;right:15px;bottom:15px;padding:10px 13px;border:1px solid #a7c8b8;background:#f3fff8f5;border-radius:7px;color:#0b6047;font-size:10px;font-weight:700;box-shadow:0 5px 15px #0002}
.gallery-screen-mobile{max-width:340px;margin-inline:auto;border-radius:24px;border:7px solid #192e3d;box-shadow:0 20px 35px #1d364824}
.gallery-screen-mobile .gallery-windowbar{padding:11px 10px;gap:9px}
.gallery-screen-mobile .gallery-windowbar strong{font-size:7px}
.gallery-description{display:flex;align-items:center;justify-content:space-between;gap:35px;padding:28px}
.gallery-description h3{font-size:23px;letter-spacing:-.5px;color:#1b3344;margin:10px 0}
.gallery-description p{font-size:12px;line-height:1.8;color:#526477;max-width:630px;margin:0}
.gallery-guide{color:#08734f;font-size:12px;font-weight:700;white-space:nowrap}
.gallery-bottom{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 28px;border-top:1px solid #e0e7ed;color:#526477;font-size:10px}
.gallery-bottom>div{display:flex;gap:16px;align-items:center}
.gallery-bottom button{width:36px;height:36px;border:1px solid #c9d7df;border-radius:7px;background:#f7faf9;color:#176a50;font-size:18px}
.gallery-bottom button:hover{background:#e6f2eb}
.gallery-bottom output{font-size:10px;letter-spacing:1px;font-variant-numeric:tabular-nums}
.screenshot-dialog{border:1px solid #b9c9d2;border-radius:12px;box-shadow:0 25px 90px #071f3540}
.screenshot-dialog::backdrop{background:#102b4299;backdrop-filter:blur(4px)}
@media(max-width:700px){
 .market-tags{gap:12px 17px;font-size:12px}
 .market-tags span{font-size:8px}
 .gallery-tabs{padding:10px 8px;gap:4px}
 .gallery-tabs button{flex-direction:column;gap:5px;font-size:10px;padding:11px 7px;line-height:1.4}
 .gallery-screen{margin:14px 12px 0;border-radius:7px}
 .gallery-screen-mobile{max-width:290px;margin:18px auto 0;border-radius:24px}
 .gallery-windowbar{padding:9px 10px;gap:5px}
 .gallery-windowbar strong,.gallery-windowbar small{font-size:6px;letter-spacing:.5px}
 .gallery-enlarge{right:8px;bottom:8px;padding:7px 8px;font-size:8px}
 .gallery-description{padding:23px 18px;align-items:start;flex-direction:column;gap:17px}
 .gallery-description h3{font-size:22px}
 .gallery-description p{font-size:12px}
 .gallery-bottom{padding:14px 18px;gap:14px;flex-wrap:wrap;font-size:9px}
 .gallery-bottom>div{margin-left:auto}
 .chart-meta{font-size:6px}
}
@media(prefers-reduced-motion:reduce){.gallery-screen img,.mini-order-buttons a{transition:none}}

/* Homepage header name only; the original TL mark is unchanged. */
.header .header-brand-name{display:flex;flex-direction:column;align-items:flex-start;gap:0;line-height:1.1}
.header .header-brand-name small{font-size:11px;font-weight:600;letter-spacing:.15px;line-height:1;color:#47685b}
