/* clike.ru contests public — ?page=contests_public (scoped to body.contests-public-open) */

body.contests-public-open{
  --cp-orange:var(--ds-brand-2);
  --cp-orange-hi:#ffb21a;
  --cp-text:var(--ds-ink);
  --cp-soft:var(--ds-muted);
  --cp-muted:var(--ds-muted-2);
  --cp-border:rgba(255,138,0,.16);
  --cp-topbar-height:var(--dc-hub-pinned-bar-h,40px);
  --cp-topbar-gap:var(--dc-hub-pinned-bar-gap,8px);
  --cp-topbar-bar-h:var(--dc-hub-pinned-bar-h,40px);
  --cp-topbar-back-w:40px;
  --cp-topbar-count-w:40px;
  --cp-section-gap:14px;
  --cp-hub-max:767px;
  --cp-card-radius:22px;
  --cp-card-gap:14px;
}

body.contests-public-open header.dc-app-header.dc-header-shell{
  border-radius:0!important;
}

body.contests-public-open .cp-page.cp-hub{
  display:flex;
  flex-direction:column;
  gap:var(--cp-section-gap);
  width:100%;
  max-width:var(--cp-hub-max);
  margin:0 auto;
  min-width:0;
  container-type:inline-size;
  container-name:cp-hub;
}

body.contests-public-open .cp-main{
  display:grid;
  grid-template-columns:1fr;
  gap:var(--cp-section-gap);
  align-items:start;
  min-width:0;
}

body.contests-public-open .cp-main--solo{
  grid-template-columns:1fr;
}

body.contests-public-open .cp-workspace{
  display:flex;
  flex-direction:column;
  gap:var(--cp-section-gap);
  min-width:0;
}

body.contests-public-open h1{
  margin:0!important;
  padding:0!important;
}

/* Pinned topbar position: authority in dc-hub-pinned-chrome.css */

body.contests-public-open > nav.cp-topbar-shell.dc-hub-pinned-bar[data-cp-hub-chrome],
body.contests-public-open .wrap > nav.cp-topbar-shell.dc-hub-pinned-bar[data-cp-hub-chrome] {
  display: grid !important;
  margin: 0 !important;
  overflow: hidden !important;
  isolation: isolate;
  contain: layout style;
}

body.contests-public-open > nav.cp-topbar-shell.dc-hub-pinned-bar[data-cp-hub-chrome] .cp-topbar__back,
body.contests-public-open > nav.cp-topbar-shell.dc-hub-pinned-bar[data-cp-hub-chrome] a {
  margin: 0 !important;
}

body.contests-public-open .cp-topbar,
body.contests-public-open > nav.cp-topbar-shell.dc-hub-pinned-bar[data-cp-hub-chrome] {
  display:grid;
  grid-template-columns:var(--cp-topbar-back-w,40px) minmax(0,1fr) minmax(var(--cp-topbar-count-w,40px),auto);
  align-items:stretch;
  gap:0;
  height:var(--cp-topbar-bar-h);
  min-height:var(--cp-topbar-bar-h);
  max-height:var(--cp-topbar-bar-h);
  margin:0;
  padding:0;
  border-radius:999px;
  border:1px solid rgba(255,138,0,.16);
  background:
    radial-gradient(circle at 8% 50%,rgba(255,138,0,.07),transparent 42%),
    linear-gradient(180deg,rgba(22,22,22,.98),rgba(10,10,10,.96));
  box-shadow:
    0 10px 28px rgba(0,0,0,.28),
    inset 0 1px 0 rgba(255,255,255,.05);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  box-sizing:border-box;
}

body.contests-public-open .cp-topbar__back{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  align-self:stretch;
  justify-self:stretch;
  grid-column:1;
  width:100%;
  height:100%;
  min-width:var(--cp-topbar-back-w,40px);
  min-height:0!important;
  max-height:100%;
  margin:0!important;
  padding:0;
  border:0;
  border-right:1px solid rgba(255,138,0,.14);
  border-radius:999px 0 0 999px;
  background:linear-gradient(90deg,rgba(255,138,0,.10),rgba(255,255,255,.025));
  color:rgba(255,211,145,.96);
  text-decoration:none;
  box-shadow:inset -1px 0 0 rgba(255,255,255,.04);
  transition:background .15s ease,border-color .15s ease,color .15s ease;
  -webkit-tap-highlight-color:transparent;
  touch-action:manipulation;
}
body.contests-public-open .cp-topbar__back:hover,
body.contests-public-open .cp-topbar__back:focus-visible{
  background:linear-gradient(90deg,rgba(255,138,0,.16),rgba(255,255,255,.04));
  border-right-color:rgba(255,138,0,.24);
  color:#ffd391;
  outline:none;
}
body.contests-public-open .cp-topbar__back:active{
  background:linear-gradient(90deg,rgba(255,138,0,.22),rgba(255,138,0,.06));
  border-right-color:rgba(255,138,0,.32);
  color:#ffe5b8;
}
body.contests-public-open .cp-topbar__back svg{
  width:20px;
  height:20px;
  display:block;
  flex:none;
  filter:drop-shadow(0 1px 1px rgba(0,0,0,.28));
}
body.contests-public-open nav.cp-topbar-shell h1.cp-topbar__title,
body.contests-public-open .cp-topbar__title{
  display:flex;
  align-items:center;
  justify-content:center;
  align-self:stretch;
  margin:0!important;
  padding:0 12px!important;
  font-size:15px!important;
  line-height:1.15!important;
  font-weight:600!important;
  letter-spacing:.015em;
  color:var(--ds-ink)!important;
  text-align:center;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  grid-column:2;
  justify-self:stretch;
  width:100%;
  min-width:0;
  -webkit-font-smoothing:antialiased;
}
body.contests-public-open .cp-topbar__count{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  align-self:stretch;
  justify-self:stretch;
  grid-column:3;
  width:100%;
  min-width:var(--cp-topbar-count-w,40px);
  height:100%;
  min-height:0;
  margin:0;
  padding:0 12px 0 8px;
  border:0;
  border-left:1px solid rgba(255,180,80,.24);
  border-radius:0 999px 999px 0;
  background:linear-gradient(135deg,#ffc56a 0%,#ff9a28 48%,#ff7200 100%);
  color:#1a1005;
  font-size:13px;
  font-weight:800;
  line-height:1;
  font-variant-numeric:tabular-nums;
  letter-spacing:-.02em;
  text-align:center;
  box-shadow:inset 1px 0 0 rgba(255,255,255,.24);
  white-space:nowrap;
}

body.contests-public-open .cp-list-section{
  margin:0;
  min-width:0;
}

body.contests-public-open .cp-section-title{
  margin:0;
  font-size:clamp(16px, 4.2vw, 18px);
  font-weight:850;
  line-height:1.2;
  color:var(--cp-text);
}

body.contests-public-open .cp-section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}
body.contests-public-open .cp-section-count{
  min-width:28px;
  padding:4px 8px;
  border-radius:999px;
  background:rgba(255,138,0,.12);
  border:1px solid rgba(255,138,0,.28);
  color:#ffd391;
  font-size:11px;
  font-weight:800;
  text-align:center;
}
body.contests-public-open .cp-contest-list{
  display:flex;
  flex-direction:column;
  gap:var(--cp-card-gap);
}

