@font-face {
  font-family: Hatchling;
  src: url("assets/hatchling-v2/nunito-900.woff2") format("woff2");
  font-weight: 900;
  font-display: swap;
}
body.hatchling-v2 {
  --navy: #16455d;
  --ivory: #fffcf1;
  --gold: #dbb65e;
  --sky: #e7f4fb;
  --leaf: #789d57;
  color: var(--navy);
  background: #e4f2fa;
  font-family: "Trebuchet MS", system-ui, sans-serif;
}
.hatchling-v2 button {
  -webkit-tap-highlight-color: transparent;
}
.hatchling-v2 button:focus-visible {
  outline: 3px solid #137c9e;
  outline-offset: 4px;
}
.hatchling-v2.collections-active {
  background: #cfe8f7 url("assets/hatchling-v2/citadel-panorama-1600.webp")
    center top/cover fixed;
}
.hatchling-v2 #collections {
  width: min(1240px, 100%);
  min-height: 100dvh;
  padding: 16px 34px 26px;
  position: relative;
}
.hatchling-v2 #collections::before {
  position: fixed;
  inset: 0;
  background: linear-gradient(
    180deg,
    #eaf7ff12 0%,
    #eaf5fb33 45%,
    #fff9e7bb 100%
  );
  backdrop-filter: none;
  pointer-events: none;
}
.hatchling-v2 #collections .collection-header {
  height: 66px;
  justify-content: space-between;
  margin: 0;
  gap: 12px;
  z-index: 1;
}
.hatchling-v2 #collections .collection-header > img {
  width: 175px;
  height: 62px;
  max-height: none;
  object-fit: contain;
  filter: none;
}
.hatchling-v2 #collections .collection-parent,
.hub-home {
  position: static;
  min-height: 48px;
  padding: 10px 20px;
  border: 1px solid #d3b56f;
  border-radius: 20px;
  background: #fffdf4ef;
  color: #254c60;
  font-weight: 700;
  font-size: 13px;
  font-family: inherit;
  text-shadow: none;
  box-shadow: 0 3px 8px #13466012;
  cursor: pointer;
}
.hub-home {
  order: -1;
  background: #fbffffbb;
  border-color: #d1e3e8;
  font-size: 11px;
  letter-spacing: 0.7px;
}
.hatchling-v2 #collections .collection-heading {
  position: relative;
  padding: 0 0 18px;
  text-align: center;
  z-index: 1;
  text-shadow: none;
  color: #234d60;
}
.hub-brand {
  display: block;
  width: 370px;
  height: 271px;
  object-fit: contain;
  margin: -2px auto -8px;
  filter: drop-shadow(0 7px 12px #425c6a20);
}
.hatchling-v2 #collections .collection-heading h1 {
  font-family: Hatchling, "Trebuchet MS", sans-serif;
  font-weight: 900;
  font-size: clamp(25px, 3vw, 39px);
  line-height: 1.15;
  color: #244e66;
  letter-spacing: -0.8px;
  margin: 4px 0 7px;
  text-shadow: 0 1px #fff;
}
.hatchling-v2 #collections .collection-heading p {
  font-size: 15px;
  font-weight: 500;
  color: #426678;
  margin: 0;
}
.hatchling-v2 #collections > .profile-switch {
  position: relative;
  min-height: 44px;
  margin: 0 0 18px;
  padding: 5px 14px 5px 6px;
  border: 1px solid #d7c68d;
  border-radius: 22px;
  background: #fffdf2e8;
  color: #3b655c;
  box-shadow: 0 4px 12px #37626b0d;
  font-size: 12px;
  z-index: 1;
}
.hatchling-v2 #collections .collection-books {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
  position: relative;
  z-index: 1;
}
.hatchling-v2 #collections .hub-card,
#little-sculptor-entry.hub-card {
  display: block;
  width: auto;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  text-align: left;
  background: #fffdf6;
  border: 2px solid #fff9e4;
  border-radius: 26px;
  overflow: hidden;
  box-shadow:
    0 8px 16px #2a61752b,
    0 0 0 1px #cbb77455;
  color: #274c5e;
  font-family: inherit;
  cursor: pointer;
  transition:
    transform 0.16s,
    box-shadow 0.16s;
}
.hatchling-v2 #collections .hub-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 25px #315b6e30;
}
.hatchling-v2 #collections .hub-card:active {
  transform: scale(0.975);
}
.hub-card-image {
  display: block;
  aspect-ratio: 4/3;
  background: #d8edf5;
  overflow: hidden;
}
.hub-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s;
}
.hub-card:hover img {
  transform: scale(1.025);
}
.hub-card-copy {
  display: flex;
  position: relative;
  flex-direction: column;
  gap: 6px;
  padding: 17px 16px 20px;
  min-height: 116px;
  background: #fffdf5;
}
.hub-card-copy strong {
  font:
    900 20px/1.2 Hatchling,
    "Trebuchet MS",
    sans-serif;
  padding-right: 26px;
  display: block;
}
.hub-card-copy small {
  font-size: 12px;
  line-height: 1.45;
  color: #698277;
  display: block;
  font-weight: 400;
}
.hub-play {
  position: absolute;
  right: 12px;
  top: 15px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid #dccb89;
  border-radius: 50%;
  background: #f9efcd;
  color: #668156;
  font-size: 10px;
}
.hub-coloring .hub-card-copy {
  border-top: 4px solid #e7a567;
}
.hub-dino .hub-card-copy {
  border-top: 4px solid #95b77a;
}
.hub-puzzle .hub-card-copy {
  border-top: 4px solid #76b7d6;
}
.hub-sculptor .hub-card-copy {
  border-top: 4px solid #b2a3ce;
}
.hub-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin: 25px auto 14px;
}
.hub-footer button {
  min-height: 48px;
  border: 1px solid #c6d7cf;
  background: #fffdf3e8;
  border-radius: 22px;
  padding: 10px 22px;
  color: #356c65;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}
.hub-footer button > span {
  margin-right: 7px;
  color: #b18a46;
}
.hub-device-note {
  color: #5e7d7b;
  font-size: 11px;
}
.hatchling-v2 .collection-replay {
  position: relative;
  color: #527788;
  font-size: 11px;
  min-height: 40px;
  padding: 5px 12px;
  background: transparent;
  border: 0;
  text-decoration: none;
  text-shadow: none;
  opacity: 0.9;
}
.hatchling-v2 #resume-drawing {
  margin: 0 auto 14px;
  border: 1px solid #ddc779;
  border-radius: 18px;
  background: #fffaf0;
  color: #366658;
  min-height: 48px;
  padding: 10px 20px;
  position: relative;
  z-index: 1;
}
.hatchling-v2 #game {
  background: #f2f7f3 url("assets/hatchling-v2/art-workshop-960.webp")
    center/cover fixed;
}
.hatchling-v2[data-hatchling-collection="dino"] #game {
  background-image: url("assets/hatchling-v2/dino-valley-960.webp");
}
.hatchling-v2 #game::before {
  background: #fafcf4c7;
  backdrop-filter: blur(2px);
}
.hatchling-v2 .app-header {
  background: #fffcf3e8;
  border-bottom: 1px solid #dccb91;
  box-shadow: 0 3px 16px #29526713;
}
.hatchling-v2 .app-header .logo,
.hatchling-v2 .app-header .header-logo {
  background: none;
}
.hatchling-v2 .app-header img {
  max-height: 80px;
  object-fit: contain;
}
.hatchling-v2 .catalog-title h1 {
  font-family: Hatchling, "Trebuchet MS", sans-serif;
  color: #244f67;
}
.hatchling-v2 .art-card {
  border-radius: 20px;
  border-color: #dfd2a6;
  background: #fffdf5;
  box-shadow: 0 5px 14px #29526715;
}
.hatchling-v2 .card-caption {
  background: #fffdf5;
  color: #325b64;
}
.hatchling-v2 .card-name {
  font-family: Hatchling, "Trebuchet MS", sans-serif;
}
.hatchling-v2 #account.family-palace,
.hatchling-v2 .family-dialog {
  padding: 24px 28px 26px;
  background: #fffdf3;
  border: 1px solid #d5bf81;
  border-radius: 26px;
  box-shadow: 0 18px 80px #244e6d44;
  color: #345c64;
  max-height: calc(100dvh - 24px);
  overflow: auto;
}
.hatchling-v2 .family-heading h2 {
  font-family: Hatchling, "Trebuchet MS", sans-serif;
  text-shadow: none;
}
.parent-brand {
  display: block;
  width: 230px;
  height: 78px;
  object-fit: contain;
  margin: 0 auto 10px;
}
.hatchling-v2 #account.family-palace .family-close,
.hatchling-v2 .family-dialog .family-close {
  top: 16px;
  right: 16px;
  background: #e6f3f6;
  color: #28576a;
  border: 1px solid #bfdae1;
  box-shadow: none;
  min-width: 48px;
  min-height: 48px;
}
.hatchling-v2 #account.family-palace button:not(.family-close),
.hatchling-v2 #parent-gate button,
.hatchling-v2 #parent-confirm button {
  background: #edf4e6;
  border: 1px solid #c6d4b6;
  border-radius: 14px;
  color: #42694b;
  text-shadow: none;
  min-height: 48px;
}
.hatchling-v2 #account .parent-tabs [aria-selected="true"] {
  background: #2b6d83;
  color: #fff;
  border-color: #2b6d83;
}
.hatchling-v2 #account .parent-views {
  background: #fffdf6;
  border: 1px solid #e3dfcd;
  border-radius: 16px;
}
.hatchling-v2 #account .parent-tabs {
  background: #f3f2e7;
}
.hatchling-v2 #parent-gate,
.hatchling-v2 #parent-confirm {
  background: #fffdf3;
  border: 1px solid #d8c58d;
  border-radius: 24px;
  color: #345867;
}
.hatchling-v2 #pexefy {
  background: #e9f2e5 url("assets/hatchling-v2/memory-garden-1600.webp")
    center/cover;
}
.hatchling-v2 #pexefy .pxf-header {
  background: #fffdf2eb;
  border-bottom: 1px solid #d4bf83;
  color: #254f65;
}
.hatchling-v2 #pexefy .pxf-brand {
  background: none;
  color: #285365;
}
.hatchling-v2 #pexefy .pxf-brand h1 {
  font-family: Hatchling, "Trebuchet MS", sans-serif;
  letter-spacing: 1px;
  text-shadow: none;
}
.hatchling-v2 #pexefy button:not(.pxf-piece),
.hatchling-v2 #pexefy .pxf-upload {
  background: #fffdf3;
  border: 1px solid #cabc83;
  border-radius: 14px;
  color: #3a685e;
  text-shadow: none;
  box-shadow: 0 3px 8px #274a4210;
}
.hatchling-v2 #pexefy .pxf-options,
.hatchling-v2 #pexefy .pxf-source-preview,
.hatchling-v2 #pexefy .pxf-play-toolbar,
.hatchling-v2 #pexefy .pxf-tray,
.hatchling-v2 #pexefy .pxf-source-art {
  background: #fffdf3ef;
  border: 1px solid #d1c48e;
  border-image: none;
  border-radius: 20px;
  color: #3d665e;
}
.hatchling-v2 #pexefy .pxf-board-scroll {
  background: #f6f4e8e8;
  border: 8px solid #e0c88c;
  border-image: none;
  border-radius: 20px;
}
.hatchling-v2 #pexefy .pxf-board {
  background: #f8f7ec;
}
.hatchling-v2 #pexefy .pxf-hint,
.hatchling-v2 #pexefy .pxf-save {
  color: #365f68;
  background: #f8fcf2d9;
}
.hatchling-v2 .hatchling-music {
  background: #fffdf5;
  color: #386f78;
  border: 1px solid #d2ba72;
  box-shadow: 0 3px 12px #29526713;
}
#hub-library {
  width: min(600px, calc(100vw - 24px));
  padding: 28px;
  border: 1px solid #d4be83;
  border-radius: 28px;
  background: #fffdf4;
  color: #31586a;
  box-shadow: 0 18px 80px #234e6333;
  text-align: center;
}
#hub-library::backdrop {
  background: #173d5466;
  backdrop-filter: blur(4px);
}
.hub-library-mascot {
  width: 115px;
  height: 150px;
  object-fit: contain;
}
.hub-library-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 48px;
  height: 48px;
  background: #edf6f7;
  border: 1px solid #cfdfdf;
  border-radius: 50%;
  font-size: 24px;
  color: #31586a;
  cursor: pointer;
}
.hub-library-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.hub-library-actions button {
  min-height: 56px;
  padding: 15px 22px;
  border: 1px solid #cec18f;
  border-radius: 18px;
  background: #f4f4e8;
  color: #3c6c66;
  font-weight: 700;
  cursor: pointer;
}
@media (min-width: 1600px) {
  .hatchling-v2 #collections {
    width: 1400px;
  }
  .hub-brand {
    width: 420px;
    height: 307px;
  }
  .hub-card-copy strong {
    font-size: 23px;
  }
  .hub-card-copy {
    min-height: 122px;
  }
}
@media (max-width: 900px) {
  .hatchling-v2 #collections {
    padding: 12px 22px 24px;
  }
  .hatchling-v2 #collections .collection-books {
    gap: 14px;
  }
  .hub-brand {
    width: 330px;
    height: 241px;
  }
  .hub-card-copy {
    padding: 13px 11px 16px;
    min-height: 107px;
  }
  .hub-card-copy strong {
    font-size: 17px;
    padding-right: 21px;
  }
  .hub-card-copy small {
    font-size: 11px;
  }
  .hub-play {
    width: 23px;
    height: 23px;
    right: 8px;
    top: 12px;
  }
  .hub-device-note {
    width: 100%;
    text-align: center;
  }
}
@media (max-width: 650px) {
  .hatchling-v2.collections-active {
    background-image: url("assets/hatchling-v2/citadel-panorama-960.webp");
    background-position: 62% top;
  }
  .hatchling-v2 #collections {
    padding: 10px 16px 20px;
  }
  .hatchling-v2 #collections .collection-header {
    height: 54px;
    gap: 7px;
  }
  .hatchling-v2 #collections .collection-header > img {
    width: 130px;
    height: 48px;
    flex-shrink: 0;
  }
  .hub-home {
    display: none;
  }
  .hatchling-v2 #collections .collection-parent {
    margin-left: auto;
    min-height: 46px;
    padding: 9px 14px;
    font-size: 12px;
    white-space: nowrap;
  }
  .hub-brand {
    width: 285px;
    height: 208px;
    margin: 0 auto -4px;
  }
  .hatchling-v2 #collections .collection-heading {
    padding-bottom: 15px;
  }
  .hatchling-v2 #collections .collection-heading h1 {
    font-size: 26px;
    letter-spacing: -0.5px;
  }
  .hatchling-v2 #collections .collection-heading p {
    font-size: 12px;
  }
  .hatchling-v2 #collections > .profile-switch {
    margin-bottom: 14px;
    min-height: 44px;
  }
  .hatchling-v2 #collections .collection-books {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 12px;
  }
  .hatchling-v2 #collections .hub-card,
  #little-sculptor-entry.hub-card {
    border-radius: 21px;
    border-width: 2px;
  }
  .hub-card-copy {
    min-height: 100px;
    padding: 12px 11px 14px;
  }
  .hub-card-copy strong {
    font-size: 16px;
    line-height: 1.16;
    padding-right: 16px;
  }
  .hub-card-copy small {
    font-size: 10px;
    line-height: 1.4;
    padding-right: 3px;
  }
  .hub-play {
    width: 21px;
    height: 21px;
    right: 7px;
    top: 11px;
    font-size: 8px;
  }
  .hub-footer {
    margin: 18px auto 8px;
    gap: 10px;
  }
  .hub-device-note {
    font-size: 10px;
    line-height: 1.4;
  }
  .hatchling-v2 #collections .collection-replay {
    font-size: 10px;
  }
  .hatchling-v2 #account.family-palace,
  .hatchling-v2 .family-dialog {
    padding: 24px 14px 18px;
    border-radius: 22px;
  }
  .parent-brand {
    width: 190px;
    height: 64px;
  }
  .hatchling-v2 #account .parent-tabs button {
    font-size: 12px;
  }
  .hatchling-v2 #pexefy .pxf-brand h1 {
    font-size: 22px;
  }
  .hatchling-v2 #game {
    background-size: auto 100dvh;
  }
  .hatchling-v2 .app-header img {
    max-height: 65px;
  }
}
@media (max-width: 350px) {
  .hub-brand {
    width: 245px;
    height: 179px;
  }
  .hatchling-v2 #collections {
    padding-inline: 12px;
  }
  .hatchling-v2 #collections .collection-heading h1 {
    font-size: 23px;
  }
  .hub-card-copy strong {
    font-size: 14px;
  }
  .hub-card-copy {
    min-height: 99px;
  }
  .hub-card-copy small {
    font-size: 9px;
  }
  .hub-play {
    display: none;
  }
}
@media (max-height: 540px) and (orientation: landscape) {
  .hatchling-v2 #collections .collection-heading {
    display: grid;
    grid-template-columns: 210px 1fr;
    align-items: center;
    text-align: left;
    column-gap: 24px;
    padding-bottom: 12px;
  }
  .hub-brand {
    width: 210px;
    height: 154px;
    grid-row: 1/3;
    margin: -15px 0 -10px;
  }
  .hatchling-v2 #collections .collection-heading h1 {
    font-size: 28px;
    margin-bottom: 0;
  }
  .hatchling-v2 #collections .collection-heading p {
    margin: 0;
  }
  .hatchling-v2 #collections > .profile-switch {
    position: absolute;
    right: 24px;
    top: 125px;
  }
  .hub-card-image {
    aspect-ratio: 1.7;
  }
  .hub-card-copy {
    min-height: 90px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hatchling-v2 button,
  .hub-card img {
    transition: none !important;
  }
}

