:root {
  color-scheme: light;
  --night: #281635;
  --ink: #3d2746;
  --muted: #705b75;
  --berry: #9b2759;
  --cream: #fff9ed;
  --pink: #ff9bc5;
  --gold: #ffe59c;
  --line: #e9dbe5;
  font-family: "Hiragino Maru Gothic ProN", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 100%;
  line-height: 1.85;
  color: var(--cream);
  background: var(--night);
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(ellipse at 85% 12%, #603353 0, transparent 48%); }
img { max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .25em; }
a:hover { text-decoration-thickness: .13em; }
a:focus-visible { outline: 3px solid #bd446f; outline-offset: 5px; }
.site-header a:focus-visible, .site-footer a:focus-visible { outline-color: var(--gold); }
p, li, h1, h2, h3, a { overflow-wrap: anywhere; }
p { margin: .8rem 0; }
h1, h2, h3 { font-weight: 800; }
main, .site-header, .site-footer { width: min(100% - 5rem, 72rem); margin-inline: auto; }
main { min-height: 60vh; padding-block: 2.5rem 4rem; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1.1rem; border-bottom: 1px solid #ffffff24; }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; flex-shrink: 0; }
.brand img { width: 3.5rem; height: 3.5rem; }
.brand-type { font-family: ui-rounded, "Arial Rounded MT Bold", sans-serif; font-weight: 900; font-size: 1.4rem; line-height: 1.3; color: var(--pink); }
.brand-type > span { display: block; color: var(--cream); font-family: "Hiragino Maru Gothic ProN", sans-serif; font-size: .875rem; font-weight: 600; letter-spacing: .035em; margin-top: .2rem; }
.site-header nav { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.6rem; }
.site-header nav a { padding-block: .65rem; font-size: .9375rem; text-decoration: none; border-bottom: 2px solid transparent; }
.site-header nav a:hover, .site-header nav a[aria-current="page"] { color: var(--gold); border-color: var(--pink); }
.site-header nav a[aria-current="page"] { font-weight: 700; }
.welcome { display: grid; grid-template-columns: 1fr 1.15fr; gap: 3rem; align-items: center; }
.welcome-copy { padding-block: 1.5rem; }
.toy-label { display: inline-block; margin: 0 0 1.2rem; padding: .35rem .85rem; border: 1px solid #ffcce06b; border-radius: 100px; font-family: ui-rounded, "Arial Rounded MT Bold", sans-serif; font-size: .875rem; font-weight: 800; letter-spacing: .075em; color: #ffb7d6; background: #ffffff08; }
.game-name { font-size: .9375rem; color: #eed6e9; font-weight: 600; }
.welcome h1 { font-size: clamp(2.5rem, 4.7vw, 3.85rem); line-height: 1.43; letter-spacing: .01em; margin: .85rem 0 1.4rem; }
.welcome h1 span { color: var(--pink); }
.lead { font-size: 1.0625rem; line-height: 2; }
.welcome .lead { color: #eedeea; }
.toyland-scene { position: relative; min-width: 0; aspect-ratio: 1.06; isolation: isolate; overflow: hidden; border: 1px solid #ffbdd58c; border-radius: 45% 45% 2.5rem 2.5rem; background: #ef9aaa url("images/toyland.webp") center 53% / cover; box-shadow: 0 1.5rem 4rem #13091b60, inset 0 0 3rem #ffe4c660; }
.scene-label { position: absolute; z-index: 4; top: 13%; width: 100%; text-align: center; font-family: ui-rounded, "Arial Rounded MT Bold", sans-serif; font-size: .875rem; font-weight: 900; letter-spacing: .14em; color: #58243e; text-shadow: 0 1px 8px #fff; }
.friend { position: absolute; filter: drop-shadow(0 1.2rem .7rem #782e5442); transform-origin: 50% 90%; }
.friend-strawberry { width: 54%; left: 24%; top: 26%; z-index: 3; transform: rotate(-5deg); }
.friend-avo { width: 37%; left: -1%; top: 40%; z-index: 2; transform: rotate(-15deg); }
.friend-donut { width: 42%; right: -3%; top: 44%; z-index: 2; transform: rotate(14deg); }
.scene-star { position: absolute; width: 12%; z-index: 4; filter: drop-shadow(0 4px 8px #70345344); }
.star-one { left: 12%; top: 23%; transform: rotate(-16deg); }
.star-two { right: 10%; top: 28%; width: 9%; transform: rotate(18deg); }
.help-desk { padding-top: 3rem; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; }
.section-heading h2 { font-size: 1.2rem; margin: 0; }
.section-heading p { font-size: .9375rem; color: #d9c4d8; margin: 0; }
.page-links { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.page-link { display: flex; align-items: center; gap: 1.2rem; padding: 1.7rem 1.6rem; border-radius: 1.45rem; color: var(--ink); text-decoration: none; border: 2px solid #fff7; box-shadow: 0 .35rem 0 #170a2380; transition: transform .18s ease, box-shadow .18s ease; }
.support-link { background: #ffdbeb; }
.privacy-link { background: #fff1c8; }
.page-link:hover { transform: translateY(-4px); box-shadow: 0 .6rem 0 #170a2380; }
.page-link:active { transform: translateY(2px); box-shadow: 0 .15rem 0 #170a2380; }
.link-number { font-family: ui-rounded, "Arial Rounded MT Bold", sans-serif; font-size: .875rem; font-weight: 800; align-self: flex-start; padding-top: .4rem; color: #75536e; }
.link-copy { display: flex; flex-direction: column; gap: .2rem; }
.link-label { font-size: 1.3rem; font-weight: 800; line-height: 1.5; }
.link-copy > span:last-child { font-size: .9375rem; }
.link-arrow { margin-left: auto; font-size: 1.5rem; }
.page-support, .page-privacy, .page-404 { background: linear-gradient(#281635ab, #281635f5 700px), url("images/toyland.webp") center top / 100% auto no-repeat, var(--night); }
.document { max-width: 53rem; margin: 0 auto; padding: 3rem 3.5rem; color: var(--ink); background: var(--cream); border: 6px solid #fff; border-radius: 2rem; box-shadow: 0 1.3rem 4rem #11051850; }
.page-intro { position: relative; margin-bottom: 2rem; }
.document-friend { float: right; width: 7.8rem; margin: -1.3rem -1rem .25rem 1rem; transform: rotate(8deg); }
.page-intro::after { display: block; content: ""; clear: both; }
.eyebrow { color: var(--berry); font-size: .875rem; font-weight: 700; }
.document h1 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); line-height: 1.5; margin: .6rem 0 1rem; }
.document .lead { clear: both; padding-top: .5rem; }
.document h2 { font-size: 1.25rem; line-height: 1.65; margin: 0 0 1rem; }
.document h3 { font-size: 1.0625rem; line-height: 1.7; margin: 1.65rem 0 .5rem; }
.document a { color: var(--berry); }
.document section { padding-block: 1.8rem; border-top: 1px solid var(--line); }
.document section:last-child { padding-bottom: 0; }
.document ul { padding-left: 1.4rem; }
.document li { margin-block: .4rem; }
.document .contact-panel { border: 1px solid #ecc5d7; background: #ffebf2; border-radius: 1.25rem; padding: 1.5rem 1.75rem; margin-block: 1rem 2rem; box-shadow: 0 4px 0 #ecd7e2; }
.contact-panel h2 { margin-bottom: .5rem; }
.email { font-family: ui-rounded, "Arial Rounded MT Bold", sans-serif; font-weight: 700; font-size: 1.25rem; }
.muted { font-size: .9375rem; color: var(--muted); }
.lost-page { text-align: center; max-width: 42rem; margin: 0 auto; padding: 1rem 0 2rem; }
.lost-page > img { display: block; width: 13rem; margin: 0 auto 1.5rem; transform: rotate(-8deg); }
.lost-page h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); line-height: 1.5; margin: .7rem 0 1rem; }
.button { display: inline-block; margin-top: .75rem; padding: .75rem 1.75rem; border-radius: 100px; background: #ffd9e9; color: #672440; font-weight: 800; text-decoration: none; box-shadow: 0 4px 0 #b67497; }
.button:hover { background: #ffe9f2; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; border-top: 1px solid #ffffff24; padding-block: 1.8rem 2.5rem; font-size: .875rem; color: #e0cbdf; }
.footer-brand { display: flex; align-items: center; gap: .85rem; }
.footer-brand img { width: 2.5rem; }
.footer-brand p { margin: 0; color: var(--cream); font-size: 1rem; font-weight: 700; }
.footer-brand span { display: block; font-size: .875rem; font-weight: 400; }
.footer-info { text-align: right; }
.footer-info p { margin: 0; }
.footer-info a { display: inline-block; padding-block: .5rem; }
.skip-link { position: absolute; top: .5rem; left: 1rem; padding: .75rem 1rem; background: var(--cream); color: var(--ink); transform: translateY(-200%); z-index: 10; border-radius: .5rem; }
.skip-link:focus { transform: translateY(0); }
.draft-notice { padding: .7rem 1.25rem; color: #713300; background: #fff0cc; font-size: .875rem; text-align: center; }

@media (max-width: 60rem) {
  main, .site-header, .site-footer { width: min(100% - 3rem, 72rem); }
  .welcome { gap: 1.5rem; }
  .welcome h1 { font-size: 2.75rem; }
  .site-header nav { gap: .5rem 1rem; }
  .page-link { padding: 1.4rem 1.1rem; gap: .8rem; }
  .link-label { font-size: 1.1rem; }
}
@media (max-width: 45rem) {
  main, .site-header, .site-footer { width: calc(100% - 2rem); }
  .site-header { flex-direction: column; gap: .5rem; padding-block: .8rem .25rem; }
  .brand img { width: 2.8rem; height: 2.8rem; }
  .brand-type { font-size: 1.25rem; }
  .site-header nav { width: 100%; justify-content: center; gap: 1.5rem; }
  .site-header nav a { font-size: .875rem; padding-block: .5rem; }
  main { padding-block: 1.5rem 2.5rem; }
  .welcome { grid-template-columns: 1fr; gap: 1.4rem; }
  .welcome-copy { padding: .5rem 0 0; text-align: center; }
  .toy-label { font-size: .8125rem; margin-bottom: .7rem; }
  .game-name { font-size: .875rem; }
  .welcome h1 { font-size: clamp(2.2rem, 8.5vw, 3.1rem); line-height: 1.5; margin: .6rem 0 1rem; }
  .welcome .lead { font-size: 1rem; }
  .toyland-scene { width: min(100%, 30rem); margin-inline: auto; aspect-ratio: 1.28; border-radius: 40% 40% 1.5rem 1.5rem; }
  .scene-label { top: 10%; font-size: .8125rem; }
  .friend-strawberry { width: 48%; left: 27%; top: 24%; }
  .friend-avo { width: 33%; left: 4%; top: 38%; }
  .friend-donut { width: 38%; right: 0; top: 41%; }
  .star-one { left: 17%; top: 19%; width: 10%; }
  .star-two { top: 23%; }
  .help-desk { padding-top: 2rem; }
  .section-heading { display: block; margin-bottom: 1rem; }
  .section-heading h2 { font-size: 1.1rem; }
  .section-heading p { margin-top: .25rem; }
  .page-links { grid-template-columns: 1fr; gap: 1rem; }
  .page-link { padding: 1.25rem; border-radius: 1.2rem; }
  .link-label { font-size: 1.15rem; }
  .link-number { display: none; }
  .document { border-width: 4px; border-radius: 1.5rem; padding: 1.7rem 1.25rem; }
  .document-friend { width: 5.5rem; margin: -.75rem -.5rem .4rem .7rem; }
  .document h1 { clear: both; font-size: 1.7rem; padding-top: .3rem; }
  .document .eyebrow { padding-top: .6rem; font-size: .875rem; }
  .document .contact-panel { padding: 1.2rem; }
  .email { font-size: 1.1rem; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 1rem; padding-bottom: 1.5rem; }
  .footer-info { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
