/* DREAMCARS premium fixed shell background — contests, public feed, live, history, comments, contest detail */

html.dc-premium-shell-open,
html:has(body.dc-premium-shell-open){
  min-height:100%;
  background:#000;
}

html.dc-premium-shell-open::before,
html:has(body.dc-premium-shell-open)::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 88% 14%,rgba(255,255,255,.085),transparent 32%),
    linear-gradient(180deg,#000 0%,#000 100%);
}

html.dc-premium-shell-open::after,
html:has(body.dc-premium-shell-open)::after{
  content:"";
  position:fixed;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:radial-gradient(circle at 100% -4%,rgba(34,34,34,.78),transparent 44%);
}

body.dc-premium-shell-open{
  position:relative;
  z-index:1;
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
}

body.dc-premium-shell-open .wrap{
  background:transparent!important;
}

body.dc-premium-shell-open.feed-v2-surface.public-feed-open:not(.admin-mode):not(.feed-v2-desktop-active){
  background:transparent!important;
}

/* project-shell.css paints a fixed black layer on body::before — hide it here */
body.dc-premium-shell-open::before{
  content:none!important;
  display:none!important;
}

body.dc-premium-shell-open.guest-history-open,
html.dc-premium-shell-open:has(body.guest-history-open){
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
}

/* User comments only — admin comments keep their own blue shell */
body.dc-premium-shell-open.comments-mode:not(.comments-admin-user-visual),
html.dc-premium-shell-open body.comments-mode:not(.comments-admin-user-visual),
html.dc-premium-shell-open.comments-mode body.comments-mode:not(.comments-admin-user-visual){
  background:transparent!important;
  background-color:transparent!important;
  background-image:none!important;
}

body.dc-premium-shell-open.comments-mode:not(.comments-admin-user-visual)::before{
  content:none!important;
  display:none!important;
}

@media (max-width:767px){
  html.dc-premium-shell-open.comments-mode,
  html.dc-premium-shell-open.comments-mode body.comments-mode:not(.comments-admin-user-visual),
  html.dc-comments-bottom-anchor body.dc-premium-shell-open.comments-mode:not(.comments-admin-user-visual),
  html.dc-comments-bottom-anchor body.dc-premium-shell-open.comments-mode.device-mobile:not(.comments-admin-user-visual),
  body.dc-premium-shell-open.comments-mode.device-mobile:not(.comments-admin-user-visual){
    background:transparent!important;
    background-color:transparent!important;
    background-image:none!important;
  }
}