/* Reset the legacy parchment shell; art stays behind real controls. */
.hatchling-v2 #collections {
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  margin: 0 auto;
  font-family: inherit;
}
.hatchling-v2 #collections::before {
  display: block;
}
.hatchling-v2 #collections:not(.hub-ready) {
  visibility: hidden;
}
#hub-loading {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-content: center;
  background: #e9f5fb;
  color: #31586a;
  font: 900 22px system-ui;
  text-align: center;
}
#hub-loading img {
  width: 210px;
  height: 100px;
  object-fit: contain;
  margin: 0 auto 16px;
}
.hatchling-v2 #little-sculptor-entry.hub-card strong {
  font-size: inherit;
  color: inherit;
}
.hatchling-v2 #little-sculptor-entry.hub-card .hub-card-copy strong {
  font-size: 20px;
}
.hatchling-v2 #little-sculptor-entry.hub-card small {
  letter-spacing: normal;
  margin: 0;
  font-weight: 400;
  color: #698277;
}
@media (max-width: 900px) {
  .hatchling-v2 #little-sculptor-entry.hub-card .hub-card-copy strong {
    font-size: 17px;
  }
}
@media (max-width: 650px) {
  .hatchling-v2 #little-sculptor-entry.hub-card .hub-card-copy strong {
    font-size: 16px;
  }
}
@media (max-width: 350px) {
  .hatchling-v2 #little-sculptor-entry.hub-card .hub-card-copy strong {
    font-size: 14px;
  }
}
.hatchling-v2 #collections .collection-heading p {
  margin: 0 auto;
}
.hatchling-v2 #collections > .profile-switch {
  font:
    700 12px "Trebuchet MS",
    system-ui,
    sans-serif;
}
.hatchling-v2 #collections .hub-card strong {
  letter-spacing: normal;
  color: #274c5e;
}

