/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[15].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[15].oneOf[10].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
:root {
  --consumer-bg: #fff9f4;
  --consumer-surface: #ffffff;
  --consumer-text: #122242;
  --consumer-muted: #607089;
  --consumer-accent: #e36d3c;
  --consumer-accent-strong: #ff5a5f;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background:
    radial-gradient(circle at top, rgba(255, 169, 114, 0.22), transparent 24%),
    linear-gradient(180deg, #fff9f4 0%, #fff6ef 100%);
  color: var(--consumer-text);
  font-family:
    "SF Pro SC", "PingFang SC", "Noto Sans SC", -apple-system, BlinkMacSystemFont, sans-serif;
}

button,
input,
textarea,
select {
  font: inherit;
}

a {
  color: inherit;
}

.challenge-page {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 14%, rgba(255, 214, 102, 0.26), transparent 28%),
    radial-gradient(circle at 86% 18%, rgba(123, 214, 255, 0.28), transparent 32%),
    radial-gradient(circle at 82% 82%, rgba(255, 198, 255, 0.22), transparent 34%),
    linear-gradient(125deg, #effdf6 0%, #eaf8ff 45%, #fff8e8 100%);
  background-size: cover;
  color: #123047;
  padding: clamp(18px, 3vw, 42px);
}

.challenge-page::before,
.challenge-page::after {
  position: fixed;
  inset: -28%;
  z-index: -1;
  content: "";
  pointer-events: none;
}

.challenge-page::before {
  background:
    repeating-radial-gradient(ellipse 92% 46% at 18% 22%, rgba(255, 255, 255, 0.2) 0 1px, transparent 2px 28px),
    repeating-radial-gradient(ellipse 76% 40% at 76% 64%, rgba(255, 255, 255, 0.14) 0 1px, transparent 3px 36px),
    linear-gradient(120deg, rgba(58, 134, 255, 0.07), rgba(46, 196, 182, 0.06), rgba(255, 190, 11, 0.06));
  background-size: 160% 125%, 145% 155%, cover;
  opacity: 0.42;
  transform: rotate(-7deg) scale(1.03);
}

.challenge-page button {
  touch-action: manipulation;
}

.challenge-page h1,
.challenge-page h2,
.challenge-page p {
  margin: 0;
}

.challenge-page .hero,
.challenge-page .game-layout,
.challenge-page .report-section {
  position: relative;
  width: min(1480px, 100%);
  margin: 0 auto;
}

.challenge-page .hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(420px, 1.18fr);
  gap: clamp(18px, 3vw, 34px);
  align-items: stretch;
}

.challenge-page .hero-copy {
  position: relative;
  display: flex;
  min-height: 360px;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 4vw, 56px);
}

.challenge-page .brand-logo-card {
  position: relative;
  top: auto;
  right: auto;
  align-self: flex-end;
  z-index: 2;
  width: clamp(170px, 18vw, 280px);
  margin: 0 0 18px;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.78);
  border-radius: 34px;
  background: #1d9ced;
  box-shadow: 0 24px 54px rgba(20, 114, 214, 0.24);
}

.challenge-page .brand-logo-card img {
  display: block;
  width: 100%;
  height: auto;
}

.challenge-page .brand-logo-card::after {
  position: absolute;
  top: 10.8%;
  left: 50%;
  z-index: 1;
  width: 38%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(255, 255, 255, 0) 0 20%, rgba(255, 255, 255, 0.45) 27%, rgba(255, 255, 255, 0.08) 34%, rgba(255, 255, 255, 0) 43% 100%);
  content: "";
  opacity: 0.72;
  pointer-events: none;
  transform: translateX(-50%);
  transform-origin: 50% 50%;
  animation: challenge-logo-ring-spin 4.8s linear infinite;
}

.challenge-page .fluid-title {
  display: grid;
  gap: 8px;
  width: min(980px, 100%);
  color: transparent;
  font-size: clamp(42px, 6.8vw, 104px);
  font-weight: 1000;
  letter-spacing: 0;
  line-height: 1.08;
}

.challenge-page .fluid-title span {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  padding-bottom: 0.08em;
  overflow: visible;
  background: linear-gradient(100deg, #3a86ff 0%, #2ec4b6 18%, #ffbe0b 34%, #fb5607 50%, #8338ec 66%, #ff006e 82%, #3a86ff 100%);
  background-clip: text;
  background-size: 260% 100%;
  -webkit-background-clip: text;
  animation: challenge-fluid-gradient 5.8s ease-in-out infinite;
}

.challenge-page .challenge-title {
  display: inline-block;
  width: fit-content;
  margin-top: 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 0 0 1px rgba(58, 134, 255, 0.12);
  color: #0c5cc7;
  font-size: clamp(18px, 1.8vw, 26px);
  font-weight: 1000;
  padding: 10px 16px;
}

.challenge-page .hero-copy p {
  width: min(680px, 100%);
  margin-top: 22px;
  color: #39586c;
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.7;
}

.challenge-page .entry-panel,
.challenge-page .game-card,
.challenge-page .rank-card,
.challenge-page .report-card {
  border: 1px solid rgba(18, 48, 71, 0.1);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 70px rgba(33, 84, 115, 0.13);
  -webkit-backdrop-filter: blur(18px);
          backdrop-filter: blur(18px);
}

.challenge-page .entry-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  padding: clamp(18px, 2.6vw, 30px);
}

