:root {
  --blue-950: #07142f;
  --blue-850: #102c62;
  --blue-700: #194e98;
  --gold-500: #c9993d;
  --gold-300: #f4d37a;
  --paper: #fffdf8;
  --ink: #182035;
  --muted: #667085;
  --danger: #b42318;
  --shadow: 0 22px 60px rgba(7, 20, 47, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #eef4fb;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 5%, rgba(244, 211, 122, 0.22), transparent 34%),
    linear-gradient(145deg, #f8fbff 0%, #e7eff9 48%, #dfeaf8 100%);
  font-family: "Segoe UI", Arial, sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.cover-screen {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(7, 20, 47, 0.86), rgba(16, 44, 98, 0.74)),
    url("../img/hut-pdsi-18-invitation-cover.webp") center / cover fixed;
}

.cover-stage {
  width: min(100%, 750px);
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(7, 20, 47, 0.18)),
    var(--paper);
  box-shadow: var(--shadow);
}

.cover-hero {
  position: relative;
  overflow: hidden;
  background: var(--blue-950);
}

.cover-hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, rgba(7, 20, 47, 0), rgba(7, 20, 47, 0.88));
  content: "";
}

.cover-hero img {
  width: 100%;
  height: auto;
}

.cover-panel {
  position: relative;
  margin: -34px auto 0;
  width: min(calc(100% - 32px), 620px);
  border: 1px solid rgba(201, 153, 61, 0.38);
  border-radius: 8px 8px 0 0;
  padding: clamp(24px, 5vw, 42px);
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(246, 250, 255, 0.98)),
    var(--paper);
  box-shadow: 0 22px 48px rgba(7, 20, 47, 0.22);
  text-align: center;
}

.cover-panel::before {
  display: block;
  width: 92px;
  height: 3px;
  margin: 0 auto 24px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--gold-500), transparent);
  content: "";
}

.cover-logo {
  width: min(72%, 260px);
  margin: 0 auto 18px;
}

