[data-sandbox-hide] .data-table,
[data-sandbox-hide] .marketwatch,
[data-sandbox-hide] .dashboard,
[data-sandbox-hide] .container-right .page-content > .profile {
  position: relative;
}

[data-sandbox-hide] .data-table::after,
[data-sandbox-hide] .marketwatch::after,
[data-sandbox-hide] .dashboard::after,
[data-sandbox-hide] .container-right .page-content > .profile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background-color: currentColor;
  opacity: 0.05;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 120'%3E%3Ctext x='200' y='60' dominant-baseline='middle' text-anchor='middle' transform='rotate(-10 200 60)' font-family='sans-serif' font-size='64' font-weight='400' letter-spacing='6'%3ESANDBOX%3C/text%3E%3C/svg%3E");
  mask-size: min(100%, 400px) min(100%, 200px);
  mask-repeat: repeat-y;
  mask-position: center top;
  pointer-events: none;
  user-select: none;
}

[data-sandbox-hide] .dashboard::after {
  mask-size: min(100%, 480px) min(100%, 200px);
  mask-repeat: no-repeat;
  mask-position: center;
}

[data-sandbox-hide] .header .app-nav .sandbox-label {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  margin-right: 12px;
  padding: 6px 9px;
  border: 1px solid currentColor;
  border-radius: 3px;
  color: #f6461a;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

html[data-sandbox-hide~="ipo"] a[href="/bids"],
html[data-sandbox-hide~="ipo"] a[href^="/bids/ipo"],
html[data-sandbox-hide~="ipo"] .ipo-widget-modal,
html[data-sandbox-hide~="add-funds"] a[title="Add funds"],
html[data-sandbox-hide~="add-funds"] .margins .margin-actions .button-green,
html[data-sandbox-hide~="add-funds"] .margins .upi-info,
html[data-sandbox-hide~="withdraw"] a[title="Withdraw"],
html[data-sandbox-hide~="withdraw"] .margins .margin-actions a[href*="/funds/overview"],
html[data-sandbox-hide~="holdings"] a[href="/holdings"],
html[data-sandbox-hide~="holdings"] a[href^="/holdings/"],
html[data-sandbox-hide~="holdings"] .dashboard .stats-block.holdings,
html[data-sandbox-hide~="screener"] a[href="/dashboard/screener"],
[data-sandbox-hide] .widget-screener-presets,
[data-sandbox-hide] .dashboard-screener-presets,
[data-sandbox-hide] .discover-events,
[data-sandbox-hide] .dashboard .stats-block:not(.margins-stats),
[data-sandbox-hide] .page-nav a[href="/orders/gtt"],
[data-sandbox-hide] .page-nav a[href="/orders/baskets"],
[data-sandbox-hide] .page-nav a[href="/orders/sip"],
[data-sandbox-hide] .page-nav a[href="/orders/alerts"],
[data-sandbox-hidden] {
  display: none !important;
}