.hatchling-v2 #editor-loading {
  background: #edf7f3f7;
  color: #315c6b;
  font:
    700 18px "Trebuchet MS",
    sans-serif;
}
.hatchling-v2 #editor-loading::before {
  content: "";
  width: 110px;
  height: 150px;
  background: url("assets/hatchling-v2/sprout-curious.webp") center/contain
    no-repeat;
}
.hatchling-v2 #editor-loading .loading-crystal {
  display: none;
}
/* Catalogue uses the same quiet materials, with normal document flow. */
.hatchling-v2 #game.game {
  width: 100%;
  height: auto;
  min-height: 100dvh;
  aspect-ratio: auto;
  padding: 12px max(16px, calc((100vw - 1250px) / 2)) 32px;
  background: #edf5ed url("assets/hatchling-v2/art-workshop-960.webp")
    center/cover fixed;
  overflow: visible;
}
.hatchling-v2[data-hatchling-collection="dino"] #game.game {
  background-image: url("assets/hatchling-v2/dino-valley-960.webp");
}
.hatchling-v2 #game.game::before {
  display: none;
}
.hatchling-v2 #game .app-header {
  position: relative;
  inset: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  height: 76px;
  padding: 5px 12px;
  margin-bottom: 16px;
  border: 1px solid #d7cb9a;
  border-radius: 22px;
  background: #fffdf3ed;
}
.hatchling-v2 #game .mobile-brand {
  display: block;
  position: static;
  width: 220px;
  height: 65px;
  margin: 0 auto;
  background: url("assets/hatchling-v2/hatchling-horizontal.webp")
    center/contain no-repeat;
  filter: none;
  flex: 0 1 220px;
}
.hatchling-v2 #game .back-collections {
  display: block;
  position: static;
  flex-shrink: 0;
  padding: 10px 14px;
  min-height: 46px;
  margin: 0;
  transform: none;
  border: 1px solid #cfdbc9;
  border-radius: 16px;
  background: #eef5e9;
  color: #3e6d5d;
  font:
    700 13px "Trebuchet MS",
    sans-serif;
}
.hatchling-v2 #game .parents.nav-sprite {
  position: static;
  inset: auto;
  transform: none;
  width: 50px;
  height: 48px;
  min-height: 48px;
  border: 1px solid #c8dfe1;
  border-radius: 16px;
  background: #edf5f7;
  box-shadow: none;
  color: #356478;
}
.hatchling-v2 #game .parents .nav-label {
  display: none;
}
.hatchling-v2 #game .parents .ui-icon {
  width: 24px;
  height: 24px;
}
.hatchling-v2 #game .sculptor-quick {
  border: 1px solid #c5d6bf !important;
  border-radius: 16px;
  padding: 8px 12px !important;
  gap: 5px;
  font-family: inherit;
  max-width: 130px;
}
.hatchling-v2 #game .sculptor-quick > span:last-child {
  display: none;
}
.hatchling-v2 #game .sketchbook {
  display: flex;
  flex-direction: column;
  position: relative;
  inset: auto;
  padding: 20px 24px 16px;
  border: 1px solid #d9cda0;
  border-radius: 26px;
  background: #fffdf5f2;
  box-shadow: 0 8px 30px #264f591c;
  width: 100%;
  height: auto;
  min-height: 0;
}
.hatchling-v2 #game .catalog-toolbar {
  display: flex;
  position: static;
  flex: 0 0 auto;
  width: 100%;
  height: auto;
  min-height: 50px;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 0 16px;
}
.hatchling-v2 #game .categories {
  position: static;
  inset: auto;
  display: flex;
  flex: 1;
  height: auto;
  min-height: 48px;
  gap: 5px;
  align-items: stretch;
  padding: 4px;
  background: #eef3e7;
  border: 1px solid #dce2ce;
  border-radius: 18px;
  transform: none;
  box-shadow: none;
}
.hatchling-v2 #game .categories .nav-sprite {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 7px;
  position: static;
  width: auto;
  min-width: 0;
  height: 46px;
  min-height: 46px;
  padding: 7px 10px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: #436c67;
  font:
    700 13px "Trebuchet MS",
    sans-serif;
  box-shadow: none;
  filter: none;
  text-shadow: none;
  transform: none;
}
.hatchling-v2 #game .categories .nav-sprite.active {
  background: #3d8190;
  color: #fff;
}
.hatchling-v2 #game .categories .ui-icon {
  width: 21px;
  height: 21px;
}
.hatchling-v2 #game #my-colors {
  display: flex;
  align-items: center;
  justify-content: center;
  position: static;
  inset: auto;
  flex: 0 0 auto;
  transform: none;
  width: auto;
  height: 48px;
  min-height: 48px;
  padding: 8px 14px;
  gap: 7px;
  border: 1px solid #d9cb98;
  border-radius: 16px;
  background: #fbf4df;
  color: #607247;
  font:
    700 12px "Trebuchet MS",
    sans-serif;
  box-shadow: none;
}
.hatchling-v2 #game #my-colors .progress-title {
  display: inline;
}
.hatchling-v2 #game #my-colors .ui-icon {
  width: 21px;
  height: 21px;
}
.hatchling-v2 #game .collection-track {
  display: none;
}
.hatchling-v2 #game #collection-count {
  width: 23px;
  height: 23px;
  background: #eee1b6;
  color: #647048;
}
.hatchling-v2 #game .catalog {
  position: static;
  inset: auto;
  display: block;
  width: 100%;
  height: auto;
  padding: 0;
  background: none;
  border: 0;
}
.hatchling-v2 #game .catalog > .profile-switch {
  position: static;
  float: right;
  width: auto;
  max-width: 45%;
  height: 44px;
  min-height: 44px;
  margin: 0 0 12px 12px;
  padding: 4px 10px 4px 5px;
  background: #f2f6e9;
  border: 1px solid #d8dfc8;
  border-radius: 20px;
  font:
    700 12px "Trebuchet MS",
    sans-serif;
  box-shadow: none;
  color: #517365;
}
.hatchling-v2 #game .catalog-title {
  clear: none;
  display: flex;
  align-items: center;
  position: static;
  min-height: 48px;
  height: auto;
  margin: 0 0 12px !important;
  padding: 0;
  color: #315a6b;
}
.hatchling-v2 #game .catalog-title h2 {
  font:
    900 28px/1.2 Hatchling,
    "Trebuchet MS",
    sans-serif;
  color: #315a6b;
}
.hatchling-v2 #game .catalog-subtitle {
  font:
    13px/1.5 "Trebuchet MS",
    sans-serif;
  color: #6a827b;
  margin: 5px 0;
}
.hatchling-v2 #game .difficulty-choices {
  clear: both;
  display: flex;
  flex-wrap: wrap;
  height: auto;
  gap: 8px;
  margin: 0 0 14px;
}
.hatchling-v2 #game .difficulty-choices button {
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid #d5dcbc;
  border-radius: 16px;
  background: #f4f5e9;
  color: #52755f;
  font:
    700 12px "Trebuchet MS",
    sans-serif;
}
.hatchling-v2 #game .difficulty-choices button[aria-pressed="true"] {
  background: #3d8190;
  color: #fff;
  border-color: #3d8190;
}
.hatchling-v2 #game .pxf-gallery-entry {
  position: static;
  display: block;
  min-height: 44px;
  margin: 0 0 16px auto;
  padding: 9px 17px;
  border: 1px solid #c7dce0;
  border-radius: 15px;
  background: #edf7f8;
  color: #3b7480;
  box-shadow: none;
  text-shadow: none;
  font:
    700 12px "Trebuchet MS",
    sans-serif;
}
.hatchling-v2 #game .grid,
.hatchling-v2 #game .catalog.filtered .grid {
  position: static;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: none;
  grid-auto-rows: auto;
  gap: 18px;
}
.hatchling-v2 #game .art-card,
.hatchling-v2 #game .catalog:not(.filtered) .art-card {
  height: auto;
  min-height: 0;
  align-self: stretch;
  padding: 10px;
  background: #fffdf7;
  border: 1px solid #d9d4b8;
  border-radius: 20px;
  box-shadow: 0 5px 13px #2a5c6410;
}
.hatchling-v2 #game .card-art {
  position: relative;
  width: 100%;
  aspect-ratio: 1.5;
  height: auto;
  min-height: 0;
  flex: none;
  background: white;
  border-radius: 12px;
  overflow: hidden;
}
.hatchling-v2 #game .card-art[data-preview-format="portrait"] {
  aspect-ratio: 1;
}
.hatchling-v2 #game .card-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
}
.hatchling-v2 #game .card-caption {
  flex-basis: auto;
  min-height: 66px;
  padding: 10px 0 0;
  gap: 6px;
  background: none;
  color: #345967;
}
.hatchling-v2 #game .card-name {
  font:
    900 19px/1.2 Hatchling,
    "Trebuchet MS",
    sans-serif;
}
.hatchling-v2 #game .card-action {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  height: auto;
  margin-top: 4px;
  padding: 8px;
  border: 1px solid #c3dcd7;
  border-radius: 13px;
  background: #e9f4ed;
  color: #387063;
  font:
    700 13px "Trebuchet MS",
    sans-serif;
  box-shadow: none;
  mix-blend-mode: normal;
  text-shadow: none;
}
.hatchling-v2 #game .pager {
  position: static;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 auto;
  width: 100%;
  height: 50px;
  margin: 18px 0 0;
  gap: 20px;
  color: #4b726b;
  font:
    700 13px "Trebuchet MS",
    sans-serif;
}
.hatchling-v2 #game .pager button,
.hatchling-v2 #game .pager #next {
  position: static;
  width: 70px;
  height: 48px;
  border: 1px solid #cbd9c7;
  border-radius: 15px;
  background: #edf3e6;
  color: #56795c;
  box-shadow: none;
}
@media (max-width: 650px) {
  .hatchling-v2 #game.game {
    padding: 8px 10px 24px;
  }
  .hatchling-v2 #game .app-header {
    height: 65px;
    padding: 4px 7px;
    gap: 6px;
    margin-bottom: 10px;
    border-radius: 18px;
  }
  .hatchling-v2 #game .mobile-brand {
    height: 55px;
    width: auto;
    flex: 1;
    min-width: 0;
  }
  .hatchling-v2 #game .back-collections {
    width: 44px;
    padding: 6px;
    font-size: 23px;
  }
  .hatchling-v2 #game .back-collections span {
    display: none;
  }
  .hatchling-v2 #game .sculptor-quick {
    display: none;
  }
  .hatchling-v2 #game .parents.nav-sprite {
    width: 44px;
    height: 46px;
    min-height: 46px;
    flex-shrink: 0;
  }
  .hatchling-v2 #game .sketchbook {
    padding: 10px;
    border-radius: 21px;
  }
  .hatchling-v2 #game .catalog-toolbar {
    gap: 8px;
    margin-bottom: 12px;
  }
  .hatchling-v2 #game .categories {
    flex: 1 1 100%;
    gap: 2px;
    padding: 3px;
  }
  .hatchling-v2 #game .categories .nav-sprite {
    flex-direction: column;
    gap: 2px;
    padding: 5px 2px;
    font-size: 10px;
    min-height: 49px;
    height: 49px;
  }
  .hatchling-v2 #game .categories .ui-icon {
    width: 18px;
    height: 18px;
  }
  .hatchling-v2 #game #my-colors {
    margin-left: auto;
    min-height: 44px;
    height: 44px;
    padding: 5px 11px;
  }
  .hatchling-v2 #game .catalog-title h2 {
    font-size: 21px;
  }
  .hatchling-v2 #game .catalog-title {
    margin-bottom: 10px !important;
  }
  .hatchling-v2 #game .catalog-subtitle {
    display: none;
  }
  .hatchling-v2 #game .catalog > .profile-switch {
    float: none;
    display: flex;
    max-width: 100%;
    width: max-content;
    margin: 0 0 10px auto;
  }
  .hatchling-v2 #game .difficulty-choices {
    gap: 6px;
  }
  .hatchling-v2 #game .difficulty-choices button {
    font-size: 11px;
    padding: 8px 7px;
    flex: 1;
  }
  .hatchling-v2 #game .grid,
  .hatchling-v2 #game .catalog.filtered .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .hatchling-v2 #game .art-card,
  .hatchling-v2 #game .catalog:not(.filtered) .art-card {
    padding: 7px;
    border-radius: 16px;
  }
  .hatchling-v2 #game .card-art {
    aspect-ratio: 1;
  }
  .hatchling-v2 #game .card-name {
    font-size: 15px;
  }
  .hatchling-v2 #game .card-caption {
    padding-top: 8px;
  }
  .hatchling-v2 #game .card-action {
    font-size: 11px;
    padding: 6px;
    white-space: normal;
  }
  .hatchling-v2 #game .pxf-gallery-entry {
    margin-bottom: 12px;
  }
}
body.hatchling-v2 #pexefy.pxf button:not(.pxf-piece),
body.hatchling-v2 #pexefy.pxf .pxf-upload {
  background: #fffdf3;
  border: 1px solid #cabc83;
  color: #3a685e;
  text-shadow: none;
  box-shadow: none;
}
body.hatchling-v2 #pexefy.pxf .pxf-tray-top h2 {
  color: #315d68;
  text-shadow: none;
}
body.hatchling-v2 #pexefy.pxf .pxf-paging {
  color: #4b706b;
}
body.hatchling-v2 #pexefy.pxf button:disabled {
  opacity: 0.45;
}
body.hatchling-v2 #pexefy.pxf .pxf-content,
body.hatchling-v2 #pexefy.pxf .pxf-win,
body.hatchling-v2 #pexefy.pxf .pxf-confirm {
  background: #fffdf3f2;
  border: 1px solid #d6c58c;
  border-image: none;
  border-radius: 22px;
  color: #365e68;
  box-shadow: 0 10px 30px #30574e14;
}
body.hatchling-v2 #pexefy.pxf .pxf-status {
  background: #fff9e5;
  color: #426a6b;
  border-color: #d3c790;
}
body.hatchling-v2 #pexefy.pxf .pxf-tray-top h2,
body.hatchling-v2 #pexefy.pxf .pxf-tray button:not(.pxf-piece) {
  color: #365e68 !important;
  text-shadow: none;
}