.cover-eyebrow {
  margin: 0 0 10px;
  color: var(--gold-500);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.cover-panel h1 {
  margin: 0;
  color: var(--blue-950);
  font-size: clamp(1.45rem, 4.6vw, 2.4rem);
  font-weight: 900;
  line-height: 1.08;
}

.cover-subtitle {
  margin: 8px 0 0;
  color: var(--blue-850);
  font-size: clamp(1rem, 3vw, 1.35rem);
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}

.cover-copy {
  max-width: 500px;
  margin: 12px auto 28px;
  color: var(--muted);
  font-size: clamp(0.88rem, 2.2vw, 1rem);
  line-height: 1.55;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.btn-open,
.btn-submit,
.btn-download,
.btn-link,
.btn-secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn-open {
  width: min(100%, 340px);
  color: #10213e;
  background: linear-gradient(180deg, #fff7dc, var(--gold-300));
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.btn-open:hover,
.btn-submit:hover,
.btn-download:hover,
.btn-link:hover,
.btn-secondary-link:hover {
  transform: translateY(-2px);
}

.invitation-shell {
  width: min(100%, 750px);
  min-height: 100vh;
  margin: 0 auto;
  background: #f5f8fc;
  box-shadow: var(--shadow);
}

.visual-section {
  min-height: 0;
  background: var(--blue-950);
}

.key-visual {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.registration-band,
.result-page,
.status-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: clamp(24px, 5vw, 64px);
}

.registration-band {
  min-height: auto;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(240, 246, 255, 0.96)),
    url("../img/hut-pdsi-18-key-visual.webp") center / cover;
}

.registration-panel,
.ticket-card,
.status-card {
  width: min(100%, 580px);
  border: 1px solid rgba(201, 153, 61, 0.35);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.96);
  box-shadow: var(--shadow);
}

.registration-panel {
  padding: clamp(24px, 5vw, 42px);
}

.registration-logo,
.ticket-logo,
.status-logo {
  width: 120px;
  margin: 0 auto 18px;
}

.registration-eyebrow,
.ticket-eyebrow,
.status-kicker {
  margin: 0 0 8px;
  color: var(--gold-500);
  font-size: 0.8rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.registration-panel h1,
.ticket-card h1,
.status-card h1 {
  margin: 0;
  color: var(--blue-950);
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
}

.registration-copy,
.ticket-company,
.status-card p {
  margin: 12px auto 24px;
  color: var(--muted);
  text-align: center;
}

.registration-form {
  display: grid;
  gap: 18px;
}

.field-group {
  display: grid;
  gap: 8px;
}

.field-group label {
  color: var(--blue-950);
  font-size: 0.92rem;
  font-weight: 800;
}

.field-group input {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(16, 44, 98, 0.22);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
  outline: none;
}

.field-group input:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(201, 153, 61, 0.16);
}

.field-group input[aria-invalid="true"] {
  border-color: var(--danger);
}

.field-error {
  color: var(--danger);
  font-weight: 700;
}

.field-hint {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.btn-submit,
.btn-download,
.btn-link {
  width: 100%;
  padding: 0 22px;
  color: #ffffff;
  background: linear-gradient(180deg, var(--blue-700), var(--blue-850));
  box-shadow: 0 14px 28px rgba(25, 78, 152, 0.25);
}

.btn-submit:disabled,
.btn-submit.is-loading {
  cursor: not-allowed;
  opacity: 0.78;
  transform: none;
}

.btn-submit.is-loading {
  cursor: wait;
}

.result-page,
.status-page {
  background:
    linear-gradient(180deg, rgba(7, 20, 47, 0.78), rgba(7, 20, 47, 0.84)),
    url("../img/hut-pdsi-18-key-visual.webp") center / cover;
}

.ticket-card,
.status-card {
  padding: clamp(24px, 5vw, 40px);
}

.qr-frame {
  display: grid;
  place-items: center;
  width: min(72vw, 290px);
  aspect-ratio: 1;
  margin: 0 auto 18px;
  padding: 18px;
  border: 1px solid rgba(16, 44, 98, 0.15);
  border-radius: 8px;
  background: #ffffff;
}

.qr-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qr-code-label {
  margin: 0 0 22px;
  color: var(--blue-850);
  font-size: 0.84rem;
  font-weight: 800;
  overflow-wrap: anywhere;
  text-align: center;
}

.ticket-actions {
  display: grid;
  gap: 12px;
}

.btn-secondary-link {
  color: var(--blue-850);
  background: rgba(25, 78, 152, 0.09);
}

.status-card {
  text-align: center;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 9px 14px;
  border-radius: 999px;
  color: #0f5132;
  background: #d1e7dd;
  font-weight: 900;
}

.status-card small {
  display: block;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.alert {
  border-radius: 8px;
  font-weight: 700;
}

@media (max-width: 900px) {
  .registration-band {
    padding: 28px 16px 42px;
  }
}

@media (max-width: 560px) {
  .registration-panel,
  .ticket-card,
  .status-card {
    width: 100%;
  }
}

.challenge-registration {
  width: min(100%, 430px);
  min-height: 100vh;
  margin: 0 auto;
  background: #67c0ee;
  box-shadow: 0 0 0 3px #1687ff inset, 0 18px 42px rgba(7, 20, 47, 0.2);
}

.challenge-registration .registration-band {
  position: relative;
  min-height: 100vh;
  display: block;
  overflow: hidden;
  padding: 86px 34px 46px;
  background:
    url("../../kv/c6cadfc4ae20691bffeb4c1726f1adb96214200e.png") top left / 64% auto no-repeat,
    url("../../kv/6ae2bb5808d40218aff2cf7ebbabd04835986ff2.png") bottom center / 116% auto no-repeat,
    linear-gradient(180deg, #4ca8e7 0%, #76cdf3 48%, #68c2ee 100%);
}

.challenge-registration .registration-band::after {
  position: absolute;
  inset: auto 0 0;
  height: 200px;
  pointer-events: none;
  background: radial-gradient(circle at 0 0, rgba(17, 50, 117, 0.22) 1px, transparent 1px) 0 0 / 7px 7px;
  opacity: 0.45;
  content: "";
}

.challenge-registration .registration-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.challenge-registration .registration-logo {
  width: min(100%, 294px);
  margin: 0 auto 28px;
}

.challenge-registration .registration-panel h1 {
  margin: 0 -2px 6px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.22;
  text-align: center;
}

.challenge-registration .registration-panel h1 span {
  display: inline-block;
  padding: 2px 8px;
  background: #143b86;
}

.challenge-registration .registration-panel h1 strong {
  color: #a5ff39;
}

.registration-required {
  margin: 0 0 4px;
  color: #ffffff;
  font-size: 0.72rem;
  line-height: 1;
  text-align: center;
}

.registration-required span,
.challenge-registration .field-group label span {
  color: #ff241f;
  font-weight: 900;
}

.challenge-registration .registration-form {
  gap: 18px;
}

.challenge-registration .field-group {
  gap: 6px;
}

.challenge-registration .field-group label {
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.1;
}

.challenge-registration .field-group input,
.challenge-registration .field-group select {
  width: 100%;
  min-height: 34px;
  border: 0;
  border-radius: 8px;
  padding: 8px 10px;
  color: #18325f;
  background: #ffffff;
  font-size: 0.78rem;
  font-weight: 500;
  outline: none;
  box-shadow: none;
}

.challenge-registration .datepicker-field {
  display: flex;
  width: 100%;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 8px;
  background:
    linear-gradient(180deg, #ffffff, #f6fbff) padding-box,
    linear-gradient(90deg, rgba(155, 255, 63, 0.85), rgba(25, 123, 224, 0.6)) border-box;
}

.challenge-registration .datepicker-field .form-control {
  flex: 1 1 auto;
  width: 1%;
  min-width: 0;
  min-height: 38px;
  border: 0;
  border-radius: 0;
  color: #18325f;
  background: transparent;
  font-weight: 700;
}

.challenge-registration .datepicker-field .form-control:focus {
  box-shadow: none;
}

.challenge-registration .datepicker-trigger {
  flex: 0 0 42px;
  min-width: 42px;
  border: 0;
  color: #063086;
  background: #9bff3f;
  font-size: 1rem;
  cursor: pointer;
}

.datepicker {
  z-index: 1080;
  border: 0;
  border-radius: 8px;
  padding: 8px;
  color: #18325f;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(7, 20, 47, 0.28);
}

.datepicker table {
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 0.82rem;
}

.datepicker th.switch {
  color: #063086;
  font-weight: 900;
}

.datepicker td.active,
.datepicker td.active:hover {
  color: #063086;
  background: #9bff3f;
  filter: none;
}

.datepicker td.day:hover,
.datepicker thead tr:first-child th:hover {
  background: rgba(155, 255, 63, 0.35);
}

.challenge-registration .field-group input::placeholder {
  color: #b8b8b8;
  opacity: 1;
}

.challenge-registration .field-group select {
  color: #b8b8b8;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #d0d0d0 50%),
    linear-gradient(135deg, #d0d0d0 50%, transparent 50%);
  background-position:
    calc(100% - 16px) 15px,
    calc(100% - 10px) 15px;
  background-size: 7px 7px, 7px 7px;
  background-repeat: no-repeat;
}

.challenge-registration .field-group select:valid {
  color: #18325f;
}

.challenge-registration .field-group input:focus,
.challenge-registration .field-group select:focus {
  box-shadow: 0 0 0 3px rgba(20, 59, 134, 0.16);
}

.challenge-registration .field-group input[aria-invalid="true"],
.challenge-registration .field-group select[aria-invalid="true"] {
  box-shadow: 0 0 0 2px rgba(255, 36, 31, 0.68);
}

.challenge-registration .other-field {
  margin-top: 2px;
}

.challenge-registration .other-field[hidden] {
  display: none;
}

.phone-field {
  display: flex;
  overflow: hidden;
  border-radius: 8px;
  background: #ffffff;
}

.phone-field span {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  border-right: 1px solid #eeeeee;
  color: #b8b8b8;
  font-size: 0.78rem;
}

.challenge-registration .phone-field input {
  border-radius: 0;
}

.challenge-registration .btn-submit {
  min-height: 50px;
  margin-top: 6px;
  border-radius: 8px;
  color: #063086;
  background: #9bff3f;
  box-shadow: none;
  font-size: 1.05rem;
  font-weight: 900;
}

.challenge-registration .field-error {
  color: #b42318;
  font-size: 0.7rem;
  font-weight: 800;
}

@media (max-width: 430px) {
  .challenge-registration {
    width: 100%;
  }

  .challenge-registration .registration-band {
    padding-right: 32px;
    padding-left: 32px;
  }
}

.challenge-result {
  width: min(100%, 430px);
  min-height: 100vh;
  margin: 0 auto;
  background: #67c0ee;
  box-shadow: 0 0 0 3px #1687ff inset, 0 18px 42px rgba(7, 20, 47, 0.2);
}

.challenge-result-panel {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  overflow: hidden;
  padding: 84px 34px 150px;
  background:
    url("../../kv/c6cadfc4ae20691bffeb4c1726f1adb96214200e.png") top left / 64% auto no-repeat,
    url("../../kv/6ae2bb5808d40218aff2cf7ebbabd04835986ff2.png") bottom center / 116% auto no-repeat,
    linear-gradient(180deg, #4ca8e7 0%, #76cdf3 48%, #68c2ee 100%);
  text-align: center;
}

.challenge-result-panel::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 230px;
  pointer-events: none;
  background: radial-gradient(circle at 0 0, rgba(17, 50, 117, 0.22) 1px, transparent 1px) 0 0 / 7px 7px;
  opacity: 0.45;
  content: "";
}

.challenge-result-logo {
  width: min(100%, 282px);
  margin: 0 auto 24px;
}

.challenge-result-kicker {
  display: inline-block;
  margin: 0 0 7px;
  padding: 2px 10px 3px;
  color: #ffffff;
  background: #143b86;
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.15;
}

.challenge-result-panel h1 {
  margin: 0 0 22px;
  color: #ffffff;
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.challenge-qr-frame {
  width: 100%;
  margin: 0 auto 8px;
  padding: 12px;
  border-radius: 8px;
  background: #ffffff;
  overflow: hidden;
}

.challenge-qr-frame img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  transform: scale(1.12);
  transform-origin: center;
}

.challenge-qr-note {
  margin: 0 0 16px;
  padding: 3px 8px;
  color: #ffffff;
  background: #f17d58;
  font-size: 0.69rem;
  line-height: 1.2;
}

.challenge-qr-note strong {
  color: #9bff3f;
}

.btn-result-action {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: 8px;
  color: #063086;
  background: #9bff3f;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 900;
}

.btn-result-action:hover {
  color: #063086;
  transform: translateY(-2px);
}

@media (max-width: 430px) {
  .challenge-result {
    width: 100%;
  }

  .challenge-result-panel {
    padding-right: 32px;
    padding-left: 32px;
  }
}

.challenge-score {
  width: min(100%, 430px);
  min-height: 100vh;
  margin: 0 auto;
  background: #67c0ee;
  box-shadow: 0 0 0 3px #1687ff inset, 0 18px 42px rgba(7, 20, 47, 0.2);
}

.challenge-score-panel {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  overflow: hidden;
  padding: 58px 33px 104px;
  background:
    url("../../kv/c6cadfc4ae20691bffeb4c1726f1adb96214200e.png") top left / 64% auto no-repeat,
    url("../../kv/6ae2bb5808d40218aff2cf7ebbabd04835986ff2.png") bottom center / 116% auto no-repeat,
    linear-gradient(180deg, #4ca8e7 0%, #76cdf3 48%, #68c2ee 100%);
}

.challenge-score-panel::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 230px;
  pointer-events: none;
  background: radial-gradient(circle at 0 0, rgba(17, 50, 117, 0.22) 1px, transparent 1px) 0 0 / 7px 7px;
  opacity: 0.45;
  content: "";
}

.challenge-score-logo {
  width: 190px;
  margin: 0 auto 18px;
}

.score-profile {
  margin-bottom: 18px;
}

.score-profile h1 {
  margin: 0 0 5px;
  color: #ffffff;
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.score-tags {
  display: flex;
  gap: 5px;
}

.score-tags span {
  min-width: 34px;
  padding: 2px 7px 3px;
  border: 1px solid #ffffff;
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

.score-summary {
  display: grid;
  grid-template-columns: 1fr 1fr 2.05fr;
  gap: 4px;
  margin-bottom: 12px;
}

.summary-card,
.body-score-card,
.score-section {
  border: 2px solid rgba(255, 255, 255, 0.96);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.summary-card {
  min-height: 50px;
  padding: 7px 6px;
  color: #ffffff;
  text-align: center;
}

.summary-card span {
  display: block;
  margin-bottom: 4px;
  font-size: 0.46rem;
  font-weight: 700;
}

.summary-card strong {
  color: #ffffff;
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1;
}

.summary-card small {
  font-size: 0.48rem;
}

.body-score-card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-height: 50px;
  padding: 6px 14px 6px 10px;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(20, 59, 134, 0.9), rgba(20, 59, 134, 0.56)),
    url("../../kv/8a628f39ed18bf42b752e59372c01fa1430d45ec.png") right center / auto 110% no-repeat,
    url("../../kv/6ae2bb5808d40218aff2cf7ebbabd04835986ff2.png") center / cover;
}

.body-score-card span {
  font-size: 0.5rem;
  font-weight: 900;
  line-height: 0.92;
}

.body-score-card strong {
  font-size: 2.05rem;
  font-weight: 900;
  line-height: 1;
}

.score-sections {
  display: grid;
  gap: 13px;
}

.score-section {
  position: relative;
  min-height: 154px;
  overflow: hidden;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(42, 149, 227, 0.9), rgba(112, 202, 242, 0.66)),
    rgba(112, 202, 242, 0.88);
}

.score-section::before {
  position: absolute;
  inset: 18px 18px 0;
  z-index: 0;
  background: url("../../kv/ac89422e1f71562a51cfb8cb549ff1e80ebdae14.png") center / contain no-repeat;
  opacity: 0.46;
  content: "";
}

.score-section-content {
  position: relative;
  z-index: 2;
  padding: 14px 0 12px 10px;
}

.score-section h2 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1;
  text-shadow: 1px 2px 0 #143b86;
}

.score-metrics {
  display: flex;
  flex-wrap: nowrap;
  gap: 4px;
  max-width: 178px;
}

.score-metric,
.total-score {
  border: 2px solid #ffffff;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 -18px 30px rgba(255, 255, 255, 0.1);
}

.score-metric {
  min-width: 48px;
  padding: 5px 6px 4px;
  text-align: center;
}

.score-metric span {
  display: block;
  margin-bottom: 1px;
  font-size: 0.46rem;
  font-weight: 700;
}

.score-metric strong {
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1;
}

.total-score {
  display: inline-grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  min-width: 96px;
  margin-top: 4px;
  padding: 3px 8px;
  background: #143b86;
}

.total-score span {
  font-size: 0.48rem;
  font-weight: 900;
  line-height: 0.95;
}

.total-score strong {
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1;
  margin-left: 20px;
}

.total-score-value {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.total-score-value small {
  margin-top: 2px;
  font-size: 0.52rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(255, 255, 255, 0.92);
}

.score-figure {
  position: relative;
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.score-figure-img {
  position: absolute;
  display: block;
  max-width: none;
  object-fit: contain;
  filter: drop-shadow(0 8px 9px rgba(6, 48, 134, 0.24));
}

.score-section-strength .score-figure-img-1 {
  right: 94px;
  bottom: -7px;
  width: 72px;
  z-index: 2;
}

.score-section-strength .score-figure-img-2 {
  right: 9px;
  bottom: -17px;
  width: 82px;
  z-index: 1;
}

.score-section-balance .score-figure-img-1 {
  right: 8px;
  bottom: -1px;
  width: 124px;
}

.score-section-recovery .score-figure-img-1 {
  right: 7px;
  bottom: 0;
  width: 94px;
  z-index: 3;
}

.score-section-recovery .score-figure-img-2 {
  right: 74px;
  bottom: -6px;
  width: 86px;
  z-index: 1;
}

.btn-score-back {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  margin-top: 13px;
  border-radius: 8px;
  color: #ffffff;
  background: #ee785f;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 900;
}

.btn-score-back:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

@media (max-width: 430px) {
  .challenge-score {
    width: 100%;
  }

  .challenge-score-panel {
    padding-right: 32px;
    padding-left: 32px;
  }
}

.leaderboard-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(99, 181, 236, 0.98), rgba(96, 177, 233, 0.98)),
    url("../../kv/BACKGROUND.jpg") center top / cover no-repeat;
}

.leaderboard-stage {
  position: relative;
  width: min(100%, 1080px);
  min-height: 100vh;
  padding: 28px 22px 150px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(102, 182, 238, 0.92), rgba(106, 186, 240, 0.92));
}

.leaderboard-stage::before {
  position: absolute;
  inset: 0;
  background:
    url("../../kv/c6cadfc4ae20691bffeb4c1726f1adb96214200e.png") left top / 280px auto no-repeat,
    url("../../kv/DOT%20BAWAH.png") center bottom / 100% auto no-repeat;
  content: "";
  pointer-events: none;
}

.leaderboard-logo,
.leaderboard-heading-wrap,
.leaderboard-sections {
  position: relative;
  z-index: 1;
}

.leaderboard-logo {
  width: min(100%, 300px);
  margin: 12px auto 22px;
}

.leaderboard-heading-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 34px;
}

.leaderboard-heading-logo {
  width: min(100%, 620px);
  height: auto;
}

.leaderboard-sections {
  display: grid;
  gap: 42px;
}

.leaderboard-section {
  position: relative;
  border: 4px solid rgba(255, 255, 255, 0.96);
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(90, 171, 232, 0.98), rgba(100, 181, 238, 0.98));
}

.leaderboard-section-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(34, 93, 185, 0.12), rgba(80, 163, 227, 0.08)),
    url("../../kv/ac89422e1f71562a51cfb8cb549ff1e80ebdae14.png") center center / 94% auto no-repeat;
  opacity: 0.95;
  pointer-events: none;
}

.leaderboard-section-inner {
  position: relative;
  z-index: 1;
  min-height: 430px;
}

.leaderboard-visual {
  position: absolute;
  left: 18px;
  top: 40px;
  z-index: 1;
  pointer-events: none;
}

.leaderboard-title-sticker {
  width: min(30vw, 360px);
  margin: 0;
}

.leaderboard-section-mobility .leaderboard-visual {
  left: auto;
  right: 18px;
  top: auto;
  bottom: 0;
}

.leaderboard-section-mobility .leaderboard-title-sticker {
  width: min(32vw, 390px);
}

.leaderboard-board {
  position: relative;
  z-index: 2;
  padding: 24px 18px 26px 300px;
}

.leaderboard-section-mobility .leaderboard-board {
  padding: 24px 300px 26px 18px;
}

.leaderboard-grid {
  display: grid;
  gap: 10px 14px;
}

.leaderboard-column-labels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 8px;
}