.challenge-page .name-field {
  display: grid;
  gap: 9px;
  color: #24435a;
  font-weight: 900;
}

.challenge-page .name-field input,
.challenge-page .name-field select {
  width: 100%;
  min-height: 58px;
  border: 2px solid rgba(58, 134, 255, 0.16);
  border-radius: 18px;
  background: #fff;
  color: #10283b;
  font-size: 20px;
  font-weight: 900;
  outline: none;
  padding: 0 18px;
}

.challenge-page .name-field input:focus,
.challenge-page .name-field select:focus {
  border-color: #3a86ff;
  box-shadow: 0 0 0 5px rgba(58, 134, 255, 0.14);
}

.challenge-page .consent-field {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border-radius: 16px;
  background: #fff8dc;
  color: #314f62;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.5;
  padding: 12px 14px;
}

.challenge-page .consent-field input {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: #0b806b;
}

.challenge-page .form-note {
  color: #607889;
  font-weight: 900;
  line-height: 1.5;
}

.challenge-page .form-note.error {
  color: #d62828;
}

.challenge-page .start-button,
.challenge-page .rank-open-button,
.challenge-page .rank-link-button,
.challenge-page .secondary-button,
.challenge-page .modal-close {
  min-height: 54px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #3a86ff, #2ec4b6);
  box-shadow: 0 14px 28px rgba(58, 134, 255, 0.2);
  color: #fff;
  cursor: pointer;
  font-size: 18px;
  font-weight: 1000;
  padding: 0 24px;
}