.hatchling-v2 #game .pxf-gallery-entry {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hatchling-v2 #game .pxf-gallery-entry svg {
  width: 20px;
  height: 20px;
}
body.hatchling-v2 #account.family-palace .family-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin: 0 36px 16px;
  padding: 0;
  text-align: center;
  min-height: 0;
}
body.hatchling-v2 #account.family-palace .family-heading h2 {
  font:
    900 25px/1.15 Hatchling,
    "Trebuchet MS",
    sans-serif;
  color: #315b6d;
  margin: 0;
  text-shadow: none;
}
body.hatchling-v2 #account.family-palace .parent-brand {
  width: 210px;
  height: 60px;
  max-width: 100%;
  margin: 0;
  flex-shrink: 0;
}
body.hatchling-v2 #account.family-palace .parent-tabs button,
body.hatchling-v2 #account.family-palace .parent-profile-bar button {
  font-family: "Trebuchet MS", sans-serif;
}
.hatchling-v2 #game #my-colors .progress-title,
.hatchling-v2 #game .card-action {
  font-family: "Trebuchet MS", sans-serif;
}
@media (max-width: 650px) {
  body.hatchling-v2 #account.family-palace .family-heading h2 {
    font-size: 22px;
  }
  body.hatchling-v2 #account.family-palace .parent-brand {
    width: 180px;
    height: 52px;
  }
}
html {
  background: #e8f4f7;
}
body.hatchling-v2.collections-active {
  background-attachment: scroll;
}
.hatchling-v2 #collections .collection-replay {
  background: #fffdf3c9;
  border: 1px solid #c6d9d3;
  border-radius: 18px;
  color: #54796e;
  text-shadow: none;
  box-shadow: none;
  font:
    600 11px "Trebuchet MS",
    sans-serif;
  min-height: 44px;
}
.hatchling-v2 #editor .editor-top {
  background: #edf5f1;
  color: #315f6d;
  border-bottom: 1px solid #d7c68e;
}
.hatchling-v2 #editor .editor-top .blue {
  background: #fffdf2;
  border: 1px solid #d5c78f;
  color: #3b6e65;
  border-radius: 14px;
  box-shadow: none;
  text-shadow: none;
  font-family: "Trebuchet MS", sans-serif;
}
