[data-csign-state][hidden],
.csign[hidden] {
  display: none !important;
}

button.camp-task__cta {
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

[data-csign-state].camp-task {
  padding: 44px 36px;
}

[data-csign-state].camp-task .camp-task__row {
  min-height: 112px;
}

[data-csign-state].camp-task h3 {
  margin-top: 0;
}

.csign-old-aside {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.camp-task p.csign-old-hint {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: #ea8c00;
  text-align: center;
  white-space: nowrap;
}

.csign-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: baseline;
  column-gap: 24px;
  row-gap: 12px;
  margin-top: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.csign-meta__item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  justify-content: flex-start;
  text-align: left;
  font-size: 13px;
  color: var(--text-muted);
}

.csign-meta__item b {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-strong);
}

.csign-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.csign-switch {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.csign-switch__btn {
  height: 32px;
  padding: 0 14px;
  border: 1px solid var(--border-default);
  border-radius: 999px;
  background: #fff;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.csign-switch__btn.is-active {
  border-color: var(--brand);
  background: var(--accent-soft);
  color: var(--brand);
}

.csign {
  position: fixed;
  inset: 0;
  z-index: 520;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.csign__mask {
  position: absolute;
  inset: 0;
  background: rgba(15, 18, 32, 0.48);
}

.csign__dialog {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  padding: 32px 32px 28px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.18);
}

.csign__close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.csign__dialog h2 {
  margin: 0 40px 8px 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.csign__lead {
  margin: 0 0 22px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.csign .camp-field input[readonly] {
  background: #f7f7f8;
  color: var(--text-secondary);
}

.csign .camp-form__full .btn-signup {
  width: 100%;
  height: 44px;
  border: 0;
  cursor: pointer;
}

body.csign-open {
  overflow: hidden;
}

@media (max-width: 700px) {
  .csign-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

.cplay {
  padding: 4px 0 8px;
}

.cplay__track {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr 1fr 2fr;
  align-items: stretch;
  gap: 0;
}

.cplay__step {
  min-width: 0;
}

.cplay__n {
  font-size: 72px;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.06em;
  background: linear-gradient(180deg, #d2d2d8 0%, #8d8d98 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cplay__step h3 {
  margin: 14px 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-strong);
}

.cplay__step p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--text-secondary);
}

.cplay__step .camp-step__go,
.cplay__step .camp-step__hint {
  padding-top: 10px;
}

.cplay__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c5c5cd;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

@media (max-width: 900px) {
  .csign-meta {
    grid-template-columns: 1fr;
  }

  .cplay__track {
    grid-template-columns: 1fr;
  }

  .cplay__arrow {
    padding: 12px 0;
    transform: rotate(90deg);
  }
}