.challenge-page .start-button {
  min-height: 64px;
  background: linear-gradient(135deg, #ffbe0b, #fb5607);
  box-shadow: 0 18px 34px rgba(251, 86, 7, 0.24);
  font-size: 22px;
}

.challenge-page .secondary-button {
  background: linear-gradient(135deg, #ffbe0b, #fb5607);
  box-shadow: 0 14px 28px rgba(251, 86, 7, 0.22);
}

.challenge-page .hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.challenge-page .sound-icon-button {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 2px solid rgba(58, 134, 255, 0.16);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 12px 24px rgba(18, 48, 71, 0.1);
  cursor: pointer;
  font-size: 24px;
}

.challenge-page {
  --kid-blue: #25a9ff;
  --kid-cyan: #25d6cf;
  --kid-green: #49c95d;
  --kid-yellow: #ffd646;
  --kid-orange: #ff8a00;
  --kid-coral: #ff5f5f;
  --kid-ink: #10324a;
  background:
    radial-gradient(circle at 9% 12%, rgba(255, 214, 70, 0.42), transparent 24%),
    radial-gradient(circle at 88% 10%, rgba(37, 169, 255, 0.32), transparent 26%),
    radial-gradient(circle at 24% 88%, rgba(73, 201, 93, 0.26), transparent 26%),
    radial-gradient(circle at 86% 82%, rgba(255, 95, 95, 0.22), transparent 28%),
    linear-gradient(135deg, #fffaf0 0%, #e8fbff 44%, #fff5fb 100%);
  color: var(--kid-ink);
}

.challenge-page::before {
  inset: 0;
  background:
    radial-gradient(circle, rgba(255, 138, 0, 0.34) 0 5px, transparent 6px) 6% 18% / 118px 118px,
    radial-gradient(circle, rgba(37, 169, 255, 0.24) 0 4px, transparent 5px) 84% 14% / 96px 96px,
    radial-gradient(circle, rgba(73, 201, 93, 0.22) 0 4px, transparent 5px) 18% 86% / 108px 108px,
    linear-gradient(115deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0));
  filter: none;
  opacity: 0.6;
  transform: none;
}

.challenge-page::after {
  inset: -14%;
  background:
    repeating-radial-gradient(ellipse 74% 38% at 18% 18%, rgba(255, 255, 255, 0.38) 0 2px, transparent 3px 34px),
    repeating-radial-gradient(ellipse 68% 40% at 78% 68%, rgba(37, 169, 255, 0.09) 0 2px, transparent 3px 42px);
  background-size: 140% 120%, 150% 130%;
  opacity: 0.5;
  transform: rotate(-8deg) scale(1.03);
}

.challenge-page .brand-logo-card {
  width: clamp(210px, 20vw, 330px);
  border: 4px solid rgba(255, 255, 255, 0.92);
  border-radius: 34px;
  background: #ffd646;
  box-shadow:
    0 22px 44px rgba(255, 138, 0, 0.2),
    0 10px 24px rgba(37, 169, 255, 0.14);
}

.challenge-page .fluid-title span {
  background: linear-gradient(100deg, #178cff 0%, #16c7d8 17%, #45c75a 32%, #ffd646 48%, #ff8a00 64%, #ff4d7d 82%, #178cff 100%);
  background-clip: text;
  background-size: 280% 100%;
  -webkit-background-clip: text;
}

.challenge-page .entry-panel,
.challenge-page .game-card,
.challenge-page .rank-card,
.challenge-page .report-card {
  border: 3px solid rgba(255, 255, 255, 0.8);
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.76)),
    linear-gradient(135deg, rgba(255, 214, 70, 0.12), rgba(37, 214, 207, 0.12));
  box-shadow:
    0 24px 48px rgba(37, 169, 255, 0.13),
    0 10px 22px rgba(255, 138, 0, 0.1);
}

.challenge-page .start-button,
.challenge-page .secondary-button {
  background: linear-gradient(135deg, #ffd646 0%, #ff9b00 48%, #ff6b00 100%);
  box-shadow:
    0 15px 0 rgba(197, 91, 0, 0.16),
    0 22px 38px rgba(255, 138, 0, 0.26),
    inset 0 2px 0 rgba(255, 255, 255, 0.5);
}

.challenge-page .rank-open-button,
.challenge-page .rank-link-button,
.challenge-page .modal-close {
  background: linear-gradient(135deg, #178cff, #25d6cf);
  box-shadow:
    0 15px 0 rgba(12, 108, 180, 0.14),
    0 22px 36px rgba(37, 169, 255, 0.22),
    inset 0 2px 0 rgba(255, 255, 255, 0.42);
}

@keyframes challenge-rainbow-flow {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes challenge-ripple {
  0%, 100% {
    background-position: 0% 20%, 100% 80%, 0% 50%;
  }
  50% {
    background-position: 100% 35%, 0% 65%, 100% 50%;
  }
}

@keyframes challenge-fluid-gradient {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes challenge-logo-ring-spin {
  to {
    transform: translateX(-50%) rotate(360deg);
  }
}

@media (max-width: 900px) {
  .challenge-page {
    padding: 18px 14px 28px;
  }

  .challenge-page .hero {
    grid-template-columns: 1fr;
  }

  .challenge-page .hero-copy {
    min-height: 0;
    padding: 22px 10px 14px;
  }

  .challenge-page .brand-logo-card {
    width: min(260px, 46vw);
    margin: 0 0 18px auto;
    border-radius: 26px;
  }

  .challenge-page .fluid-title {
    font-size: clamp(42px, 12vw, 82px);
  }

  .challenge-page .entry-panel {
    width: 100%;
  }
}

@media (min-width: 768px) and (max-width: 1366px) and (max-height: 1100px) {
  .challenge-page {
    min-height: 100dvh;
    overflow-x: hidden;
    padding: clamp(14px, 1.9vw, 24px);
  }

  .challenge-page .hero,
  .challenge-page .game-layout,
  .challenge-page .report-card {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 1fr);
    gap: clamp(14px, 2vw, 24px);
    width: min(100%, 1220px);
  }

  .challenge-page .hero-copy {
    min-height: auto;
    justify-content: flex-start;
    padding: clamp(12px, 1.8vw, 22px);
  }

  .challenge-page .brand-logo-card {
    width: clamp(112px, 14vw, 170px);
    margin-bottom: clamp(8px, 1.2vw, 14px);
    border-radius: 22px;
  }

  .challenge-page .fluid-title {
    gap: 2px;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.02;
  }

  .challenge-page.view-entry .fluid-title {
    font-size: clamp(46px, 5.8vw, 72px);
  }

  .challenge-page .challenge-title {
    margin-top: 10px;
    font-size: clamp(16px, 1.6vw, 22px);
    padding: 8px 14px;
  }

  .challenge-page .hero-copy p {
    width: min(560px, 100%);
    margin-top: 12px;
    font-size: clamp(15px, 1.55vw, 19px);
    line-height: 1.5;
  }

  .challenge-page .hero-actions {
    gap: 10px;
    margin-top: 12px;
  }

  .challenge-page .rank-open-button,
  .challenge-page .rank-link-button,
  .challenge-page .secondary-button,
  .challenge-page .modal-close {
    min-height: 44px;
    font-size: 16px;
    padding: 0 18px;
  }

  .challenge-page .sound-icon-button {
    width: 46px;
    height: 46px;
    font-size: 21px;
  }

  .challenge-page .entry-panel {
    gap: 14px;
    align-self: start;
    max-height: calc(100dvh - 48px);
    overflow: auto;
    padding: clamp(16px, 2vw, 24px);
  }

  .challenge-page .name-field input,
  .challenge-page .name-field select {
    min-height: 52px;
    border-radius: 16px;
    font-size: 18px;
  }

  .challenge-page .start-button {
    min-height: 56px;
    font-size: 20px;
  }
}

@media (max-width: 620px) {
  .challenge-page .brand-logo-card {
    width: min(220px, 62vw);
    margin-left: 0;
  }

  .challenge-page .fluid-title {
    font-size: clamp(38px, 13vw, 64px);
  }

  .challenge-page .hero-copy p {
    font-size: 17px;
  }

  .challenge-page .entry-panel {
    border-radius: 20px;
  }
}