.leaderboard-column-labels span {
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}

.leaderboard-grid-top,
.leaderboard-grid-mid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.leaderboard-grid-top {
  margin-bottom: 8px;
}

.leaderboard-grid-mid {
  margin-bottom: 10px;
}

.leaderboard-entry {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  padding: 12px 18px;
  border: 4px solid rgba(255, 255, 255, 0.96);
  border-radius: 22px;
  background: rgba(104, 182, 239, 0.9);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.leaderboard-entry-top {
  min-height: 134px;
}

.leaderboard-entry-top::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    url("../../kv/ac89422e1f71562a51cfb8cb549ff1e80ebdae14.png") center / cover no-repeat;
  opacity: 0.42;
  pointer-events: none;
}

.leaderboard-entry-top > * {
  position: relative;
  z-index: 1;
}

.leaderboard-entry-bottom {
  background:
    linear-gradient(180deg, rgba(251, 252, 255, 0.82), rgba(239, 244, 255, 0.82)),
    url("../../kv/6ae2bb5808d40218aff2cf7ebbabd04835986ff2.png") center / cover no-repeat;
}

.leaderboard-score-warm {
  background:
    linear-gradient(180deg, rgba(245, 118, 62, 0.96), rgba(238, 121, 69, 0.94)),
    url("../../kv/ac89422e1f71562a51cfb8cb549ff1e80ebdae14.png") center / cover no-repeat;
}

