:root {
  --display:"Fredoka","Arial Rounded MT Bold","Trebuchet MS",system-ui,sans-serif;
  --body:"Nunito","Segoe UI",system-ui,sans-serif;
  --emoji:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;
  --on:#23204A;
  --ink:#23204A;
  --ink-soft:#56527c;
  --paper:#F2F8FF;
  --card:#FFFFFF;
  --line:#23204A;
  --grass:#4CC35A;
  --sun:#FFC93C;
  --berry:#FF6F98;
  --sky:#4FB0F7;
  --grape:#9B80F5;
  --t-green:#E1F5DC;
  --t-sun:#FFF2C7;
  --t-berry:#FFE2EB;
  --t-sky:#DCEEFF;
  --t-grape:#ECE5FF;
  --radius:26px;
  --shadow:5px 5px 0 var(--line);
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) {
    --ink:#F5F2FF;
    --ink-soft:#c4bfe8;
    --paper:#14162A;
    --card:#22253F;
    --line:#05060E;
    --t-green:#1d3a27;
    --t-sun:#3b3218;
    --t-berry:#3d1f2d;
    --t-sky:#182d47;
    --t-grape:#2b2450;
  }
}
:root[data-theme=dark] {
  --ink:#F5F2FF;
  --ink-soft:#c4bfe8;
  --paper:#14162A;
  --card:#22253F;
  --line:#05060E;
  --t-green:#1d3a27;
  --t-sun:#3b3218;
  --t-berry:#3d1f2d;
  --t-sky:#182d47;
  --t-grape:#2b2450;
}
html {
  scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 90px);
  -webkit-text-size-adjust: 100%;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.55;
  -webkit-tap-highlight-color: transparent;
}
body.lock {
  overflow: hidden;
}
img,
svg {
  max-width: 100%;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.08;
  margin: 0;
  letter-spacing: .2px;
}
.em {
  font-family: var(--emoji);
}
.container {
  width: min(1160px, 100% - 40px);
  margin-inline: auto;
}
:focus-visible {
  outline: 4px solid var(--sky);
  outline-offset: 3px;
  border-radius: 12px;
}
[hidden] {
  display: none !important;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.site-header {
  position: -webkit-sticky;
  position: -webkit-sticky;
  position: -webkit-sticky;
  position: -webkit-sticky;
  position: -webkit-sticky;
  position: -webkit-sticky;
  position: -webkit-sticky;
  position: -webkit-sticky;
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 40;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--line);
}
.hdr {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand svg {
  width: 46px;
  height: 46px;
}
.brand-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 21px;
  line-height: 1;
}
.brand-name b {
  display: block;
  color: var(--grass);
  font-weight: 700;
  -webkit-text-stroke: .5px var(--line);
}
.topnav {
  display: flex;
  gap: 2px;
  margin-left: auto;
}
.topnav a {
  font-family: var(--display);
  font-weight: 600;
  font-size: 17px;
  text-decoration: none;
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: 999px;
  border: 3px solid transparent;
}
.topnav a:hover {
  background: var(--card);
  border-color: var(--line);
}
.topnav a.on {
  background: var(--sun);
  color: var(--on);
  border-color: var(--line);
  box-shadow: 3px 3px 0 var(--line);
}
.chip-player {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  background: var(--card);
  border: 3px solid var(--line);
  border-radius: 999px;
  padding: 4px 14px 4px 4px;
  box-shadow: 3px 3px 0 var(--line);
  flex-shrink: 0;
  font-family: var(--display);
  font-weight: 600;
}
.chip-player .av {
  width: 38px;
  height: 38px;
  font-size: 22px;
}
.chip-player .pts {
  font-size: 17px;
  white-space: nowrap;
}
.chip-player .pts small {
  font-size: 13px;
  color: var(--ink-soft);
  margin-left: 2px;
}
.chip-player.bump {
  animation: bump .5s;
}
@keyframes bump {
  40% {
    transform: scale(1.12) rotate(-3deg);
  }
}
.preview-bar {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  padding: 6px 12px;
}
.av {
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 3px solid var(--line);
  font-family: var(--emoji);
  flex-shrink: 0;
}
.t-green {
  background: var(--t-green);
}
.t-sun {
  background: var(--t-sun);
}
.t-berry {
  background: var(--t-berry);
}
.t-sky {
  background: var(--t-sky);
}
.t-grape {
  background: var(--t-grape);
}
.c-green {
  background: var(--grass);
}
.c-sun {
  background: var(--sun);
}
.c-berry {
  background: var(--berry);
}
.c-sky {
  background: var(--sky);
}
.c-grape {
  background: var(--grape);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 19px;
  line-height: 1;
  min-height: 50px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 3px solid var(--line);
  color: var(--on);
  text-decoration: none;
  cursor: pointer;
  box-shadow: 4px 4px 0 var(--line);
  transition: transform .12s, box-shadow .12s;
  background: var(--sun);
}
.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--line);
}
.btn:active {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 var(--line);
}
.btn svg {
  width: 22px;
  height: 22px;
}
.btn-lg {
  font-size: max(20px, min(2.3vw, 24px));
  min-height: 60px;
  padding: 14px 28px;
}
.btn-ghost {
  background: var(--card);
  color: var(--ink);
}
.btn-green {
  background: var(--grass);
}
.btn-sky {
  background: var(--sky);
}
.btn-berry {
  background: var(--berry);
}
.btn-sm {
  font-size: 16px;
  min-height: 42px;
  padding: 8px 16px;
  box-shadow: 3px 3px 0 var(--line);
}
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  padding: 4px 12px;
  border-radius: 999px;
  border: 2.5px solid var(--line);
  color: var(--on);
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.card {
  background: var(--card);
  border: 3px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
a.card {
  text-decoration: none;
  transition: transform .15s, box-shadow .15s;
}
a.card:hover {
  transform: translate(-3px, -3px) rotate(-.4deg);
  box-shadow: 8px 8px 0 var(--line);
}
main {
  padding-bottom: 40px;
}
.section {
  margin-top: max(48px, min(7vw, 84px));
}
.sec-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.sec-head h2 {
  font-size: max(30px, min(4.4vw, 44px));
}
.sec-head p {
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-weight: 700;
}
.eyebrow {
  display: inline-block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  background: var(--card);
  border: 2.5px solid var(--line);
  border-radius: 999px;
  padding: 5px 14px;
  margin: 0 0 18px;
}
.squiggle {
  display: block;
  width: 120px;
  height: 14px;
  margin-top: 8px;
}
.hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: max(20px, min(4vw, 56px));
  align-items: center;
  padding-top: max(28px, min(5vw, 64px));
}
.hero h1 {
  font-size: max(44px, min(7.4vw, 84px));
}
.hero h1 .hl {
  position: relative;
  white-space: nowrap;
  color: var(--on);
  background: var(--sun);
  border: 3px solid var(--line);
  border-radius: 22px;
  padding: 0 .18em;
  box-shadow: 5px 5px 0 var(--line);
  display: inline-block;
  transform: rotate(-2deg);
  margin-top: .12em;
}
.lead {
  font-size: max(19px, min(2.2vw, 22px));
  color: var(--ink-soft);
  font-weight: 700;
  max-width: 34ch;
  margin: 24px 0 30px;
}
.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
  font-weight: 800;
  font-size: 15px;
  color: var(--ink-soft);
}
.trust span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.trust svg {
  width: 20px;
  height: 20px;
  color: var(--grass);
}
.hero-art {
  position: relative;
}
.hero-art svg {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(6px 6px 0 var(--line));
}
.bob {
  animation: bob 3.6s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
.bob.d2 {
  animation-delay: -1.2s;
}
.bob.d3 {
  animation-delay: -2.4s;
}
@keyframes bob {
  50% {
    transform: translateY(-12px) rotate(3deg);
  }
}
.slither {
  animation: slither 5s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}
@keyframes slither {
  50% {
    transform: translateX(10px);
  }
}
.spin {
  animation: spin 24s linear infinite;
  transform-box: fill-box;
  transform-origin: center;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 26px;
}
.gcard {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}
.gcard .art {
  aspect-ratio: 16/10;
  border-bottom: 3px solid var(--line);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.gcard .art svg {
  width: 100%;
  height: 100%;
}
.gcard .body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.gcard h3 {
  font-size: 27px;
}
.gcard p {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 700;
}
.gcard .foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 6px;
}
.sticker {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  color: var(--on);
  background: var(--berry);
  border: 3px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
  transform: rotate(6deg);
  box-shadow: 3px 3px 0 var(--line);
}
.sticker.soon {
  background: var(--card);
  color: var(--ink);
}
.gcard.soon .art {
  filter: saturate(.55);
}
.playdot {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--sun);
  border: 3px solid var(--line);
  display: grid;
  place-items: center;
  box-shadow: 3px 3px 0 var(--line);
  color: var(--on);
}
.playdot svg {
  width: 22px;
  height: 22px;
  margin-left: 3px;
}
.two-up {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 26px;
  align-items: start;
}
.panel {
  padding: max(18px, min(3vw, 28px));
}
.panel h3 {
  font-size: max(24px, min(3vw, 30px));
  margin-bottom: 6px;
}
.panel .sub {
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 16px;
}
.lb {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.lb-row {
  display: grid;
  grid-template-columns: 40px 46px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  border-radius: 18px;
  border: 3px solid transparent;
}
.lb-row:nth-child(odd) {
  background: color-mix(in srgb, var(--paper) 70%, var(--card));
}
.lb-row.me {
  background: var(--t-sun);
  border-color: var(--line);
}
.rank {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
}
.rank.r1 {
  background: #FFD23F;
  border: 3px solid var(--line);
  color: var(--on);
}
.rank.r2 {
  background: #D8DEE9;
  border: 3px solid var(--line);
  color: var(--on);
}
.rank.r3 {
  background: #F0A868;
  border: 3px solid var(--line);
  color: var(--on);
}
.lb-row .av {
  width: 44px;
  height: 44px;
  font-size: 24px;
}
.who {
  min-width: 0;
}
.who b {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 18px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.who span {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-soft);
}
.you {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 600;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  padding: 1px 9px;
  margin-left: 8px;
}
.score {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  text-align: right;
  white-space: nowrap;
}
.score small {
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 600;
}
.seg {
  display: inline-flex;
  background: var(--card);
  border: 3px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
}
.seg button {
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  border: 0;
  background: none;
  color: var(--ink);
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  min-height: 40px;
}
.seg button.on {
  background: var(--sun);
  color: var(--on);
}
.note {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-soft);
  margin: 14px 0 0;
}
.note svg {
  width: 18px;
  height: 18px;
  vertical-align: -3px;
  margin-right: 4px;
}
.prose a {
  color: var(--sky-ink,inherit);
  text-underline-offset: 3px;
}
.me-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
}
.me-card .av {
  width: 96px;
  height: 96px;
  font-size: 54px;
  box-shadow: 4px 4px 0 var(--line);
}
.me-card h3 {
  font-size: max(26px, min(3.4vw, 34px));
}
.me-card.spinning .av {
  animation: spinav .5s ease-in-out;
}
@keyframes spinav {
  50% {
    transform: rotate(200deg) scale(.8);
  }
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 20px 0;
}
.stat {
  border: 3px solid var(--line);
  border-radius: 20px;
  padding: 12px;
  text-align: center;
}
.stat b {
  display: block;
  font-family: var(--display);
  font-size: max(26px, min(3.4vw, 34px));
  line-height: 1.05;
}
.stat span {
  font-size: 14px;
  font-weight: 800;
  color: var(--on);
}
.badges {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  gap: 14px;
}
.badge {
  text-align: center;
}
.badge .medal {
  width: 68px;
  height: 68px;
  margin: 0 auto 6px;
  border-radius: 50%;
  border: 3px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 32px;
  font-family: var(--emoji);
  box-shadow: 3px 3px 0 var(--line);
}
.badge b {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.15;
}
.badge span {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
  line-height: 1.2;
  display: block;
}
.badge.locked .medal {
  filter: grayscale(1);
  opacity: .4;
  box-shadow: none;
}
.crumbs {
  font-weight: 800;
  font-size: 15px;
  color: var(--ink-soft);
  margin: 26px 0 12px;
}
.crumbs a {
  text-decoration: none;
}
.crumbs a:hover {
  text-decoration: underline;
}
.game-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}
.game-head h1 {
  font-size: max(40px, min(6vw, 64px));
}
.game-head p {
  margin: 8px 0 0;
  font-weight: 700;
  color: var(--ink-soft);
  font-size: 19px;
}
.stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  max-height: min(76vh, 720px);
  border: 3px solid var(--line);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 6px 6px 0 var(--line);
  background: #8fd14f;
}
.stage iframe {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.poster {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  place-items: center;
}
.poster > svg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.poster .go {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--on);
  font-family: var(--display);
}
.poster .bigplay {
  width: max(96px, min(14vw, 132px));
  height: max(96px, min(14vw, 132px));
  border-radius: 50%;
  background: var(--sun);
  border: 4px solid var(--line);
  display: grid;
  place-items: center;
  box-shadow: 6px 6px 0 var(--line);
  transition: transform .15s;
}
.poster .go:hover .bigplay {
  transform: scale(1.06) rotate(-4deg);
}
.poster .bigplay svg {
  width: 44%;
  height: 44%;
  margin-left: 8%;
}
.poster .golabel {
  background: var(--card);
  color: var(--ink);
  border: 3px solid var(--line);
  border-radius: 999px;
  padding: 8px 20px;
  font-weight: 700;
  font-size: max(19px, min(2.4vw, 24px));
  box-shadow: 4px 4px 0 var(--line);
}
.stage-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
}
.stage-tools .hint {
  font-weight: 700;
  color: var(--ink-soft);
  font-size: 15px;
}
.stage-exit {
  display: none;
}
.stage.theatre {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 200;
  max-height: none;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: #5aa338;
  padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
}
.stage.theatre iframe {
  position: relative;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
}
.stage.theatre .stage-exit,
.stage:fullscreen .stage-exit {
  display: flex;
  position: absolute;
  z-index: 3;
  left: calc(env(safe-area-inset-left, 0px) + 12px);
  bottom: calc(env(safe-area-inset-bottom, 0px) + 12px);
}
.stage:fullscreen {
  border: 0;
  border-radius: 0;
  max-height: none;
}
.how {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.how li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: center;
  font-weight: 700;
}
.how .ic {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  border: 3px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 26px;
  font-family: var(--emoji);
}
.tiers {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: t;
}
.tiers li {
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 700;
}
.tiers li::before {
  counter-increment: t;
  content: counter(t);
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 3px solid var(--line);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 700;
  background: var(--t-sky);
}
.tiers li small {
  display: block;
  color: var(--ink-soft);
  font-size: 14px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.chips button {
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  border: 3px solid var(--line);
  border-radius: 999px;
  padding: 8px 16px;
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
  min-height: 44px;
}
.chips button.on {
  background: var(--ink);
  color: var(--paper);
}
.posts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 26px;
}
.pcard {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.pcard .cover {
  height: 150px;
  border-bottom: 3px solid var(--line);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.pcard .cover svg {
  width: 100%;
  height: 100%;
}
.pcard .body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.pcard h3 {
  font-size: 24px;
}
.pcard p {
  margin: 0;
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 16px;
}
.meta {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink-soft);
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.pcard.feature {
  grid-column: 1/-1;
  flex-direction: row;
}
.pcard.feature .cover {
  height: auto;
  min-height: 260px;
  flex: 1.1;
  border-bottom: 0;
  border-right: 3px solid var(--line);
}
.pcard.feature .body {
  flex: 1;
  padding: 28px;
  justify-content: center;
}
.pcard.feature h3 {
  font-size: max(28px, min(3.4vw, 38px));
}
.article {
  width: min(740px, 100% - 40px);
  margin: 0 auto;
}
.article-hero {
  border: 3px solid var(--line);
  border-radius: 30px;
  box-shadow: 6px 6px 0 var(--line);
  overflow: hidden;
  margin: 10px 0 28px;
}
.article-hero .cover {
  height: max(160px, min(26vw, 260px));
}
.article-hero .cover svg {
  width: 100%;
  height: 100%;
  display: block;
}
.article h1 {
  font-size: max(36px, min(5.4vw, 54px));
  margin: 14px 0 12px;
}
.prose {
  font-size: 19px;
  line-height: 1.7;
}
.prose h2 {
  font-size: max(26px, min(3.4vw, 32px));
  margin: 34px 0 10px;
}
.prose p {
  margin: 0 0 18px;
}
.prose ul,
.prose ol {
  padding-left: 1.3em;
  margin: 0 0 18px;
}
.prose li {
  margin-bottom: 10px;
}
.prose li::marker {
  color: var(--berry);
  font-weight: 800;
}
.callout {
  border: 3px solid var(--line);
  border-radius: 22px;
  padding: 20px 22px;
  background: var(--t-green);
  margin: 30px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.callout b {
  font-family: var(--display);
  font-size: 22px;
}
.gu {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 26px;
}
.gu .panel h3 {
  display: flex;
  align-items: center;
  gap: 12px;
}
.gu .ic {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 3px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 22px;
  font-family: var(--emoji);
  flex-shrink: 0;
}
.gu ul {
  margin: 8px 0 0;
  padding-left: 1.15em;
  font-weight: 600;
}
.gu li {
  margin-bottom: 8px;
}
.gu p {
  font-weight: 600;
  margin: 8px 0 0;
}
.strip {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  padding: max(20px, min(3vw, 30px));
  background: var(--t-grape);
}
.strip h3 {
  font-size: max(24px, min(3vw, 32px));
}
.strip p {
  margin: 6px 0 0;
  font-weight: 700;
  color: var(--ink-soft);
}
.strip .ic {
  width: 74px;
  height: 74px;
  border-radius: 22px;
  border: 3px solid var(--line);
  background: var(--card);
  display: grid;
  place-items: center;
  font-size: 38px;
  font-family: var(--emoji);
}
.support-btn {
  flex-shrink: 0;
}
.toast {
  position: fixed;
  left: 50%;
  top: calc(env(safe-area-inset-top, 0px) + 14px);
  transform: translate(-50%, -180%);
  z-index: 400;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card);
  color: var(--ink);
  border: 3px solid var(--line);
  border-radius: 22px;
  padding: 10px 18px 10px 10px;
  box-shadow: 5px 5px 0 var(--line);
  transition: transform .45s cubic-bezier(.2, 1.5, .4, 1);
  width: max-content;
  max-width: 92vw;
  font-weight: 700;
  pointer-events: none;
}
.toast.show {
  transform: translate(-50%, 0);
}
.toast .medal {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 3px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 28px;
  font-family: var(--emoji);
  flex-shrink: 0;
}
.toast b {
  display: block;
  font-family: var(--display);
  font-size: 19px;
}
.demo-banner {
  background: var(--sun);
  color: var(--on);
  font-weight: 800;
  font-size: 15px;
  padding: 8px 12px;
  border-bottom: 3px solid var(--line);
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.demo-banner button {
  font: inherit;
  background: #fff;
  border: 2.5px solid #23204A;
  border-radius: 999px;
  padding: 4px 12px;
  cursor: pointer;
  color: #23204A;
}
.page-title {
  font-size: max(38px, min(6vw, 60px));
}
.small {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink-soft);
}
.progress {
  height: 16px;
  border-radius: 999px;
  border: 3px solid var(--line);
  background: var(--paper);
  overflow: hidden;
}
.progress span {
  display: block;
  height: 100%;
  background: var(--grass);
  border-right: 3px solid var(--line);
}
.progress span[style="width:0%"] {
  border-right: 0;
}
.progress.big {
  height: 24px;
  margin-bottom: 6px;
}
.st-cat {
  font-size: 24px;
  margin: 28px 0 14px;
}
.stickers {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: 20px;
}
.sticker-item {
  text-align: center;
}
.sticker-item .medal {
  width: 84px;
  height: 84px;
  margin: 0 auto 8px;
  border-radius: 50%;
  border: 3px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 40px;
  font-family: var(--emoji);
  box-shadow: 4px 4px 0 var(--line);
  transform: rotate(-4deg);
}
.sticker-item:nth-child(even) .medal {
  transform: rotate(5deg);
}
.sticker-item b {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.15;
}
.sticker-item span {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
  line-height: 1.25;
  margin-top: 3px;
}
.sticker-item.locked .medal {
  filter: grayscale(1);
  opacity: .35;
  box-shadow: none;
  border-style: dashed;
}
.certs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: 24px;
}
.cert-card {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.cert-card .cert-em {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  border: 3px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 32px;
  font-family: var(--emoji);
  background: var(--t-grape);
}
.cert-card h3 {
  font-size: 23px;
}
.cert-card p {
  margin: 0;
  font-weight: 700;
  color: var(--ink-soft);
  font-size: 15px;
}
.cert-card .progress {
  width: 100%;
  margin-top: auto;
}
.cert-card.ok {
  background: var(--t-sun);
}
.cert-card.ok .cert-em {
  background: var(--sun);
}
.cert-card .btn {
  margin-top: auto;
}
.cert-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 22px;
}
.field label {
  display: block;
  font-weight: 800;
  margin-bottom: 6px;
}
.field input,
.gate input {
  font: 600 20px var(--display);
  padding: 10px 16px;
  border: 3px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  color: var(--ink);
  width: min(360px, 100%);
}
.cert-wrap {
  width: min(1000px, 100% - 40px);
  margin: 0 auto;
}
.cert {
  container-type: inline-size;
  aspect-ratio: 297/210;
  background: #FFFDF7;
  color: #23204A;
  border: 3px solid #23204A;
  border-radius: 18px;
  box-shadow: 6px 6px 0 var(--line);
  padding: 2.4cqw;
  position: relative;
  overflow: hidden;
}
.cert-inner {
  height: 100%;
  border: .5cqw solid #4CC35A;
  border-radius: 1.6cqw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5cqw 7cqw;
  position: relative;
}
.cert .corner {
  position: absolute;
  width: 10cqw;
  height: 10cqw;
  border-radius: 50%;
  border: .35cqw solid #23204A;
}
.cert .c1 {
  top: -4cqw;
  left: -4cqw;
  background: #FFC93C;
}
.cert .c2 {
  top: -4cqw;
  right: -4cqw;
  background: #FF6F98;
}
.cert .c3 {
  bottom: -4cqw;
  left: -4cqw;
  background: #4FB0F7;
}
.cert .c4 {
  bottom: -4cqw;
  right: -4cqw;
  background: #9B80F5;
}
.cert-mascot {
  width: 17cqw;
  height: auto;
  display: block;
}
.cert-kicker {
  font-family: var(--display);
  font-weight: 700;
  font-size: 4.4cqw;
  margin: 0;
  line-height: 1.1;
}
.cert-small {
  font-weight: 700;
  font-size: 1.7cqw;
  margin: .7cqw 0;
  color: #56527c;
}
.cert-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 6cqw;
  line-height: 1.1;
  color: #23843A;
  border-bottom: .3cqw solid #23204A;
  padding: 0 3cqw .4cqw;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.cert-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 3.6cqw;
  line-height: 1.1;
  background: #FFC93C;
  border: .3cqw solid #23204A;
  border-radius: 99px;
  padding: .5cqw 2.6cqw;
}
.cert-for {
  font-weight: 700;
  font-size: 1.7cqw;
  margin: 1cqw 0 0;
  color: #56527c;
  max-width: 62cqw;
}
.cert-foot {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 4cqw;
  align-items: end;
  width: 100%;
  margin-top: 1.6cqw;
  font-size: 1.4cqw;
  font-weight: 800;
  color: #56527c;
}
.cert-foot .line {
  display: block;
  border-top: .25cqw solid #23204A;
  margin-bottom: .5cqw;
}
.cert-foot b {
  display: block;
  font-family: var(--display);
  font-size: 1.9cqw;
  color: #23204A;
  margin-bottom: .4cqw;
}
.seal {
  width: 11cqw;
  height: 11cqw;
  border-radius: 50%;
  background: #FF6F98;
  border: .35cqw solid #23204A;
  display: grid;
  place-content: center;
  justify-items: center;
  font-family: var(--display);
  font-weight: 700;
  color: #23204A;
  font-size: 1.6cqw;
  line-height: 1.05;
  box-shadow: .5cqw .5cqw 0 #23204A;
  transform: rotate(-8deg);
}
.seal svg {
  width: 3.6cqw;
  height: 3.6cqw;
  margin-bottom: .2cqw;
}
.adult-note {
  display: flex;
  gap: 12px;
  align-items: center;
  background: var(--t-sky);
  border: 3px solid var(--line);
  border-radius: 20px;
  padding: 12px 16px;
  font-weight: 800;
  margin-bottom: 24px;
}
.adult-note svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 22px;
}
.tier {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.tier .ic {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  border: 3px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 30px;
  font-family: var(--emoji);
}
.tier .amt {
  font-family: var(--display);
  font-weight: 700;
  font-size: 40px;
  line-height: 1;
}
.tier .amt small {
  font-size: 18px;
  color: var(--ink-soft);
}
.tier h3 {
  font-size: 23px;
}
.tier p {
  margin: 0;
  font-weight: 700;
  color: var(--ink-soft);
}
.tier .btn {
  margin-top: auto;
}
.promise {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.promise li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 700;
}
.promise svg {
  width: 24px;
  height: 24px;
  color: var(--grass);
  flex-shrink: 0;
  margin-top: 2px;
}
dialog.gate {
  border: 3px solid var(--line);
  border-radius: 26px;
  box-shadow: 6px 6px 0 var(--line);
  padding: 26px;
  background: var(--card);
  color: var(--ink);
  width: min(420px, 92vw);
}
dialog.gate::backdrop {
  background: rgba(20, 22, 42, .55);
}
.gate h3 {
  font-size: 28px;
  margin-bottom: 6px;
}
.gate p {
  font-weight: 700;
  color: var(--ink-soft);
  margin: 0 0 14px;
}
.gate-q {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 10px;
}
.gate .err {
  color: #C9305E;
  min-height: 1.4em;
  margin: 8px 0 0;
}
.gate .row {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 16px;
  flex-wrap: wrap;
}
.pp {
  display: grid;
  gap: 14px;
  margin: 6px 0 20px;
}
.pp-sub {
  font-family: var(--display);
  font-size: 19px;
  margin: 10px 0 0;
}
.pp-row {
  display: grid;
  grid-template-columns: minmax(150px, 1.2fr) 2fr auto;
  gap: 14px;
  align-items: center;
}
.pp-row .lbl {
  font-weight: 800;
  display: flex;
  gap: 10px;
  align-items: center;
}
.pp-row .st {
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  border: 2.5px solid var(--line);
  border-radius: 999px;
  padding: 2px 10px;
  color: var(--on);
  white-space: nowrap;
}
.pp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
@media (max-width:560px) {
  .pp-row {
    grid-template-columns: 1fr auto;
    gap: 8px 12px;
  }
  .pp-row .progress {
    grid-column: 1/-1;
    order: 3;
  }
}
.site-footer {
  margin-top: 80px;
  border-top: 3px solid var(--line);
  background: var(--card);
  padding: 36px 0 40px;
}
.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  justify-content: space-between;
  align-items: center;
}
.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-weight: 800;
}
.foot nav a {
  text-decoration: none;
}
.foot nav a:hover {
  text-decoration: underline;
}
.foot p {
  margin: 0;
  font-weight: 700;
  color: var(--ink-soft);
  font-size: 15px;
}
.wave {
  display: block;
  width: 100%;
  height: 28px;
  color: var(--card);
  margin-bottom: -3px;
}
.tabbar {
  display: none;
}
@media (max-width:1440px) {
  .chip-player .name {
    display: none;
  }
}
@media (max-width:1240px) {
  .topnav,
  .support-btn {
    display: none;
  }
  .chip-player {
    margin-left: auto;
  }
  .hdr {
    height: 66px;
  }
  .brand svg {
    width: 40px;
    height: 40px;
  }
  .brand-name {
    font-size: 18px;
  }
  .tabbar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    background: var(--card);
    border-top: 3px solid var(--line);
    padding: 6px 6px calc(env(safe-area-inset-bottom, 0px) + 6px);
  }
  .tabbar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-decoration: none;
    font-family: var(--display);
    font-weight: 600;
    font-size: 12.5px;
    padding: 6px 2px;
    border-radius: 16px;
    min-height: 52px;
    justify-content: center;
  }
  .tabbar a svg {
    width: 26px;
    height: 26px;
  }
  .tabbar a.on {
    background: var(--sun);
    color: var(--on);
  }
  body {
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 74px);
  }
}
@media (max-width:820px) {
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-art {
    order: -1;
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
  }
  .lead {
    margin: 18px 0 24px;
  }
  .two-up {
    grid-template-columns: 1fr;
  }
  .pcard.feature {
    flex-direction: column;
  }
  .pcard.feature .cover {
    min-height: 180px;
    border-right: 0;
    border-bottom: 3px solid var(--line);
  }
  .strip {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .strip .ic {
    display: none;
  }
}
@media (max-width:480px) {
  .brand-name {
    font-size: 16px;
  }
  .chip-player .name {
    display: none;
  }
  .stage {
    aspect-ratio: 4/5;
  }
  .stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .me-card {
    grid-template-columns: 1fr;
    justify-items: start;
  }
  .lb-row {
    grid-template-columns: 34px 40px 1fr auto;
    gap: 9px;
    padding: 8px;
  }
  .lb-row .av {
    width: 40px;
    height: 40px;
    font-size: 21px;
  }
  .rank {
    width: 32px;
    height: 32px;
    font-size: 15px;
  }
  .who b {
    font-size: 16px;
  }
  .score {
    font-size: 17px;
  }
}
@media print {
  :root {
    padding: 0;
  }
  body {
    background: #fff;
    padding: 0 !important;
  }
  .site-header,
  .preview-bar,
  .demo-banner,
  .site-footer,
  .tabbar,
  .no-print,
  .toast,
  dialog {
    display: none !important;
  }
  main {
    padding: 0;
  }
  .cert-wrap {
    width: auto;
    margin: 0;
  }
  .cert {
    width: 266mm;
    margin: 0 auto;
    break-inside: avoid;
    box-shadow: none;
    border-radius: 0;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
.h3 {
  font-size: max(24px, min(3vw, 30px));
  margin-bottom: 6px;
}
.two-up.even {
  grid-template-columns: 1fr 1fr;
}
.jump {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  text-decoration: none;
}
.jump-art {
  width: 120px;
  aspect-ratio: 16/10;
  border: 3px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  display: block;
}
.jump-art svg {
  width: 100%;
  height: 100%;
  display: block;
}
.jump h3 {
  font-size: max(24px, min(3vw, 30px));
  margin: 2px 0;
}
.jump .sub,
.idea .sub {
  display: block;
  margin: 0;
  font-size: 15px;
}
.idea {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  background: var(--t-sun);
}
.idea-em {
  width: 76px;
  height: 76px;
  border-radius: 22px;
  border: 3px solid var(--line);
  background: var(--card);
  display: grid;
  place-items: center;
  font-size: 40px;
  font-family: var(--emoji);
}
.idea h3 {
  font-size: max(22px, min(2.6vw, 28px));
  margin: 2px 0 4px;
}
.idea p {
  margin: 0;
  font-weight: 700;
}
.learn-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 22px;
}
.learn-tile {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 20px;
  text-decoration: none;
}
.learn-tile b {
  display: block;
  font-family: var(--display);
  font-size: 26px;
  line-height: 1.1;
}
.learn-tile span span {
  font-weight: 700;
  color: var(--ink-soft);
  font-size: 15px;
}
.lt-em {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 20px;
  border: 3px solid var(--line);
  background: var(--card);
  display: grid;
  place-items: center;
  font-size: 32px;
  font-family: var(--emoji);
}
.lt-em.big {
  width: 96px;
  height: 96px;
  font-size: 50px;
  border-radius: 28px;
}
.learn-tiles.big .learn-tile {
  padding: 28px;
}
.learn-head {
  display: flex;
  gap: 24px;
  align-items: center;
  padding: max(20px, min(4vw, 40px));
  margin-top: 6px;
}
.learn-head h1 {
  font-size: max(34px, min(5vw, 54px));
}
.print-art {
  font-size: 72px;
  font-family: var(--emoji);
  position: relative;
}
.print-art .paper {
  position: absolute;
  right: 16px;
  bottom: 10px;
  font-size: 34px;
}
.faq details {
  border-bottom: 3px dashed color-mix(in srgb, var(--line) 25%, transparent);
  padding: 14px 4px;
}
.faq details:last-child {
  border-bottom: 0;
}
.faq summary {
  font-family: var(--display);
  font-weight: 600;
  font-size: 20px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  font-size: 26px;
  line-height: 1;
  color: var(--berry);
}
.faq details[open] summary::after {
  content: "–";
}
.faq p {
  margin: 10px 0 0;
  font-weight: 600;
  color: var(--ink-soft);
}
.me-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.avatar-dlg {
  width: min(480px, 94vw);
}
.av-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
  gap: 10px;
  margin-top: 10px;
}
.av-opt {
  height: 64px;
  border-radius: 18px;
  border: 3px solid var(--line);
  background: var(--paper);
  font-size: 34px;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.av-opt.on {
  background: var(--sun);
  box-shadow: 3px 3px 0 var(--line);
}
.av-tints {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.av-tint {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 3px solid var(--line);
  cursor: pointer;
}
.av-tint.on {
  box-shadow: 0 0 0 4px var(--card), 0 0 0 7px var(--line);
}
.mascot {
  cursor: pointer;
  transform-box: fill-box;
  transform-origin: center bottom;
  outline: none;
}
.mascot:hover {
  filter: brightness(1.06);
}
.mascot:focus-visible {
  filter: drop-shadow(0 0 6px #4FB0F7);
}
.mascot.boing {
  animation: mboing .6s cubic-bezier(.2, 1.6, .4, 1);
}
@keyframes mboing {
  30% {
    transform: translateY(-22px) scale(1.08, .94);
  }
  60% {
    transform: translateY(0) scale(.95, 1.05);
  }
}
.medal.boing {
  animation: sboing .55s cubic-bezier(.2, 1.6, .4, 1);
}
@keyframes sboing {
  40% {
    transform: scale(1.25) rotate(-12deg);
  }
  70% {
    transform: scale(.95) rotate(6deg);
  }
}
.sticker-item:not(.locked) .medal,
.badge:not(.locked) .medal {
  cursor: pointer;
}
.sheet-wrap {
  width: min(820px, 100% - 40px);
  margin: 0 auto;
}
.sheet {
  background: #fff;
  color: #23204A;
  border: 3px solid #23204A;
  border-radius: 18px;
  box-shadow: 6px 6px 0 var(--line);
  padding: max(16px, min(4vw, 34px));
  font-family: var(--body);
}
.sheet-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  border-bottom: 4px solid #23204A;
  padding-bottom: 12px;
  margin-bottom: 16px;
}
.sheet-head h2 {
  font-size: max(30px, min(5vw, 44px));
  color: #23204A;
}
.sheet-head p {
  margin: 6px 0 0;
  font-weight: 700;
  color: #56527c;
}
.sheet-name {
  font-weight: 800;
  line-height: 2.2;
  white-space: nowrap;
}
.sheet-name span {
  display: inline-block;
  width: 150px;
  border-bottom: 2px solid #23204A;
}
.sheet-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.sheet-cell {
  border: 3px solid #23204A;
  border-radius: 16px;
  padding: 12px;
  display: grid;
  grid-template-columns: 90px 1fr;
  grid-template-rows: auto auto;
  gap: 4px 12px;
  align-items: center;
}
.sheet-cell svg {
  width: 90px;
  height: 90px;
  grid-row: 1/3;
}
.sheet-cell b {
  font-family: var(--display);
  font-size: 24px;
  text-transform: capitalize;
}
.tally {
  font-weight: 800;
  color: #56527c;
  border-bottom: 2px dashed #23204A;
  padding-bottom: 16px;
}
.draw-box {
  margin-top: 16px;
  border: 3px dashed #23204A;
  border-radius: 16px;
  height: 220px;
  padding: 12px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
}
.sheet-em {
  font-size: 62px;
  font-family: var(--emoji);
  grid-row: 1/3;
  text-align: center;
}
.word-line {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  font-family: "Andika", var(--body);
  font-weight: 700;
  font-size: 40px;
  grid-row: 1/3;
}
.word-line .write {
  display: inline-block;
  width: 52px;
  height: 56px;
  border: 3px solid #23204A;
  border-radius: 10px;
}
.letter-bank {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.letter-bank span {
  font-family: "Andika", var(--body);
  font-weight: 700;
  font-size: 34px;
  width: 56px;
  height: 56px;
  border: 3px solid #23204A;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #FFF2C7;
}
.count-rows {
  display: grid;
  gap: 14px;
}
.count-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 3px solid #23204A;
  border-radius: 16px;
  padding: 10px 14px;
}
.tf {
  display: grid;
  grid-template-columns: repeat(5, 44px);
  grid-template-rows: repeat(2, 44px);
  border: 3px solid #23204A;
}
.tf span {
  border: 1.5px solid #23204A;
  display: grid;
  place-items: center;
  font-family: var(--emoji);
  font-size: 26px;
}
.circle-nums {
  display: flex;
  gap: 18px;
}
.circle-nums span {
  font-family: var(--display);
  font-weight: 700;
  font-size: 38px;
  width: 62px;
  text-align: center;
}
.sheet-foot {
  margin-top: 18px;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  color: #56527c;
}
.report h3 {
  font-size: 24px;
  margin: 20px 0 8px;
  color: #23204A;
}
.report table {
  width: 100%;
  border-collapse: collapse;
  font-weight: 700;
  font-size: 16px;
}
.report th,
.report td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 2px solid #e4e1f2;
}
.report th {
  background: #F2F8FF;
  font-family: var(--display);
  font-weight: 600;
}
.report-stats {
  text-align: right;
  font-weight: 700;
  line-height: 1.6;
}
.report .small {
  color: #56527c;
}
@media (max-width:820px) {
  .two-up.even {
    grid-template-columns: 1fr;
  }
  .learn-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .sheet-grid {
    grid-template-columns: 1fr;
  }
  .tf {
    grid-template-columns: repeat(5, 34px);
    grid-template-rows: repeat(2, 34px);
  }
  .tf span {
    font-size: 20px;
  }
  .count-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .sheet-head {
    flex-direction: column;
  }
  .report table {
    font-size: 14px;
  }
}
@media (max-width:480px) {
  .jump {
    grid-template-columns: 1fr auto;
  }
  .jump-art {
    display: none;
  }
  .idea-em {
    width: 60px;
    height: 60px;
    font-size: 32px;
  }
}
.cert-wrap:has(.cert),
.cert {
  page: landscape;
}
.sheet-wrap,
.sheet {
  page: portrait;
}
@page landscape {
  size: A4 landscape;
  margin: 8mm;
}
@page portrait {
  size: A4 portrait;
  margin: 10mm;
}
@media print {
  .sheet-wrap {
    width: auto;
    margin: 0;
  }
  .sheet {
    box-shadow: none;
    border: 0;
    padding: 0;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .sheet-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tf {
    grid-template-columns: repeat(5, 44px);
    grid-template-rows: repeat(2, 44px);
  }
  .count-row {
    flex-direction: row;
    align-items: center;
  }
  .sheet-head {
    flex-direction: row;
  }
  main {
    padding: 0;
  }
}
.portal-page main {
  padding-top: 26px;
  min-height: 60vh;
}
.portal-page .portal-nav {
  display: flex;
}
.portal h1 {
  font-size: max(32px, min(5vw, 48px));
}
.portal .card.panel {
  margin-bottom: 24px;
}
.loading {
  font-weight: 800;
  color: var(--ink-soft);
  padding: 40px 0;
  text-align: center;
}
.center-card {
  text-align: center;
  max-width: 680px;
  margin: 30px auto;
}
.big-em {
  font-size: 64px;
  font-family: var(--emoji);
  display: block;
}
.narrow {
  max-width: 520px;
  margin: 20px auto;
}
.auth-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.auth-intro h1 {
  margin: 6px 0 10px;
}
.ticks {
  list-style: none;
  padding: 0;
  margin: 12px 0;
  display: grid;
  gap: 10px;
  font-weight: 700;
}
.ticks li {
  padding-left: 30px;
  position: relative;
}
.ticks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--grass);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 14px;
}
.form {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}
.form label {
  display: grid;
  gap: 6px;
  font-weight: 800;
}
.form input:not([type=checkbox]):not([type=radio]),
.form select,
.form textarea,
#portal select,
.gate textarea,
.gate select {
  font: 600 18px var(--body);
  padding: 11px 14px;
  border: 3px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  color: var(--ink);
  width: 100%;
}
.form textarea,
.gate textarea {
  min-height: 120px;
  resize: vertical;
}
.form .check,
.toggle {
  display: flex !important;
  gap: 10px;
  align-items: flex-start;
  font-weight: 700;
}
.form .check input,
.toggle input {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--grass);
}
.toggle {
  margin: 12px 0;
}
.form-msg {
  font-weight: 800;
  margin: 0;
  min-height: 1em;
}
.form-msg.bad {
  color: #C9305E;
}
.form-msg.ok {
  color: #1d8446;
}
.linkbtn {
  background: none;
  border: 0;
  color: var(--ink-soft);
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
  justify-self: start;
  padding: 4px 0;
  font-size: 16px;
}
.grid-form {
  grid-template-columns: 1fr 1fr;
}
.grid-form .avs,
.grid-form .form-msg,
.grid-form .row-btns {
  grid-column: 1/-1;
}
.avs {
  border: 0;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.avs legend {
  font-weight: 800;
  margin-bottom: 6px;
}
.avopt input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.avopt span {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  border: 3px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 28px;
  font-family: var(--emoji);
  background: var(--paper);
  cursor: pointer;
}
.avopt input:checked + span {
  background: var(--sun);
  box-shadow: 3px 3px 0 var(--line);
}
.avopt input:focus-visible + span {
  outline: 4px solid var(--sky);
}
.dash-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.dash-head .sub {
  margin: 4px 0 0;
  font-weight: 700;
  color: var(--ink-soft);
}
.row-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.kids {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 24px;
}
.kid-head {
  display: flex;
  gap: 14px;
  align-items: center;
}
.kid-head .av {
  width: 64px;
  height: 64px;
  font-size: 36px;
}
.kid-head .av.big {
  width: 84px;
  height: 84px;
  font-size: 48px;
}
.kid-head h3 {
  font-size: 28px;
}
.kid-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pair-box {
  margin-top: 16px;
  border: 3px dashed var(--line);
  border-radius: 18px;
  padding: 14px;
}
.code {
  font-family: var(--display);
  font-weight: 700;
  font-size: 44px;
  letter-spacing: 8px;
  margin: 6px 0;
  color: var(--ink);
}
.steps ol {
  margin: 10px 0 0;
  padding-left: 1.3em;
  font-weight: 700;
  display: grid;
  gap: 8px;
}
.danger-btn {
  color: #C9305E !important;
}
.report-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.report-head h1 {
  font-size: max(30px, min(4.6vw, 44px));
}
.report-head .sub {
  margin: 4px 0 0;
  font-weight: 700;
  color: var(--ink-soft);
}
.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.tile {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.tile b {
  font-family: var(--display);
  font-size: max(30px, min(4vw, 40px));
  line-height: 1;
  color: var(--on);
}
.tile > span {
  font-weight: 800;
  color: var(--on);
}
.delta {
  font-size: 13px;
  font-weight: 800;
  color: var(--on);
  opacity: .8;
}
.delta.up::first-letter {
  color: #1d8446;
}
.delta.down::first-letter {
  color: #C9305E;
}
.focus {
  border: 3px solid var(--line);
  border-radius: 18px;
  padding: 14px 16px;
  margin-top: 12px;
}
.focus h3 {
  font-size: 21px;
}
.focus p {
  margin: 6px 0;
}
.gain {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) 2fr auto;
  gap: 12px;
  align-items: center;
  margin: 10px 0;
  font-weight: 700;
}
.gain-bar {
  position: relative;
  height: 16px;
  border-radius: 999px;
  border: 3px solid var(--line);
  background: var(--paper);
  overflow: hidden;
}
.gain-bar span {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
}
.gain-bar .from {
  background: color-mix(in srgb, var(--ink) 18%, transparent);
  z-index: 1;
}
.gain-bar .to.up {
  background: var(--grass);
}
.gain-bar .to.down {
  background: var(--berry);
}
.gain-bar .from + .to {
  z-index: 0;
}
.chart {
  width: 100%;
  height: auto;
  color: var(--ink);
  display: block;
  margin-top: 10px;
}
.legend {
  display: flex;
  gap: 18px;
  font-weight: 800;
  font-size: 14px;
  margin-top: 6px;
}
.legend i {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  margin-right: 6px;
  vertical-align: -2px;
}
.table-wrap {
  overflow-x: auto;
}
table.skills {
  width: 100%;
  border-collapse: collapse;
  font-weight: 700;
  font-size: 16px;
  min-width: 520px;
}
table.skills th,
table.skills td {
  text-align: left;
  padding: 9px 10px;
  border-bottom: 2px solid color-mix(in srgb, var(--line) 12%, transparent);
  vertical-align: middle;
}
table.skills th {
  font-family: var(--display);
  font-weight: 600;
  background: color-mix(in srgb, var(--paper) 70%, var(--card));
}
.subj {
  font-size: 20px;
  margin: 18px 0 6px;
}
.bench {
  position: relative;
  height: 14px;
  border-radius: 999px;
  background: var(--paper);
  border: 2px solid var(--line);
  width: 140px;
}
.bench .iqr {
  position: absolute;
  top: 0;
  bottom: 0;
  background: var(--t-sky);
}
.bench .med {
  position: absolute;
  top: -4px;
  bottom: -4px;
  width: 3px;
  background: var(--ink);
}
.bench .me {
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: var(--berry);
  border: 2px solid var(--line);
}
.fb {
  border-top: 3px dashed color-mix(in srgb, var(--line) 25%, transparent);
  padding: 14px 0;
}
.fb p {
  margin: 8px 0;
  white-space: pre-wrap;
}
.fb-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
#portal select {
  width: auto;
  font-size: 16px;
  padding: 8px 12px;
}
.linklike {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-weight: 800;
  color: inherit;
  cursor: pointer;
}
.linklike:hover {
  text-decoration: underline;
}
.fb-kinds {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.fb-kinds label {
  display: flex !important;
  align-items: center;
  gap: 6px;
  border: 3px solid var(--line);
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
  font-weight: 800;
}
.fb-kinds input {
  accent-color: var(--grass);
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.linked {
  display: flex;
  gap: 12px;
  align-items: center;
}
@media (max-width:820px) {
  .auth-wrap,
  .grid-form {
    grid-template-columns: 1fr;
  }
  .portal-page .portal-nav {
    display: none;
  }
  .gain {
    grid-template-columns: 1fr auto;
  }
  .gain .gain-bar {
    grid-column: 1/-1;
    order: 3;
  }
}
@media print {
  .portal-page .site-header,
  .portal-page .site-footer {
    display: none;
  }
  .portal .card {
    box-shadow: none;
  }
  .two-up {
    grid-template-columns: 1fr 1fr;
  }
}
.watch {
  font-family: var(--emoji);
  font-size: 16px;
  margin-left: 2px;
}
.watch-note {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  background: var(--t-sky);
  border: 3px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  font-weight: 800;
  font-size: 15px;
  margin: 0 0 12px;
}
.how-steps {
  margin: 8px 0 12px;
  padding-left: 1.3em;
  display: grid;
  gap: 8px;
  font-weight: 700;
}
.steps li.done {
  text-decoration: line-through;
  opacity: .6;
}
.link-state {
  margin-left: auto;
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  border: 2.5px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
  white-space: nowrap;
  color: var(--on);
}
.link-state.on {
  background: var(--t-green);
}
.link-state.off {
  background: var(--t-berry);
}
.kid.unlinked {
  outline: 4px dashed var(--berry);
  outline-offset: -10px;
}
.link-alert {
  background: var(--t-berry);
  border: 3px solid var(--line);
  border-radius: 16px;
  padding: 12px 14px;
  margin: 14px 0;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
}
.kid-head {
  flex-wrap: wrap;
}
.stage:fullscreen,
.stage:-webkit-full-screen {
  width: 100vw;
  height: 100vh;
  max-height: none;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  background: #5aa338;
}
.stage:-webkit-full-screen .stage-exit {
  display: flex;
  position: absolute;
  z-index: 3;
  left: 12px;
  bottom: 12px;
}
.stage.theatre,
.stage:fullscreen,
.stage:-webkit-full-screen {
  display: flex;
  flex-direction: column;
}
.stage.theatre .stage-exit,
.stage:fullscreen .stage-exit,
.stage:-webkit-full-screen .stage-exit {
  display: flex;
  position: static;
  order: -1;
  align-self: flex-start;
  flex: none;
  margin: 6px 10px 4px;
}
.stage.theatre iframe,
.stage:fullscreen iframe,
.stage:-webkit-full-screen iframe {
  position: relative;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  height: auto;
}
.t-orange {
  background: #FFE6D2;
}
.t-navy {
  background: #DDE3F5;
}
.ic.t-orange {
  background: #FFB163;
}
.ic.t-navy {
  background: #8FA3E0;
}
.year-chip,
.set-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 3px solid var(--line);
  border-radius: 999px;
  background: var(--card,#fff);
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  padding: 5px 12px;
  box-shadow: 0 3px 0 var(--line);
  cursor: pointer;
  color: var(--ink);
  white-space: nowrap;
}
.set-btn {
  width: 42px;
  height: 42px;
  padding: 0;
  justify-content: center;
  font-size: 20px;
}
.year-chip .em,
.set-btn .em {
  font-family: var(--emoji,"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif);
}
.topnav .portal-link {
  background: var(--t-sky);
  border-radius: 999px;
}
@media (max-width:980px) {
  .topnav .portal-link {
    display: none;
  }
}
@media (max-width:620px) {
  .year-chip span:last-child {
    display: none;
  }
  .year-chip {
    padding: 5px 9px;
  }
  .support-btn {
    display: none;
  }
}
.year-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 12px;
  margin: 14px 0;
}
.ytile {
  border: 3px solid var(--line);
  border-radius: 22px;
  padding: 14px 8px 12px;
  font-family: var(--display);
  box-shadow: 0 5px 0 var(--line);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: var(--ink);
  min-height: 120px;
}
.ytile .em {
  font-size: 40px;
  line-height: 1.1;
  font-family:
    "Apple Color Emoji",
    "Segoe UI Emoji",
    "Noto Color Emoji",
    sans-serif;
}
.ytile b {
  font-size: 18px;
}
.ytile small {
  font-family: var(--body);
  font-weight: 700;
  opacity: .75;
}
.ytile.on {
  outline: 5px solid var(--ink);
  outline-offset: 2px;
}
.ytile:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 var(--line);
}
.year-dlg {
  width: min(760px, 94vw);
}
.set-dlg {
  width: min(900px, 96vw);
}
.qr-dlg {
  width: min(560px, 94vw);
}
.year-pick-panel h2 {
  margin: 0;
}
.check {
  display: flex;
  gap: 8px;
  align-items: center;
  font-weight: 700;
  margin: 6px 0;
}
.ybadge {
  display: inline-block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 12px;
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 1px 9px;
  background: var(--t-sun);
  margin-bottom: 6px;
}
.ybadge.mine {
  background: var(--t-green);
}
.money-strip {
  margin-top: 14px;
  text-decoration: none;
  color: inherit;
}
.filters {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
}
.seg.wrap {
  flex-wrap: wrap;
  border-radius: 18px;
}
.gcard[hidden] {
  display: none !important;
}
.set-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 14px;
  margin: 12px 0;
}
.set-box {
  border: 3px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  display: grid;
  gap: 10px;
  align-content: start;
}
.set-box h3 {
  margin: 0;
  font-size: 19px;
}
.set-box .lbl {
  font-weight: 800;
  font-size: 14px;
  margin-top: 4px;
}
.toggle {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
}
.toggle input {
  width: 24px;
  height: 24px;
  flex: none;
  margin-top: 2px;
  accent-color: var(--green,#4CC35A);
}
.toggle small {
  display: block;
  font-weight: 600;
  opacity: .75;
}
.field {
  display: grid;
  gap: 4px;
  font-weight: 800;
  font-size: 14px;
}
.field select,
.field input[type=range] {
  width: 100%;
  font: inherit;
  padding: 8px;
  border: 3px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.qr-wrap {
  display: grid;
  grid-template-columns: minmax(150px, 220px) 1fr;
  gap: 16px;
  align-items: center;
  margin: 10px 0;
}
.qr {
  background: #fff;
  border: 3px solid var(--line);
  border-radius: 16px;
  padding: 8px;
}
.qr svg {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width:520px) {
  .qr-wrap {
    grid-template-columns: 1fr;
  }
  .qr {
    max-width: 240px;
    margin: 0 auto;
  }
}
.center {
  text-align: center;
}
.give-amts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0;
}
.amt {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  border: 3px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 10px 18px;
  box-shadow: 0 4px 0 var(--line);
  cursor: pointer;
  color: var(--ink);
}
.amt.on {
  background: var(--t-berry);
  outline: 3px solid var(--berry,#FF6F98);
}
.amt.other {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 18px;
}
.amt.other input {
  width: 90px;
  font: inherit;
  border: 2px solid var(--line);
  border-radius: 10px;
  padding: 4px 8px;
}
.help-panel .row-btns {
  margin-top: 12px;
}
.approve-form {
  grid-template-columns: 1fr 1fr auto;
  align-items: end;
}
@media (max-width:640px) {
  .approve-form {
    grid-template-columns: 1fr;
  }
}
.stripe-form {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  align-items: end;
}
.stripe-form .wide {
  grid-column: 1/-1;
}
.an-chart {
  width: 100%;
  height: auto;
  margin-top: 12px;
  color: var(--muted);
}
.badge {
  font-size: 12px;
  border-radius: 999px;
  padding: 2px 10px;
  background: var(--t-sun);
  border: 2px solid var(--line);
  vertical-align: middle;
}
.badge.ok {
  background: var(--t-green);
}
.an-wrap {
  display: grid;
  gap: 22px;
  margin: 22px 0;
}
.an-wrap .two-up {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}
.an-wrap .tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}
.an-wrap .tile {
  border: 3px solid var(--line);
  border-radius: 18px;
  padding: 12px 14px;
  background: #fff;
}
.an-wrap .tile b {
  display: block;
  font-family: var(--display);
  font-size: 30px;
}
.linkish {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  font-weight: 700;
}
.bug-btn {
  position: fixed;
  left: calc(env(safe-area-inset-left, 0px) + 12px);
  bottom: calc(env(safe-area-inset-bottom, 0px) + 14px);
  z-index: 60;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: var(--card,#fff);
  font-size: 19px;
  line-height: 1;
  opacity: .55;
  cursor: pointer;
  box-shadow: 0 3px 0 var(--line);
  transition: opacity .2s, transform .2s;
  font-family:
    "Apple Color Emoji",
    "Segoe UI Emoji",
    "Noto Color Emoji",
    sans-serif;
}
.bug-btn:hover,
.bug-btn:focus-visible {
  opacity: 1;
  transform: scale(1.08);
}
@media (max-width:900px) {
  .bug-btn {
    bottom: calc(env(safe-area-inset-bottom, 0px) + 86px);
    width: 36px;
    height: 36px;
    font-size: 17px;
  }
}
body.lock .bug-btn {
  display: none;
}
.stage-bug {
  display: none;
}
.stage.theatre .stage-bug,
.stage:fullscreen .stage-bug,
.stage:-webkit-full-screen .stage-bug {
  display: grid;
  place-items: center;
  position: absolute;
  top: 8px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: #fff;
  opacity: .7;
  font-size: 17px;
  cursor: pointer;
  font-family:
    "Apple Color Emoji",
    "Segoe UI Emoji",
    "Noto Color Emoji",
    sans-serif;
}
.stage-bug:hover {
  opacity: 1;
}
.bug-dlg {
  width: min(560px, 94vw);
}
.bug-grid,
.pick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
  margin: 12px 0;
}
.pick {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border: 3px solid var(--line);
  border-radius: 18px;
  background: #fff;
  padding: 10px 8px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  color: var(--ink);
  box-shadow: 0 4px 0 var(--line);
  transition:
    transform .12s ease,
    box-shadow .12s ease,
    background .12s;
}
.pick .em {
  font-size: 30px;
  line-height: 1.1;
  font-family:
    "Apple Color Emoji",
    "Segoe UI Emoji",
    "Noto Color Emoji",
    sans-serif;
}
.pick:hover {
  transform: translateY(-2px);
}
.pick:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 var(--line);
}
.pick.on {
  background: var(--t-sun);
  outline: 4px solid var(--ink);
  outline-offset: 1px;
}
.ideas-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 22px;
  margin-top: 18px;
}
@media (max-width:900px) {
  .ideas-grid {
    grid-template-columns: 1fr;
  }
}
.idea-preview {
  margin-top: 16px;
  text-align: center;
}
.idea-title {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 10px;
}
.idea-title .em {
  font-size: 30px;
  margin-right: 6px;
}
.idea-board {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  gap: 10px;
}
.idea-board li {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: 10px;
  align-items: center;
  border: 3px solid var(--line);
  border-radius: 16px;
  padding: 8px 10px;
  background: #fff;
}
.idea-board .rank {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  min-width: 1.6em;
  text-align: center;
}
.idea-board .big-em {
  font-size: 24px;
  font-family:
    "Apple Color Emoji",
    "Segoe UI Emoji",
    "Noto Color Emoji",
    sans-serif;
}
.idea-board .ib {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.idea-board .ib b {
  font-size: 15px;
  line-height: 1.25;
}
.idea-board .bar {
  height: 10px;
  border-radius: 999px;
  background: #EEE;
  overflow: hidden;
}
.idea-board .bar i {
  display: block;
  height: 100%;
  background:
    linear-gradient(
      90deg,
      #FFC93C,
      #FF6F98);
}
.vote {
  border: 3px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-family: var(--display);
  font-weight: 700;
  padding: 6px 12px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 3px 0 var(--line);
}
.vote.on {
  background: var(--t-sun);
}
.idea-winner {
  margin-bottom: 6px;
}
.tab-em {
  font-size: 20px;
  line-height: 1;
  font-family:
    "Apple Color Emoji",
    "Segoe UI Emoji",
    "Noto Color Emoji",
    sans-serif;
}
.gcard {
  transition: transform .18s cubic-bezier(.2, 1.2, .4, 1), box-shadow .18s ease;
}
.gcard:hover {
  transform: translateY(-4px) rotate(-.4deg);
}
.gcard .art svg {
  transition: transform .35s ease;
}
.gcard:hover .art svg {
  transform: scale(1.05);
}
.gcard:active {
  transform: translateY(2px);
}
.btn {
  transition:
    transform .12s ease,
    box-shadow .12s ease,
    filter .12s;
}
.btn:hover {
  filter: brightness(1.04);
}
.site-header {
  backdrop-filter: saturate(1.3) blur(8px);
  -webkit-backdrop-filter: saturate(1.3) blur(8px);
}
.hero h1 {
  text-wrap: balance;
}
.sec-head h2,
.page-title {
  text-wrap: balance;
}
:focus-visible {
  outline: 4px solid #FFC93C;
  outline-offset: 3px;
}
@media (max-width:420px) {
  .hero h1 {
    font-size: max(34px, min(10vw, 44px));
  }
  .year-tiles {
    grid-template-columns: repeat(2, 1fr);
  }
  .ytile {
    min-height: 104px;
  }
  .ytile .em {
    font-size: 34px;
  }
  .games-grid {
    gap: 14px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .gcard,
  .gcard .art svg,
  .btn,
  .pick {
    transition: none !important;
  }
  .gcard:hover {
    transform: none;
  }
}
.hdr {
  min-width: 0;
}
@media (max-width:1599px) {
  .topnav a[data-nav=blog],
  .topnav a[data-nav=leaderboard] {
    display: none;
  }
}
@media (max-width:1180px) {
  .topnav .portal-link {
    display: none;
  }
}
.topnav a[data-nav=blog],
.topnav a[data-nav=leaderboard] {
  display: none;
}
@media (max-width:1399px) {
  .topnav .portal-link {
    display: none;
  }
}
.home-daily {
  gap: 18px;
}
.home-daily .strip {
  margin: 0;
  text-decoration: none;
  color: inherit;
}
.community .meter {
  height: 16px;
  border-radius: 999px;
  background: #EEE;
  overflow: hidden;
  border: 2px solid var(--line);
  margin: 10px 0;
}
.community .meter i {
  display: block;
  height: 100%;
  background:
    linear-gradient(
      90deg,
      #4CC35A,
      #FFC93C);
}
.beds {
  display: grid;
  gap: 18px;
}
.plants {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
  margin-top: 10px;
}
.plant-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  border: 3px solid var(--line);
  border-radius: 18px;
  padding: 10px 6px;
  background: linear-gradient(#fff 60%, #E8D3B4);
  text-decoration: none;
  color: var(--ink);
  text-align: center;
  font-size: 14px;
  line-height: 1.2;
  box-shadow: 0 4px 0 var(--line);
  transition: transform .15s;
}
.plant-tile:hover {
  transform: translateY(-3px);
}
.plant-tile .em {
  font-size: 40px;
  line-height: 1.1;
  font-family:
    "Apple Color Emoji",
    "Segoe UI Emoji",
    "Noto Color Emoji",
    sans-serif;
}
.plant-tile small {
  opacity: .75;
  font-weight: 700;
}
.stats-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}
.stats-tiles .tile {
  border: 3px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  background: #fff;
}
.stats-tiles .tile b {
  display: block;
  font-family: var(--display);
  font-size: 32px;
}
.tricky {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  gap: 8px;
}
.tricky li {
  display: grid;
  grid-template-columns: 5.5em 1fr auto;
  gap: 10px;
  align-items: center;
}
.tricky li:not(:has(.bar)) {
  grid-template-columns: 1fr auto;
}
.tricky .bar {
  height: 12px;
  border-radius: 999px;
  background: #EEE;
  overflow: hidden;
}
.tricky .bar i {
  display: block;
  height: 100%;
  background:
    linear-gradient(
      90deg,
      #FF6F98,
      #FFC93C);
}
.heat {
  display: inline-block;
  min-width: 4em;
  text-align: center;
  border-radius: 999px;
  padding: 2px 8px;
  font-weight: 800;
  background:
    linear-gradient(
      90deg,
      #C8F0B8 var(--p),
      #FFE2EB var(--p));
  border: 2px solid var(--line);
}
.class-box {
  border: 3px solid var(--line);
  border-radius: 18px;
  padding: 12px;
  margin: 10px 0;
}
.guide h2 {
  margin-top: 18px;
}
.guide p {
  font-size: 18px;
  line-height: 1.7;
}
.guide[dir=rtl] {
  text-align: right;
}
.pack-list {
  display: grid;
  gap: 12px;
  padding-left: 1.4em;
}
.pack-list li {
  display: grid;
  gap: 6px;
}
.pack-list .opts {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.pack-list .opts span {
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 2px 12px;
}
.pack-list .line {
  display: block;
  border-bottom: 2px dashed #999;
  width: 8em;
  height: 1.2em;
}
.sheet.pack {
  background: #fff;
  border: 3px solid var(--line);
  border-radius: 20px;
  padding: 22px;
  margin-top: 18px;
}
.sheet.pack h3 {
  margin: 16px 0 8px;
}
@media print {
  .pack-wrap .sheet.pack {
    border: 0;
    border-radius: 0;
    padding: 0;
  }
  .pack-wrap .answers {
    break-before: page;
  }
}
.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 3px solid var(--line);
  border-radius: 999px;
  background: var(--card,#fff);
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  padding: 5px 10px;
  box-shadow: 0 3px 0 var(--line);
  cursor: pointer;
  color: var(--ink);
}
.lang-btn .em {
  font-family:
    "Apple Color Emoji",
    "Segoe UI Emoji",
    "Noto Color Emoji",
    sans-serif;
}
.lang-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 10px;
}
.note-en {
  background: #FFF7DA;
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 6px 12px;
  font-weight: 700;
  display: inline-block;
}
@media (max-width:420px) {
  .lang-btn span:last-child {
    display: none;
  }
}
.upd-log {
  background: #1B1F4B;
  color: #C8F0B8;
  border-radius: 12px;
  padding: 12px;
  white-space: pre-wrap;
  font-size: 13px;
  margin-top: 10px;
}
.upd-log.bad {
  color: #FFB4C2;
}
.health {
  list-style: none;
  padding: 0;
  margin: 8px 0;
  display: grid;
  gap: 6px;
}
.health li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 10px;
  align-items: center;
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 6px 10px;
}
.health li small {
  grid-column: 2;
  opacity: .75;
}
.health li.bad {
  background: #FFE2EB;
}
.health li.warn {
  background: #FFF7DA;
}
.btn-xl {
  font-size: max(22px, min(3.6vw, 28px));
  min-height: 60px;
  padding: 14px 30px;
}
.hero-kid {
  padding-bottom: max(6px, min(2vw, 24px));
}
.hero-kid .cta {
  align-items: center;
}
.home-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: 22px;
}
.grown-strip {
  text-decoration: none;
  color: inherit;
  background: var(--t-sky);
}
.lang-seg {
  flex-wrap: wrap;
}
.site-header .year-chip,
.site-header .set-btn,
.site-header #chip {
  min-height: 44px;
}
.site-header .set-btn {
  min-width: 44px;
}
@media (max-width:640px) {
  .hero-kid {
    grid-template-columns: 1fr;
    padding-top: 18px;
  }
  .hero-kid .hero-art,
  .hero-kid .lead {
    display: none;
  }
  .hero-kid h1 {
    font-size: max(36px, min(10vw, 46px));
  }
  .hero-kid .cta {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .hero-kid .cta .btn {
    justify-content: center;
  }
  .home-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .home-grid .gcard .body > :not(h3) {
    display: none;
  }
  .home-grid .gcard .body {
    padding: 10px 12px 12px;
  }
  .home-grid .gcard h3 {
    font-size: 17px;
    line-height: 1.2;
    margin: 0;
  }
  .home-grid .gcard .sticker {
    font-size: 12px;
    padding: 2px 8px;
  }
  .home-daily {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .home-daily .strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 14px;
  }
  .home-daily .strip p {
    display: none;
  }
  .section {
    margin-top: 28px;
  }
}
@media (pointer:coarse) {
  main p a,
  main li a,
  main .small a,
  .crumbs a,
  .linkish,
  .lang-links a {
    display: inline-block;
    padding: 10px 4px;
    margin: -10px -4px;
  }
}
.unlock-bar {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 6px 12px;
  align-items: center;
  border: 3px solid var(--line);
  border-radius: 16px;
  padding: 10px 14px;
  margin-bottom: 14px;
  background: #FFF7DA;
}
.unlock-bar.on {
  background: #E1F5DC;
  grid-template-columns: auto 1fr;
}
.unlock-bar > span {
  font-size: 24px;
}
.unlock-bar b {
  display: block;
}
.unlock-bar input {
  width: 8em;
  font: inherit;
  font-size: 20px;
  letter-spacing: 3px;
  padding: 8px 10px;
  border: 3px solid var(--line);
  border-radius: 12px;
  min-height: 44px;
}
.unlock-bar .form-msg {
  grid-column: 1/-1;
  margin: 0;
}
@media (max-width:640px) {
  .unlock-bar {
    grid-template-columns: auto 1fr;
  }
  .unlock-bar input,
  .unlock-bar .btn {
    grid-column: span 1;
  }
}
.adventure {
  background:
    linear-gradient(
      135deg,
      #FFF7DA,
      #E8F7E4);
}
.adv-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.adv-head h2 {
  margin: 0;
}
.adv-count {
  font-family: var(--display);
  font-weight: 700;
  background: #fff;
  border: 3px solid var(--line);
  border-radius: 999px;
  padding: 4px 14px;
}
.adv-steps {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 12px;
}
.adv-steps a {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 10px;
  align-items: center;
  background: #fff;
  border: 3px solid var(--line);
  border-radius: 18px;
  padding: 12px;
  text-decoration: none;
  color: var(--ink);
  box-shadow: 0 4px 0 var(--line);
  min-height: 72px;
  transition: transform .15s;
}
.adv-steps a:hover {
  transform: translateY(-3px);
}
.adv-steps li.done a {
  background: #E1F5DC;
}
.adv-n {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--t-sun);
  border: 3px solid var(--line);
  font-family: var(--display);
  font-weight: 700;
}
.adv-steps li.done .adv-n {
  background: #4CC35A;
  color: #fff;
}
.adv-em {
  font-size: 30px;
  font-family:
    "Apple Color Emoji",
    "Segoe UI Emoji",
    "Noto Color Emoji",
    sans-serif;
}
.adv-t b {
  display: block;
  font-family: var(--display);
  line-height: 1.2;
}
.adv-t small {
  opacity: .75;
  font-weight: 600;
}
.world svg {
  width: 100%;
  height: auto;
  display: block;
}
.world .isle {
  cursor: pointer;
}
.world .isle:hover ellipse {
  filter: brightness(1.05);
}
.isle-list {
  margin-top: 22px;
  scroll-margin-top: 90px;
}
.isle-list h2 {
  margin: 0 0 10px;
}
.isle-games {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr));
  gap: 12px;
}
.isle-game {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  gap: 2px 10px;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
  padding: 12px;
}
.isle-game .em {
  grid-row: span 2;
  font-size: 34px;
  font-family:
    "Apple Color Emoji",
    "Segoe UI Emoji",
    "Noto Color Emoji",
    sans-serif;
}
.isle-game .stars {
  letter-spacing: 2px;
}
.methods {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 14px;
}
.method {
  padding: 16px;
}
.method .em {
  font-size: 30px;
  font-family:
    "Apple Color Emoji",
    "Segoe UI Emoji",
    "Noto Color Emoji",
    sans-serif;
}
.method h3 {
  margin: 6px 0 4px;
}
.method p {
  margin: 0;
  font-size: 15px;
}
.world .isle-soon {
  opacity: .45;
}
@media (pointer:coarse) {
  .crumbs a {
    min-width: 44px;
    text-align: center;
  }
}
.site-header {
  overflow-x: clip;
}
.site-header .hdr {
  min-width: 0;
}
.topnav.fit {
  flex: 1 1 auto;
  min-width: 0;
  flex-wrap: nowrap;
}
.topnav.fit a[data-nav=blog],
.topnav.fit a[data-nav=leaderboard],
.topnav.fit .portal-link {
  display: inline-flex;
}
.topnav a {
  white-space: nowrap;
}
.chip-player .name {
  max-width: 9em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
  vertical-align: middle;
}
.year-chip span:last-child {
  white-space: nowrap;
}
.nav-more {
  position: relative;
  flex: 0 0 auto;
}
.nav-more-btn {
  font: inherit;
  font-weight: 600;
  background: none;
  border: 0;
  cursor: pointer;
  color: inherit;
  padding: 8px 12px;
  border-radius: 999px;
  white-space: nowrap;
  min-height: 44px;
}
.nav-more-btn:hover,
.nav-more-btn[aria-expanded=true] {
  background: var(--t-sky,#E2F1FF);
}
.nav-more-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 200px;
  background: #fff;
  border: 3px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 6px 0 rgba(35, 32, 74, .15);
  padding: 6px;
  display: grid;
  gap: 2px;
  z-index: 80;
}
.nav-more-menu[hidden] {
  display: none;
}
.nav-more-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  font-weight: 600;
}
.nav-more-menu a:hover,
.nav-more-menu a.on {
  background: var(--t-sun,#FFF1C2);
}
@media (max-width:1100px) {
  .chip-player .name {
    max-width: 6.5em;
  }
}
.site-header .container.hdr {
  max-width: min(1440px, calc(100% - 32px));
  width: 100%;
  padding-left: 0;
  padding-right: 0;
}
dialog.gate {
  box-sizing: border-box;
  max-width: calc(100vw - 16px);
  max-height: calc(100dvh - 24px);
  overflow-y: auto;
  overflow-x: hidden;
  padding: max(14px, min(4vw, 26px));
  overscroll-behavior: contain;
}
dialog.gate * {
  box-sizing: border-box;
}
dialog.gate .set-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
}
dialog.gate .set-box,
dialog.gate .set-grid > * {
  min-width: 0;
}
dialog.gate .seg {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 100%;
}
dialog.gate .seg button {
  flex: 1 1 auto;
  min-width: 0;
}
dialog.gate select,
dialog.gate input[type=range],
dialog.gate input[type=text],
dialog.gate input[type=email],
dialog.gate input:not([type]),
dialog.gate textarea {
  width: 100%;
  max-width: 100%;
}
dialog.gate select {
  text-overflow: ellipsis;
}
dialog.gate .year-tiles,
dialog.gate .bug-grid,
dialog.gate .pick-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 120px), 1fr));
}
dialog.gate .row,
dialog.gate .row-btns {
  flex-wrap: wrap;
}
dialog.gate p,
dialog.gate label,
dialog.gate small {
  overflow-wrap: anywhere;
}
@media (min-width:1500px) {
  .site-header .container.hdr {
    width: min(1400px, 100% - 40px);
  }
}
dialog.gate.set-dlg {
  width: min(900px, 96vw);
}
dialog.gate.year-dlg {
  width: min(760px, 94vw);
}
dialog.gate.qr-dlg {
  width: min(560px, 94vw);
}
.goal-kid {
  align-items: center;
}
.goal-kid .goal-svg {
  width: 76px;
  height: 76px;
  flex: 0 0 auto;
}
.goal-kid .goal-note {
  display: inline-block;
  font-style: italic;
}
@media (max-width:640px) {
  .goal-kid {
    flex-wrap: wrap;
  }
  .goal-kid .goal-svg {
    width: 60px;
    height: 60px;
  }
}
.gcard {
  display: flex;
  flex-direction: column;
}
.gcard .body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  gap: 6px;
}
.gcard .body h3 {
  margin: 2px 0 0;
}
.gcard .body p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}
.gcard .foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.gcard .tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.gcard .ybadge {
  align-self: flex-start;
  width: auto;
  display: inline-flex;
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 999px;
}
.games-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 22px;
}
.fbar {
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
  gap: 8px;
}
.fbar button {
  border: 2px solid var(--line) !important;
  border-radius: 999px !important;
  background: #fff;
  white-space: nowrap;
}
.fbar button.on {
  background: var(--sun,#FFC93C);
}
.report-link {
  margin-left: auto;
  font-size: 14px;
  opacity: .8;
}
@media (max-width:640px) {
  .games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .games-grid .gcard .body > p,
  .games-grid .gcard .tags,
  .games-grid .gcard .foot {
    display: none;
  }
  .games-grid .gcard .body {
    padding: 8px 10px 12px;
    gap: 4px;
  }
  .games-grid .gcard h3 {
    font-size: 16px;
    line-height: 1.2;
  }
  .games-grid .gcard .sticker {
    font-size: 11px;
    padding: 2px 8px;
  }
  .fbar {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    margin-inline: -20px;
    padding-inline: 20px !important;
  }
  .fbar::-webkit-scrollbar {
    display: none;
  }
  .fbar button {
    scroll-snap-align: start;
    flex: 0 0 auto;
  }
  .chip-player .name {
    display: none;
  }
}
@media (max-width:360px) {
  .site-header .brand-name {
    display: none;
  }
}
.site-footer {
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 16px);
}
.foot2 {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  padding-top: 28px;
  padding-bottom: 12px;
  align-items: start;
}
.foot-brand p {
  margin: 8px 0 12px;
  max-width: 34ch;
  color: var(--muted);
}
.foot-brand .lang-links {
  justify-content: flex-start;
  margin: 0;
  gap: 6px;
}
.foot-brand .lang-links a {
  border: 2px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 14px;
  text-decoration: none;
  color: inherit;
  font-weight: 700;
}
.foot-col summary {
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  list-style: none;
  cursor: default;
  margin-bottom: 8px;
}
.foot-col summary::-webkit-details-marker {
  display: none;
}
.foot-col nav {
  display: grid;
  gap: 6px;
}
.foot-col nav a,
.foot-col nav .linkish {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  text-align: left;
  padding: 4px 0;
}
.foot-col nav a:hover,
.foot-col nav .linkish:hover {
  text-decoration: underline;
}
.foot-base {
  border-top: 2px dashed rgba(35, 32, 74, .15);
  padding: 12px 0 6px;
  color: var(--muted);
  font-size: 14px;
}
@media (max-width:900px) {
  .foot2 {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .foot-brand {
    grid-column: 1/-1;
  }
}
@media (max-width:640px) {
  .foot2 {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 20px;
  }
  .foot-brand {
    padding-bottom: 12px;
  }
  .foot-col {
    border-top: 2px solid rgba(35, 32, 74, .12);
  }
  .foot-col summary {
    cursor: pointer;
    margin: 0;
    padding: 14px 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .foot-col summary::after {
    content: "＋";
    font-weight: 700;
  }
  .foot-col[open] summary::after {
    content: "－";
  }
  .foot-col nav {
    padding: 0 4px 14px;
  }
  .site-footer {
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 90px);
  }
}
@media (max-width:640px) {
  .chip-player .pts small {
    display: none;
  }
  .chip-player {
    gap: 6px;
    padding-right: 12px;
  }
}
@media (max-width:420px) {
  .site-header .brand-name {
    display: none;
  }
}
@media (min-width:641px) {
  .foot2 {
    gap: 24px;
    padding-top: 22px;
  }
  .foot-col nav {
    gap: 2px;
  }
  .foot-col nav a,
  .foot-col nav .linkish {
    padding: 3px 0;
    font-size: 15px;
  }
  .foot-brand p {
    margin: 6px 0 10px;
  }
}
@media (max-width:420px) {
  .lb-row .who {
    min-width: 0;
  }
  .lb-row .who b {
    white-space: normal;
    overflow-wrap: anywhere;
    overflow: visible;
    text-overflow: clip;
  }
}
body:not(.console) {
  --line:rgba(35,32,74,.13);
  --soft:0 2px 0 rgba(35,32,74,.06),0 12px 28px rgba(35,32,74,.10);
}
body:not(.console):not(.adult) {
  background:
    radial-gradient(
      1200px 500px at 15% -10%,
      #DDF0FF 0,
      transparent 60%),
    radial-gradient(
      900px 400px at 100% 0,
      #FFE9F2 0,
      transparent 55%),
    #F7FAFF;
}
body:not(.console) .card {
  border-color: transparent !important;
  box-shadow: var(--soft) !important;
  border-radius: 26px;
}
body:not(.console) .gcard {
  transition: transform .18s cubic-bezier(.2, 1.3, .4, 1), box-shadow .18s;
}
body:not(.console) .gcard:hover {
  transform: translateY(-6px) rotate(-.5deg);
  box-shadow: 0 2px 0 rgba(35, 32, 74, .06), 0 22px 40px rgba(35, 32, 74, .16) !important;
}
body:not(.console) .gcard .art {
  border-radius: 26px 26px 0 0;
  overflow: hidden;
}
body:not(.console) .gcard .art svg {
  border-bottom: 0;
}
body:not(.console) .btn {
  border: 0 !important;
  box-shadow: 0 6px 0 rgba(35, 32, 74, .20) !important;
  transition: transform .1s, box-shadow .1s;
}
body:not(.console) .btn:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 rgba(35, 32, 74, .20) !important;
}
body:not(.console) .btn-ghost {
  background: #fff;
  box-shadow: 0 5px 0 rgba(35, 32, 74, .12), 0 8px 18px rgba(35, 32, 74, .06) !important;
}
body:not(.console) .tag,
body:not(.console) .ybadge,
body:not(.console) .sticker {
  border-color: transparent !important;
}
body:not(.console) .site-header {
  background: rgba(255, 255, 255, .78);
  border-bottom: 0;
  box-shadow: 0 6px 24px rgba(35, 32, 74, .08);
}
body:not(.console) .topnav a {
  border-radius: 999px;
}
body:not(.console) .topnav a.on {
  box-shadow: 0 4px 0 rgba(35, 32, 74, .15);
}
body:not(.console) .year-chip,
body:not(.console) .set-btn,
body:not(.console) #chip {
  border-color: transparent !important;
  box-shadow: 0 4px 0 rgba(35, 32, 74, .12), 0 6px 16px rgba(35, 32, 74, .08) !important;
  background: #fff;
}
body:not(.console) .fbar button {
  border-color: transparent !important;
  box-shadow: 0 4px 0 rgba(35, 32, 74, .12);
}
body:not(.console) .fbar button.on {
  box-shadow: 0 4px 0 #D99A00;
}
.kid-hero {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 28px;
  align-items: center;
  padding-top: max(18px, min(4vw, 44px));
}
.kh-hello {
  display: flex;
  gap: 14px;
  align-items: center;
}
.kh-av {
  font-size: max(44px, min(7vw, 64px));
  width: max(72px, min(10vw, 96px));
  height: max(72px, min(10vw, 96px));
  display: grid;
  place-items: center;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--soft);
  font-family:
    "Apple Color Emoji",
    "Segoe UI Emoji",
    "Noto Color Emoji",
    sans-serif;
  flex: 0 0 auto;
}
.kh-greet {
  margin: 0;
  font-weight: 700;
  color: #6C4BD8;
  font-size: max(16px, min(2.4vw, 20px));
}
.kid-hero h1 {
  margin: 2px 0 0;
  font-size: max(30px, min(5vw, 54px));
  line-height: 1.05;
}
.kh-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0 14px;
}
.kh-act {
  display: grid;
  justify-items: start;
  gap: 2px;
  padding: 16px 16px 14px;
  border-radius: 26px;
  text-decoration: none;
  color: #23204A;
  box-shadow: 0 8px 0 rgba(35, 32, 74, .18), 0 16px 30px rgba(35, 32, 74, .10);
  transition: transform .12s, box-shadow .12s;
  min-height: 132px;
}
.kh-act:hover {
  transform: translateY(-3px);
}
.kh-act:active {
  transform: translateY(5px);
  box-shadow: 0 3px 0 rgba(35, 32, 74, .18);
}
.kh-act .kh-ic {
  font-size: max(34px, min(5vw, 46px));
  line-height: 1;
  font-family:
    "Apple Color Emoji",
    "Segoe UI Emoji",
    "Noto Color Emoji",
    sans-serif;
}
.kh-act b {
  font-family: var(--display);
  font-size: max(19px, min(2.6vw, 24px));
  margin-top: 6px;
}
.kh-act small {
  opacity: .8;
  font-weight: 600;
}
.act-play {
  background:
    linear-gradient(
      160deg,
      #FFD95E,
      #FFB929);
}
.act-daily {
  background:
    linear-gradient(
      160deg,
      #A8EBB0,
      #5FD07A);
}
.act-world {
  background:
    linear-gradient(
      160deg,
      #BFD8FF,
      #8DB5FF);
}
.kh-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.kh-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  border: 0;
  font: inherit;
  font-weight: 700;
  color: #23204A;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 0 rgba(35, 32, 74, .12), 0 6px 14px rgba(35, 32, 74, .06);
}
.kh-chip .em {
  font-family:
    "Apple Color Emoji",
    "Segoe UI Emoji",
    "Noto Color Emoji",
    sans-serif;
}
.kh-scene svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 16px 30px rgba(35, 32, 74, .15));
}
body:not(.console) .adventure {
  background:
    linear-gradient(
      135deg,
      #FFF6D8,
      #FFE7F0) !important;
}
.adventure .adv-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  position: relative;
}
.adventure .adv-steps::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 38px;
  border-top: 5px dotted rgba(108, 75, 216, .35);
  z-index: 0;
}
.adventure .adv-steps li {
  position: relative;
  z-index: 1;
}
.adventure .adv-steps a {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 6px;
  padding: 14px 10px;
  border-radius: 22px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 6px 0 rgba(35, 32, 74, .12), 0 10px 22px rgba(35, 32, 74, .08);
  border: 0 !important;
}
.adventure .adv-n {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #6C4BD8;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  border: 0 !important;
}
.adventure li.done .adv-n {
  background: #2fb463;
}
.adventure li.done a {
  background: #F0FFF3;
}
.adventure .adv-em {
  font-size: 30px;
}
.adventure .adv-t b {
  display: block;
}
.adventure .adv-t small {
  opacity: .8;
}
.shelf {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
  gap: 22px;
}
@media (max-width:640px) {
  .kid-hero {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .kh-scene {
    display: none;
  }
  .kh-actions {
    gap: 10px;
  }
  .kh-act {
    min-height: 112px;
    padding: 12px 10px;
    border-radius: 22px;
  }
  .kh-act small {
    display: none;
  }
  .adventure .adv-steps {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .adventure .adv-steps::before {
    left: 39px;
    right: auto;
    top: 20px;
    bottom: 20px;
    border-top: 0;
    border-left: 5px dotted rgba(108, 75, 216, .35);
  }
  .adventure .adv-steps a {
    grid-template-columns: auto auto 1fr;
    justify-items: start;
    text-align: left;
    align-items: center;
  }
  .shelf {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 14px;
    margin-inline: -20px;
    padding: 6px 20px 18px;
    scrollbar-width: none;
  }
  .shelf::-webkit-scrollbar {
    display: none;
  }
  .shelf > .gcard {
    flex: 0 0 62%;
    scroll-snap-align: start;
  }
  .shelf .gcard .body > p,
  .shelf .gcard .tags,
  .shelf .gcard .foot {
    display: none;
  }
  body:not(.console) .tabbar {
    left: 10px;
    right: 10px;
    bottom: calc(env(safe-area-inset-bottom, 0px) + 10px);
    border-radius: 26px;
    border: 0 !important;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 10px 30px rgba(35, 32, 74, .18);
  }
  body:not(.console) .tabbar a.on {
    border-radius: 18px;
  }
}
body.adult {
  background: #F6F7FB;
}
body.adult main {
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
}
body.adult main h1,
body.adult main h2,
body.adult main h3,
body.adult main .page-title {
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
  letter-spacing: -.015em;
}
body.adult main .card {
  background: #fff !important;
  border: 1px solid #E6E8EF !important;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .05) !important;
  border-radius: 16px;
}
body.adult main .card[class*=t-] {
  background: #fff !important;
}
body.adult main .ic {
  border-radius: 12px;
  box-shadow: none !important;
  border: 0 !important;
}
body.adult main .btn {
  border-radius: 12px;
}
.years-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 18px;
}
.year-card {
  display: grid;
  gap: 4px;
  padding: 18px;
  text-decoration: none;
  color: inherit;
}
.year-card .em {
  font-size: 36px;
}
.year-card b {
  font-family: var(--display);
  font-size: 22px;
}
.year-card p {
  margin: 6px 0 0;
  font-size: 15px;
}
.hub-answer {
  font-size: 18px;
  max-width: 72ch;
  background: #fff;
  border-radius: 18px;
  padding: 14px 18px;
  box-shadow: var(--soft);
}
.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 18px;
  margin-top: 18px;
}
.hub-list li {
  margin: 6px 0;
}
.hub-qs {
  display: grid;
  gap: 12px;
  padding-left: 1.2em;
}
.hub-qs .opts {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 6px 0;
}
.opt-chip {
  background: #F3F5FB;
  border-radius: 999px;
  padding: 4px 12px;
  font-weight: 700;
}
.hub-qs details summary {
  cursor: pointer;
  font-weight: 700;
  color: #6C4BD8;
}
.cms-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 16px;
  text-decoration: none;
  color: inherit;
  align-items: start;
}
.cms-em {
  font-size: 40px;
  line-height: 1;
}
.cms-card h3 {
  margin: 6px 0 4px;
}
.cms-card p {
  margin: 0 0 6px;
}
.post-body h2 {
  margin-top: 1.4em;
}
.post-body li {
  margin: 4px 0;
}
.post-body blockquote {
  border-left: 4px solid #FFC93C;
  margin: 12px 0;
  padding: 4px 14px;
  background: #FFFBEA;
  border-radius: 8px;
}
.sec-head a.small {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
}
.hdr-menu {
  position: relative;
  flex: 0 0 auto;
}
.hdr-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 0;
  background: #fff;
  font: inherit;
  font-weight: 700;
  color: #23204A;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 0 rgba(35, 32, 74, .12), 0 6px 16px rgba(35, 32, 74, .08);
  transition: transform .12s;
}
.hdr-btn:hover {
  transform: translateY(-1px);
}
.hdr-btn[aria-expanded=true] {
  background: #F3F0FF;
}
.parents-btn {
  background:
    linear-gradient(
      160deg,
      #7C5CFF,
      #5B3FC0);
  color: #fff;
  box-shadow: 0 4px 0 #3F2A93, 0 8px 18px rgba(91, 63, 192, .28);
}
.parents-btn[aria-expanded=true],
.parents-btn.on {
  background:
    linear-gradient(
      160deg,
      #6A48F5,
      #4A30A8);
  color: #fff;
}
.lang-btn .lang-code {
  font-size: 13px;
  letter-spacing: .04em;
}
.hdr-pop {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 250px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 22px 50px rgba(35, 32, 74, .22), 0 2px 0 rgba(35, 32, 74, .06);
  padding: 8px;
  display: grid;
  gap: 2px;
  z-index: 200;
  animation: popIn .14s ease-out;
}
.hdr-pop[hidden] {
  display: none;
}
@keyframes popIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.hdr-pop a,
.hdr-pop button {
  display: block;
  text-align: left;
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: #23204A;
  font: inherit;
  font-weight: 600;
  background: none;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
}
.hdr-pop a:hover,
.hdr-pop button:hover,
.hdr-pop a:focus-visible,
.hdr-pop button:focus-visible,
.hdr-pop .on {
  background: #F3F0FF;
}
.hdr-pop .pop-hero {
  background:
    linear-gradient(
      135deg,
      #EFE9FF,
      #E4F2FF);
  white-space: normal;
  margin-bottom: 4px;
  padding: 14px;
}
.pop-hero b {
  display: block;
  font-size: 17px;
}
.pop-hero small {
  display: block;
  font-weight: 500;
  color: #5B5F7A;
  margin-top: 2px;
}
.nav-more {
  position: relative;
}
.nav-more .hdr-pop {
  left: 0;
  right: auto;
  min-width: 200px;
}
.nav-more-btn {
  font: inherit;
  font-weight: 600;
  background: none;
  border: 0;
  cursor: pointer;
  color: inherit;
  padding: 8px 12px;
  border-radius: 999px;
  white-space: nowrap;
  min-height: 44px;
}
.nav-more-btn[aria-expanded=true] {
  background: #F3F0FF;
}
.site-header {
  overflow: visible !important;
}
@media (max-width:1100px) {
  .parents-btn .pb-c {
    display: none;
  }
}
@media (max-width:900px) {
  .parents-btn {
    display: none;
  }
}
@media (max-width:480px) {
  .lang-btn .lang-code {
    display: none;
  }
  .lang-btn {
    padding: 8px 11px;
  }
}
@media (max-width:340px) {
  .lang-menu {
    display: none;
  }
}
.tabbar a[data-nav=grown-ups] {
  color: #5B3FC0;
}
.portal-hero {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 24px;
  align-items: center;
  padding: max(18px, min(4vw, 34px)) !important;
  background:
    linear-gradient(
      135deg,
      #F1ECFF,
      #E7F4FF) !important;
}
.portal-hero h2 {
  font-size: max(26px, min(4vw, 38px));
  margin: 4px 0 8px;
}
.portal-hero .cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 14px 0 8px;
}
.ph-art {
  display: grid;
  gap: 10px;
}
.ph-card {
  background: #fff;
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: 0 8px 20px rgba(35, 32, 74, .08);
  display: grid;
  gap: 4px;
}
.ph-card span {
  font-size: 14px;
  color: #5B5F7A;
}
.ph-card i {
  display: block;
  height: 8px;
  border-radius: 999px;
  background:
    linear-gradient(
      90deg,
      #7C5CFF,
      #3FB4F7);
}
@media (max-width:760px) {
  .portal-hero {
    grid-template-columns: 1fr;
  }
  .ph-art {
    display: none;
  }
}
dialog.gate.set2 {
  width: min(880px, 96vw);
  padding: 0 !important;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  max-height: min(760px, calc(100dvh - 24px));
  overflow: hidden !important;
  border-radius: 28px;
}
dialog.gate.set2:not([open]) {
  display: none;
}
.set2-head {
  padding: 20px 24px 8px;
}
.set2-head h2 {
  margin: 0;
}
.set2-head .sub {
  margin: 4px 0 0;
}
.set2-body {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 0;
}
.set2-tabs {
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 10px 12px 16px 16px;
  overflow: auto;
}
.set2-tabs button {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  padding: 11px 14px;
  border-radius: 14px;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 700;
  color: #4A4870;
  cursor: pointer;
  min-height: 44px;
}
.set2-tabs button:hover {
  background: #F5F3FF;
}
.set2-tabs button.on {
  background: #EEE9FF;
  color: #3F2A93;
  box-shadow: inset 3px 0 0 #6C4BD8;
}
.set2-pane {
  overflow: auto;
  padding: 6px 24px 18px;
  display: grid;
  gap: 12px;
  align-content: start;
}
.set2-pane h3 {
  margin: 6px 0 0;
  font-size: 22px;
}
.set2-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 18px;
  padding: 12px 14px;
  background: var(--bg-tint,#F7FAFF);
  box-shadow: inset 0 0 0 2px rgba(35, 32, 74, .06);
}
.set2-preview .em {
  font-size: 30px;
}
.set2-preview b {
  display: block;
}
.set2-preview small {
  color: #5B5F7A;
}
.set2-preview .pv-btn {
  margin-left: auto;
  min-width: 54px;
  min-height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #fff;
  font-weight: 800;
  font-size: 22px;
  box-shadow: 0 5px 0 rgba(35, 32, 74, .15);
}
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pill-opt {
  min-height: 44px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 0;
  background: #fff;
  font: inherit;
  font-weight: 700;
  color: #23204A;
  cursor: pointer;
  box-shadow: 0 0 0 2px rgba(35, 32, 74, .10), 0 4px 0 rgba(35, 32, 74, .08);
}
.pill-opt.on {
  box-shadow: 0 0 0 3px #6C4BD8, 0 4px 0 rgba(108, 75, 216, .25);
  background: #F3F0FF;
}
.sw-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(35, 32, 74, .06);
  cursor: pointer;
  position: relative;
}
.sw-row b {
  display: block;
}
.sw-row small {
  display: block;
  color: #5B5F7A;
  font-weight: 500;
}
.sw-row input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.sw {
  flex: 0 0 auto;
  width: 54px;
  height: 32px;
  border-radius: 999px;
  background: #D7DAE6;
  position: relative;
  transition: background .2s;
}
.sw::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
  transition: transform .2s;
}
.sw-row input:checked + .sw {
  background: #2FB463;
}
.sw-row input:checked + .sw::after {
  transform: translateX(22px);
}
.sw-row input:focus-visible + .sw {
  outline: 3px solid #6C4BD8;
  outline-offset: 2px;
}
.presets {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr));
  gap: 10px;
}
.preset {
  display: grid;
  justify-items: start;
  gap: 2px;
  text-align: left;
  padding: 14px;
  border-radius: 18px;
  border: 0;
  background: #fff;
  font: inherit;
  color: #23204A;
  cursor: pointer;
  box-shadow: 0 0 0 2px rgba(35, 32, 74, .08), 0 5px 0 rgba(35, 32, 74, .08);
  transition: transform .12s;
}
.preset:hover {
  transform: translateY(-2px);
}
.preset .em {
  font-size: 28px;
}
.preset small {
  color: #5B5F7A;
}
.set2-foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 24px 16px;
  border-top: 1px solid rgba(35, 32, 74, .08);
  background: #fff;
}
@media (max-width:700px) {
  dialog.gate.set2 {
    width: 100vw;
    max-width: 100vw;
    max-height: calc(100dvh - 8px);
    margin: auto 0 0;
    border-radius: 26px 26px 0 0;
  }
  .set2-body {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
  }
  .set2-tabs {
    display: flex;
    overflow-x: auto;
    padding: 4px 14px 8px;
    gap: 6px;
    scrollbar-width: none;
  }
  .set2-tabs::-webkit-scrollbar {
    display: none;
  }
  .set2-tabs button {
    flex: 0 0 auto;
    white-space: nowrap;
    background: #F5F3FF;
    border-radius: 999px;
    padding: 8px 14px;
  }
  .set2-tabs button.on {
    box-shadow: inset 0 0 0 2px #6C4BD8;
  }
  .set2-head {
    padding: 16px 18px 4px;
  }
  .set2-pane {
    padding: 4px 16px 16px;
  }
  .set2-foot {
    padding: 10px 16px calc(env(safe-area-inset-bottom, 0px) + 12px);
  }
}
@media (max-width:700px) {
  .set2-tabs {
    -webkit-mask-image:
      linear-gradient(
        90deg,
        #000 82%,
        transparent);
    mask-image:
      linear-gradient(
        90deg,
        #000 82%,
        transparent);
    padding-right: 40px;
  }
}
.topnav > a .ni,
.topnav > a .nd {
  display: none;
}
.topnav > a[data-nav=world] .ni,
.topnav > a[data-nav=ideas] .ni {
  display: inline;
  margin-right: 4px;
}
.nav-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
}
.nav-more-btn .chev {
  width: 12px;
  height: 12px;
  transition: transform .2s;
}
.nav-more-btn[aria-expanded=true] {
  background: #fff !important;
  box-shadow: 0 4px 0 rgba(35, 32, 74, .12), 0 6px 16px rgba(35, 32, 74, .10);
}
.nav-more-btn[aria-expanded=true] .chev {
  transform: rotate(180deg);
}
.nav-more-menu {
  min-width: 300px !important;
  padding: 10px !important;
  gap: 4px !important;
}
.nav-more-menu .pop-label {
  margin: 2px 8px 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #8A88A8;
}
.nav-more-menu a {
  display: grid !important;
  grid-template-columns: 44px 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  padding: 8px 10px !important;
  border-radius: 16px !important;
  white-space: normal;
}
.nav-more-menu a .ni {
  display: grid !important;
  place-items: center;
  grid-row: 1 / span 2;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #F3F0FF;
  font-size: 22px;
}
.nav-more-menu a[data-nav=trophies] .ni {
  background: #FFF4D6;
}
.nav-more-menu a[data-nav=stickers] .ni {
  background: #FFF0F6;
}
.nav-more-menu a[data-nav=ideas] .ni {
  background: #FFFBE0;
}
.nav-more-menu a[data-nav=leaderboard] .ni {
  background: #E8F7FF;
}
.nav-more-menu a[data-nav=world] .ni {
  background: #E9FBEF;
}
.nav-more-menu a .nl {
  font-weight: 700;
  font-size: 16px;
  align-self: end;
}
.nav-more-menu a .nd {
  display: block !important;
  font-size: 13px;
  font-weight: 500;
  color: #6A6889;
  align-self: start;
}
.nav-more-menu a:hover .ni {
  transform: scale(1.06);
}
.nav-more-menu a .ni {
  transition: transform .15s;
}
.theme-btn {
  font-size: 20px;
}
@media (max-width:480px) {
  .theme-btn {
    display: none;
  }
}
.genre-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 16px;
}
.genre-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 0;
  background: #fff;
  font: inherit;
  font-weight: 700;
  color: #23204A;
  cursor: pointer;
  box-shadow: 0 4px 0 rgba(35, 32, 74, .12), 0 6px 14px rgba(35, 32, 74, .06);
  white-space: nowrap;
  transition: transform .12s;
}
.genre-chip:hover {
  transform: translateY(-2px);
}
.genre-chip.on {
  background:
    linear-gradient(
      160deg,
      #FFD95E,
      #FFB929);
  box-shadow: 0 4px 0 #D99A00;
}
@media (max-width:640px) {
  .genre-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-inline: -20px;
    padding: 2px 20px 10px;
    scrollbar-width: none;
  }
  .genre-bar::-webkit-scrollbar {
    display: none;
  }
  .genre-chip {
    flex: 0 0 auto;
  }
}
.trophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
  gap: 16px;
}
.trophy {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 6px;
  padding: 18px 14px;
}
.trophy .tr-em {
  font-size: 46px;
  filter: grayscale(1) opacity(.5);
}
.trophy.won .tr-em {
  filter: none;
  animation: pop .5s cubic-bezier(.2, 1.6, .4, 1);
}
.trophy b {
  font-size: 18px;
}
.trophy small {
  color: #5B5F7A;
}
.tr-bar {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: #EEF0F6;
  overflow: hidden;
}
.tr-bar i {
  display: block;
  height: 100%;
  background:
    linear-gradient(
      90deg,
      #FFC93C,
      #FF8F3C);
  border-radius: 999px;
}
.trophy.won {
  background:
    linear-gradient(
      160deg,
      #FFF9E3,
      #FFFFFF) !important;
}
.trophy.won .tr-n {
  color: #178A47;
  font-weight: 700;
}
.trophy-toast {
  position: fixed;
  left: 50%;
  top: calc(env(safe-area-inset-top, 0px) + 18px);
  transform: translateX(-50%);
  z-index: 9000;
  display: flex;
  gap: 14px;
  align-items: center;
  background:
    linear-gradient(
      135deg,
      #FFF6D6,
      #FFFFFF);
  border-radius: 24px;
  padding: 14px 22px;
  box-shadow: 0 20px 50px rgba(35, 32, 74, .3), 0 0 0 3px #FFC93C;
  animation: trophyIn .5s cubic-bezier(.2, 1.5, .4, 1);
  max-width: min(92vw, 460px);
}
.trophy-toast.out {
  opacity: 0;
  transform: translate(-50%, -20px);
  transition: .5s;
}
.trophy-toast .tt-em {
  font-size: 46px;
}
.trophy-toast small {
  display: block;
  font-weight: 800;
  color: #B7791F;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 12px;
}
.trophy-toast b {
  display: block;
  font-size: 20px;
}
.trophy-toast span {
  font-size: 14px;
  color: #5B5F7A;
}
@keyframes trophyIn {
  from {
    opacity: 0;
    transform: translate(-50%, -30px) scale(.8);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0) scale(1);
  }
}
.story .lead {
  max-width: 70ch;
  font-size: 19px;
}
.timeline {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 31px;
  top: 10px;
  bottom: 10px;
  width: 6px;
  border-radius: 6px;
  background:
    linear-gradient(
      #FFC93C,
      #FF8FB1,
      #7C5CFF,
      #3FB4F7);
}
.tl-item {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 14px;
  align-items: start;
  margin: 0 0 18px;
  position: relative;
}
.tl-dot {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 32px;
  background: #fff;
  box-shadow: 0 0 0 5px #F7FAFF, 0 8px 20px rgba(35, 32, 74, .15);
  z-index: 1;
}
.tl-card {
  padding: 16px 20px !important;
}
.tl-card small {
  font-weight: 800;
  color: #6C4BD8;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 12px;
}
.tl-card h2 {
  margin: 2px 0 6px;
  font-size: 22px;
}
.tl-card p {
  margin: 0;
}
.tl-item.next .tl-card {
  border: 2px dashed rgba(108, 75, 216, .35) !important;
  background: transparent !important;
  box-shadow: none !important;
}
@media (min-width:900px) {
  .timeline::before {
    left: 50%;
    margin-left: -3px;
  }
  .tl-item {
    grid-template-columns: 1fr 68px 1fr;
  }
  .tl-item .tl-dot {
    grid-column: 2;
  }
  .tl-item:nth-child(odd) .tl-card {
    grid-column: 1;
    grid-row: 1;
    text-align: right;
  }
  .tl-item:nth-child(even) .tl-card {
    grid-column: 3;
    grid-row: 1;
  }
}
.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 18px;
  margin-top: 16px;
}
.app-grid details {
  margin-top: 10px;
}
.dl-bar {
  height: 14px;
  border-radius: 999px;
  background: #EEF0F6;
  overflow: hidden;
  margin-top: 12px;
}
.dl-bar i {
  display: block;
  height: 100%;
  width: 0;
  background:
    linear-gradient(
      90deg,
      #4CC35A,
      #3FB4F7);
  transition: width .2s;
}
.steps li {
  margin: 8px 0;
}
.off-banner {
  position: fixed;
  left: 50%;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 96px);
  transform: translateX(-50%);
  background: #23204A;
  color: #fff;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
  z-index: 8000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}
@media (min-width:901px) {
  .off-banner {
    bottom: 20px;
  }
}
html[data-theme=dark] body:not(.console) {
  --ink:#EEF0FF;
  --muted:#B4B8D6;
  background:
    radial-gradient(
      1000px 500px at 10% -10%,
      #26305E 0,
      transparent 60%),
    radial-gradient(
      800px 400px at 100% 0,
      #3A2558 0,
      transparent 55%),
    #0E1330;
  color: #EEF0FF;
}
html[data-theme=dark] body:not(.console) .card,
html[data-theme=dark] body:not(.console) .kh-chip,
html[data-theme=dark] body:not(.console) .genre-chip,
html[data-theme=dark] body:not(.console) .fbar button,
html[data-theme=dark] body:not(.console) .btn-ghost,
html[data-theme=dark] body:not(.console) .hdr-btn:not(.parents-btn),
html[data-theme=dark] body:not(.console) .year-chip,
html[data-theme=dark] body:not(.console) .set-btn,
html[data-theme=dark] body:not(.console) #chip,
html[data-theme=dark] body:not(.console) .hub-answer,
html[data-theme=dark] body:not(.console) .pill-opt,
html[data-theme=dark] body:not(.console) .sw-row,
html[data-theme=dark] body:not(.console) .preset {
  background: #1A2147 !important;
  color: #EEF0FF;
  box-shadow: 0 4px 0 rgba(0, 0, 0, .35), 0 10px 24px rgba(0, 0, 0, .25) !important;
}
html[data-theme=dark] body:not(.console) .card h1,
html[data-theme=dark] body:not(.console) .card h2,
html[data-theme=dark] body:not(.console) .card h3,
html[data-theme=dark] body:not(.console) h1,
html[data-theme=dark] body:not(.console) h2,
html[data-theme=dark] body:not(.console) h3,
html[data-theme=dark] body:not(.console) .page-title,
html[data-theme=dark] body:not(.console) .gcard h3,
html[data-theme=dark] body:not(.console) .kh-chip,
html[data-theme=dark] body:not(.console) .genre-chip,
html[data-theme=dark] body:not(.console) .topnav a,
html[data-theme=dark] body:not(.console) .nav-more-btn,
html[data-theme=dark] body:not(.console) .brand-name {
  color: #EEF0FF;
}
html[data-theme=dark] body:not(.console) p,
html[data-theme=dark] body:not(.console) .sub,
html[data-theme=dark] body:not(.console) small,
html[data-theme=dark] body:not(.console) .small,
html[data-theme=dark] body:not(.console) .gcard .body p,
html[data-theme=dark] body:not(.console) li {
  color: #C7CBE6;
}
html[data-theme=dark] body:not(.console) .site-header {
  background: rgba(14, 19, 48, .82);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .35);
}
html[data-theme=dark] body:not(.console) .topnav a.on {
  background: #FFC93C;
  color: #23204A;
}
html[data-theme=dark] body:not(.console) .hdr-pop,
html[data-theme=dark] body:not(.console) .nav-more-menu {
  background: #1A2147 !important;
  box-shadow: 0 22px 50px rgba(0, 0, 0, .5) !important;
}
html[data-theme=dark] body:not(.console) .hdr-pop a,
html[data-theme=dark] body:not(.console) .hdr-pop button {
  color: #EEF0FF;
}
html[data-theme=dark] body:not(.console) .hdr-pop a:hover,
html[data-theme=dark] body:not(.console) .hdr-pop .on {
  background: #262E5E;
}
html[data-theme=dark] body:not(.console) .nav-more-menu a .ni {
  background: #262E5E !important;
}
html[data-theme=dark] body:not(.console) .nav-more-menu a .nd {
  color: #AEB3D6;
}
html[data-theme=dark] body:not(.console) .hdr-pop .pop-hero {
  background:
    linear-gradient(
      135deg,
      #2C2466,
      #1C3256);
}
html[data-theme=dark] body:not(.console) .tabbar {
  background: rgba(20, 26, 60, .92) !important;
}
html[data-theme=dark] body:not(.console) .tabbar a {
  color: #C7CBE6;
}
html[data-theme=dark] body:not(.console) .site-footer {
  background: #0B0F28;
  color: #C7CBE6;
}
html[data-theme=dark] body:not(.console) .site-footer a,
html[data-theme=dark] body:not(.console) .foot-col summary {
  color: #EEF0FF;
}
html[data-theme=dark] body:not(.console) dialog.gate {
  background: #151B3D;
  color: #EEF0FF;
}
html[data-theme=dark] body:not(.console) .set2-foot {
  background: #151B3D;
}
html[data-theme=dark] body:not(.console) .set2-tabs button {
  color: #C7CBE6;
}
html[data-theme=dark] body:not(.console) .set2-tabs button.on {
  background: #2A2866;
  color: #fff;
}
html[data-theme=dark] body:not(.console) .set2-preview {
  background: #1F2752;
}
html[data-theme=dark] body:not(.console) .tag,
html[data-theme=dark] body:not(.console) .ybadge {
  filter: brightness(.92);
}
html[data-theme=dark] body:not(.console) .trophy.won {
  background:
    linear-gradient(
      160deg,
      #3A3214,
      #1A2147) !important;
}
html[data-theme=dark] body:not(.console) .tl-dot {
  background: #1A2147;
  box-shadow: 0 0 0 5px #0E1330, 0 8px 20px rgba(0, 0, 0, .4);
}
html[data-theme=dark] body:not(.console) .adventure {
  background:
    linear-gradient(
      135deg,
      #2B2650,
      #3A2346) !important;
}
html[data-theme=dark] body:not(.console) .adventure .adv-steps a {
  background: #1A2147;
}
html[data-theme=dark] body:not(.console) input,
html[data-theme=dark] body:not(.console) select,
html[data-theme=dark] body:not(.console) textarea {
  background: #0E1330;
  color: #EEF0FF;
  border-color: #3A4275;
}
.nav-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff !important;
  border-radius: 999px !important;
  padding: 8px 14px !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 0 rgba(35, 32, 74, .12), 0 6px 16px rgba(35, 32, 74, .08);
}
.nav-more-btn .chev {
  width: 12px;
  height: 12px;
  transition: transform .15s;
}
.nav-more-btn[aria-expanded=true] .chev {
  transform: rotate(180deg);
}
.nav-more .nav-more-menu {
  display: grid;
  grid-template-columns: repeat(2, minmax(130px, 1fr));
  gap: 8px;
  padding: 10px;
  min-width: 300px;
}
.nav-more .nav-more-menu[hidden] {
  display: none;
}
.nav-more-menu .pop-label {
  grid-column: 1/-1;
  margin: 2px 4px 2px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #7A7FA0;
}
.nav-more-menu a {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 14px !important;
  border-radius: 16px !important;
  background: #F7F5FF;
  font-weight: 700;
  white-space: normal !important;
  transition: transform .12s, background .12s;
}
.nav-more-menu a:hover,
.nav-more-menu a:focus-visible {
  background: #EEE9FF;
  transform: translateY(-2px);
}
.nav-more-menu a::before {
  font-size: 26px;
  line-height: 1;
}
.nav-more-menu a[data-nav=leaderboard]::before {
  content: "🏆";
}
.nav-more-menu a[data-nav=stickers]::before {
  content: "⭐";
}
.nav-more-menu a[data-nav=games]::before {
  content: "🎮";
}
.nav-more-menu a[data-nav=home]::before {
  content: "🏠";
}
.nav-more-menu a[data-nav=trophies]::before {
  content: "🏅";
}
html[data-theme=dark] {
  color-scheme: dark;
}
html[data-theme=dark] body:not(.console) {
  background:
    radial-gradient(
      1000px 500px at 10% -10%,
      #25306B 0,
      transparent 60%),
    #0F1430 !important;
  color: #E8ECFA;
  --line:rgba(255,255,255,.14);
  --muted:#B8C0E0;
}
html[data-theme=dark] body:not(.console) :is(.card, .gcard, .kh-chip, .hdr-btn:not(.parents-btn), .hdr-pop, .year-chip, .set-btn, #chip, .pill-opt, .sw-row, .preset, dialog.gate, .opt-chip, .hub-answer, .ph-card, .btn-ghost, .fbar button:not(.on), .adventure .adv-steps a, .kh-av, .set2-foot, .set2-preview, .nav-more-btn, .cms-card, .year-card, .tile, .stat) {
  background: #1B2350 !important;
  color: #E8ECFA !important;
  border-color: rgba(255, 255, 255, .12) !important;
}
html[data-theme=dark] body:not(.console) .gcard .body {
  background: #1B2350;
  color: #E8ECFA;
}
html[data-theme=dark] body:not(.console) :is(h1, h2, h3, h4, .page-title, .sec-head h2) {
  color: #F3F5FF;
}
html[data-theme=dark] body:not(.console) :is(.sub, .small, .lead, .eyebrow, .gcard p, .hub-list, .set2-preview small, .sw-row small, .preset small) {
  color: #B8C0E0 !important;
}
html[data-theme=dark] body:not(.console) .site-header {
  background: rgba(15, 20, 48, .86);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .35);
}
html[data-theme=dark] body:not(.console) .topnav a,
html[data-theme=dark] body:not(.console) .brand-name {
  color: #E8ECFA;
}
html[data-theme=dark] body:not(.console) :is(.site-footer, .foot-base) {
  background: transparent;
  color: #B8C0E0;
}
html[data-theme=dark] body:not(.console) .tabbar {
  background: rgba(20, 26, 58, .94) !important;
}
html[data-theme=dark] body:not(.console) .tabbar a {
  color: #C9D0F0;
}
html[data-theme=dark] body:not(.console) :is(.nav-more-menu a, .hdr-pop a, .hdr-pop button) {
  background: #232C60;
  color: #E8ECFA;
}
html[data-theme=dark] body:not(.console) .hdr-pop .pop-hero {
  background:
    linear-gradient(
      135deg,
      #2D2470,
      #1D3A6B);
}
html[data-theme=dark] body:not(.console) :is(.adventure, .portal-hero) {
  background:
    linear-gradient(
      135deg,
      #232C60,
      #2B2257) !important;
}
html[data-theme=dark] body:not(.console) :is(input, select, textarea) {
  background: #141A3C;
  color: #E8ECFA;
  border-color: rgba(255, 255, 255, .2);
}
@media (max-width:480px) {
  .theme-btn {
    display: none;
  }
}
@media (max-width:1499px) {
  .theme-btn {
    display: none;
  }
}
@media (max-width:1100px) {
  .parents-btn .pb-t,
  .parents-btn .pb-c {
    display: none;
  }
  .lang-btn .lang-code {
    display: none;
  }
}
.quick-pop {
  min-width: 260px;
  padding: 10px;
  gap: 6px;
}
.q-row {
  display: flex !important;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 12px !important;
  border-radius: 14px !important;
}
.q-row .em {
  font-size: 20px;
  width: 26px;
  text-align: center;
}
.q-row .q-t {
  flex: 1;
  text-align: left;
}
.q-sw {
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: #D7DAE6;
  position: relative;
  flex: 0 0 auto;
  transition: background .2s;
}
.q-sw::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
  transition: transform .2s;
}
.q-row.on .q-sw {
  background: #2FB463;
}
.q-row.on .q-sw::after {
  transform: translateX(18px);
}
.q-langs {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
}
.q-langs .em {
  font-size: 20px;
  width: 26px;
  text-align: center;
}
.q-langs button {
  flex: 1;
  min-height: 40px;
  border-radius: 12px !important;
  border: 0;
  background: #F3F5FB !important;
  font: inherit;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  text-align: center !important;
  padding: 6px 0 !important;
}
.q-langs button.on {
  background: #6C4BD8 !important;
  color: #fff !important;
}
.q-all {
  text-align: center !important;
  font-weight: 800 !important;
  background: #F7F5FF !important;
  margin-top: 2px;
}
.kh-chips {
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.kh-chips::-webkit-scrollbar {
  display: none;
}
.kh-chip {
  white-space: nowrap;
}
html[data-theme=dark] body:not(.console) :is(.q-langs button) {
  background: #232C60 !important;
  color: #E8ECFA;
}
html[data-theme=dark] body:not(.console) .q-sw {
  background: #3A4378;
}
.kid-hero > *,
.kh-main {
  min-width: 0;
}
.kh-chips {
  max-width: 100%;
  min-width: 0;
}
@media (max-width:480px) {
  .kh-chip {
    font-size: 14px;
    padding: 7px 12px;
    min-height: 44px;
  }
  .kh-chips {
    gap: 8px;
  }
}
html[data-theme=dark] body:not(.console) .kh-act,
html[data-theme=dark] body:not(.console) .kh-act * {
  color: #23204A !important;
}
html[data-theme=dark] body:not(.console) .kh-act small {
  opacity: .85;
}
html[data-theme=dark] body:not(.console) :is(.adv-count, .adventure .adv-count) {
  background: #232C60 !important;
  color: #E8ECFA !important;
}
.crit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 12px;
  margin-top: 10px;
}
.crit-cell {
  display: grid;
  justify-items: center;
  gap: 2px;
  padding: 12px 8px;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--soft);
  text-align: center;
}
.crit-cell .em {
  font-size: 44px;
  line-height: 1.1;
}
.crit-cell b {
  font-size: 15px;
}
.crit-cell small {
  font-size: 12px;
  color: var(--muted);
}
.crit-cell.rare {
  box-shadow: 0 0 0 3px #8EC9F5, var(--soft);
}
.crit-cell.legendary {
  box-shadow: 0 0 0 3px #FFC93C, 0 8px 24px rgba(255, 176, 60, .35);
  background:
    linear-gradient(
      160deg,
      #FFF8E1,
      #fff);
}
.crit-cell.locked .em {
  filter: brightness(0) opacity(.18);
}
.crit-cell.locked b {
  color: #9AA0B4;
}
html[data-theme=dark] body:not(.console) .crit-cell {
  background: #1B2350;
}
html[data-theme=dark] body:not(.console) .crit-cell.locked .em {
  filter: brightness(0) invert(1) opacity(.15);
}
.year-focus {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  background: #fff;
  border-radius: 22px;
  padding: 12px 16px;
  box-shadow: var(--soft);
  margin: 6px 0 16px;
}
.year-focus .em {
  font-size: 30px;
}
.year-focus p {
  margin: 0;
  flex: 1 1 220px;
  font-size: 17px;
}
html[data-theme=dark] body:not(.console) .year-focus {
  background: #1B2350;
}
.kh-chips {
  padding: 4px 4px 12px;
  margin: 0 -4px -6px;
}
@media (min-width:641px) {
  .kh-chips {
    overflow: visible;
    flex-wrap: wrap;
  }
}
.kid-hero {
  position: relative;
  isolation: isolate;
}
.kid-hero::before,
.kid-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}
.kid-hero::before {
  width: 260px;
  height: 260px;
  left: -80px;
  top: 10px;
  background:
    radial-gradient(
      circle,
      rgba(255, 201, 60, .28),
      transparent 70%);
}
.kid-hero::after {
  width: 320px;
  height: 320px;
  right: 8%;
  bottom: -60px;
  background:
    radial-gradient(
      circle,
      rgba(108, 75, 216, .16),
      transparent 70%);
}
.sec-head h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: max(24px, min(3.2vw, 34px));
}
.shelf > .gcard .body > p,
.shelf > .gcard .tags,
.shelf > .gcard .ybadge {
  display: none !important;
}
.shelf > .gcard .art {
  aspect-ratio: 16/11;
}
.shelf > .gcard .body {
  padding: 12px 14px 14px;
  gap: 10px;
}
.shelf > .gcard .body h3 {
  font-size: 20px;
  line-height: 1.2;
}
.shelf > .gcard .foot {
  display: flex !important;
  margin-top: auto;
}
.shelf > .gcard .foot .play,
.shelf > .gcard .foot .playbtn,
.shelf > .gcard .foot button,
.shelf > .gcard .foot a {
  flex: 1;
}
.shelf > .gcard .foot > *:last-child {
  width: 100%;
  min-height: 46px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--sun,#FFC93C);
  font-weight: 800;
  box-shadow: 0 5px 0 #D99A00;
}
.shelf > .gcard .foot > *:last-child::after {
  content: "Play";
  font-family: var(--display);
  font-size: 18px;
}
.genre-row,
.home-genres,
[role=group][aria-label*=genre i] {
  flex-wrap: nowrap !important;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 8px;
}
.games-grid .gcard .body > p {
  -webkit-line-clamp: 2;
}
.adventure .adv-steps a {
  text-align: left !important;
  justify-items: start !important;
  grid-template-columns: auto auto 1fr !important;
  align-items: center;
}
.adventure .adv-em {
  font-size: 34px;
}
.adventure .adv-t b {
  font-size: 17px;
}
.parents-zone .pz-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.pz-ic {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 30px;
  background: #EFE9FF;
}
.parents-zone h2 {
  margin: 0;
}
.parents-zone .pz-head p {
  margin: 2px 0 0;
  color: var(--muted);
}
.pz-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 16px;
}
.pz-card {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 20px;
  border-radius: 24px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--soft);
  transition: transform .15s;
}
.pz-card:hover {
  transform: translateY(-4px);
}
.pz-card .em {
  font-size: 34px;
}
.pz-card b {
  font-family: var(--display);
  font-size: 20px;
}
.pz-card small {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}
.pz-main {
  background:
    linear-gradient(
      140deg,
      #7C5CFF,
      #5B3FC0);
  color: #fff;
}
.pz-main small {
  color: #E4DCFF;
}
.pz-main b {
  font-size: 24px;
}
.pz-cta {
  margin-top: 6px;
  font-weight: 800;
  background: rgba(255, 255, 255, .18);
  border-radius: 999px;
  padding: 8px 14px;
  justify-self: start;
}
@media (max-width:860px) {
  .pz-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pz-main {
    grid-column: 1/-1;
  }
}
@media (max-width:520px) {
  .pz-grid {
    grid-template-columns: 1fr;
  }
}
html[data-theme=dark] body:not(.console) .pz-card:not(.pz-main) {
  background: #1B2350 !important;
  color: #E8ECFA;
}
html[data-theme=dark] body:not(.console) .pz-ic {
  background: #2B2257;
}
.genre-bar {
  flex-wrap: nowrap !important;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 4px 4px 10px;
  margin: 0 -4px;
}
.genre-bar::-webkit-scrollbar {
  display: none;
}
.genre-bar > * {
  flex: 0 0 auto;
}
body:not(.console) .site-header {
  border-top: 0;
  box-shadow: 0 8px 28px rgba(35, 32, 74, .08);
}
body:not(.console) .site-header::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: auto;
  left: 0;
  height: 5px;
  background:
    linear-gradient(
      90deg,
      #FF6F98,
      #FFB03C,
      #FFE14D,
      #5DD39E,
      #3FB4F7,
      #8B6BFF);
  z-index: 1;
}
body:not(.console) .site-header {
  position: -webkit-sticky;
  position: -webkit-sticky;
  position: -webkit-sticky;
  position: -webkit-sticky;
  position: -webkit-sticky;
  position: -webkit-sticky;
  position: -webkit-sticky;
  position: -webkit-sticky;
  position: sticky;
}
.site-header .brand {
  transition: transform .25s cubic-bezier(.3, 1.6, .5, 1);
}
.site-header .brand:hover {
  transform: rotate(-3deg) scale(1.04);
}
.topnav.fit {
  gap: 4px;
  align-items: stretch;
}
.topnav > a {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  min-width: 62px;
  padding: 6px 10px 5px !important;
  border-radius: 18px !important;
  font-weight: 800;
  font-size: 13px;
  line-height: 1.1;
  color: #4A4870;
  text-decoration: none;
  transition: background .15s, transform .15s;
  background: transparent;
  box-shadow: none !important;
}
.topnav > a .ni {
  font-size: 25px;
  line-height: 1;
  display: block;
  transition: transform .25s cubic-bezier(.3, 1.6, .5, 1);
}
.topnav > a .nl {
  display: block;
  white-space: nowrap;
}
.topnav > a .nd {
  display: none !important;
}
.topnav > a:hover {
  background: #F4F1FF;
}
.topnav > a:hover .ni {
  transform: translateY(-3px) scale(1.14) rotate(-8deg);
}
.topnav > a.on {
  background:
    linear-gradient(
      165deg,
      #FFE680,
      #FFC93C) !important;
  color: #23204A;
  box-shadow: 0 4px 0 #E3A800 !important;
}
.topnav > a.on .ni {
  animation: navHop .6s cubic-bezier(.3, 1.6, .5, 1);
}
@keyframes navHop {
  0% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-6px) scale(1.15);
  }
  100% {
    transform: none;
  }
}
.topnav > a:focus-visible {
  outline: 3px solid #6C4BD8;
  outline-offset: 2px;
}
.nav-more-btn {
  flex-direction: column;
  justify-content: center;
  gap: 1px !important;
  min-width: 62px;
  padding: 6px 10px !important;
  border-radius: 18px !important;
  box-shadow: none !important;
  background: transparent !important;
  font-size: 13px !important;
}
.nav-more-btn > span[aria-hidden]:first-child {
  font-size: 25px;
  line-height: 1;
}
.nav-more-btn .chev {
  display: none;
}
.nav-more-btn:hover,
.nav-more-btn[aria-expanded=true] {
  background: #F4F1FF !important;
}
.nav-more .nav-more-menu {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 4px !important;
  min-width: 280px !important;
  padding: 10px !important;
}
.nav-more-menu .pop-label {
  margin: 2px 8px 4px !important;
}
.nav-more-menu a {
  display: grid !important;
  grid-template-columns: 44px 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  align-items: center;
  padding: 10px 12px !important;
  border-radius: 14px !important;
  background: transparent !important;
  transform: none !important;
  text-align: left;
}
.nav-more-menu a::before {
  content: none !important;
  display: none !important;
}
.nav-more-menu a .ni {
  grid-row: 1 / 3;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 24px;
  background: #F4F1FF;
  margin: 0 !important;
}
.nav-more-menu a .nl {
  font-weight: 800;
  font-size: 16px;
  align-self: end;
}
.nav-more-menu a .nd {
  display: block !important;
  font-size: 13px;
  color: #6B6F8C;
  font-weight: 600;
  align-self: start;
}
.nav-more-menu a:hover {
  background: #F7F5FF !important;
}
.nav-more-menu a:hover .ni {
  background: #FFE680;
}
.tabbar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-weight: 800;
  font-size: 11px;
}
.tabbar .tab-em {
  font-size: 24px;
  line-height: 1;
  transition: transform .25s cubic-bezier(.3, 1.6, .5, 1);
}
.tabbar a.on .tab-em {
  transform: translateY(-2px) scale(1.12);
}
html[data-theme=dark] body:not(.console) .topnav > a {
  color: #DCE2FF;
}
html[data-theme=dark] body:not(.console) .topnav > a:hover,
html[data-theme=dark] body:not(.console) .nav-more-btn:hover {
  background: #232C60 !important;
}
html[data-theme=dark] body:not(.console) .topnav > a.on {
  color: #23204A;
}
html[data-theme=dark] body:not(.console) .nav-more-menu a .ni {
  background: #2B3470;
}
html[data-theme=dark] body:not(.console) .nav-more-menu a .nd {
  color: #B8C0E0;
}
@media (prefers-reduced-motion: reduce) {
  .topnav > a .ni,
  .tabbar .tab-em,
  .site-header .brand {
    transition: none;
    animation: none !important;
  }
}
@media (max-width:1499px) {
  .topnav > a,
  .nav-more-btn {
    min-width: 54px;
    padding: 5px 7px 4px !important;
    font-size: 12px !important;
  }
  .topnav > a .ni,
  .nav-more-btn > span[aria-hidden]:first-child {
    font-size: 22px;
  }
  .site-header .chip-player .name {
    max-width: 6.5em;
  }
  .site-header .parents-btn {
    padding: 8px 12px;
  }
}
@media (max-width:1300px) {
  .site-header .brand-name {
    font-size: 15px;
  }
  .topnav.fit {
    gap: 2px;
  }
}
dialog:not([open]) {
  display: none !important;
}
dialog.dlg-poly[open] {
  position: fixed;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  margin: 0;
  max-height: 90vh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
dialog.dlg-poly[open]:not(.set2) {
  display: block;
}
.dlg-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(20, 22, 42, .55);
  display: none;
}
html.dlg-is-open,
html.dlg-is-open body {
  overflow: hidden;
}
html.no-ar .stage:not(.theatre) {
  height: min(calc((100vw - 40px) * .625), 76vh, 720px);
}
@media (max-width:640px) {
  html.no-ar .stage:not(.theatre) {
    height: min(calc((100vw - 24px) * 1.25), 76vh);
  }
}
html.no-ar .gcard .art,
html.no-ar .shelf > .gcard .art {
  display: block;
}
html.no-ar .gcard .art svg {
  width: 100%;
  height: auto;
  display: block;
}
html.no-ar .jump-art {
  height: 75px;
}
html.no-ar .cert {
  min-height: 60vw;
}
.support-box {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px 22px;
  background:
    linear-gradient(
      140deg,
      #FFF6D8,
      #FFE9F1) !important;
  border-radius: 24px;
  margin-top: 18px;
}
.support-box .em {
  font-size: 40px;
}
.support-box > div {
  flex: 1 1 260px;
}
.support-box h2 {
  margin: 0 0 4px;
  font-size: 22px;
}
.support-box p {
  margin: 0;
  color: #5B5F7A;
}
html[data-theme=dark] body:not(.console) .support-box {
  background:
    linear-gradient(
      140deg,
      #3A2F18,
      #3A1F2E) !important;
}
html[data-theme=dark] body:not(.console) .support-box p {
  color: #E3D9C2;
}
.kh-chip.surprise {
  background:
    linear-gradient(
      165deg,
      #FFE680,
      #FFC93C) !important;
  font-weight: 800;
  position: relative;
}
.kh-chip.surprise::after {
  content: "";
  position: absolute;
  top: 4px;
  right: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #FF4F7B;
  box-shadow: 0 0 0 3px #fff;
  -webkit-animation: giftDot 1.6s ease-in-out infinite;
  animation: giftDot 1.6s ease-in-out infinite;
}
.gift-ov {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2000;
  display: -webkit-box;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(
      circle at 50% 40%,
      rgba(255, 236, 170, .55),
      rgba(35, 32, 74, .65));
  padding: 16px;
}
.gift-card {
  background: #fff;
  border-radius: 32px;
  padding: 26px 28px;
  width: 100%;
  max-width: 420px;
  text-align: center;
  box-shadow: 0 30px 70px rgba(35, 32, 74, .35);
  color: #23204A;
}
.gift {
  font-size: 110px;
  line-height: 1;
  display: inline-block;
}
.gift.shake {
  -webkit-animation: giftShake .5s ease-in-out infinite;
  animation: giftShake .5s ease-in-out infinite;
}
.gift-out .crit {
  font-size: 110px;
  line-height: 1;
  -webkit-animation: giftPop .7s cubic-bezier(.2, 1.6, .4, 1);
  animation: giftPop .7s cubic-bezier(.2, 1.6, .4, 1);
}
.gift-out .tier {
  display: inline-block;
  color: #fff;
  font-weight: 800;
  border-radius: 999px;
  padding: 4px 14px;
  margin: 6px 0;
  background: #2FB463;
}
.gift-out .tier.rare {
  background: #2F8FE0;
}
.gift-out .tier.legendary {
  background: #F08A00;
}
.gift-card .btn {
  margin-top: 8px;
}
@-webkit-keyframes giftShake {
  25% {
    -webkit-transform: rotate(-12deg) scale(1.05);
  }
  75% {
    -webkit-transform: rotate(12deg) scale(1.05);
  }
}
@keyframes giftShake {
  25% {
    transform: rotate(-12deg) scale(1.05);
  }
  75% {
    transform: rotate(12deg) scale(1.05);
  }
}
@-webkit-keyframes giftPop {
  0% {
    -webkit-transform: scale(.2) rotate(-30deg);
  }
  100% {
    -webkit-transform: none;
  }
}
@keyframes giftPop {
  0% {
    transform: scale(.2) rotate(-30deg);
  }
  100% {
    transform: none;
  }
}
@-webkit-keyframes giftDot {
  50% {
    -webkit-transform: scale(1.35);
  }
}
@keyframes giftDot {
  50% {
    transform: scale(1.35);
  }
}
@media (prefers-reduced-motion: reduce) {
  .gift,
  .gift-out .crit,
  .kh-chip.surprise::after {
    -webkit-animation: none !important;
    animation: none !important;
  }
}
.thx-card {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: 30px 26px;
}
.thx-ic {
  font-size: 64px;
  line-height: 1;
  -webkit-animation: thxBeat 1.2s ease-in-out infinite;
  animation: thxBeat 1.2s ease-in-out infinite;
}
.thx-tick {
  width: 92px;
  height: 92px;
  margin: 0 auto 8px;
}
.thx-tick svg {
  width: 100%;
  height: 100%;
}
.thx-tick circle {
  fill: #E9FBEF;
  stroke: #2FB463;
  stroke-width: 3;
  stroke-dasharray: 150;
  stroke-dashoffset: 150;
  -webkit-animation: thxDraw .7s ease-out forwards;
  animation: thxDraw .7s ease-out forwards;
}
.thx-tick path {
  fill: none;
  stroke: #2FB463;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  -webkit-animation: thxDraw .45s .6s ease-out forwards;
  animation: thxDraw .45s .6s ease-out forwards;
}
.thx-card .eyebrow {
  color: #1E8E4E;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 13px;
  margin: 0;
}
.thx-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 18px 0;
  text-align: center;
}
.thx-list div {
  background: #F7F5FF;
  border-radius: 16px;
  padding: 10px;
}
.thx-list dt {
  font-size: 12px;
  color: #6B6F8C;
  font-weight: 700;
  text-transform: uppercase;
}
.thx-list dd {
  margin: 2px 0 0;
  font-weight: 800;
}
.thx-mail {
  background: #FFFBEA;
  border-radius: 14px;
  padding: 10px 14px;
}
.thx-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 14px;
}
@media (max-width:520px) {
  .thx-list {
    grid-template-columns: 1fr;
  }
}
@-webkit-keyframes thxDraw {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes thxDraw {
  to {
    stroke-dashoffset: 0;
  }
}
@-webkit-keyframes thxBeat {
  50% {
    -webkit-transform: scale(1.12);
  }
}
@keyframes thxBeat {
  50% {
    transform: scale(1.12);
  }
}
html[data-theme=dark] body:not(.console) .thx-list div {
  background: #232C60;
}
html[data-theme=dark] body:not(.console) .thx-mail {
  background: #3A2F18;
}
@media (prefers-reduced-motion: reduce) {
  .thx-ic,
  .thx-tick circle,
  .thx-tick path {
    -webkit-animation: none !important;
    animation: none !important;
    stroke-dashoffset: 0;
  }
}
