/* Use the supplied artwork unchanged; the containers frame its monogram or wordmark. */
.brand-lockup,.brand-symbol,.logo-mini,.brand-mark,.login-mark{position:relative;overflow:hidden;display:block;background:#030303;border:1px solid #a28249;border-radius:8px;flex-shrink:0}
.brand-lockup img,.brand-symbol img,.logo-mini img,.brand-mark img,.login-mark img{position:absolute;max-width:none;object-fit:contain;pointer-events:none;user-select:none}
.auth-head .brand-lockup{width:190px;height:49px;font-size:0;letter-spacing:normal}
.auth-head .brand-lockup img{width:245px;height:245px;left:-28px;top:-138px}
.logo-mini{width:60px;height:46px;padding:0}
.logo-mini img{width:100px;height:100px;left:-20px;top:-19px}
.brand-mark{width:48px;height:44px;box-shadow:none}
.brand-mark img{width:94px;height:94px;left:-23px;top:-17px}
.login-mark{width:74px;height:64px;box-shadow:none;border-radius:12px}
.login-mark img{width:144px;height:144px;left:-35px;top:-27px}
@media(max-width:650px){.auth-head .brand-lockup{width:151px;height:43px}.auth-head .brand-lockup img{width:200px;height:200px;left:-24px;top:-111px}.logo-mini{width:46px}.logo-mini img{left:-27px}}
.logo-mini img,.brand-mark img,.login-mark img{clip-path:inset(0 0 42% 0)}

/* Local asset marks stay crisp and retain their native colors in every theme. */
.asset-icon{width:28px;height:28px;display:inline-block;object-fit:contain;flex-shrink:0;vertical-align:middle;filter:none}
.asset-card strong{display:flex;align-items:center;gap:10px;min-height:32px}
.asset-tab .pair-flag{left:6px;top:10px;width:25px;height:25px;display:flex;align-items:center;justify-content:center;line-height:1}
.asset-tab .asset-icon{width:24px;height:24px}
.asset-card:disabled{cursor:not-allowed;opacity:.65}
.asset-card:disabled .asset-card-payout{color:var(--muted);font-size:12px}
body[data-theme] .asset-card strong{background:transparent;margin:0}
body[data-theme] .asset-card:disabled{gap:6px}
.asset-card:disabled strong{gap:8px}
.asset-card:disabled .asset-card-payout{font-size:10px;white-space:normal;width:55px;text-align:right;line-height:1.35}

.forex-pair-icon{position:relative;display:inline-block;width:34px;height:28px;flex:0 0 34px;vertical-align:middle}
.forex-pair-icon img{position:absolute;width:22px;height:22px;border-radius:50%;object-fit:cover;box-shadow:0 0 0 2px var(--panel2);top:0;left:0}
.forex-pair-icon img+img{top:6px;left:12px}
.asset-tab{padding-left:46px;min-width:150px}
.asset-tab .pair-flag{width:34px;height:28px;left:7px;top:9px}
.asset-tab small{display:flex;align-items:center;gap:4px}
.asset-tab small:before,#activeType:before{content:"";display:inline-block;vertical-align:-2px;width:12px;height:12px;background:currentColor;mask:url('/market-icons/binary.svg?v=49') center/contain no-repeat;-webkit-mask:url('/market-icons/binary.svg?v=49') center/contain no-repeat;flex-shrink:0}
#activeType:before{margin-right:5px}
.chart-head{display:flex;align-items:center;gap:12px}
.chart-asset-logo{display:flex;width:34px;min-width:34px;align-items:center;justify-content:center}
.chart-asset-logo .asset-icon{width:30px;height:30px}
.asset-categories button{gap:10px}

.account-disclosure{font-size:9px;font-weight:400;line-height:1.3;max-width:128px;white-space:normal;color:var(--muted)}
.profile-button .account-disclosure{display:block!important}
/* Market schedule notice is shown only for closed instruments. */
.chart-head .market-state[data-state="closed"]{display:block;align-self:flex-start;max-width:min(360px,55vw);padding:8px 11px;border:1px solid #d28b39;border-radius:5px;background:#241a11e8;color:#ffd295;font-size:11px;font-weight:700;line-height:1.35;white-space:normal}
body[data-theme="white"] .chart-head .market-state[data-state="closed"]{background:#fff6e9;color:#804516;border-color:#c98d40}
.asset-card .asset-card-payout{max-width:180px;text-align:right}
.asset-card:not(:disabled) .asset-card-payout:not(:empty){white-space:normal}
@media(max-width:650px){.chart-head .market-state[data-state="closed"]{max-width:175px;font-size:10px;padding:6px 8px}.asset-card .asset-card-payout{max-width:115px;font-size:10px}}
/* Transparent monogram follows every terminal theme without a dark tile. */
.logo-mini{display:grid;place-items:center;background:transparent;border:0;border-radius:0;overflow:visible}
.logo-mini img{position:static;width:100%;height:100%;max-width:100%;object-fit:contain;clip-path:none;filter:drop-shadow(0 1px 3px #0005)}
body[data-theme="white"] .logo-mini img{filter:drop-shadow(0 1px 2px #573a3355)}
body.market-closed #higher,body.market-closed #lower{opacity:.52;cursor:not-allowed}
/* Result amounts sit at the lower edge of the chart. */
.result-notices{position:fixed;bottom:60px;right:18px;z-index:120;display:flex;flex-direction:column;align-items:flex-end;gap:7px;pointer-events:none}
.result-chip{min-width:142px;padding:11px 17px;border-radius:4px;background:#1e2634f2;border:1px solid #4b5361;border-left-width:4px;font-size:22px;font-weight:700;line-height:1.2;text-align:center;letter-spacing:.2px;box-shadow:0 8px 24px #0008;opacity:0;transform:translateY(16px);transition:opacity .23s ease,transform .23s ease;font-variant-numeric:tabular-nums}
.result-chip.show{opacity:1;transform:translateY(0)}
.result-chip.win{border-left-color:#11bd54;color:#49e283}
.result-chip.loss{border-left-color:#d34c43;color:#f36d63}
@media(max-width:650px){.result-notices{gap:5px}.result-chip{min-width:112px;padding:8px 12px;font-size:18px}}
@media(prefers-reduced-motion:reduce){.result-chip{transition:none;transform:none}}