/* —— Contest card —— */
body.contests-public-open .contest-card,
body.contests-public-open .cp-contest-card{
  position:relative;
  margin:0!important;
  padding:0!important;
  border-radius:var(--cp-card-radius)!important;
  border:1px solid rgba(255,138,0,.20)!important;
  background:linear-gradient(180deg,rgba(20,20,20,.98),rgba(10,10,10,.96))!important;
  box-shadow:0 12px 32px rgba(0,0,0,.34),0 0 0 1px rgba(255,255,255,.04)!important;
  overflow:hidden!important;
  min-width:0;
  container-type:inline-size;
  container-name:cp-contest-card;
}
body.contests-public-open .cp-contest-card--mine{
  border-color:rgba(255,179,71,.38)!important;
  box-shadow:0 12px 32px rgba(0,0,0,.34),0 0 0 1px rgba(255,179,71,.12)!important;
}
body.contests-public-open .cp-contest-card--finished{
  border-color:rgba(255,91,91,.28)!important;
  box-shadow:0 12px 32px rgba(0,0,0,.34),0 0 0 1px rgba(255,91,91,.10)!important;
}
body.contests-public-open .cp-contest-card--finished .cp-contest-card__media{
  filter:saturate(.82) brightness(.9);
}
body.contests-public-open .cp-contest-card--finished .cp-contest-card__title{
  color:rgba(255,255,255,.88)!important;
}
body.contests-public-open .cp-contest-card--finished .cp-contest-progress span{
  background:linear-gradient(90deg,#ff6b6b,#c93b3b)!important;
}
body.contests-public-open .cp-contest-card__head{
  border-bottom:1px solid var(--ds-panel-bd);
}
body.contests-public-open .cp-contest-card__head-cap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  min-width:0;
  background:var(--ds-panel-soft);
}
body.contests-public-open .cp-contest-card__head-cap .tg-feed-channel-header{
  display:block;
  flex:1 1 auto;
  box-sizing:border-box;
  width:auto;
  min-width:0;
  margin:0;
  padding:8px 0 8px 14px;
  font-size:14px;
  line-height:1.25;
  font-weight:600;
  letter-spacing:0;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  background:transparent;
}
body.contests-public-open .cp-contest-card__head-badges{
  display:flex;
  align-items:center;
  flex-shrink:0;
  padding:8px 14px 8px 0;
}
body.contests-public-open .cp-contest-card__status{
  display:inline;
  flex-shrink:0;
  white-space:nowrap;
  min-height:0!important;
  padding:0!important;
  border-radius:0!important;
  font-size:11px!important;
  line-height:1.25!important;
  font-weight:400!important;
  letter-spacing:.02em!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  box-shadow:none!important;
  text-shadow:none!important;
  background:transparent!important;
  border:0!important;
  border-color:transparent!important;
  outline:none!important;
}
body.contests-public-open .cp-contest-card__status.ok{
  color:#6fe9a8!important;
}
body.contests-public-open .cp-contest-card__status.warn{
  color:#ffd166!important;
}
body.contests-public-open .cp-contest-card__status.danger{
  color:#ff9a9a!important;
}
body.contests-public-open .cp-contest-card__status.muted{
  color:var(--ds-muted)!important;
}
body.contests-public-open .cp-contest-card__head .tg-feed-channel-header--brand .tg-feed-channel-header__word{
  display:inline;
  font-weight:600;
  letter-spacing:0;
}
body.contests-public-open .cp-contest-card__head .tg-feed-channel-header--brand .tg-feed-channel-header__word--clike{
  background:linear-gradient(180deg,#ffb830 0%,#ff7f12 52%,#ff3f00 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  -webkit-text-fill-color:transparent;
}
body.contests-public-open .cp-contest-card__head .tg-feed-channel-header--brand .tg-feed-channel-header__word--ru{
  color:var(--ds-ink);
  -webkit-text-fill-color:var(--ds-ink);
}
body.contests-public-open .cp-contest-card__head .tg-feed-channel-header--partner .tg-feed-channel-header__label{
  color:var(--ds-ink);
  font-weight:600;
}
body.contests-public-open .cp-contest-card__head .tg-feed-channel-header--partner .tg-feed-channel-header__name{
  color:#6abee0;
  font-weight:600;
}
body.contests-public-open .cp-contest-card__topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:6px 12px 8px;
}
body.contests-public-open .cp-contest-card__preview{
  container-type:inline-size;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:10px;
  align-items:start;
  padding:0 12px 10px;
}
body.contests-public-open .cp-contest-card__media{
  position:relative;
  min-width:0;
  width:100%;
  height:auto;
  border-radius:14px;
  overflow:hidden;
  background:var(--ds-bg);
  isolation:isolate;
}
body.contests-public-open .contest-image{
  width:100%!important;
  max-width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  aspect-ratio:unset!important;
  object-fit:unset!important;
  object-position:center!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  display:block!important;
  vertical-align:middle;
  background:transparent!important;
}
body.contests-public-open .contest-image.dc-media-placeholder-img{
  object-fit:unset!important;
  object-position:center!important;
  padding:0;
  box-sizing:border-box!important;
}
body.contests-public-open .contest-image.missing{
  display:none!important;
}
body.contests-public-open .cp-contest-card__badges{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  align-items:center;
  gap:4px;
  flex-shrink:0;
  max-width:none;
}
body.contests-public-open .cp-contest-card__badges .pill{
  flex-shrink:0;
  white-space:nowrap;
  min-height:0!important;
  padding:3px 8px!important;
  font-size:10px!important;
  line-height:1.15!important;
}
body.contests-public-open .cp-contest-card__media::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:42%;
  background:linear-gradient(180deg,transparent 0%,rgba(0,0,0,.72) 100%);
  pointer-events:none;
  z-index:1;
}
body.contests-public-open .cp-contest-card__date{
  position:absolute;
  right:0;
  bottom:0;
  z-index:2;
  max-width:100%;
  padding:0;
  border:0;
  background:transparent;
  pointer-events:none;
}
body.contests-public-open .cp-contest-card__date-value{
  display:block;
  max-width:100%;
  padding:5px 9px 6px;
  border-radius:10px 0 14px 0;
  border:0;
  border-top:1px solid rgba(255,255,255,.1);
  border-left:1px solid rgba(255,255,255,.08);
  background:rgba(0,0,0,.42);
  backdrop-filter:blur(6px);
  -webkit-backdrop-filter:blur(6px);
  box-shadow:none;
  font-size:9px;
  font-weight:600;
  letter-spacing:.03em;
  color:rgba(255,255,255,.9);
  line-height:1.1;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  text-align:right;
  text-shadow:0 1px 2px rgba(0,0,0,.35);
}
body.contests-public-open .cp-contest-card__intro{
  display:grid;
  grid-template-rows:minmax(0,1fr) auto;
  gap:8px;
  min-width:0;
  min-height:0;
  height:min(calc((100cqw - 10px) * 9 / 32),140px);
  overflow:hidden;
  padding:0;
}
body.contests-public-open .cp-contest-card__desc-wrap{
  min-height:0;
  overflow:hidden;
  position:relative;
}
body.contests-public-open .cp-contest-card__desc-wrap::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:18px;
  background:linear-gradient(180deg,transparent,rgba(10,10,10,.92));
  pointer-events:none;
}
body.contests-public-open .cp-contest-card__intro-foot{
  display:block;
  flex-shrink:0;
  width:100%;
}
body.contests-public-open .cp-contest-card__desc,
body.contests-public-open .cp-contest-card__desc.feed-text,
body.contests-public-open .contest-card > p{
  margin:0!important;
  font-size:11px!important;
  line-height:1.42!important;
  color:var(--ds-muted)!important;
  overflow:hidden;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:10;
  white-space:normal;
  word-break:break-word;
}
body.contests-public-open .cp-contest-card__desc a.tg-caption-link{
  color:#ffb347;
  text-decoration:underline;
  text-underline-offset:2px;
}
body.contests-public-open .cp-contest-card__metrics--preview{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:7px;
  margin:0;
  width:100%;
}
body.contests-public-open .cp-contest-metric--preview{
  position:relative;
  padding:8px 9px 7px;
  border-radius:12px;
  min-width:0;
  border:1px solid rgba(255,138,0,.16);
  background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.015));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07);
}
body.contests-public-open .cp-contest-metric--preview .cp-contest-metric__label{
  display:block;
  font-size:8px;
  font-weight:700;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:rgba(255,211,145,.58);
  margin-bottom:4px;
}
body.contests-public-open .cp-contest-metric--preview strong{
  display:block;
  font-size:12px;
  font-weight:850;
  line-height:1.15;
  color:var(--ds-ink);
  letter-spacing:-.01em;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
body.contests-public-open .cp-contest-metric--preview.cp-contest-metric--price{
  border-color:rgba(255,154,31,.24);
  background:linear-gradient(180deg,rgba(255,138,0,.08),rgba(255,255,255,.02));
}
body.contests-public-open .cp-contest-metric--preview.cp-contest-metric--price strong{
  color:#ffd391;
}

/* Mobile portrait — ref: image | (desc + metrics in right column) */
@media (max-width:767px){
  body.contests-public-open .cp-contest-card__preview{
    --cp-preview-img:47%;
    --cp-preview-gap:7px;
    grid-template-columns:minmax(0,var(--cp-preview-img)) minmax(0,1fr);
    grid-template-rows:1fr;
    gap:var(--cp-preview-gap);
    padding:0 12px 8px;
    align-items:stretch;
  }
  body.contests-public-open .cp-contest-card__media{
    grid-column:1;
    grid-row:1;
    width:100%;
    max-width:100%;
    height:auto;
    align-self:start;
    border-radius:12px;
  }
  body.contests-public-open .cp-contest-card__intro{
    display:grid!important;
    grid-column:2;
    grid-row:1;
    grid-template-rows:minmax(0,1fr) auto;
    gap:6px;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    overflow:hidden!important;
    align-self:stretch;
    min-width:0;
    padding:0;
  }
  body.contests-public-open .cp-contest-card__desc-wrap{
    min-height:0;
    max-height:none;
    overflow:hidden;
  }
  body.contests-public-open .cp-contest-card__desc-wrap::after{
    height:14px;
  }
  body.contests-public-open .cp-contest-card__desc,
  body.contests-public-open .cp-contest-card__desc.feed-text{
    font-size:10.5px!important;
    line-height:1.36!important;
    -webkit-line-clamp:4;
  }
  body.contests-public-open .cp-contest-card__intro .cp-contest-countdown{
    margin:0;
  }
  body.contests-public-open .cp-contest-card__intro-foot{
    width:100%;
    min-width:0;
    padding-top:0;
    flex-shrink:0;
  }
  body.contests-public-open .cp-contest-card__metrics--preview{
    grid-template-columns:minmax(0,1.06fr) minmax(0,0.84fr);
    gap:4px;
    width:100%;
    max-width:100%;
  }
  body.contests-public-open .cp-contest-metric--preview{
    padding:5px 5px 4px;
    border-radius:10px;
    min-width:0;
    overflow:hidden;
  }
  body.contests-public-open .cp-contest-metric--preview .cp-contest-metric__label{
    font-size:7px;
    letter-spacing:.03em;
    margin-bottom:2px;
    line-height:1.1;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  body.contests-public-open .cp-contest-metric--preview strong{
    display:block;
    font-size:clamp(8.5px,2.35vw,10px);
    line-height:1.12;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    font-variant-numeric:tabular-nums;
    letter-spacing:-.02em;
  }
  body.contests-public-open .cp-contest-metric--preview.cp-contest-metric--price strong{
    font-size:clamp(8.5px,2.35vw,10px);
    letter-spacing:-.02em;
  }
  body.contests-public-open .cp-contest-card__body{
    padding:8px 12px 12px!important;
  }
  body.contests-public-open .cp-contest-card__footer{
    grid-template-columns:1fr;
  }
  body.contests-public-open .cp-contest-card__actions{
    grid-template-columns:minmax(0,1fr) auto;
    gap:8px;
  }
  body.contests-public-open .cp-contest-card__share span{
    display:inline;
  }
  body.contests-public-open .cp-contest-card__more{
    padding-left:0;
    padding-top:8px;
    border-left:0;
    border-top:1px solid var(--ds-panel-bd);
  }
  body.contests-public-open .cp-contest-card__topbar{
    padding:5px 12px 4px;
  }
  body.contests-public-open .cp-contest-card__title,
  body.contests-public-open .contest-card h2{
    font-size:15px!important;
  }
}
body.contests-public-open .cp-contest-card__body{
  padding:8px 12px 12px!important;
}
body.contests-public-open .cp-contest-card__title,
body.contests-public-open .contest-card h2{
  margin:0!important;
  flex:1;
  min-width:0;
  font-size:16px!important;
  line-height:1.1!important;
  font-weight:850!important;
  color:var(--ds-ink)!important;
  text-align:left;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
body.contests-public-open .cp-contest-progress{
  height:6px;
  border-radius:999px;
  background:var(--ds-panel-bd);
  overflow:hidden;
  margin-bottom:6px;
}
body.contests-public-open .cp-contest-progress > span{
  display:block;
  height:100%;
  border-radius:inherit;
  background:var(--ds-brand-grad);
}
body.contests-public-open .cp-contest-progress-label{
  margin:0 0 10px!important;
  font-size:12px!important;
  color:var(--ds-muted)!important;
}
body.contests-public-open .cp-contest-promos{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:6px;
  margin-bottom:8px;
}
body.contests-public-open .cp-contest-promos__label{
  font-size:11px;
  font-weight:700;
  color:var(--ds-muted-2);
  margin-right:2px;
}
body.contests-public-open .cp-contest-promo-chip{
  display:inline-flex;
  min-height:26px;
  align-items:center;
  padding:0 10px;
  border-radius:999px;
  border:1px solid rgba(255,179,71,.28);
  background:rgba(255,138,0,.08);
  color:#ffd391;
  font-size:11px;
  font-weight:700;
}
body.contests-public-open .cp-contest-profile-link{
  margin:0 0 10px;
  font-size:12px;
  line-height:1.4;
  color:var(--ds-muted);
}
body.contests-public-open .cp-contest-profile-link__action{
  color:#ffb347;
  font-weight:700;
  text-decoration:underline;
  text-underline-offset:2px;
}
body.contests-public-open .cp-contest-profile-link__action:hover,
body.contests-public-open .cp-contest-profile-link__action:focus-visible{
  color:#ffd391;
}
body.contests-public-open .cp-contest-card__footer{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,34%);
  gap:10px 12px;
  align-items:start;
  margin-top:4px;
}
body.contests-public-open .cp-contest-card__footer:not(:has(.cp-contest-card__more)){
  grid-template-columns:1fr;
}
body.contests-public-open .cp-contest-card__footer-main{
  min-width:0;
}
body.contests-public-open .cp-contest-card__actions{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px;
  align-items:stretch;
}
body.contests-public-open .cp-contest-card__actions:has(.cp-contest-card__cta:only-child){
  grid-template-columns:1fr;
}
body.contests-public-open .cp-contest-card__cta,
body.contests-public-open .contest-card > a.btn.cp-contest-card__cta{
  position:relative;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-height:44px!important;
  padding:0 18px!important;
  border-radius:12px!important;
  font-size:12.5px!important;
  font-weight:700!important;
  letter-spacing:.03em!important;
  text-transform:uppercase!important;
  text-decoration:none!important;
  box-sizing:border-box!important;
  border:1px solid rgba(255,196,120,.32)!important;
  background:linear-gradient(180deg,#ffd27a 0%,#ff9a28 48%,#ff7200 100%)!important;
  color:#1a1105!important;
  box-shadow:0 4px 14px rgba(255,106,0,.18), inset 0 1px 0 rgba(255,255,255,.32)!important;
  overflow:hidden!important;
  transition:transform .14s ease, box-shadow .14s ease, filter .14s ease;
}
body.contests-public-open .cp-contest-card__cta::before{
  content:none;
}
body.contests-public-open .cp-contest-card__cta-text{
  position:relative;
  z-index:1;
  line-height:1.1;
}
body.contests-public-open .cp-contest-card__cta:hover,
body.contests-public-open .cp-contest-card__cta:focus-visible{
  filter:brightness(1.03);
  box-shadow:0 6px 18px rgba(255,106,0,.24), inset 0 1px 0 rgba(255,255,255,.38)!important;
}
body.contests-public-open .cp-contest-card__cta:active{
  transform:translateY(1px);
  box-shadow:0 2px 8px rgba(255,106,0,.14), inset 0 1px 0 rgba(255,255,255,.24)!important;
}
body.contests-public-open .cp-contest-card__cta--sold-out,
body.contests-public-open .cp-contest-card__cta--sold-out:hover,
body.contests-public-open .cp-contest-card__cta--sold-out:focus-visible,
body.contests-public-open .cp-contest-card__cta--sold-out:active{
  pointer-events:none!important;
  cursor:default!important;
  filter:none!important;
  transform:none!important;
  background:linear-gradient(180deg,#ff8a8a 0%,#e04545 48%,#c62828 100%)!important;
  border-color:rgba(255,140,140,.38)!important;
  color:#1a0505!important;
  box-shadow:0 4px 14px rgba(220,50,50,.18), inset 0 1px 0 rgba(255,255,255,.22)!important;
}
body.contests-public-open .cp-contest-card__share{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  flex:0 0 auto!important;
  min-height:44px!important;
  min-width:44px!important;
  padding:0 15px!important;
  border-radius:12px!important;
  font-size:12px!important;
  font-weight:600!important;
  letter-spacing:.01em!important;
  text-decoration:none!important;
  white-space:nowrap!important;
  box-sizing:border-box!important;
  border:1px solid rgba(255,255,255,.14)!important;
  background:rgba(255,255,255,.055)!important;
  color:rgba(255,255,255,.9)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.07)!important;
  transition:background .14s ease, border-color .14s ease, color .14s ease, transform .14s ease;
}
body.contests-public-open .cp-contest-card__share-icon{
  flex:0 0 auto;
  display:block;
  width:15px;
  height:15px;
  opacity:.78;
}
body.contests-public-open .cp-contest-card__share:hover,
body.contests-public-open .cp-contest-card__share:focus-visible{
  background:rgba(255,255,255,.1)!important;
  border-color:rgba(255,196,120,.26)!important;
  color:#fff!important;
}
body.contests-public-open .cp-contest-card__share:hover .cp-contest-card__share-icon,
body.contests-public-open .cp-contest-card__share:focus-visible .cp-contest-card__share-icon{
  opacity:1;
}
body.contests-public-open .cp-contest-card__share:active{
  transform:translateY(1px);
  background:rgba(255,255,255,.08)!important;
}
body.contests-public-open .cp-contest-card__more{
  min-width:0;
  padding-left:10px;
  border-left:1px solid var(--ds-panel-bd);
}
body.contests-public-open .cp-contest-card__more-label{
  margin-bottom:6px;
  font-size:8px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:rgba(255,211,145,.56);
}
body.contests-public-open .cp-contest-card__more-list{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:5px;
}
body.contests-public-open .cp-contest-card__more-item,
body.contests-public-open .cp-contest-card__more-link{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:1;
  overflow:hidden;
  font-size:11px;
  font-weight:650;
  line-height:1.25;
  color:rgba(255,255,255,.76);
  text-decoration:none;
  transition:color .15s ease;
}
body.contests-public-open .cp-contest-card__more-link:hover,
body.contests-public-open .cp-contest-card__more-item:hover{
  color:#ffd391;
}
body.contests-public-open .contest-card > .btn,
body.contests-public-open .contest-card > a.btn:not(.cp-contest-card__cta){
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  flex:1 1 160px!important;
  width:auto!important;
  margin-top:0!important;
  min-height:44px!important;
  padding:11px 16px!important;
  border-radius:14px!important;
  font-size:14px!important;
  font-weight:900!important;
  letter-spacing:.02em!important;
  text-decoration:none!important;
  box-sizing:border-box!important;
  border:1px solid rgba(255,138,0,.55)!important;
  background:var(--ds-brand-grad)!important;
  color:#111!important;
  box-shadow:0 8px 20px rgba(255,106,0,.24)!important;
}
body.contests-public-open .btn.secondary{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:44px!important;
  padding:11px 14px!important;
  border-radius:14px!important;
  font-size:13px!important;
  font-weight:700!important;
  text-decoration:none!important;
  border:1px solid rgba(255,255,255,.16)!important;
  background:rgba(255,255,255,.04)!important;
  color:rgba(255,255,255,.86)!important;
  box-shadow:none!important;
}
body.contests-public-open .contest-card .pill{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:28px!important;
  padding:5px 12px!important;
  border-radius:999px!important;
  font-size:11px!important;
  font-weight:800!important;
  letter-spacing:.02em!important;
  border:1px solid transparent!important;
  vertical-align:middle!important;
}
body.contests-public-open .contest-card .pill.ok{
  color:#6fe9a8!important;
  background:rgba(38,208,124,.12)!important;
  border-color:rgba(62,207,142,.42)!important;
}
body.contests-public-open .contest-card .pill.warn{
  color:#ffd166!important;
  background:rgba(255,193,7,.10)!important;
  border-color:rgba(255,193,7,.32)!important;
}
body.contests-public-open .contest-card .pill.danger{
  color:#ff9a9a!important;
  background:rgba(255,60,60,.10)!important;
  border-color:rgba(255,91,91,.36)!important;
}
body.contests-public-open .contest-card .pill.muted{
  color:rgba(255,255,255,.72)!important;
  background:rgba(255,255,255,.06)!important;
  border-color:rgba(255,255,255,.14)!important;
}

/* Status in card head — plain text, no pill chrome (must follow .contest-card .pill*) */
body.contests-public-open .contest-card .cp-contest-card__head-badges .cp-contest-card__status,
body.contests-public-open .contest-card .cp-contest-card__status{
  display:inline!important;
  min-height:0!important;
  padding:0!important;
  border-radius:0!important;
  font-size:11px!important;
  line-height:1.25!important;
  font-weight:400!important;
  letter-spacing:.02em!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  box-shadow:none!important;
  text-shadow:none!important;
  background:transparent!important;
  border:0!important;
  border-color:transparent!important;
  outline:none!important;
}
body.contests-public-open .contest-card .cp-contest-card__status.ok{
  color:#6fe9a8!important;
  background:transparent!important;
  border:0!important;
  border-color:transparent!important;
}
body.contests-public-open .contest-card .cp-contest-card__status.warn{
  color:#ffd166!important;
  background:transparent!important;
  border:0!important;
  border-color:transparent!important;
}
body.contests-public-open .contest-card .cp-contest-card__status.danger{
  color:#ff9a9a!important;
  background:transparent!important;
  border:0!important;
  border-color:transparent!important;
}
body.contests-public-open .contest-card .cp-contest-card__status.muted{
  color:var(--ds-muted)!important;
  background:transparent!important;
  border:0!important;
  border-color:transparent!important;
}

body.contests-public-open .cp-contest-card__badges .pill{
  flex-shrink:0;
  white-space:nowrap;
  min-height:0!important;
  padding:3px 8px!important;
  font-size:10px!important;
  line-height:1.15!important;
  backdrop-filter:blur(12px)!important;
  -webkit-backdrop-filter:blur(12px)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08)!important;
  text-shadow:0 1px 2px rgba(0,0,0,.4)!important;
  background:linear-gradient(180deg,rgba(12,12,12,.84),rgba(0,0,0,.72))!important;
  border:1px solid rgba(255,255,255,.16)!important;
}
body.contests-public-open .cp-contest-card__badges .pill.ok{
  color:#8ff5c3!important;
  border-color:rgba(62,207,142,.52)!important;
  background:
    linear-gradient(180deg,rgba(10,28,18,.88),rgba(0,0,0,.74)),
    rgba(38,208,124,.18)!important;
}
body.contests-public-open .cp-contest-card__badges .pill.warn{
  color:#ffe08a!important;
  border-color:rgba(255,193,7,.48)!important;
  background:
    linear-gradient(180deg,rgba(28,22,8,.88),rgba(0,0,0,.74)),
    rgba(255,193,7,.14)!important;
}
body.contests-public-open .cp-contest-card__badges .pill.danger{
  color:#ffb0b0!important;
  border-color:rgba(255,91,91,.48)!important;
  background:
    linear-gradient(180deg,rgba(28,10,10,.88),rgba(0,0,0,.74)),
    rgba(255,60,60,.14)!important;
}
body.contests-public-open .cp-contest-card__badges .pill.muted{
  color:rgba(255,255,255,.88)!important;
  border-color:rgba(255,255,255,.18)!important;
}

/* —— Empty / finished —— */
body.contests-public-open .cp-empty-card{
  padding:18px 16px!important;
  border-radius:18px!important;
  text-align:center!important;
  color:var(--ds-muted)!important;
}
body.contests-public-open .cp-empty-hint{
  margin:8px 0 14px!important;
  font-size:13px!important;
  color:var(--ds-muted-2)!important;
}
body.contests-public-open .cp-finished-section{
  margin:0;
  min-width:0;
  padding:0!important;
  border-radius:var(--cp-card-radius)!important;
  overflow:hidden!important;
}
body.contests-public-open .cp-finished-details summary{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:14px 16px;
  cursor:pointer;
  list-style:none;
}
body.contests-public-open .cp-finished-details summary::-webkit-details-marker{
  display:none;
}
body.contests-public-open .cp-finished-details[open] summary{
  border-bottom:1px solid var(--ds-panel-bd);
}
body.contests-public-open .cp-contest-list--finished{
  padding:12px;
}
body.contests-public-open .cp-contest-card--compact .cp-contest-card__metrics--preview,
body.contests-public-open .cp-contest-card--compact .cp-contest-promos,
body.contests-public-open .cp-contest-card--compact .cp-contest-profile-link,
body.contests-public-open .cp-contest-card--compact .cp-contest-card__more{
  display:none;
}
body.contests-public-open .cp-contest-card--compact .cp-contest-card__footer{
  grid-template-columns:1fr;
}

body.contests-public-open .cp-contest-list{
  container-type:inline-size;
  container-name:contests-public-list;
}

@container contests-public-list (max-width:520px){
  body.contests-public-open .cp-contest-card__footer{
    grid-template-columns:1fr;
  }
  body.contests-public-open .cp-contest-card__more{
    padding-left:0;
    padding-top:8px;
    border-left:0;
    border-top:1px solid var(--ds-panel-bd);
  }
}

@container contests-public-list (max-width:340px){
  body.contests-public-open .cp-contest-card__share span{
    display:none;
  }
  body.contests-public-open .cp-contest-card__share{
    padding:0!important;
    min-width:44px!important;
    width:44px!important;
  }
}

@media (max-width:360px){
  body.contests-public-open .cp-contest-card__preview{
    --cp-preview-img:46%;
    --cp-preview-gap:6px;
  }
  body.contests-public-open .cp-contest-card__metrics--preview{
    gap:4px;
  }
  body.contests-public-open .cp-contest-metric--preview strong,
  body.contests-public-open .cp-contest-metric--preview.cp-contest-metric--price strong{
    font-size:clamp(8px,2.25vw,9.5px);
  }
}

/* Tablet tier — not phone landscape (site-viewport-tiers.md) */
@media (min-width:768px) and (min-height:560px){
  body.contests-public-open .cp-contest-card__topbar{ padding:12px 14px 8px; }
  body.contests-public-open .cp-contest-card__preview{ padding:0 14px 12px; gap:12px; }
  body.contests-public-open .cp-contest-card__intro{ height:calc((100cqw - 12px) * 9 / 32); }
  body.contests-public-open .cp-contest-card__date-value{ font-size:10px; padding:6px 10px 7px; }
  body.contests-public-open .cp-contest-card__body{ padding:10px 14px 14px!important; }
}

/* Phone landscape — compact rail + cards (dashboard hub tier) */
@media (orientation:landscape) and (max-height:560px){
  body.contests-public-open{
    --cp-section-gap:8px;
    --cp-topbar-bar-h:34px;
    --cp-topbar-back-w:34px;
    --cp-topbar-count-w:34px;
    --dc-hub-pinned-bar-h:34px;
  }
  body.contests-public-open .cp-page.cp-hub{
    max-width:100%!important;
    width:100%!important;
  }
  body.contests-public-open .cp-topbar,
  body.contests-public-open > nav.cp-topbar-shell.dc-hub-pinned-bar[data-cp-hub-chrome]{
    height:var(--cp-topbar-bar-h);
    min-height:var(--cp-topbar-bar-h);
    max-height:var(--cp-topbar-bar-h);
    padding:0;
    gap:0;
    grid-template-columns:var(--cp-topbar-back-w,34px) minmax(0,1fr) minmax(var(--cp-topbar-count-w,34px),auto);
    border-radius:999px;
  }
  body.contests-public-open .cp-topbar__back{
    min-width:var(--cp-topbar-back-w,34px);
  }
  body.contests-public-open .cp-topbar__back svg{
    width:18px;
    height:18px;
  }
  body.contests-public-open .cp-topbar__title{
    font-size:13px!important;
    padding:0 10px!important;
  }
  body.contests-public-open .cp-topbar__count{
    min-width:var(--cp-topbar-count-w,34px);
    padding:0 10px 0 6px;
    font-size:12px;
  }
  body.contests-public-open .cp-contest-card__topbar{
    padding:5px 10px 4px;
  }
  body.contests-public-open .cp-contest-card__preview{
    grid-template-columns:minmax(0,38%) minmax(0,1fr);
    gap:8px;
    padding:0 10px 8px;
  }
  body.contests-public-open .cp-contest-card__media{
    height:auto;
    border-radius:12px;
  }
  body.contests-public-open .cp-contest-card__intro{
    height:auto;
    max-height:min(32vh,104px);
  }
  body.contests-public-open .cp-contest-card__desc,
  body.contests-public-open .cp-contest-card__desc.feed-text,
  body.contests-public-open .contest-card > p{
    font-size:10px!important;
    -webkit-line-clamp:3;
  }
  body.contests-public-open .cp-contest-card__body{
    padding:8px 10px 10px!important;
  }
  body.contests-public-open .cp-contest-card__footer{
    grid-template-columns:1fr;
    gap:8px;
  }
  body.contests-public-open .cp-contest-card__actions{
    grid-template-columns:minmax(0,1fr) auto;
    gap:8px;
  }
  body.contests-public-open .cp-contest-card__cta,
  body.contests-public-open .contest-card > a.btn.cp-contest-card__cta{
    min-height:40px!important;
    font-size:11.5px!important;
  }
  body.contests-public-open .cp-contest-card__share{
    min-height:40px!important;
  }
}

@media (min-width:1024px){
  body.contests-public-open .cp-page.cp-hub{
    max-width:var(--cp-hub-max);
  }
}

body.contests-public-open .cp-contest-countdown{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin:0 0 8px;
  padding:8px 10px;
  border-radius:12px;
  background:linear-gradient(135deg,rgba(255,138,0,.14),rgba(255,138,0,.06));
  border:1px solid rgba(255,138,0,.22);
}
body.contests-public-open .cp-contest-countdown__label{
  font-size:12px;
  color:var(--ds-muted);
}
body.contests-public-open .cp-contest-countdown__value{
  font-size:14px;
  font-weight:700;
  font-variant-numeric:tabular-nums;
  color:#ffb21a;
}

.cp-contest-countdown--feed-announce{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  width:100%;
  min-height:220px;
  margin:0;
  padding:24px 16px;
  border-radius:16px;
  background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(0,0,0,.35));
  border:1px solid rgba(255,255,255,.1);
  box-sizing:border-box;
}
.cp-contest-countdown--feed-announce .cp-contest-countdown__label{
  font-size:13px;
  color:var(--ds-muted);
}
.cp-contest-countdown--feed-announce .cp-contest-countdown__value{
  font-size:clamp(28px,8vw,40px);
  font-weight:700;
  font-variant-numeric:tabular-nums;
  color:#ffb21a;
  letter-spacing:.02em;
}
.contest-feed-countdown-wrap{
  width:100%;
  margin:0;
}

/* ═══ §7 Светлая тема акций — html[data-theme="light"] body.contests-public-open ═══ */
/* Ровные светлые поверхности + тёмный текст. Оранжевые бренд-акценты (CTA, счётчик,
   промо-чипы, прогресс, эйрбрау-лейблы) сохранены. Текст/бейджи ПОВЕРХ картинки (media::after,
   date-value, floating glass-бейджи .cp-contest-card__badges .pill) остаются белыми — не тронуты.
   Обычные текстовые ссылки → синие. Статусные green/amber/red адаптированы под контраст. */

/* 7.1 — флип scoped-переменных. Текст/muted теперь берут var(--ds-*) (тема сама переключает);
   остаётся только оранж-бренд-рамка (нет DS-токена для тинт-границы). */
html[data-theme="light"] body.contests-public-open{
  --cp-border:rgba(255,138,0,.22);
}

/* 7.2 — pinned-топбар: тёмная панель → белая, бренд-рамка сохранена */
html[data-theme="light"] body.contests-public-open .cp-topbar,
html[data-theme="light"] body.contests-public-open > nav.cp-topbar-shell.dc-hub-pinned-bar[data-cp-hub-chrome]{
  border-color:rgba(255,138,0,.22);
  background:
    radial-gradient(circle at 8% 50%,rgba(255,138,0,.08),transparent 42%),
    linear-gradient(180deg,#ffffff,#f4f6fa);
  box-shadow:
    0 10px 24px rgba(20,35,60,.10),
    inset 0 1px 0 rgba(255,255,255,.6);
}
html[data-theme="light"] body.contests-public-open .cp-topbar__back{
  border-right-color:rgba(255,138,0,.20);
  background:linear-gradient(90deg,rgba(255,138,0,.12),rgba(16,22,32,.02));
  color:#e5720a;
  box-shadow:inset -1px 0 0 rgba(16,22,32,.04);
}
html[data-theme="light"] body.contests-public-open .cp-topbar__back:hover,
html[data-theme="light"] body.contests-public-open .cp-topbar__back:focus-visible{
  background:linear-gradient(90deg,rgba(255,138,0,.18),rgba(16,22,32,.03));
  border-right-color:rgba(255,138,0,.30);
  color:#d96b00;
}
html[data-theme="light"] body.contests-public-open .cp-topbar__back:active{
  background:linear-gradient(90deg,rgba(255,138,0,.24),rgba(255,138,0,.06));
  border-right-color:rgba(255,138,0,.38);
  color:#c05f00;
}
html[data-theme="light"] body.contests-public-open .cp-topbar__back svg{
  filter:drop-shadow(0 1px 1px rgba(20,35,60,.12));
}
/* .cp-topbar__title — берёт var(--ds-ink); .cp-topbar__count — оранжевый бренд-бейдж, сохранён */

/* 7.3 — секции */
html[data-theme="light"] body.contests-public-open .cp-section-count{
  background:rgba(255,138,0,.12);
  border-color:rgba(255,138,0,.30);
  color:#b26a00;
}

/* 7.4 — карточка конкурса: тёмный градиент → белый */
html[data-theme="light"] body.contests-public-open .contest-card,
html[data-theme="light"] body.contests-public-open .cp-contest-card{
  border:1px solid rgba(255,138,0,.22)!important;
  background:linear-gradient(180deg,#ffffff,#fbfcfe)!important;
  box-shadow:0 10px 28px rgba(20,35,60,.08),0 0 0 1px rgba(16,22,32,.04)!important;
}
html[data-theme="light"] body.contests-public-open .cp-contest-card--mine{
  border-color:rgba(255,138,0,.42)!important;
  box-shadow:0 10px 28px rgba(20,35,60,.09),0 0 0 1px rgba(255,138,0,.20)!important;
}
html[data-theme="light"] body.contests-public-open .cp-contest-card--finished{
  border-color:rgba(214,66,66,.30)!important;
  box-shadow:0 10px 28px rgba(20,35,60,.08),0 0 0 1px rgba(214,66,66,.12)!important;
}
html[data-theme="light"] body.contests-public-open .cp-contest-card--finished .cp-contest-card__title{
  color:rgba(18,22,28,.72)!important;
}
/* head-разделитель/фон, «.ru»/партнёрский лейбл и muted-статус берут var(--ds-*).
   Партнёрское имя — синее (акцент), «clike» остаётся оранжевым. */
html[data-theme="light"] body.contests-public-open .cp-contest-card__head .tg-feed-channel-header--partner .tg-feed-channel-header__name{
  color:#2b7fd4;
}

/* 7.5 — медиа-плейсхолдер берёт var(--ds-bg) (тема сама переключает).
   media::after (затемнение низа) и date-value поверх картинки — БЕЛЫЕ, не тронуты. */

/* 7.6 — описание берёт var(--ds-muted); затухание — своё под свет */
html[data-theme="light"] body.contests-public-open .cp-contest-card__desc-wrap::after{
  background:linear-gradient(180deg,transparent,rgba(255,255,255,.95));
}
/* текстовая ссылка в описании: оранжевая → синяя */
html[data-theme="light"] body.contests-public-open .cp-contest-card__desc a.tg-caption-link{
  color:#2b7fd4;
}

/* 7.7 — метрики превью: тёмные плитки → светлые (бренд-рамка сохранена) */
html[data-theme="light"] body.contests-public-open .cp-contest-metric--preview{
  border-color:rgba(255,138,0,.18);
  background:linear-gradient(180deg,rgba(16,22,32,.035),rgba(16,22,32,.01));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.5);
}
html[data-theme="light"] body.contests-public-open .cp-contest-metric--preview .cp-contest-metric__label{
  color:#b26a00;
}
html[data-theme="light"] body.contests-public-open .cp-contest-metric--preview.cp-contest-metric--price{
  border-color:rgba(255,154,31,.28);
  background:linear-gradient(180deg,rgba(255,138,0,.08),rgba(16,22,32,.01));
}
html[data-theme="light"] body.contests-public-open .cp-contest-metric--preview.cp-contest-metric--price strong{
  color:#c06400;
}

/* 7.8 — заголовок/прогресс-трек/лейблы берут var(--ds-*).
   .cp-contest-progress > span и .cp-contest-promo-chip — оранжевый бренд, сохранён. */

/* 7.9 — профиль-ссылка: текст берёт var(--ds-muted), action-ссылка синяя */
html[data-theme="light"] body.contests-public-open .cp-contest-profile-link__action{
  color:#2b7fd4;
}
html[data-theme="light"] body.contests-public-open .cp-contest-profile-link__action:hover,
html[data-theme="light"] body.contests-public-open .cp-contest-profile-link__action:focus-visible{
  color:#1f6fc0;
}

/* 7.10 — CTA (оранжевый бренд) и sold-out (красный) сохранены. Кнопка «Поделиться» → светлая. */
html[data-theme="light"] body.contests-public-open .cp-contest-card__share{
  border:1px solid rgba(16,22,32,.12)!important;
  background:rgba(16,22,32,.035)!important;
  color:rgba(16,22,32,.82)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.5)!important;
}
html[data-theme="light"] body.contests-public-open .cp-contest-card__share:hover,
html[data-theme="light"] body.contests-public-open .cp-contest-card__share:focus-visible{
  background:rgba(16,22,32,.06)!important;
  border-color:rgba(255,138,0,.28)!important;
  color:#12161c!important;
}
html[data-theme="light"] body.contests-public-open .cp-contest-card__share:active{
  background:rgba(16,22,32,.09)!important;
}

/* 7.11 — блок «ещё»: разделитель берёт var(--ds-panel-bd); ссылки синие, эйрбрау-лейбл — читаемый оранж */
html[data-theme="light"] body.contests-public-open .cp-contest-card__more-label{
  color:#b26a00;
}
html[data-theme="light"] body.contests-public-open .cp-contest-card__more-item,
html[data-theme="light"] body.contests-public-open .cp-contest-card__more-link{
  color:#2b7fd4;
}
html[data-theme="light"] body.contests-public-open .cp-contest-card__more-link:hover,
html[data-theme="light"] body.contests-public-open .cp-contest-card__more-item:hover{
  color:#1f6fc0;
}

/* 7.12 — legacy-кнопки: primary оранжевый сохранён, secondary → светлая */
html[data-theme="light"] body.contests-public-open .btn.secondary{
  border:1px solid rgba(16,22,32,.14)!important;
  background:rgba(16,22,32,.035)!important;
  color:rgba(16,22,32,.82)!important;
}

/* 7.13 — pill-статусы на теле карточки: цвет текста/фон адаптированы под белый фон */
html[data-theme="light"] body.contests-public-open .contest-card .pill.ok{
  color:#1f9d5f!important;
  background:rgba(38,208,124,.12)!important;
  border-color:rgba(62,207,142,.40)!important;
}
html[data-theme="light"] body.contests-public-open .contest-card .pill.warn{
  color:#b7791f!important;
  background:rgba(255,193,7,.14)!important;
  border-color:rgba(255,193,7,.38)!important;
}
html[data-theme="light"] body.contests-public-open .contest-card .pill.danger{
  color:#d24545!important;
  background:rgba(255,60,60,.10)!important;
  border-color:rgba(255,91,91,.36)!important;
}
html[data-theme="light"] body.contests-public-open .contest-card .pill.muted{
  color:rgba(16,22,32,.7)!important;
  background:rgba(16,22,32,.05)!important;
  border-color:rgba(16,22,32,.12)!important;
}
/* plain-текст muted-статусы в шапке карточки берут var(--ds-muted).
   floating glass-бейджи .cp-contest-card__badges .pill (поверх медиа) — НЕ трогаем (белый текст поверх картинки) */

/* 7.14 — пустое состояние / завершённые: текст и разделитель summary берут var(--ds-*) */

/* 7.15 — разделители more (mobile/container) берут var(--ds-panel-bd) */

/* 7.16 — таймер обратного отсчёта: фон/бордер под свет, лейбл берёт var(--ds-muted), значение — оранжевое (бренд) */
html[data-theme="light"] body.contests-public-open .cp-contest-countdown{
  background:linear-gradient(135deg,rgba(255,138,0,.14),rgba(255,138,0,.05));
  border-color:rgba(255,138,0,.26);
}
html[data-theme="light"] body.contests-public-open .cp-contest-countdown--feed-announce{
  background:linear-gradient(180deg,rgba(16,22,32,.03),rgba(16,22,32,.06));
  border-color:rgba(16,22,32,.1);
}

