@import url("/challenge-disciplinescore/style.css");

.crb-body {
  background:
    radial-gradient(circle at 8% 4%, rgba(245, 198, 93, 0.12), transparent 24%),
    radial-gradient(circle at 84% 10%, rgba(90, 125, 246, 0.14), transparent 28%),
    linear-gradient(180deg, #06080d 0%, #0b0e14 46%, #06080d 100%);
}

.crb-body::before {
  background:
    linear-gradient(rgba(255, 255, 255, 0.016) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.016) 1px, transparent 1px);
  background-size: 74px 74px;
}

.crb-badge {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(245, 198, 93, 0.26);
  background: rgba(245, 198, 93, 0.08);
  color: var(--csx-gold-strong);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.crb-hero {
  padding-bottom: 10px;
}

.crb-hero__layout {
  align-items: center;
}

.crb-hero__copy {
  padding-block: 8px;
}

.crb-hero__copy h1 {
  max-width: 12ch;
}

.crb-chip-row .csx-chip {
  border-color: rgba(245, 198, 93, 0.22);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(11, 14, 20, 0.78));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.crb-bonus-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.crb-bonus-pills .crb-bonus-pill--focus {
  min-width: min(100%, 290px);
}

.crb-bonus-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.03);
  color: #e8edf6;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.crb-bonus-pill--focus {
  background: linear-gradient(135deg, rgba(245, 198, 93, 0.22), rgba(90, 125, 246, 0.16));
  border-color: rgba(245, 198, 93, 0.28);
  color: #fff3d0;
}

.crb-auth-status {
  max-width: 58ch;
}

.crb-hero__actions .csx-button {
  min-width: 220px;
}

.crb-hero__visual {
  min-width: 0;
}

.crb-arena {
  position: relative;
  isolation: isolate;
  aspect-ratio: 1 / 0.8;
  background:
    radial-gradient(circle at 76% 18%, rgba(245, 198, 93, 0.2), transparent 30%),
    radial-gradient(circle at 20% 76%, rgba(90, 125, 246, 0.16), transparent 30%),
    radial-gradient(circle at 50% 44%, rgba(255, 255, 255, 0.06), transparent 48%),
    linear-gradient(180deg, rgba(17, 21, 29, 0.98), rgba(7, 9, 13, 0.98));
  border-color: rgba(255, 255, 255, 0.05);
}

.crb-arena::before {
  width: 220px;
  height: 220px;
  top: auto;
  bottom: 8%;
  right: 8%;
  background: rgba(245, 198, 93, 0.16);
}

.crb-arena::after {
  width: 180px;
  height: 180px;
  left: 4%;
  top: 8%;
  bottom: auto;
  background: rgba(90, 125, 246, 0.18);
}

.crb-hero-art {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center 54%;
  display: block;
  padding: 12px 10px 30px;
  margin-inline: auto;
  transform: none;
  filter: saturate(1.06) contrast(1.04) drop-shadow(0 24px 40px rgba(4, 6, 12, 0.46));
  opacity: 0.95;
  mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(circle at 50% 45%, #000 56%, transparent 95%);
  mask-image: radial-gradient(circle at 50% 45%, #000 56%, transparent 95%);
}

.crb-dashboard-shell,
.crb-link-card,
.crb-live-card,
.crb-kpi-card,
.crb-activity-card,
.crb-random-card,
.crb-random-copy,
.crb-mini-card,
.crb-rules-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--csx-line);
  background: linear-gradient(180deg, rgba(18, 22, 30, 0.94), rgba(9, 11, 16, 0.98));
  box-shadow: var(--csx-shadow);
}

.crb-dashboard-shell {
  display: grid;
  gap: 16px;
  padding: 18px;
  border-radius: var(--csx-radius-xl);
  background:
    radial-gradient(circle at top right, rgba(245, 198, 93, 0.1), transparent 30%),
    linear-gradient(180deg, rgba(16, 20, 28, 0.96), rgba(8, 10, 14, 0.98));
}

.crb-dashboard-top,
.crb-kpi-grid,
.crb-random-grid,
.crb-mini-grid,
.crb-step-grid {
  display: grid;
  gap: 16px;
}

.crb-link-card,
.crb-live-card,
.crb-kpi-card,
.crb-activity-card,
.crb-random-card,
.crb-random-copy,
.crb-rules-card {
  border-radius: var(--csx-radius-lg);
  padding: 22px;
}

