/* Hide TradingView attribution logo / "Chart by TradingView" link on the chart pane.
   Selectors are not part of TV's stable API — may need updates after library upgrades. */
a[href*="tradingview.com"],
a[href*="tradingview.com/"],
.tv-attr-logo,
#tv-attr-logo,
div[class*="attr-logo"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

html.theme-dark {
  --tv-color-pane-background: #141414;
  --tv-color-platform-background: #141414;
}

html.theme-light {
  --tv-color-pane-background: #fafbf9;
  --tv-color-platform-background: #fafbf9;
}

.layout__area--top ~ .layout__area--left {
  margin-top: -4px;
}

.layout__area--top ~ .layout__area--center {
  margin-top: -1px;
  bottom: 0 !important;
  height: auto !important;
}

.layout__area--left ~ .layout__area--center {
  margin-top: -4px;
  margin-left: -4px;
  right: 0 !important;
  width: auto !important;
}
