.global-hero{gap:55px}.global-hero h1{font-size:clamp(44px,5vw,68px)}.global-hero .lede{max-width:490px;margin-top:15px}.global-challenge{font-family:'Nunito',sans-serif;font-size:23px;font-weight:800;margin:30px 0 0}.global-art{position:relative;padding:25px 12px 35px}.podium-card{position:relative;transform:rotate(-5deg);background:#fffdf7;border:1px solid #123f4740;border-radius:18px;padding:27px;box-shadow:15px 17px 0 #c9b4e960}.podium-heading{display:flex;align-items:center;justify-content:space-between;font-size:8px;letter-spacing:1px;font-weight:700;border-bottom:1px solid #123f4720;padding-bottom:15px}.podium-heading>span:last-child{font-size:23px;color:var(--purple)}.podium-card h2{font-size:32px;margin:18px 0 25px}.podium{display:flex;align-items:end;justify-content:center;gap:7px;height:165px}.podium-step{width:29%;border:1px solid #123f4730;border-radius:10px 10px 0 0;display:flex;flex-direction:column;align-items:center;justify-content:space-around}.podium-step span{font-size:30px}.podium-step b{font-family:'Nunito',sans-serif;font-size:28px}.first{height:100%;background:var(--mint)}.second{height:72%;background:var(--lilac)}.third{height:52%;background:#f8dd88}.podium-card>p{font-size:10px;text-align:center;margin:20px 0 0;color:var(--muted)}.global-spark{position:absolute;right:-10px;top:-20px;font-size:70px;color:#d9a82c}.global-sticker{position:absolute;right:-15px;bottom:12px;background:#f8dd88;border:1px solid #b58930;padding:14px 20px;border-radius:7px;font-size:13px;font-weight:700;transform:rotate(7deg)}.global-ranking{padding-block:80px;scroll-margin-top:125px}.ranking-intro{display:flex;align-items:end;justify-content:space-between;gap:40px;margin-bottom:35px}.ranking-intro .eyebrow{color:var(--purple)}.ranking-intro h2{font-size:44px;margin:0}.ranking-intro h2 span{color:var(--purple)}.ranking-intro>p{max-width:300px;font-size:14px;line-height:1.8;color:var(--muted)}.ranking-layout{display:grid;grid-template-columns:290px 1fr;gap:24px}.official-subject{background:var(--mint);padding:30px;border:1px solid #123f4725;border-radius:18px}.subject-icon{width:55px;height:55px;background:#ffffff70;border-radius:15px;display:grid;place-items:center;font-size:30px;margin-bottom:30px}.official-subject .eyebrow{font-size:8px;line-height:1.8;margin-bottom:10px}.official-subject h3{font-family:'Nunito',sans-serif;font-size:32px;margin:0 0 15px}.official-subject>p:not(.eyebrow){font-size:13px;line-height:1.8}.coming-label{display:inline-block;padding:8px 12px;background:#fffaf080;border-radius:20px;font-size:11px;font-weight:700;margin:12px 0 28px}.subject-footnote{font-size:10px;border-top:1px solid #123f4730;padding-top:18px}.ranking-board{border:1px solid #123f4725;border-radius:18px;background:#fffdf7;overflow:hidden}.ranking-board-header{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:23px 28px;border-bottom:1px solid #123f4720}.ranking-board-header h3{font-size:16px;margin:0}.ranking-board-header>span{font-size:10px;color:var(--muted)}.ranking-empty{padding:30px;text-align:center;max-width:510px;margin:auto}.empty-star{font-size:45px;color:var(--purple)}.ranking-empty h3{font-family:'Nunito',sans-serif;font-size:27px;line-height:1.2;margin:15px 0}.ranking-empty p{font-size:13px;line-height:1.8;color:var(--muted)}.empty-note{display:inline-block;font-size:10px;color:#65428d;background:#eee6f8;border-radius:20px;padding:9px 14px;margin-top:10px}.ranking-scope{font-size:11px;line-height:1.8;color:var(--muted);margin:20px 0 0}.global-ranking+.how{scroll-margin-top:125px}
@media(max-width:950px){.global-hero{gap:30px}.global-hero h1{font-size:51px}.global-sticker{right:0}.ranking-layout{grid-template-columns:240px 1fr}}
@media(max-width:700px){.global-hero{gap:35px}.global-hero h1{font-size:clamp(42px,10vw,62px)}.global-challenge{font-size:20px}.global-art{width:min(390px,95%);margin:auto}.global-hero .eyebrow{font-size:8px}.podium-card h2{font-size:30px}.global-ranking{padding-block:50px;scroll-margin-top:140px}.ranking-intro{display:block}.ranking-intro h2{font-size:35px}.ranking-intro>p{max-width:none;margin-top:20px}.ranking-layout{grid-template-columns:1fr}.official-subject{padding:25px}.subject-icon{margin-bottom:20px}.coming-label{margin-bottom:18px}.ranking-board-header{padding:20px;flex-wrap:wrap}.ranking-empty{padding:25px 18px 32px}.ranking-empty h3{font-size:25px}.global-ranking+.how{scroll-margin-top:140px}}

.challenge-start-form{display:grid;gap:9px;margin:20px 0 25px}.challenge-start-form label{font-size:12px;font-weight:900}.challenge-start-form input{width:100%;min-height:45px;padding:10px 13px;border:1px solid #123f4740;border-radius:11px;background:#fffdf7;color:#123f47;font:inherit}.challenge-start-form input:focus{outline:3px solid #7b4bd855;border-color:#7b4bd8}.challenge-start-form .button{width:100%;margin-top:3px;border:0;cursor:pointer}.challenge-start-form .button:disabled{opacity:.65;cursor:wait}.challenge-message{min-height:16px;margin:0;color:#8a3048;font-size:11px;font-weight:800;line-height:1.5}.subject-footnote{line-height:1.6}.challenge-start-form button:focus-visible{outline:3px solid #7b4bd8;outline-offset:3px}
.global-leaderboard-wrap { border-top: 1px solid #123f471b; padding: 19px 20px 12px; }
.global-leaderboard-title { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.global-leaderboard-title h3 { font-family: 'Nunito', sans-serif; font-size: 1.5rem; margin: 0 0 12px; }
.global-leaderboard-title span { color: var(--muted); font-size: .75rem; }
.global-ranking-countdown { margin: 0 0 1rem; color: var(--muted); font-size: .85rem; }
.global-ranking-countdown time { color: var(--ink); font-weight: 800; font-variant-numeric: tabular-nums; }
.global-leaderboard-wrap .ranking-empty { padding: 20px 10px; }
.global-leaderboard-wrap .ranking-empty h3 { font-size: 20px; }
.global-leaderboard-wrap .ranking-empty p { margin-bottom: 0; }
@media (max-width: 700px) {
  .global-leaderboard-wrap { padding-inline: 14px; }
  .global-leaderboard-title h3 { font-size: 1.375rem; }
}
.global-history { padding-block: 1.5rem 2rem; scroll-margin-top: 8rem; }
.global-history h2 { margin: 0; font-size: clamp(1.6rem, 4vw, 2.5rem); }
.global-history-list { display: grid; gap: .4rem; max-width: 36rem; padding: 0; list-style: none; }
.global-history-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .85rem; padding: .65rem .75rem; border-radius: .75rem; background: #e1f2ec; }
.global-history-list li strong { margin-left: auto; }

.global-carousel { overflow: clip; }
.global-carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  transition: transform .55s cubic-bezier(.25, .8, .25, 1);
}
.global-carousel-track.show-english { transform: translateX(-100%); }
.global-carousel-track .global-hero {
  align-self: stretch;
  align-content: start;
  align-items: start;
  min-width: 0;
  min-height: 0;
  padding-block: clamp(1.25rem, 3vw, 2.5rem) clamp(2rem, 4vw, 3.5rem);
}
.global-subjects, .global-levels, .global-exam-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .5rem;
}
.global-subjects { padding-top: 1.25rem; }
.global-levels { margin: 1rem 0; }
.global-subjects a, .global-levels a {
  border: 1px solid #123f4730;
  border-radius: 999px;
  padding: .5rem .85rem;
  color: var(--ink);
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}
.global-subjects a[aria-current], .global-levels a[aria-current] {
  background: var(--lilac);
  border-color: #7b4baf;
}
.global-subjects button {
  margin-left: auto;
  border: 0;
  padding: .5rem .25rem;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: .8rem;
  text-decoration: underline;
  cursor: pointer;
}
.global-exam-links { margin-top: 1rem; font-size: .85rem; }
.global-exam-links span { color: var(--muted); }
.global-exam-links a { color: var(--ink); font-weight: 700; text-underline-offset: .2em; }
.global-english h1 { font-size: clamp(2.75rem, 5vw, 4rem); }
.global-english h1 > span { white-space: nowrap; }
.global-espol h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
.podium-card .podium-slogan {
  color: var(--ink);
  font: 1000 2rem/1.07 'Nunito', sans-serif;
  margin: 18px 0 25px;
  text-align: left;
}
.global-challenge-anchor { scroll-margin-top: 8rem; }
.global-player-profile {
  display: grid;
  justify-items: center;
  gap: 1rem;
  padding-block: clamp(3rem, 10vw, 7rem);
  text-align: center;
}
.global-player-profile h1 {
  margin: 0;
  font-size: clamp(2rem, 7vw, 3.5rem);
  overflow-wrap: anywhere;
}
.global-player-profile p { margin: 0; }
.global-player-page { min-height: 100dvh; background: #f5faf9; }
.global-player-detail {
  display: grid;
  gap: 2rem;
  width: min(calc(100% - 2rem), 48rem);
  padding-block: clamp(1.5rem, 5vw, 3.5rem) 3.5rem;
}
.global-player-identity {
  display: grid;
  grid-template-columns: minmax(9rem, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  min-height: 15rem;
  padding: 1.75rem clamp(1.25rem, 5vw, 3rem);
  border: 1px solid #e9e0ef;
  border-radius: 1.6rem;
  background: radial-gradient(ellipse at 24% 38%, #fff9 0, transparent 55%),
              linear-gradient(145deg, #eee4f7, #e4f3f2);
}
.global-player-portrait {
  --player-avatar-size: clamp(6.5rem, 19vw, 9rem);
  position: relative;
  display: grid;
  place-items: center;
  padding-block: .75rem;
}
.global-player-portrait::before {
  content: "";
  position: absolute;
  width: min(100%, calc(var(--player-avatar-size) + 2.25rem));
  aspect-ratio: 1;
  border: 1px solid #fff;
  border-radius: 43% 57% 54% 46%;
  background: #ffffff66;
}
.global-player-avatar {
  position: relative;
  display: block;
  width: var(--player-avatar-size);
  height: auto;
  aspect-ratio: 1;
  border: 2px solid #fff;
  border-radius: 40%;
  box-shadow: 0 .65rem 1.35rem #123f471c;
  object-fit: contain;
}
.global-player-portrait > .thought-bubble {
  top: -.45rem;
  right: .25rem;
  white-space: normal;
  overflow-wrap: anywhere;
}
.global-player-summary h1 {
  margin: 0 0 .5rem;
  font: 900 clamp(2rem, 5vw, 3rem)/1.08 'Nunito', sans-serif;
  letter-spacing: -.045em;
  overflow-wrap: anywhere;
}
.global-player-code {
  display: inline-block;
  margin: 0;
  padding: .3rem .65rem;
  border: 1px solid #ffffffce;
  border-radius: 999px;
  background: #ffffff80;
  font-size: .8rem;
}
.global-player-code strong { margin-inline-start: .25rem; letter-spacing: .1em; user-select: all; }
.global-player-actions { margin-top: .85rem; }
.global-player-actions:empty { display: none; }
.global-player-actions p { margin: .35rem 0 0; }
.global-player-request {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  max-width: 100%;
  padding: .55rem .95rem;
  border: 1px solid #9174b5;
  border-radius: 999px;
  background: #624486;
  color: #fff;
  font-size: .875rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.global-player-request:hover { background: #523473; }
.global-player-sign-in { color: #4d596a; font-size: .75rem; }
.global-player-sections {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(1rem, 3vw, 1.65rem);
  padding: clamp(1rem, 3.5vw, 1.6rem);
  border: 1px solid #e0ece9;
  border-radius: 1.6rem;
  background: #fff;
  box-shadow: 0 .65rem 1.7rem #143f4708;
}
.global-player-sections section + section { padding-inline-start: 1.35rem; border-inline-start: 1px solid #e0ece9; }
.global-player-sections h2 { margin: 0 0 .7rem; font-size: 1.3rem; letter-spacing: -.025em; }
.global-player-achievements, .global-player-records {
  list-style: none;
  display: grid;
  gap: .45rem;
  margin: 0;
  padding: 0;
}
.global-player-achievements li, .global-player-records a {
  display: grid;
  align-items: center;
  gap: .7rem;
  padding: .5rem .7rem;
  border: 1px solid transparent;
  border-radius: .85rem;
}
.global-player-achievements li { grid-template-columns: 2.25rem minmax(0, 1fr); background: #f7f2fb; }
.global-player-medal, .global-player-place {
  display: grid;
  place-items: center;
  min-width: 2.25rem;
  min-height: 2.25rem;
  padding: .15rem .3rem;
  border-radius: .65rem;
  font-weight: 900;
}
.global-player-medal { background: #e9ddf4; color: #674694; }
.global-player-achievements p, .global-player-empty { margin: .16rem 0 0; color: #49616a; font-size: .85rem; }
.global-player-empty { padding: .75rem; border-radius: .85rem; background: #f7f2fb; }
.global-player-records a {
  grid-template-columns: auto minmax(0, 1fr) auto;
  background: #eff8f4;
  font-size: .86rem;
  font-weight: 700;
  text-decoration: none;
}
.global-player-records a:hover { border-color: #83bba6; background: #f9fdfa; }
.global-player-records strong { white-space: nowrap; }
.global-player-place { background: #d6eee4; font-variant-numeric: tabular-nums; }
.global-player-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.global-player-friendship-status {
  padding: .55rem 1rem;
  border-radius: 999px;
  background: #e2f2e9;
  font-size: .9rem;
  font-weight: 700;
}
.friendship-inbox {
  width: min(100%, 32rem);
  display: grid;
  gap: .75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.friendship-inbox li {
  display: grid;
  gap: .75rem;
  padding: 1rem;
  border: 1px solid #123f4720;
  border-radius: .75rem;
}
.friendship-inbox form {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .5rem;
}
.friendship-inbox button { color: var(--ink); cursor: pointer; }
.ranking-layout[hidden], .global-history [hidden], .global-subjects button[hidden] { display: none; }
@media (max-width: 700px) {
  .global-english h1 { font-size: clamp(2.25rem, 9.5vw, 3.75rem); }
  .global-player-identity {
    grid-template-columns: 1fr;
    justify-items: center;
    padding-block: 1.45rem 1.1rem;
    text-align: center;
  }
  .global-player-portrait { width: min(100%, 13rem); }
  .global-player-summary { min-width: 0; }
  .global-player-detail { gap: 1rem; }
  .global-player-sections { grid-template-columns: 1fr; }
  .global-player-sections section + section {
    padding: 1rem 0 0;
    border-inline-start: 0;
    border-top: 1px solid #e0ece9;
  }
}
@media (prefers-reduced-motion: reduce) {
  .global-carousel-track { transition: none; }
}

.global-weekly-notice {
  margin: 0 0 1.25rem;
  padding: 1rem 1.25rem;
  border: 1px solid #cfc0e4;
  border-radius: 1rem;
  background: #f4edfc;
  color: #302044;
}
.global-weekly-notice p { margin: .35rem 0; }
.global-weekly-notice a { color: #573287; font-weight: 700; }
