/* V9.3.4 — final readability and accessible loading states. No fake data. */
.v94-chart-loading[data-load-state=unavailable]{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:8px;padding:12px;background:var(--panel);color:var(--text);box-sizing:border-box}
.v94-chart-loading[data-load-state=unavailable] strong{font-size:clamp(10px,1vw,12px);font-weight:850;line-height:1.6}
.v94-chart-loading[data-load-state=unavailable] small{font-size:11px;max-width:34ch;overflow-wrap:anywhere;line-height:1.7}
.v94-chart-loading[data-load-state=unavailable] a{font-size:11px;max-width:100%;min-height:30px;display:inline-flex;align-items:center;justify-content:center;overflow-wrap:anywhere}
.v94-chart-loading[data-load-state=loading]{text-align:center}
.v932-provider-state{font-weight:550;max-width:100%;line-height:1.85;white-space:normal;overflow-wrap:anywhere}
.v94-scene-footer .v94-market-note{line-height:1.95}
.v94-trade-actions button,.v94-phone-actions button{font-family:ui-sans-serif,system-ui,sans-serif!important;letter-spacing:.035em}
.v94-real-chart,.v94-phone-chart{isolation:isolate}
html[data-theme=dark] .v94-chart-loading[data-load-state=unavailable]{background:#102436;color:#e8f3fc}
html[data-theme=dark] .v94-chart-loading[data-load-state=unavailable] a{color:#7de6ff}
html[data-theme=light] .v94-chart-loading[data-load-state=unavailable] a{color:#05677e}
html[data-theme=dark] .v94-gold-hero .v94-instrument-head{color:#eaf6ff}
html[data-theme=dark] .v9c-card a:focus-visible,html[data-theme=dark] .v9c-nav-dropdown a:focus-visible{outline:2px solid #7de6ff;outline-offset:3px}
@media(max-width:580px){.v94-chart-loading[data-load-state=unavailable]{padding:8px}.v94-phone-chart .v94-chart-loading[data-load-state=unavailable] small{font-size:9px}.v94-phone-chart .v94-chart-loading[data-load-state=unavailable] a{font-size:9px}.v94-scene-footer{gap:8px}.v932-provider-line{align-items:flex-start}}
@media(prefers-reduced-motion:reduce){.v94-chart-loading .v94-loader{animation:none!important}}
/* On desktop, the floating phone must never cover provider retry or status. */
@media (min-width:581px){
 .v94-phone{top:11%;height:44%;min-height:205px;max-height:315px}
 .v932-provider-line{position:relative;z-index:6}
}
/* A real two-device layout: the phone occupies its own grid column so it
   never intercepts chart timeframe, BUY/SELL or retry controls on the laptop. */
@media (min-width:581px){
 .v94-device-scene{display:grid;grid-template-columns:minmax(0,1fr) clamp(128px,25%,185px);column-gap:14px;row-gap:8px;align-items:center;padding-right:0}
 .v94-laptop{grid-column:1;grid-row:1;width:100%;max-width:none}
 .v94-phone{grid-column:2;grid-row:1;position:relative;inset:auto;width:100%;max-width:185px;min-width:0;height:clamp(240px,28vw,375px);max-height:375px;min-height:240px;margin:0;animation:v94-phone-enter .8s .2s ease both}
 .v932-provider-line{grid-column:1/-1;grid-row:2;min-width:0;margin:0;position:relative;z-index:6}
 .v94-scene-footer{grid-column:1/-1;grid-row:3;margin:6px 0 0}
 .v94-interaction-status,.v94-no-script{grid-column:1/-1}
}

/* Delivery acceptance polish: real provider charts are never substituted by fake OHLC. */
.v94-chart-loading[data-load-state=loading]{position:absolute;inset:0;z-index:3;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:10px;background:linear-gradient(160deg,#092034,#112f43);color:#f2f7fb;min-height:0}
.v94-chart-loading[data-load-state=loading] small{max-width:28ch;line-height:1.75;padding:0 8px;text-align:center;color:#d5e8f1}
.v94-chart-loading[data-load-state=loading] strong{font-size:clamp(10px,.9vw,12px);letter-spacing:.06em;color:#f9d38d}
html[data-theme=light] .v94-chart-loading[data-load-state=loading]{background:linear-gradient(155deg,#eff8fc,#dcecf5);color:#13324a}
html[data-theme=light] .v94-chart-loading[data-load-state=loading] small{color:#28536a}
html[data-theme=light] .v94-chart-loading[data-load-state=loading] strong{color:#80571e}
/* Truly minimum hit-target sizes on mobile and accessible focus. */
.v94-trade-actions button,.v94-phone-actions button,.v94-timeframes button,.theme-toggle{touch-action:manipulation}
.v94-trade-actions button:focus-visible,.v94-phone-actions button:focus-visible,.v94-timeframes button:focus-visible,.theme-toggle:focus-visible{outline:3px solid #0aaec6;outline-offset:3px}
html[data-theme=dark] .v94-trade-actions button:focus-visible,html[data-theme=dark] .v94-phone-actions button:focus-visible{outline-color:#99e8ff}
@media(max-width:580px){.v94-trade-actions button{min-height:36px}.v94-phone-actions button{min-height:34px}.v94-timeframes button{min-height:27px}}