.crb-link-card,
.crb-live-card {
  min-height: 100%;
}

.crb-card-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--csx-gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.crb-link-card strong,
.crb-live-card strong,
.crb-kpi-card strong,
.crb-activity-head strong,
.crb-simple-note h3 {
  display: block;
  margin-top: 12px;
  font-size: clamp(1.3rem, 3vw, 2rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--csx-text);
}

.crb-link-field {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  color: var(--csx-muted);
  font-weight: 700;
}

.crb-link-field input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--csx-text);
  font: inherit;
}

.crb-link-field input::placeholder {
  color: #697384;
}

.crb-inline-actions {
  margin-top: 18px;
}

.crb-live-card {
  background:
    radial-gradient(circle at top right, rgba(90, 125, 246, 0.15), transparent 30%),
    linear-gradient(180deg, rgba(18, 22, 30, 0.94), rgba(9, 11, 16, 0.98));
}

.crb-live-card p,
.crb-kpi-card p,
.crb-activity-note,
.crb-probability-copy span,
.crb-activity-item p,
.crb-simple-note p {
  margin-top: 12px;
  color: var(--csx-muted);
  line-height: 1.65;
}

.crb-kpi-card {
  min-height: 196px;
}

.crb-kpi-card strong {
  font-size: clamp(2rem, 4vw, 3rem);
}

.crb-activity-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.crb-activity-note {
  max-width: 30ch;
  margin-top: 0;
}

.crb-activity-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.crb-activity-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.crb-activity-item strong {
  display: block;
  font-size: 1.02rem;
  line-height: 1.2;
}

.crb-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #e5ebf6;
  font-size: 0.84rem;
  font-weight: 800;
}

.crb-status-pill.is-pending {
  border-color: rgba(90, 125, 246, 0.32);
  background: rgba(90, 125, 246, 0.12);
  color: #bfd0ff;
}

.crb-status-pill.is-live {
  border-color: rgba(245, 198, 93, 0.36);
  background: rgba(245, 198, 93, 0.12);
  color: #ffe6a0;
}

.crb-status-pill.is-approved {
  border-color: rgba(110, 198, 255, 0.34);
  background: rgba(110, 198, 255, 0.12);
  color: #d1f1ff;
}

.crb-status-pill.is-paid {
  border-color: rgba(97, 214, 155, 0.34);
  background: rgba(97, 214, 155, 0.12);
  color: #bff4d9;
}

.crb-status-pill.is-rejected {
  border-color: rgba(255, 141, 141, 0.34);
  background: rgba(255, 141, 141, 0.12);
  color: #ffd1d1;
}

.crb-status-pill.is-available {
  border-color: rgba(245, 198, 93, 0.28);
  background: rgba(245, 198, 93, 0.08);
  color: #ffe6a0;
}

.crb-status-pill.is-trial {
  border-color: rgba(255, 255, 255, 0.12);
  color: #dce3ef;
}

.crb-step-card {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 22px;
  border-radius: var(--csx-radius-lg);
}

