/* Delaris V11.3 final customer polish - visual presentation ONLY. */
/* Official logo remains untouched; use bilingual hierarchy on header wordmark. */
.header .brand .v113-header-wordmark{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;line-height:1.22;gap:2px;min-width:0}
.header .brand .v113-header-wordmark>strong{font-family:system-ui,-apple-system,Segoe UI,sans-serif!important;font-size:clamp(15px,1.32vw,19px)!important;letter-spacing:.035em!important;line-height:1.15!important;color:var(--text)!important;white-space:nowrap;font-weight:830}
.header .brand .v113-header-wordmark>.v113-header-fa{font-weight:770;font-size:11px;color:var(--text);white-space:nowrap}
.header .brand .v113-header-wordmark>small{font-size:9px!important;letter-spacing:0!important;line-height:1.4!important;color:var(--muted)!important;white-space:nowrap}
.header .nav>.brand{gap:9px;min-width:0}
.header .brand img{flex:0 0 auto}
/* Phrase-length typography, no billboard-size heading or forced line breaks. */
.v8-hero-wrap.mh-hero .v8-hero-copy h1{font-size:clamp(27px,2.5vw,36px)!important;line-height:1.65!important;max-width:25ch!important;letter-spacing:-.015em!important;overflow-wrap:normal;word-break:normal;text-wrap:pretty}
.v8-hero-wrap.mh-hero .v8-hero-copy h1 em{font-size:inherit!important;line-height:inherit!important}
/* Left-to-right continuous ticker travel; each Persian quote stays RTL. */
.v11-ticker .v11-ticker-track{animation-name:v113-ticker-ltr!important;direction:ltr}
@keyframes v113-ticker-ltr{from{transform:translate3d(calc(-50% - 13px),0,0)}to{transform:translate3d(0,0,0)}}
.v11-ticker .v11-ticker-group{direction:ltr}
.v11-ticker .v11-ticker-item{direction:rtl}
.v113-mobile-date{display:none}
/* Gold, mechanical assistant button; original functional JS selectors and panel remain. */
.assistant-toggle{background:linear-gradient(135deg,#ffd768,#d79620)!important;color:#192233!important;border:1px solid #f8d06c!important;box-shadow:0 8px 26px rgba(213,144,28,.20),inset 0 1px 0 rgba(255,255,255,.48)!important;font-weight:850!important;gap:9px!important}
.assistant-toggle .v113-robot-icon{display:inline-grid!important;place-items:center!important;flex:none;width:35px!important;height:35px!important;border-radius:10px!important;background:#192332!important;color:#ffd26a!important;border:1px solid rgba(255,232,152,.45)!important}
.assistant-toggle .assistant-online{background:#17293e!important;box-shadow:0 0 0 2px #f7ca59!important}
.assistant-toggle:hover{filter:brightness(1.05)}
.assistant-toggle:focus-visible{outline:3px solid #fff3bc;outline-offset:3px}
.assistant-header{background:linear-gradient(110deg,#f5c451,#e6aa31)!important;color:#14263b!important}
.assistant-header .assistant-identity strong,.assistant-header .assistant-identity small{color:#162635!important}
.assistant-header .v113-robot-avatar{width:37px!important;height:37px!important;min-width:37px!important;display:grid!important;place-items:center!important;background:#142b3d!important;color:#ffc85c!important;border:1px solid #f3db97!important;border-radius:12px!important}
.assistant-send{background:#e4b044!important;color:#172638!important}
/* Telegram is distinctly Telegram-branded but retains the existing legitimate contact URL. */
.direct-contact.v113-telegram{background:linear-gradient(125deg,#1078b6,#32a9e2)!important;color:#fff!important;border:1px solid rgba(133,219,255,.55)!important;box-shadow:0 8px 26px rgba(13,104,161,.23)!important;display:flex!important;align-items:center!important;gap:9px!important;padding:6px 13px 6px 6px!important;direction:rtl!important}
.direct-contact.v113-telegram .v113-tg-symbol{width:35px;height:35px;min-width:35px;display:grid;place-items:center;border-radius:50%;background:#effbff;color:#168cc8;box-shadow:0 0 0 2px rgba(255,255,255,.16)}
.direct-contact.v113-telegram .v113-tg-text{font-size:12px;font-weight:800;white-space:nowrap}
.direct-contact.v113-telegram:hover{filter:brightness(1.09)}
.direct-contact.v113-telegram:focus-visible{outline:3px solid #e3faff;outline-offset:3px}
/* Canvas grid is painted from genuine OHLC data in v11-market.js; no decorative fake bars. */
.v11-market-scene .v11-laptop-chart,.v11-market-scene .mh-phone-candles{background-color:#0b1827!important;background-image:linear-gradient(180deg,#102133,#0b1827)!important}
@media(max-width:1020px){.header .brand .v113-header-wordmark>strong{font-size:16px!important}.header .brand .v113-header-wordmark>small{font-size:8px!important}}
@media(max-width:700px){
 .header .brand .v113-header-wordmark>strong{font-size:15px!important;letter-spacing:.015em!important}
 .header .brand .v113-header-wordmark>.v113-header-fa{font-size:10px}
 .header .brand .v113-header-wordmark>small{font-size:8px!important}
 .v11-ticker .v11-ticker-meta time{display:none!important}
 .v11-ticker .v11-ticker-viewport{min-width:0;flex:1}
 .v11-ticker .v11-ticker-bar{gap:5px;min-height:42px;padding:3px 9px}
 .v113-mobile-date{display:flex;align-items:center;justify-content:center;gap:7px;direction:rtl;min-height:24px;padding:2px 10px 4px;font-size:10px;color:var(--v11-muted);border-top:1px solid var(--v11-line);font-variant-numeric:tabular-nums}
 .v113-mobile-date svg{flex:none;opacity:.85}
 .v8-hero-wrap.mh-hero .v8-hero-copy h1{font-size:clamp(23px,5.4vw,29px)!important;max-width:none!important;line-height:1.7!important}
 .direct-contact.v113-telegram{padding:5px!important;gap:6px!important}
 .direct-contact.v113-telegram .v113-tg-symbol{width:32px;height:32px;min-width:32px}
 .direct-contact.v113-telegram .v113-tg-text{font-size:10px}
 .assistant-toggle{gap:5px!important}
 .assistant-toggle .v113-robot-icon{width:30px!important;height:30px!important}
}
@media(max-width:390px){
 .header .brand .v113-header-wordmark>strong{font-size:13px!important}
 .header .brand .v113-header-wordmark>small{font-size:7px!important}
 .direct-contact.v113-telegram .v113-tg-text{display:none}
 .direct-contact.v113-telegram .v113-tg-symbol{width:33px;height:33px}
}
@media(prefers-reduced-motion:reduce){.v11-ticker .v11-ticker-track{animation:none!important;transform:none!important}}