.leaderboard-score-cool {
  background:
    linear-gradient(180deg, rgba(17, 74, 145, 0.96), rgba(25, 79, 151, 0.94)),
    url("../../kv/ac89422e1f71562a51cfb8cb549ff1e80ebdae14.png") center / cover no-repeat;
}

.leaderboard-score-lime {
  background:
    linear-gradient(180deg, rgba(114, 193, 18, 0.96), rgba(129, 203, 38, 0.94)),
    url("../../kv/ac89422e1f71562a51cfb8cb549ff1e80ebdae14.png") center / cover no-repeat;
}

.leaderboard-entry-meta {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.leaderboard-entry-meta strong,
.leaderboard-entry-meta span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.leaderboard-entry-meta strong {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 900;
  text-transform: uppercase;
}

.leaderboard-entry-meta span {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.42rem;
  font-weight: 800;
  text-transform: uppercase;
}

.leaderboard-entry-kicker {
  color: #2c3fa6 !important;
  font-size: 0.46rem !important;
  letter-spacing: 0.04em;
}

.leaderboard-entry-bottom .leaderboard-entry-meta strong,
.leaderboard-entry-bottom .leaderboard-entry-meta span {
  color: #2c3fa6;
}

.leaderboard-entry-score {
  flex-shrink: 0;
  margin-left: 16px;
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 4rem);
  font-weight: 900;
  line-height: 0.92;
  text-align: right;
}

