:root {
  --paper: #fbf8f1;
  --ink: #37332f;
  --muted: #79716b;
  --purple: #70529e;
  --line: #e6e0d6;
  --lavender: #e9e0f4;
  --serif: Georgia, "Times New Roman", serif;
  font-family: ui-rounded, "Trebuchet MS", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
summary,
a {
  touch-action: manipulation;
}
button:disabled {
  cursor: default;
  opacity: 0.35;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
[role="button"]:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 5px;
}
button {
  border: 0;
}
svg {
  display: block;
  flex-shrink: 0;
}
main {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 44px;
}
main:focus {
  outline: none;
}
.site-header {
  max-width: 1360px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 44px;
  border-bottom: 1px solid var(--line);
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 23px;
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -1px;
}
.brand-mark {
  font-size: 55px;
  color: var(--purple);
  font-weight: 400;
  line-height: 1;
}
.brand-second {
  display: block;
}
.brand-dot {
  color: #d68859;
}
.header-note {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.2px;
}
.parent-button {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 30px;
  padding: 10px 17px;
  min-height: 44px;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.parent-button > span {
  font-size: 21px;
}
.parent-button:hover {
  background: #f0eadd;
}
.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.9px;
  line-height: 1.5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.little-star {
  font-size: 19px;
  color: var(--purple);
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
  min-height: 470px;
  padding: 45px 0 42px;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 65px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -2.8px;
  margin: 22px 0;
}
.hero h1 > span {
  color: var(--purple);
  font-style: italic;
  position: relative;
}
.scribble {
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 7px;
  border-top: 2px solid #bca3d3;
  border-radius: 50%;
  transform: rotate(-3deg);
}
.hero-copy > p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
  margin: 0 0 26px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border-radius: 9px;
  min-height: 48px;
  padding: 13px 21px;
  font-size: 13px;
  font-weight: 700;
  transition:
    background 0.15s,
    transform 0.15s;
}
.button:hover {
  transform: translateY(-1px);
}
.primary {
  background: var(--purple);
  color: #fff;
}
.primary:hover {
  background: #5f438c;
}
.secondary {
  background: #eee8dd;
}
.hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
  margin-top: 19px;
}
.hero-note > span {
  font-size: 19px;
  color: var(--purple);
}
.hero-art {
  height: 380px;
  position: relative;
  isolation: isolate;
  max-width: 520px;
  width: 100%;
  margin: auto;
}
.hero-orbit {
  position: absolute;
  width: min(330px, 100%);
  height: 330px;
  background: #efe9dc;
  border-radius: 50%;
  top: 13px;
  left: 100px;
  z-index: -1;
}
.hero-portrait {
  position: absolute;
  width: 250px;
  height: 300px;
  left: 46%;
  top: 15px;
  transform: translateX(-14%) rotate(8deg);
  border: 9px solid white;
  border-radius: 90px 90px 20px 20px;
  background: #e6eee5;
  box-shadow: 0 9px 25px #6a514013;
  overflow: hidden;
}
.hero-portrait .scene {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.hero-nails {
  position: absolute;
  width: 174px;
  height: 221px;
  left: 9%;
  top: 128px;
  transform: rotate(-12deg);
  border: 8px solid white;
  border-radius: 16px;
  box-shadow: 0 9px 25px #6a514013;
  background: #f3e7e8;
  overflow: hidden;
}
.hero-nails .scene {
  width: 100%;
  height: 100%;
}
.hero-sparkle {
  position: absolute;
  color: #c99b52;
  font-size: 40px;
}
.hero-sparkle.one {
  left: 20%;
  top: 23px;
}
.hero-sparkle.two {
  font-size: 39px;
  right: 0;
  bottom: 33px;
  color: #a68bbb;
}
.hero-sticker {
  position: absolute;
  right: 2%;
  top: 208px;
  width: 105px;
  height: 105px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 1px dashed #a68955;
  border-radius: 50%;
  background: #f4ddb0;
  transform: rotate(12deg);
  font-family: var(--serif);
  font-size: 30px;
}
.hero-sticker small {
  font:
    10px "Trebuchet MS",
    sans-serif;
  margin-top: 5px;
}
.hero-caption {
  position: absolute;
  bottom: 4px;
  left: 36%;
  font-family: var(--serif);
  font-size: 17px;
  font-style: italic;
  transform: rotate(-5deg);
  color: var(--muted);
}
.games-section {
  padding: 25px 0 38px;
  scroll-margin-top: 20px;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}
.section-heading h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 31px;
  letter-spacing: -0.8px;
  margin: 9px 0 0;
}
.section-aside {
  display: flex;
  gap: 13px;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
  padding-bottom: 4px;
}
.section-aside svg {
  color: #bf9257;
}
.game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 21px;
}
.game-card {
  min-width: 0;
  display: block;
}
.card-art {
  background: var(--card-color);
  height: 227px;
  border-radius: 15px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s;
}
.game-card:hover .card-art {
  transform: translateY(-5px);
}
.card-art > .scene {
  width: 100%;
  height: 100%;
  transition: transform 0.2s;
}
.game-card:hover .scene {
  transform: scale(1.035);
}
.card-number {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 10px;
  letter-spacing: 1px;
  z-index: 1;
  color: #615350;
}
.card-play {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  background: #fffc;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #6b5e54;
}
.card-copy {
  padding: 16px 1px;
}
.card-copy .eyebrow {
  font-size: 8px;
  letter-spacing: 1.3px;
  color: var(--muted);
}
.card-copy h3 {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 400;
  margin: 9px 0 7px;
  letter-spacing: -0.6px;
}
.card-copy p {
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}
.gentle-note {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 25px 6px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.note-flower {
  color: var(--purple);
  font-size: 45px;
}
.gentle-note h2 {
  font-size: 16px;
  font-family: var(--serif);
  font-weight: 400;
  margin: 0 0 7px;
}
.gentle-note p {
  font-size: 11px;
  color: var(--muted);
  margin: 0;
  line-height: 1.7;
}
.gentle-note > span:last-child {
  font-size: 35px;
  color: #ad9686;
  margin-left: auto;
  margin-right: 10px;
}
.site-footer {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 25px 44px 30px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.8;
}
.site-footer span span {
  color: var(--purple);
  margin-left: 8px;
}
.skip-link {
  position: fixed;
  left: 10px;
  top: -100px;
  background: var(--purple);
  color: white;
  padding: 15px;
  z-index: 100;
}
.skip-link:focus {
  top: 10px;
}
.play-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin: 25px 0 22px;
}
.back-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  min-height: 44px;
}
.save-status {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 10px;
  color: var(--muted);
}
.save-status svg {
  color: var(--purple);
}
.game-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.game-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 10px 20px;
  font-size: 12px;
  border-radius: 10px;
  color: var(--muted);
  border: 1px solid transparent;
}
.game-nav a:hover {
  background: #f0ebe3;
}
.game-nav a[aria-current] {
  background: var(--lavender);
  color: #63488b;
  border-color: #d7c5ec;
}
.play-title {
  text-align: center;
  margin: 28px 0;
}
.play-title h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 43px;
  letter-spacing: -1.5px;
  position: relative;
  display: table;
  margin: 10px auto;
}
.title-star {
  position: absolute;
  font-size: 25px;
  color: #bb9153;
  right: -33px;
  top: -6px;
}
.play-title p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin: 8px 0;
}
.studio {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: 36px;
  max-width: 980px;
  margin: 0 auto 34px;
  align-items: start;
}
.canvas-wrap {
  background: var(--canvas-color);
  border-radius: 23px;
  padding: 18px 18px 12px;
  position: relative;
  overflow: hidden;
}
.canvas-label {
  display: block;
  position: absolute;
  top: 22px;
  left: 24px;
  font-size: 8px;
  letter-spacing: 1.8px;
  color: #756775;
  z-index: 1;
}
.canvas-wrap #artboard {
  max-width: 420px;
  margin: 0 auto;
}
.scene {
  max-width: 100%;
  height: auto;
}
.scene [role="button"] {
  cursor: pointer;
  outline-offset: -2px;
}
.scene [role="button"]:focus-visible {
  outline: 3px solid var(--purple);
}
.scene [role="button"]:hover > rect[stroke] {
  stroke: #70529e;
  stroke-width: 2.5px;
}
.canvas-footer {
  font-size: 10px;
  color: #786774;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding-top: 8px;
}
.canvas-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.action-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 11px;
  padding: 11px 9px;
  min-height: 46px;
  border-radius: 8px;
  background: #eee8dd;
  flex: 1;
  white-space: nowrap;
}
.action-button:hover:enabled {
  background: #e7ddcc;
}
.download-button {
  background: #e9e0f4;
  flex: 1.5;
  color: #65488e;
}
.download-button:hover:enabled {
  background: #ddceef;
}
.canvas-caption {
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  color: #9b8f81;
  font-size: 13px;
  margin: 14px 0;
}
.toolbox {
  border: 1px solid var(--line);
  background: #fffdf8;
  border-radius: 20px;
  padding: 24px;
}
.toolbox-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 17px;
  margin-bottom: 21px;
}
.toolbox-title h2 {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 400;
  letter-spacing: -0.5px;
  margin: 0;
}
.toolbox-title > span {
  color: #b8a1d0;
  font-size: 26px;
}
.tool-section {
  margin-top: 20px;
}
.tool-section h3 {
  font-size: 12px;
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.tool-section h3 > span {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  background: #f0eadd;
  color: var(--muted);
  border-radius: 50%;
  font-size: 10px;
}
.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.swatch {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: var(--swatch);
  border: 3px solid #fffdf8;
  box-shadow: 0 0 0 1px #d8d1c6;
  display: grid;
  place-items: center;
  position: relative;
  color: #322a40;
}
.swatch.selected {
  box-shadow: 0 0 0 2px var(--purple);
}
.swatch svg {
  filter: drop-shadow(0 0 1px white);
  stroke-width: 2.5px;
  background: #fff7;
  border-radius: 50%;
  padding: 2px;
}
.swatch:hover {
  transform: scale(1.08);
}
.choices {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin: 8px 0;
}
.choice {
  background: #f5f1e9;
  border: 1px solid #e8e1d6;
  flex: 1;
  min-width: 60px;
  min-height: 66px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  font-size: 10px;
  padding: 9px 5px;
  line-height: 1.5;
}
.choice-symbol {
  font-family: Arial, sans-serif;
  font-size: 23px;
  line-height: 1.2;
  color: #88709e;
}
.choice.selected {
  background: #eee5f7;
  border-color: #ac8bce;
  color: #5f4588;
}
.choice:hover {
  border-color: #ac8bce;
}
.paint-all {
  width: 100%;
  margin-top: 23px;
  color: #65488e;
  background: #ede3f5;
}
.paint-all:hover {
  background: #e4d7ef;
}
.tool-tip {
  font-size: 10px;
  text-align: center;
  color: var(--muted);
  line-height: 1.6;
}
.skin-options {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 7px;
}
.skin-options summary {
  font-size: 11px;
  cursor: pointer;
  min-height: 44px;
  padding: 15px 0;
}
.skin-options .swatches {
  padding: 4px 2px 10px;
}
.toast {
  position: fixed;
  bottom: max(25px, env(safe-area-inset-bottom));
  left: 50%;
  transform: translate(-50%, 15px);
  padding: 13px 23px;
  color: #fff;
  background: #493c5d;
  border-radius: 14px;
  font-size: 13px;
  z-index: 20;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
  text-align: center;
  max-width: calc(100vw - 30px);
  width: max-content;
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
dialog {
  border: 1px solid var(--line);
  border-radius: 23px;
  padding: 36px;
  max-width: 480px;
  width: calc(100% - 32px);
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 25px 100px #30213d33;
}
dialog::backdrop {
  background: #30213d66;
  backdrop-filter: blur(4px);
}
dialog h2 {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.8px;
  line-height: 1.2;
  margin: 17px 0;
}
dialog p {
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
}
.dialog-close {
  position: absolute;
  top: 13px;
  right: 13px;
  display: grid;
  place-items: center;
  background: #eee8dd;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 26px;
}
.dialog-actions {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}
dialog > .button {
  margin-top: 16px;
  font-size: 11px;
}
@media (min-width: 1400px) {
  .hero {
    min-height: 520px;
  }
  .hero-art {
    transform: scale(1.08);
  }
  .card-art {
    height: 250px;
  }
}
@media (max-width: 1000px) {
  main {
    padding: 0 28px;
  }
  .site-header {
    padding: 22px 28px;
  }
  .site-footer {
    padding-left: 28px;
    padding-right: 28px;
  }
  .hero-art {
    transform: scale(0.87);
    transform-origin: right center;
  }
  .hero {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 430px;
  }
  .hero h1 {
    font-size: 49px;
  }
  .hero-copy {
    z-index: 1;
  }
  .hero-copy > .eyebrow {
    font-size: 8px;
  }
  .game-grid {
    gap: 14px;
  }
  .card-art {
    height: 195px;
  }
  .card-copy h3 {
    font-size: 20px;
  }
  .section-aside {
    display: none;
  }
  .studio {
    gap: 23px;
  }
  .toolbox {
    padding: 20px;
  }
  .swatches {
    gap: 9px;
  }
  .swatch {
    width: 42px;
    height: 42px;
    min-width: 42px;
  }
  .toolbox-title h2 {
    font-size: 21px;
  }
  .game-nav a {
    padding: 10px 16px;
  }
  .action-button {
    font-size: 10px;
    gap: 5px;
  }
}
@media (max-width: 700px) {
  .site-header {
    padding: 17px 20px;
  }
  .brand {
    font-size: 20px;
  }
  .brand-mark {
    font-size: 47px;
  }
  .header-note {
    display: none;
  }
  .parent-button {
    font-size: 11px;
    padding: 8px 13px;
  }
  main {
    padding: 0 20px;
  }
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 36px 0 15px;
    gap: 0;
  }
  .hero h1 {
    font-size: 53px;
    letter-spacing: -2px;
    margin: 17px 0 20px;
  }
  .hero-copy > .eyebrow {
    font-size: 9px;
  }
  .hero-copy > p {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 22px;
  }
  .hero-copy {
    max-width: 450px;
  }
  .hero-art {
    height: 325px;
    width: 100%;
    max-width: 390px;
    transform: scale(0.87);
    transform-origin: center center;
    margin: 0 auto -12px;
  }
  .hero-portrait {
    left: 40%;
    top: 5px;
  }
  .hero-orbit {
    left: 50px;
  }
  .hero-nails {
    left: 2%;
    top: 115px;
  }
  .hero-sparkle.one {
    left: 13%;
    top: 25px;
  }
  .hero-sticker {
    right: -2%;
    top: 208px;
  }
  .hero-sparkle.two {
    right: -6%;
    bottom: 33px;
  }
  .hero-caption {
    bottom: -30px;
    left: 32%;
  }
  .hero-note {
    margin-top: 15px;
  }
  .games-section {
    padding: 36px 0 20px;
  }
  .section-heading {
    margin-bottom: 22px;
  }
  .section-heading h2 {
    font-size: 28px;
    letter-spacing: -0.8px;
    line-height: 1.2;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1.6px;
  }
  .game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
  }
  .card-art {
    height: auto;
    aspect-ratio: 1/0.99;
    border-radius: 13px;
  }
  .card-number {
    font-size: 8px;
    top: 10px;
    left: 10px;
  }
  .card-play {
    width: 31px;
    height: 31px;
    bottom: 9px;
    right: 9px;
  }
  .card-play svg {
    width: 18px;
  }
  .card-copy {
    padding: 13px 0;
  }
  .card-copy .eyebrow {
    font-size: 6.5px;
    letter-spacing: 1px;
  }
  .card-copy h3 {
    font-size: 20px;
    line-height: 1.15;
    margin: 8px 0;
  }
  .card-copy p {
    font-size: 10px;
  }
  .gentle-note {
    padding: 22px 0;
    gap: 13px;
  }
  .note-flower {
    font-size: 34px;
  }
  .gentle-note h2 {
    font-size: 15px;
    line-height: 1.5;
  }
  .gentle-note p {
    font-size: 10px;
  }
  .gentle-note > span:last-child {
    display: none;
  }
  .site-footer {
    padding: 22px 20px;
    flex-direction: column;
    gap: 5px;
    font-size: 9px;
  }
  .play-header {
    margin: 14px 0 10px;
  }
  .save-status {
    display: none;
  }
  .game-nav {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
  }
  .game-nav a {
    font-size: 10px;
    flex-direction: column;
    gap: 6px;
    padding: 10px 2px;
    min-height: 64px;
  }
  .game-nav a svg {
    width: 21px;
  }
  .play-title {
    margin: 23px 0 19px;
  }
  .play-title h1 {
    font-size: 35px;
    letter-spacing: -1px;
  }
  .title-star {
    font-size: 19px;
    right: -22px;
  }
  .play-title p {
    font-size: 11px;
    max-width: 270px;
    margin: 9px auto;
  }
  .studio {
    grid-template-columns: 1fr;
    gap: 9px;
    max-width: 450px;
  }
  .canvas-wrap {
    padding: 9px 12px;
    border-radius: 18px;
  }
  .canvas-wrap #artboard {
    max-width: 340px;
  }
  .canvas-label {
    top: 17px;
    left: 18px;
    font-size: 7px;
    letter-spacing: 1px;
  }
  .canvas-footer {
    font-size: 9px;
    padding-top: 0;
  }
  .canvas-actions {
    gap: 7px;
    margin-top: 10px;
  }
  .action-button {
    min-height: 46px;
    font-size: 10px;
    padding: 10px 7px;
  }
  .canvas-caption {
    font-size: 12px;
    margin: 12px 0 17px;
  }
  .toolbox {
    padding: 21px;
    border-radius: 17px;
  }
  .toolbox-title {
    padding-bottom: 14px;
    margin-bottom: 16px;
  }
  .toolbox-title h2 {
    font-size: 24px;
  }
  .tool-section {
    margin-top: 18px;
  }
  .swatch {
    width: 44px;
    height: 44px;
    min-width: 44px;
  }
  .swatches {
    gap: 11px;
  }
  .choice {
    min-height: 70px;
    font-size: 11px;
  }
  .tool-section h3 {
    font-size: 12px;
  }
  .paint-all {
    min-height: 50px;
  }
  .tool-tip {
    font-size: 11px;
  }
  .skin-options summary {
    font-size: 12px;
  }
  dialog {
    padding: 30px 24px;
  }
  .dialog-actions {
    flex-direction: column;
  }
  dialog .eyebrow {
    margin-top: 15px;
  }
  dialog h2 {
    font-size: 30px;
  }
}
@media (max-width: 359px) {
  main {
    padding: 0 14px;
  }
  .site-header {
    padding: 15px 14px;
  }
  .hero h1 {
    font-size: 46px;
  }
  .hero-art {
    transform: scale(0.75);
    margin-top: -20px;
    margin-bottom: -40px;
    left: -7px;
  }
  .card-copy h3 {
    font-size: 18px;
  }
  .card-copy .eyebrow {
    font-size: 6px;
  }
  .game-nav a {
    font-size: 9px;
  }
  .play-title h1 {
    font-size: 30px;
  }
  .title-star {
    right: -20px;
  }
  .toolbox {
    padding: 17px;
  }
  .swatches {
    gap: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* The artwork is deliberately local; no font, image, or analytics CDN. */
.brand-logo {
  display: block;
  width: 60px;
  height: 60px;
  object-fit: contain;
  flex-shrink: 0;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.site-footer {
  padding-top: 30px;
  padding-bottom: 30px;
  align-items: flex-start;
  font-size: 10px;
}
.footer-tag {
  display: block;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #8c7a70;
}
.footer-message p {
  font-family: var(--serif);
  font-size: 16px;
  margin: 7px 0;
  color: var(--ink);
}
.footer-contact {
  text-align: right;
}
.footer-contact nav {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: flex-end;
}
.footer-contact a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--purple);
}
.footer-contact a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.site-footer .footer-contact a span {
  margin: 0;
}
.choices {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(64px, 1fr));
}
.choice {
  min-width: 0;
}
.photo-choice {
  padding: 5px 3px 9px;
  overflow: hidden;
  gap: 4px;
}
.choice-photo {
  width: 100%;
  height: 75px;
  object-fit: cover;
  object-position: 50% 15%;
  border-radius: 6px;
  background: #e8e3dd;
}
.preset-section {
  border-bottom: 1px solid var(--line);
  padding-bottom: 15px;
}
.preset-section h3 {
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  margin: 0 0 12px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.preset-section h3 span {
  color: #c39a56;
}
.preset-section .choices {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.preset-section .choice {
  font-size: 9px;
  background: #fbf6ea;
  border-color: #e9dfcd;
  min-height: 66px;
}
.preset-section .choice-symbol {
  color: #b89258;
  font-size: 20px;
}
.canvas-column {
  position: sticky;
  top: 20px;
}
.scene image {
  pointer-events: none;
}
.scene [role="button"]:focus-visible {
  outline: 3px solid #70529e;
  outline-offset: 1px;
}
.scene [data-action="nail"]:hover [data-layer="nail-color"] {
  stroke: #70529e;
  stroke-width: 3;
}
@media (max-width: 700px) {
  .brand-logo {
    width: 50px;
    height: 50px;
  }
  .site-footer {
    gap: 24px;
  }
  .footer-contact {
    text-align: left;
    width: 100%;
    border-top: 1px solid var(--line);
    padding-top: 20px;
  }
  .footer-contact nav {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0 20px;
  }
  .footer-contact a {
    font-size: 12px;
  }
  .canvas-column {
    position: static;
  }
  .choice-photo {
    height: 84px;
  }
  .preset-section .choice {
    font-size: 10px;
  }
}
@media (max-width: 359px) {
  .brand-logo {
    width: 42px;
    height: 42px;
  }
  .preset-section .choice {
    font-size: 9px;
  }
}