.crb-step-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.crb-step-dot {
  position: relative;
  width: 13px;
  height: 13px;
  border-radius: 999px;
  background: linear-gradient(135deg, #7ea0ff, #5a7df6);
  box-shadow: 0 0 0 4px rgba(90, 125, 246, 0.14);
}

.crb-step-badge {
  position: absolute;
  left: -6px;
  top: -16px;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 999px;
  border: 1px solid rgba(126, 160, 255, 0.42);
  background: linear-gradient(135deg, rgba(126, 160, 255, 0.94), rgba(73, 103, 214, 0.96));
  box-shadow: 0 10px 26px rgba(49, 71, 148, 0.38);
  color: #f5f9ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.crb-step-card h3 {
  margin: 0;
  font-size: 1.34rem;
  line-height: 1.14;
  letter-spacing: -0.04em;
}

.crb-step-card p {
  color: var(--csx-muted);
  line-height: 1.7;
}

.crb-random-card {
  background:
    radial-gradient(circle at 12% 14%, rgba(245, 198, 93, 0.11), transparent 26%),
    linear-gradient(180deg, rgba(18, 22, 30, 0.94), rgba(9, 11, 16, 0.98));
}

.crb-random-card--editorial {
  display: grid;
  gap: 18px;
  max-width: 840px;
  margin-inline: auto;
  padding: 28px;
}

.crb-random-kicker {
  margin: 0;
  color: var(--csx-gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.crb-random-band {
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 84% 48%, rgba(90, 125, 246, 0.2), transparent 34%),
    linear-gradient(120deg, rgba(245, 198, 93, 0.2), rgba(90, 125, 246, 0.18));
}

.crb-random-band__label {
  color: #f3d595;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.crb-random-band strong {
  display: block;
  font-size: clamp(1.55rem, 4vw, 2.2rem);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.crb-simple-random-note {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--csx-muted);
  line-height: 1.65;
  font-weight: 600;
  max-width: 62ch;
}

.crb-rules-card {
  padding: 28px;
}

.crb-rules-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding-left: 1.2rem;
  color: var(--csx-text);
}

.crb-rules-list li {
  color: var(--csx-muted);
  line-height: 1.7;
}

.crb-rules-list li::marker {
  color: var(--csx-gold);
}

.crb-final-panel {
  background:
    radial-gradient(circle at top right, rgba(245, 198, 93, 0.12), transparent 26%),
    radial-gradient(circle at bottom left, rgba(90, 125, 246, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(18, 22, 30, 0.94), rgba(9, 11, 16, 0.98));
}

.crb-final-actions .csx-button {
  min-width: 220px;
}

.crb-badge--soft {
  min-height: 34px;
  padding-inline: 14px;
  letter-spacing: 0.08em;
  background: rgba(245, 198, 93, 0.05);
}

.crb-payout-shell,
.crb-request-card,
.crb-reveal-card,
.crb-form-modal__dialog,
.crb-info-modal__dialog {
  border: 1px solid var(--csx-line);
  background: linear-gradient(180deg, rgba(18, 22, 30, 0.96), rgba(9, 11, 16, 0.99));
  box-shadow: var(--csx-shadow);
}

.crb-payout-shell {
  display: grid;
  gap: 16px;
  padding: 20px;
  border-radius: var(--csx-radius-xl);
  background:
    radial-gradient(circle at top right, rgba(245, 198, 93, 0.12), transparent 28%),
    radial-gradient(circle at bottom left, rgba(90, 125, 246, 0.1), transparent 32%),
    linear-gradient(180deg, rgba(18, 22, 30, 0.96), rgba(9, 11, 16, 0.99));
}

.crb-payout-head,
.crb-request-card__head,
.crb-request-summary,
.crb-reveal-actions,
.crb-form-footer {
  display: grid;
  gap: 14px;
}

.crb-payout-head h3,
.crb-request-card__head strong {
  margin: 12px 0 0;
  font-size: clamp(1.35rem, 4vw, 2rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--csx-text);
}

.crb-payout-copy,
.crb-request-note,
.crb-form-intro,
.crb-form-hint,
.crb-form-status,
.crb-reveal-copy {
  color: var(--csx-muted);
  line-height: 1.7;
}

.crb-payout-grid,
.crb-request-summary {
  display: grid;
  gap: 14px;
}

.crb-balance-card {
  padding: 20px;
  border-radius: var(--csx-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.crb-balance-card strong {
  display: block;
  margin-top: 12px;
  font-size: clamp(1.8rem, 6vw, 2.4rem);
  letter-spacing: -0.05em;
  color: var(--csx-text);
}

.crb-balance-card p {
  margin-top: 10px;
  color: var(--csx-muted);
  line-height: 1.6;
}

.crb-request-card {
  padding: 22px;
  border-radius: var(--csx-radius-lg);
}

.crb-request-card.hidden {
  display: none;
}

.crb-request-summary {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.crb-request-summary div {
  padding: 14px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.025);
}

.crb-request-summary span {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--csx-muted);
}

.crb-request-summary strong {
  display: block;
  margin-top: 8px;
  font-size: 1rem;
  line-height: 1.45;
  word-break: break-word;
}

.crb-request-summary--success {
  margin-top: 18px;
}

.crb-reveal-modal,
.crb-form-modal,
.crb-info-modal {
  position: fixed;
  inset: 0;
  z-index: 98;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(3, 5, 9, 0.78);
  backdrop-filter: blur(14px);
}

.crb-reveal-modal.hidden,
.crb-form-modal.hidden,
.crb-info-modal.hidden {
  display: none;
}

.crb-reveal-modal__dialog,
.crb-form-modal__dialog,
.crb-info-modal__dialog {
  position: relative;
  width: min(620px, 100%);
  max-height: min(90vh, 980px);
  overflow: auto;
  padding: 28px;
  border-radius: 30px;
}

.crb-reveal-modal__dialog {
  background:
    radial-gradient(circle at 50% 0%, rgba(245, 198, 93, 0.14), transparent 34%),
    radial-gradient(circle at 15% 100%, rgba(90, 125, 246, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(18, 22, 30, 0.98), rgba(9, 11, 16, 1));
}

.crb-form-modal__dialog,
.crb-info-modal__dialog {
  background:
    radial-gradient(circle at top right, rgba(245, 198, 93, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(18, 22, 30, 0.98), rgba(9, 11, 16, 1));
}

.crb-reveal-modal__close,
.crb-form-modal__close,
.crb-info-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  color: var(--csx-text);
  font-size: 1.35rem;
  cursor: pointer;
}

.crb-reveal-modal__dialog h2,
.crb-form-modal__dialog h2,
.crb-info-modal__dialog h2 {
  margin-top: 12px;
  font-size: clamp(1.9rem, 5vw, 2.8rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.crb-reveal-card {
  position: relative;
  isolation: isolate;
  width: 100%;
  margin-top: 10px;
  padding: 28px 22px;
  border-radius: 28px;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  background:
    radial-gradient(circle at 50% 0%, rgba(245, 198, 93, 0.16), transparent 36%),
    linear-gradient(180deg, rgba(20, 26, 36, 1), rgba(10, 13, 18, 1));
}

.crb-reveal-card:hover {
  transform: translateY(-1px);
}

.crb-reveal-card.is-charged {
  border-color: rgba(245, 198, 93, 0.42);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.32),
    0 0 40px rgba(245, 198, 93, 0.14);
}

.crb-reveal-card.is-shaking {
  animation: crbRevealShake 0.34s ease;
}

.crb-reveal-card.is-open {
  border-color: rgba(245, 198, 93, 0.52);
  background:
    radial-gradient(circle at 50% 0%, rgba(245, 198, 93, 0.22), transparent 34%),
    linear-gradient(180deg, rgba(22, 28, 39, 1), rgba(10, 13, 18, 1));
}

.crb-reveal-card__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 28%, rgba(255, 255, 255, 0.14) 50%, transparent 72%);
  transform: translateX(-120%);
  opacity: 0;
  pointer-events: none;
}

.crb-reveal-card.is-open .crb-reveal-card__shine {
  opacity: 1;
  animation: crbRevealShine 1.1s ease forwards;
}

.crb-reveal-card__label,
.crb-reveal-card__progress {
  position: relative;
  z-index: 1;
  display: block;
  text-align: center;
}

.crb-reveal-card__label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--csx-gold);
}

.crb-reveal-card__value {
  position: relative;
  z-index: 1;
  display: block;
  margin: 18px 0 12px;
  font-size: clamp(3rem, 12vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.07em;
  text-align: center;
  color: var(--csx-text);
  transform: scale(0.92);
  transition: transform 0.22s ease, color 0.22s ease;
}

.crb-reveal-card.is-open .crb-reveal-card__value {
  color: #fff6db;
  transform: scale(1);
}

.crb-reveal-card__progress {
  color: var(--csx-muted);
}

.crb-reveal-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.crb-reveal-step {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.crb-reveal-step.is-active,
.crb-reveal-step.is-complete {
  background: linear-gradient(90deg, rgba(245, 198, 93, 0.22), rgba(90, 125, 246, 0.4));
}

.crb-form-grid {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.crb-form-grid label {
  display: grid;
  gap: 10px;
  color: var(--csx-text);
  font-weight: 700;
}

.crb-form-grid input,
.crb-form-grid select,
.crb-form-grid textarea {
  width: 100%;
  min-height: 56px;
  padding: 0 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: var(--csx-text);
  font: inherit;
}

.crb-form-grid input[readonly] {
  color: #d4ddeb;
  opacity: 0.94;
}

.crb-form-grid input::placeholder {
  color: #697384;
}

.crb-form-grid__full {
  grid-column: 1 / -1;
}

.crb-checkbox {
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
}

.crb-checkbox input {
  width: 20px;
  min-width: 20px;
  height: 20px;
  min-height: 20px;
  margin-top: 2px;
  accent-color: #d4af37;
}

.crb-checkbox span {
  color: var(--csx-muted);
  font-weight: 600;
  line-height: 1.7;
}

.crb-form-status.is-error {
  color: #ffb4b4;
}

.crb-form-status.is-success {
  color: #9be8b7;
}

.crb-button-disabled,
.csx-button[aria-disabled="true"] {
  opacity: 0.62;
  cursor: not-allowed;
}

@keyframes crbRevealShake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  50% { transform: translateX(4px); }
  75% { transform: translateX(-2px); }
  100% { transform: translateX(0); }
}

@keyframes crbRevealShine {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

.crb-access-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(3, 5, 9, 0.74);
  backdrop-filter: blur(14px);
}

.crb-access-modal.hidden {
  display: none;
}

.crb-access-modal__dialog {
  position: relative;
  width: min(560px, 100%);
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at top right, rgba(245, 198, 93, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(18, 22, 30, 0.98), rgba(9, 11, 16, 1));
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.55);
}

.crb-access-modal__dialog h2 {
  margin-top: 12px;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.crb-access-modal__dialog p:not(.csx-eyebrow) {
  margin-top: 14px;
  color: var(--csx-muted);
  line-height: 1.7;
}

.crb-access-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  color: var(--csx-text);
  font-size: 1.35rem;
  cursor: pointer;
}

@media (min-width: 760px) {
  .crb-hero__layout {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    gap: 22px;
  }

  .crb-dashboard-top,
  .crb-random-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .crb-kpi-grid,
  .crb-step-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .crb-payout-head {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }

  .crb-payout-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .crb-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1040px) {
  .crb-kpi-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 759px) {
  .csx-shell {
    width: min(1240px, calc(100% - 18px));
  }

  .crb-hero {
    padding: 14px 0 4px;
  }

  .crb-hero__layout {
    gap: 10px;
  }

  .crb-hero__copy {
    padding-block: 0;
  }

  .crb-badge {
    min-height: 34px;
    padding: 0 14px;
    font-size: 0.72rem;
  }

  .crb-hero__copy h1 {
    max-width: none;
    font-size: clamp(2.2rem, 11vw, 3.45rem);
    line-height: 0.96;
  }

  .crb-bonus-pills {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    margin-top: 18px;
  }

  .crb-bonus-pill {
    width: auto;
    min-height: 42px;
    padding: 0 14px;
    font-size: 0.88rem;
  }

  .crb-bonus-pill--focus {
    min-height: 50px;
    font-size: 0.98rem;
  }

  .crb-chip-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 10px;
  }

  .crb-chip-row .csx-chip {
    min-height: 34px;
    padding: 0 11px;
    font-size: 0.78rem;
    letter-spacing: -0.01em;
    justify-content: center;
    text-align: center;
  }

  .crb-chip-row .csx-chip:nth-child(3) {
    grid-column: 1 / -1;
    width: max-content;
    max-width: 100%;
    margin-inline: auto;
  }

  .crb-hero__actions {
    display: grid;
    gap: 10px;
  }

  .crb-hero__actions .csx-button {
    width: 100%;
    min-width: 0;
  }

  .crb-hero-art {
    object-fit: contain;
    object-position: center 54%;
    width: min(100%, 95%);
    margin-inline: auto;
    padding: 6px 6px 16px;
    transform: none;
  }

  .crb-dashboard-shell,
  .crb-link-card,
  .crb-live-card,
  .crb-kpi-card,
  .crb-activity-card,
  .crb-random-card,
  .crb-random-copy,
  .crb-rules-card,
  .crb-payout-shell,
  .crb-request-card {
    border-radius: 22px;
  }

  .crb-dashboard-shell {
    padding: 14px;
  }

  .crb-link-card,
  .crb-live-card,
  .crb-kpi-card,
  .crb-activity-card,
  .crb-random-card,
  .crb-random-copy,
  .crb-rules-card,
  .crb-payout-shell,
  .crb-request-card {
    padding: 18px;
  }

  .crb-live-card strong,
  .crb-link-card strong {
    font-size: clamp(1.24rem, 6vw, 1.72rem);
  }

  .crb-kpi-card {
    min-height: 0;
  }

  .crb-access-modal__dialog {
    padding: 22px 18px;
    border-radius: 24px;
  }

  .crb-reveal-modal__dialog,
  .crb-form-modal__dialog,
  .crb-info-modal__dialog {
    padding: 22px 18px;
    border-radius: 24px;
  }

  .crb-inline-actions .csx-button {
    width: 100%;
  }

  .crb-activity-head,
  .crb-activity-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .crb-activity-list {
    margin-top: 16px;
  }

  .crb-activity-item {
    gap: 10px;
    padding: 14px;
  }

  .crb-status-pill {
    min-width: 0;
    width: 100%;
  }

  .crb-step-card {
    padding: 18px;
    gap: 12px;
  }

  .crb-step-head {
    gap: 10px;
  }

  .crb-step-dot {
    width: 12px;
    height: 12px;
  }

  .crb-step-badge {
    min-width: 22px;
    height: 22px;
    left: -5px;
    top: -14px;
    font-size: 0.7rem;
  }

  .crb-step-card h3 {
    font-size: 1.16rem;
  }

  .crb-random-card--editorial {
    padding: 20px 18px;
    gap: 14px;
  }

  .crb-random-band {
    padding: 16px 14px;
    border-radius: 16px;
  }

  .crb-amount-strip span:last-child {
    grid-column: 1 / -1;
  }

  .crb-mini-grid {
    grid-template-columns: 1fr;
  }

  .crb-request-summary {
    grid-template-columns: 1fr;
  }

  .crb-payout-head .csx-button,
  .crb-reveal-actions .csx-button,
  .crb-form-footer .csx-button {
    width: 100%;
  }

  .crb-form-grid input,
  .crb-form-grid select {
    min-height: 54px;
  }

  .crb-mini-card {
    padding: 16px;
    border-radius: 18px;
  }

  .crb-rules-list {
    gap: 12px;
    padding-left: 1rem;
  }

  .crb-final-actions {
    display: grid;
    gap: 10px;
  }

  .crb-final-actions .csx-button {
    width: 100%;
    min-width: 0;
  }

  .crb-arena {
    aspect-ratio: 1 / 0.86;
    min-height: clamp(250px, 69vw, 330px);
    border-radius: 24px;
  }

  .crb-arena::before {
    width: 170px;
    height: 170px;
    right: 4%;
    bottom: 10%;
  }

  .crb-arena::after {
    width: 140px;
    height: 140px;
    left: -2%;
    top: 10%;
  }

  .csx-arena__tag--right {
    display: none;
  }

  .csx-arena__tag--bottom {
    width: calc(100% - 24px);
    left: 12px;
    right: 12px;
    bottom: 8px;
    transform: none;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .csx-shell {
    width: min(1240px, calc(100% - 14px));
  }

  .crb-badge {
    padding: 0 12px;
    letter-spacing: 0.1em;
  }

  .crb-hero__copy h1 {
    font-size: clamp(2rem, 10.8vw, 2.9rem);
  }

  .crb-bonus-pill {
    min-height: 40px;
    font-size: 0.9rem;
  }

  .crb-bonus-pill--focus {
    min-height: 52px;
    font-size: 0.96rem;
  }

  .crb-arena {
    min-height: 230px;
    aspect-ratio: 1 / 0.84;
    border-radius: 22px;
  }

  .crb-hero-art {
    width: min(100%, 96%);
    padding: 4px 0 12px;
    object-position: center 55%;
  }

  .csx-chip-row {
    gap: 6px;
  }

  .crb-chip-row {
    gap: 6px 8px;
  }

  .crb-chip-row .csx-chip {
    min-height: 32px;
    padding: 0 10px;
    font-size: 0.74rem;
    line-height: 1.2;
  }

  .crb-link-card,
  .crb-live-card,
  .crb-kpi-card,
  .crb-activity-card,
  .crb-random-card,
  .crb-random-copy,
  .crb-rules-card,
  .crb-payout-shell,
  .crb-request-card {
    padding: 15px;
  }

  .crb-link-field input {
    min-height: 50px;
    padding: 0 14px;
  }

  .crb-access-modal {
    padding: 12px;
  }

  .crb-access-modal__dialog {
    padding: 20px 16px;
  }

  .crb-reveal-modal,
  .crb-form-modal,
  .crb-info-modal {
    padding: 12px;
  }

  .crb-reveal-modal__dialog,
  .crb-form-modal__dialog,
  .crb-info-modal__dialog {
    padding: 20px 16px;
  }
}