.leaderboard-entry-score small {
  font-size: 0.55em;
  font-weight: 900;
}

.leaderboard-entry-bottom .leaderboard-entry-score {
  color: #2c3fa6;
}

.leaderboard-entry-mid .leaderboard-entry-score {
  font-size: clamp(1.8rem, 3.8vw, 3.35rem);
}

.leaderboard-entry-top .leaderboard-entry-meta strong {
  font-size: 1.05rem;
}

.leaderboard-entry-top .leaderboard-entry-meta span {
  font-size: 0.46rem;
}

.leaderboard-entry-top .leaderboard-entry-score {
  font-size: clamp(2.8rem, 5.2vw, 5rem);
}

@media (max-width: 960px) {
  .leaderboard-stage {
    padding: 24px 16px 120px;
  }

  .leaderboard-section-inner {
    min-height: auto;
  }

  .leaderboard-visual {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    display: flex;
    justify-content: center;
    margin: 18px 0 6px;
  }

  .leaderboard-title-sticker {
    width: min(100%, 280px);
  }

  .leaderboard-section-mobility .leaderboard-visual {
    margin-top: 18px;
    margin-bottom: 6px;
  }

  .leaderboard-board {
    padding: 0 12px 18px;
  }
}

@media (max-width: 720px) {
  .leaderboard-grid-top,
  .leaderboard-grid-mid {
    grid-template-columns: 1fr;
  }

  .leaderboard-heading-logo {
    width: min(100%, 420px);
  }

  .leaderboard-entry,
  .leaderboard-entry-top {
    min-height: 88px;
  }

  .leaderboard-entry-score,
  .leaderboard-entry-top .leaderboard-entry-score,
  .leaderboard-entry-mid .leaderboard-entry-score {
    font-size: 2.3rem;
  }
}
