@font-face {
  font-family:"Cinzel";
  src:url("fonts/cinzel-latin-wght-normal.woff2") format("woff2");
  font-weight:400 900;
  font-display:swap;
}
@font-face {
  font-family:"Cormorant Garamond";
  src:url("fonts/cormorant-garamond-latin-wght-normal.woff2") format("woff2");
  font-weight:300 700;
  font-display:swap;
}
@font-face {
  font-family:"Cormorant Garamond";
  src:url("fonts/cormorant-garamond-latin-wght-italic.woff2") format("woff2");
  font-weight:300 700;
  font-style:italic;
  font-display:swap;
}
@font-face {
  font-family:"Alegreya Sans";
  src:url("fonts/alegreya-sans-latin-400-normal.woff2") format("woff2");
  font-weight:400;
  font-display:swap;
}
@font-face {
  font-family:"Alegreya Sans";
  src:url("fonts/alegreya-sans-latin-500-normal.woff2") format("woff2");
  font-weight:500;
  font-display:swap;
}
@font-face {
  font-family:"Alegreya Sans";
  src:url("fonts/alegreya-sans-latin-700-normal.woff2") format("woff2");
  font-weight:700;
  font-display:swap;
}
/* Lost Woods at night (default) or Kokiri day: Navi is the light source, gold marks structure. */
:root,.dialog {
  color-scheme:dark;
  --bg:#0b1512;
  --surface:#13221c;
  --surface-raised:#1a2d25;
  --card-top:#13221c;
  --card-bottom:#101c17;
  --sunk:#060c0a;
  --text:#efe6cf;
  --muted:#a9b8a6;
  --faded:#8a9b8d;
  --fairy:#8fd8ff;
  --fairy-soft:#8fd8ff2e;
  --glow:#8fd8ff;
  --mote:#dff4ff;
  --accent:#8fd8ff;
  --accent-hover:#c6ecff;
  --on-accent:#0b1512;
  --gold:#d9b45a;
  --gold-line:#d9b45a40;
  --gold-faint:#d9b45a1f;
  --on-gold:#0b1512;
  --warn:#f3c2a8;
  --line:#efe6cf1a;
  --code:#cfeaff;
}
:root {
  --display:"Cinzel","Trajan Pro",Georgia,serif;
  --serif:"Cormorant Garamond","Cormorant",Garamond,Georgia,serif;
  --sans:"Alegreya Sans","Gill Sans","Trebuchet MS",sans-serif;
  --mono:ui-monospace,"SFMono-Regular",Consolas,"Liberation Mono",monospace;
}
@media (prefers-color-scheme:light) {
  :root:not([data-theme=dark]) {
    color-scheme:light;
    --bg:#f3ead2;
    --surface:#e9ddbd;
    --surface-raised:#f1e6c8;
    --card-top:#fbf6e8;
    --card-bottom:#f1e7cc;
    --sunk:#fbf7ec;
    --text:#22301f;
    --muted:#4a5745;
    --faded:#535c49;
    --fairy:#175e92;
    --fairy-soft:#175e921f;
    --glow:#4fa9e6;
    --mote:#7cc4f2;
    --accent:#2f6b34;
    --accent-hover:#24552a;
    --on-accent:#fbf7ec;
    --gold:#78571a;
    --gold-line:#78571a4d;
    --gold-faint:#78571a1f;
    --on-gold:#fbf7ec;
    --warn:#a4431d;
    --line:#22301f24;
    --code:#1b4f73;
  }
}
:root[data-theme=light] {
  color-scheme:light;
  --bg:#f3ead2;
  --surface:#e9ddbd;
  --surface-raised:#f1e6c8;
  --card-top:#fbf6e8;
  --card-bottom:#f1e7cc;
  --sunk:#fbf7ec;
  --text:#22301f;
  --muted:#4a5745;
  --faded:#535c49;
  --fairy:#175e92;
  --fairy-soft:#175e921f;
  --glow:#4fa9e6;
  --mote:#7cc4f2;
  --accent:#2f6b34;
  --accent-hover:#24552a;
  --on-accent:#fbf7ec;
  --gold:#78571a;
  --gold-line:#78571a4d;
  --gold-faint:#78571a1f;
  --on-gold:#fbf7ec;
  --warn:#a4431d;
  --line:#22301f24;
  --code:#1b4f73;
}
* {
  box-sizing:border-box;
}
html {
  scroll-behavior:smooth;
  scroll-padding-top:2rem;
}
body {
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:var(--sans);
  font-size:17px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
button,a {
  -webkit-tap-highlight-color:transparent;
}
a {
  color:inherit;
  text-decoration-color:var(--gold-line);
  text-underline-offset:4px;
  transition:color .2s,text-decoration-color .2s;
}
a:hover {
  color:var(--accent);
  text-decoration-color:currentColor;
}
button {
  font:inherit;
  cursor:pointer;
}
button:disabled {
  cursor:default;
}
button:focus-visible,a:focus-visible,summary:focus-visible,.table-scroll:focus-visible {
  outline:2px solid var(--accent);
  outline-offset:4px;
  border-radius:2px;
}
[hidden] {
  display:none!important;
}
h1,h2 {
  text-wrap:balance;
}
.wrap {
  max-width:1200px;
  width:calc(100% - 96px);
  margin-inline:auto;
}
.skip {
  position:absolute;
  left:24px;
  top:-100px;
  z-index:10;
  background:var(--text);
  color:var(--bg);
  padding:12px;
}
.skip:focus {
  top:12px;
}

/* Shared marks */
.eyebrow {
  text-transform:uppercase;
  display:flex;
  align-items:center;
  gap:12px;
  font-family:var(--display);
  font-size:12px;
  font-weight:600;
  letter-spacing:.24em;
  color:var(--gold);
  margin:0 0 22px;
}
.eyebrow:before {
  content:"";
  width:7px;
  height:7px;
  flex:none;
  border:1px solid var(--gold);
  transform:rotate(45deg);
}
.flourish {
  display:flex;
  align-items:center;
  gap:14px;
  color:var(--gold);
}
.flourish:before,.flourish:after {
  content:"";
  flex:1;
  height:1px;
  background:linear-gradient(90deg,transparent,var(--gold-line) 30%,var(--gold-line));
}
.flourish:after {
  background:linear-gradient(270deg,transparent,var(--gold-line) 30%,var(--gold-line));
}
.flourish span {
  width:8px;
  height:8px;
  border:1px solid var(--gold);
  transform:rotate(45deg);
  box-shadow:0 0 0 4px var(--bg),0 0 0 5px var(--gold-line);
}
.fairy-light {
  display:inline-block;
  width:10px;
  height:10px;
  border-radius:50%;
  background:radial-gradient(circle at 40% 35%,#fff,var(--glow) 55%,#4aa8e0);
  box-shadow:0 0 12px 3px color-mix(in srgb,var(--glow) 60%,transparent),0 0 32px 8px color-mix(in srgb,var(--glow) 20%,transparent);
}

/* Masthead */
.masthead {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding-block:30px;
}
.brand {
  text-transform:uppercase;
  font-family:var(--display);
  font-weight:600;
  font-size:15px;
  letter-spacing:.22em;
  text-decoration:none;
  display:flex;
  align-items:center;
  gap:14px;
}
.masthead nav {
  display:flex;
  align-items:center;
  gap:32px;
  font-size:15px;
}
.masthead nav a {
  text-decoration:none;
  color:var(--muted);
}
.theme-toggle {
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:32px;
  padding:4px 13px 4px 10px;
  border:1px solid var(--gold-line);
  border-radius:999px;
  background:none;
  color:var(--muted);
  font-size:14px;
  transition:color .2s,border-color .2s,background .2s;
}
.theme-toggle svg {
  width:15px;
  height:15px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.4;
  stroke-linecap:round;
}
.theme-toggle:hover {
  color:var(--text);
  border-color:var(--gold);
}
.theme-toggle[aria-pressed=true] {
  color:var(--gold);
  border-color:var(--gold);
  background:var(--gold-faint);
}
.theme-toggle[aria-pressed=true] circle {
  fill:currentColor;
}
.masthead nav a:hover {
  color:var(--accent);
}

/* Hero */
.hero {
  min-height:660px;
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
  padding-block:40px 90px;
  gap:40px;
}
.hero h1 {
  font-family:var(--serif);
  font-size:clamp(88px,10.5vw,156px);
  font-weight:500;
  line-height:.86;
  letter-spacing:-.025em;
  margin:0 0 34px;
}
.hero h1 em {
  display:block;
  color:var(--fairy);
  font-weight:500;
  padding-left:.32em;
  text-shadow:0 0 28px color-mix(in srgb,var(--glow) 33%,transparent),0 0 70px color-mix(in srgb,var(--glow) 13%,transparent);
}
.intro {
  font-family:var(--serif);
  font-style:italic;
  font-size:28px;
  line-height:1.25;
  margin:0 0 18px;
}
.description {
  color:var(--muted);
  max-width:440px;
  margin:0 0 32px;
}
.actions {
  display:flex;
  align-items:center;
  gap:26px;
  flex-wrap:wrap;
}
.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:16px;
  padding:14px 24px;
  border-radius:2px;
  font-family:var(--display);
  font-size:13px;
  font-weight:600;
  letter-spacing:.12em;
  text-decoration:none;
  transition:background .2s,box-shadow .25s,color .2s,border-color .2s;
}
.primary {
  background:var(--accent);
  color:var(--on-accent);
  box-shadow:0 0 0 1px var(--accent),0 8px 30px -8px color-mix(in srgb,var(--glow) 53%,transparent);
}
.primary:hover {
  background:var(--accent-hover);
  color:var(--on-accent);
  box-shadow:0 0 0 1px var(--accent-hover),0 10px 40px -6px color-mix(in srgb,var(--glow) 66%,transparent);
}
.secondary {
  border:1px solid var(--gold-line);
  color:var(--text);
  background:var(--gold-faint);
}
.secondary:hover {
  border-color:var(--gold);
  color:var(--text);
  background:color-mix(in srgb,var(--gold) 18%,transparent);
}
.text-link {
  font-size:15px;
  color:var(--muted);
}
.fineprint {
  font-size:14px;
  color:var(--faded);
  line-height:1.6;
}
.hero .fineprint {
  margin-top:26px;
  letter-spacing:.02em;
}

/* Pet stage */
.pet-stage {
  overflow-x:clip;
  overflow-y:visible;
  position:relative;
  min-height:520px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-end;
  padding-bottom:12px;
}
.pet-stage:before {
  content:"";
  position:absolute;
  left:50%;
  top:150px;
  width:520px;
  height:520px;
  translate:-50% -50%;
  background:radial-gradient(circle,color-mix(in srgb,var(--glow) 19%,transparent),color-mix(in srgb,var(--glow) 5%,transparent) 38%,transparent 66%);
  pointer-events:none;
  animation:breathe 5.5s ease-in-out infinite;
}
.orbit {
  position:absolute;
  border:1px solid var(--gold-faint);
  border-radius:50%;
  width:360px;
  height:360px;
  top:-30px;
  left:calc(50% - 180px);
  transform:rotate(-18deg) scaleY(.74);
}
.orbit:before {
  content:"";
  position:absolute;
  top:50%;
  left:-4px;
  width:7px;
  height:7px;
  border:1px solid var(--gold-line);
  background:var(--bg);
  transform:translateY(-50%) rotate(45deg);
}
.orbit-two {
  width:460px;
  height:460px;
  left:calc(50% - 230px);
  top:-80px;
  transform:rotate(32deg) scaleY(.8);
  border-style:dashed;
  border-color:color-mix(in srgb,var(--gold) 8%,transparent);
}
.orbit-two:before {
  left:auto;
  right:-4px;
}
.motes {
  position:absolute;
  inset:0;
  pointer-events:none;
}
.motes span {
  position:absolute;
  width:3px;
  height:3px;
  border-radius:50%;
  background:var(--mote);
  box-shadow:0 0 8px 1px var(--glow);
  opacity:0;
  animation:drift 9s ease-in-out infinite;
}
.motes span:nth-child(1) { left:14%; top:150px; animation-delay:-1s; }
.motes span:nth-child(2) { left:78%; top:70px; animation-delay:-3.5s; animation-duration:11s; }
.motes span:nth-child(3) { left:86%; top:260px; animation-delay:-6s; }
.motes span:nth-child(4) { left:24%; top:40px; animation-delay:-2.2s; animation-duration:12s; }
.motes span:nth-child(5) { left:62%; top:300px; animation-delay:-7.5s; animation-duration:10s; }
.motes span:nth-child(6) { left:8%; top:280px; animation-delay:-4.8s; animation-duration:13s; }
.motes span:nth-child(7) { left:44%; top:20px; animation-delay:-8.4s; }
.sprite-wrap {
  position:relative;
  height:300px;
  flex-shrink:0;
  width:100%;
  display:grid;
  place-items:center;
  margin-bottom:6px;
}
.sprite {
  width:192px;
  height:208px;
  background:url("pet/spritesheet.webp") 0 0/1536px 2288px no-repeat;
  transform:scale(1.45);
  filter:drop-shadow(0 0 24px color-mix(in srgb,var(--glow) 25%,transparent));
  animation:arrive 1.2s cubic-bezier(.2,.7,.2,1) both;
}
.dialog {
  position:relative;
  display:flex;
  align-items:center;
  gap:12px;
  min-width:250px;
  padding:10px 34px 10px 18px;
  margin-bottom:20px;
  border-radius:12px;
  background:color-mix(in srgb,#050a08 80%,transparent);
  color:var(--text);
  border:1px solid var(--line);
  box-shadow:inset 0 0 0 3px color-mix(in srgb,#050a08 80%,transparent),inset 0 0 0 4px var(--gold-faint);
  font-size:16px;
  z-index:1;
}
.dialog-name {
  text-transform:uppercase;
  font-family:var(--display);
  font-size:11px;
  font-weight:700;
  letter-spacing:.18em;
  color:var(--fairy);
}
.dialog:after {
  content:"";
  position:absolute;
  right:14px;
  bottom:12px;
  border:5px solid transparent;
  border-top:7px solid var(--gold);
  border-bottom:0;
  animation:nudge 1.1s ease-in-out infinite;
}
.preview-label {
  text-transform:uppercase;
  font-size:10px;
  letter-spacing:.14em;
  color:var(--faded);
  margin-left:auto;
}
.states {
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  justify-content:center;
  max-width:560px;
  z-index:1;
}
.states button {
  border:1px solid var(--line);
  background:color-mix(in srgb,var(--bg) 60%,transparent);
  color:var(--muted);
  padding:6px 13px;
  border-radius:999px;
  font-size:14px;
  line-height:1.3;
  transition:color .2s,border-color .2s,background .2s;
}
.states button:hover {
  color:var(--text);
  border-color:var(--gold-line);
}
.states button[aria-pressed=true] {
  border-color:var(--gold);
  color:var(--text);
  background:var(--gold-faint);
}
.direction-gallery {
  margin-top:14px;
  width:100%;
  text-align:center;
  z-index:1;
}
.direction-gallery summary {
  color:var(--muted);
  font-size:14px;
}
.direction-gallery .states {
  margin:12px auto 0;
}
.motion-toggle {
  min-height:28px;
  padding:4px 8px;
  background:none;
  border:none;
  color:var(--faded);
  font-size:13px;
  text-decoration:underline;
  text-decoration-color:var(--line);
  text-underline-offset:3px;
  margin-top:10px;
  z-index:1;
}
.motion-toggle:hover:not(:disabled) {
  color:var(--text);
}

/* Platform strip */
.platform-strip {
  border-block:1px solid var(--gold-faint);
  background:linear-gradient(90deg,transparent,var(--surface) 20%,var(--surface) 80%,transparent);
}
.platform-strip .wrap {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:16px 30px;
  flex-wrap:wrap;
  padding-block:22px;
  font-size:16px;
}
.platform-strip span {
  text-transform:uppercase;
  font-family:var(--display);
  font-size:11px;
  font-weight:600;
  letter-spacing:.2em;
  color:var(--gold);
}
.platform-strip strong {
  font-weight:500;
}
.platform-strip .divider {
  width:7px;
  height:7px;
  border:1px solid var(--gold-line);
  transform:rotate(45deg);
}

/* Section headings */
.section-heading {
  max-width:680px;
  margin-bottom:40px;
}
h2 {
  font-family:var(--serif);
  font-size:clamp(38px,4.6vw,60px);
  font-weight:500;
  letter-spacing:-.015em;
  line-height:1.05;
  margin:0 0 18px;
}
h2 em {
  color:var(--fairy);
}
.section-heading>p:last-child,.compatibility-copy>p {
  color:var(--muted);
  margin:0;
}

/* Sounds */
.listen-section {
  padding-block:100px 80px;
}
.sound-grid {
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:14px;
}
.sound {
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:4px;
  text-align:left;
  padding:22px 20px 22px;
  background:linear-gradient(180deg,var(--card-top),var(--card-bottom));
  border:1px solid var(--line);
  border-radius:4px;
  color:var(--text);
  transition:border-color .25s,box-shadow .3s,transform .25s;
}
.sound:hover {
  border-color:var(--gold-line);
  transform:translateY(-2px);
}
.sound.playing {
  border-color:var(--fairy);
  box-shadow:0 0 0 1px color-mix(in srgb,var(--glow) 33%,transparent),0 14px 40px -12px color-mix(in srgb,var(--glow) 40%,transparent);
}
.sound-event {
  font-family:var(--mono);
  font-size:11px;
  color:var(--faded);
  margin-bottom:22px;
}
.sound-name {
  font-family:var(--serif);
  font-size:36px;
  font-weight:600;
  line-height:1.05;
}
.sound-use {
  font-size:15px;
  color:var(--muted);
}
.sound[data-clip=watchout] .sound-name {
  color:var(--warn);
}
.play-icon {
  position:absolute;
  right:16px;
  top:16px;
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border:1px solid var(--gold-line);
  border-radius:50%;
  transition:border-color .2s,background .2s;
}
.play-icon:before {
  content:"";
  margin-left:3px;
  border-block:6px solid transparent;
  border-left:10px solid var(--gold);
}
.sound:hover .play-icon {
  border-color:var(--gold);
}
.sound.playing .play-icon {
  border-color:var(--fairy);
  background:var(--fairy-soft);
  animation:ring 1.2s ease-out infinite;
}
.sound.playing .play-icon:before {
  border-left-color:var(--fairy);
}
.wave {
  display:flex;
  align-items:flex-end;
  gap:3px;
  height:14px;
  margin-top:16px;
}
.wave i {
  width:3px;
  height:30%;
  background:var(--line);
  border-radius:2px;
}
.sound.playing .wave i {
  background:var(--fairy);
  animation:wave .7s ease-in-out infinite alternate;
}
.sound.playing .wave i:nth-child(2) { animation-delay:-.2s; }
.sound.playing .wave i:nth-child(3) { animation-delay:-.45s; }
.sound.playing .wave i:nth-child(4) { animation-delay:-.1s; }
.sound.playing .wave i:nth-child(5) { animation-delay:-.35s; }
#audio-status {
  min-height:24px;
  margin-top:20px;
}

/* Install */
.install-section {
  position:relative;
  background:radial-gradient(ellipse at 50% 0,var(--surface-raised),var(--surface) 60%);
  padding-block:100px;
}
.install-section .flourish {
  position:absolute;
  inset:-5px 0 auto;
  width:min(560px,calc(100% - 48px));
  margin-inline:auto;
}
.install-section .section-heading {
  margin-inline:auto;
  text-align:center;
}
.install-section .eyebrow {
  justify-content:center;
}
.install-choices {
  display:flex;
  width:fit-content;
  margin:0 auto 34px;
  border:1px solid var(--gold-line);
  border-radius:3px;
  padding:4px;
  gap:4px;
}
.install-choices button {
  border:0;
  background:transparent;
  color:var(--muted);
  font-family:var(--display);
  font-size:13px;
  font-weight:600;
  letter-spacing:.1em;
  padding:11px 26px;
  border-radius:2px;
  transition:background .2s,color .2s;
}
.install-choices button:hover {
  color:var(--text);
}
.install-choices button[aria-pressed=true] {
  background:var(--gold);
  color:var(--on-gold);
}
.install-panel {
  position:relative;
  padding:34px 36px;
  margin-top:20px;
  background:color-mix(in srgb,var(--bg) 70%,transparent);
  border:1px solid var(--line);
  border-radius:3px;
}
.install-panel:before,.install-panel:after {
  content:"";
  position:absolute;
  width:16px;
  height:16px;
  border:1px solid var(--gold);
  pointer-events:none;
}
.install-panel:before {
  top:-1px;
  left:-1px;
  border-width:1px 0 0 1px;
}
.install-panel:after {
  bottom:-1px;
  right:-1px;
  border-width:0 1px 1px 0;
}
.install-panel>p {
  max-width:820px;
  color:var(--muted);
}
.panel-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
  margin-bottom:16px;
}
h3 {
  font-family:var(--serif);
  font-weight:600;
  font-size:32px;
  line-height:1.15;
  margin:0 0 12px;
}
.panel-heading h3 {
  margin:0;
}
h4 {
  text-transform:uppercase;
  font-family:var(--display);
  font-size:12px;
  font-weight:600;
  letter-spacing:.14em;
  margin:0;
  color:var(--gold);
}
code {
  font-family:var(--mono);
  font-size:.84em;
  color:var(--code);
}
pre {
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  background:var(--sunk);
  border:1px solid var(--line);
  border-radius:2px;
  padding:18px 20px;
  line-height:1.85;
  margin:0;
}
.command-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  margin-block:24px 8px;
}
.command {
  display:flex;
  flex-direction:column;
  gap:10px;
  min-width:0;
}
.command pre {
  flex:1;
}
.command-head {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
}
.copy {
  border:1px solid var(--gold-line);
  border-radius:2px;
  background:none;
  color:var(--text);
  font-size:13px;
  padding:4px 12px;
  margin-top:12px;
  transition:border-color .2s,color .2s,background .2s;
}
.command .copy {
  margin:0;
}
.copy:hover {
  border-color:var(--gold);
  background:var(--gold-faint);
}
.copy.copied {
  border-color:var(--accent);
  color:var(--accent);
}
details {
  margin-top:22px;
}
details pre {
  margin-top:14px;
}
summary {
  cursor:pointer;
  font-size:15px;
  color:var(--text);
}
summary::marker {
  color:var(--gold);
}
details p {
  color:var(--muted);
}
details.install-panel summary {
  font-family:var(--serif);
  font-size:26px;
  font-weight:600;
}
#copy-status {
  min-height:20px;
  margin-bottom:0;
  text-align:center;
}

/* Compatibility */
.compatibility {
  display:grid;
  grid-template-columns:1fr 1.35fr;
  gap:80px;
  padding-block:100px;
}
.compatibility-copy .text-link {
  display:inline-block;
  margin-top:22px;
}
.table-scroll {
  min-width:0;
  overflow-x:auto;
}
table {
  width:100%;
  border-collapse:collapse;
  min-width:420px;
  font-size:15px;
  text-align:left;
}
th,td {
  padding:14px 12px 14px 0;
  border-bottom:1px solid var(--line);
}
thead th {
  text-transform:uppercase;
  font-family:var(--display);
  font-size:11px;
  font-weight:600;
  letter-spacing:.16em;
  color:var(--gold);
  border-bottom-color:var(--gold-line);
}
tbody th {
  font-weight:500;
}
td {
  color:var(--muted);
}
td:before {
  content:"";
  display:inline-block;
  width:7px;
  height:7px;
  margin-right:10px;
  vertical-align:1px;
  transform:rotate(45deg);
  border:1px solid var(--faded);
}
td.yes {
  color:var(--text);
}
td.yes:before {
  background:var(--fairy);
  border-color:var(--fairy);
  box-shadow:0 0 8px color-mix(in srgb,var(--glow) 53%,transparent);
}
td.some:before {
  border-color:var(--fairy);
  background:linear-gradient(135deg,var(--fairy) 50%,transparent 50%);
}
td.no {
  color:var(--faded);
}

/* Closing */
.closing {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:26px;
  text-align:center;
  padding-block:30px 100px;
}
.closing .flourish {
  width:min(560px,100%);
  margin-bottom:40px;
}
.closing .fairy-light {
  width:16px;
  height:16px;
  animation:bob 4s ease-in-out infinite;
}
.closing h2 {
  margin:0;
}

/* Not found */
.lost {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:22px;
  text-align:center;
  padding-block:110px 90px;
}
.lost .fairy-light {
  width:16px;
  height:16px;
  animation:bob 4s ease-in-out infinite;
}
.lost .eyebrow {
  margin:0;
}
.lost h1 {
  font-family:var(--serif);
  font-size:clamp(52px,7vw,96px);
  font-weight:500;
  line-height:1;
  letter-spacing:-.015em;
  margin:0;
}
.lost h1 em {
  display:block;
  color:var(--fairy);
  text-shadow:0 0 28px color-mix(in srgb,var(--glow) 33%,transparent);
}
.lost>p {
  max-width:46ch;
  color:var(--muted);
  margin:0;
}
.lost .actions {
  justify-content:center;
}
.lost .flourish {
  width:min(420px,100%);
  margin-top:40px;
}

/* Footer */
footer {
  border-top:1px solid var(--gold-faint);
  padding-block:30px 40px;
  font-size:14px;
  color:var(--faded);
  display:flex;
  justify-content:space-between;
  gap:12px 40px;
  flex-wrap:wrap;
}
footer p {
  margin:4px 0;
}
.footer-brand {
  text-transform:uppercase;
  font-family:var(--display);
  font-size:12px;
  font-weight:600;
  letter-spacing:.2em;
  color:var(--muted);
}
.visually-hidden {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

@keyframes breathe {
  50% { opacity:.65; scale:.94; }
}
@keyframes drift {
  0% { opacity:0; transform:translate(0,10px); }
  25% { opacity:.9; }
  70% { opacity:.5; }
  100% { opacity:0; transform:translate(18px,-60px); }
}
@keyframes arrive {
  from { opacity:0; transform:scale(1.2) translateY(24px); filter:drop-shadow(0 0 60px color-mix(in srgb,var(--glow) 80%,transparent)) brightness(1.6); }
}
@keyframes nudge {
  50% { translate:0 3px; }
}
@keyframes ring {
  from { box-shadow:0 0 0 0 color-mix(in srgb,var(--glow) 40%,transparent); }
  to { box-shadow:0 0 0 12px color-mix(in srgb,var(--glow) 0%,transparent); }
}
@keyframes wave {
  from { height:20%; }
  to { height:100%; }
}
@keyframes bob {
  50% { translate:0 -8px; box-shadow:0 0 18px 5px color-mix(in srgb,var(--glow) 66%,transparent),0 0 50px 14px color-mix(in srgb,var(--glow) 27%,transparent); }
}

@media(max-width:1000px) {
  .sound-grid {
    grid-template-columns:repeat(3,1fr);
  }
  .command-grid {
    grid-template-columns:1fr;
  }
}
@media(max-width:850px) {
  .wrap {
    width:calc(100% - 48px);
  }
  .hero {
    gap:15px;
  }
  .sprite {
    transform:scale(1.15);
  }
  .compatibility {
    grid-template-columns:1fr;
    gap:36px;
  }
}
@media(max-width:600px) {
  body {
    font-size:16px;
  }
  .wrap {
    width:calc(100% - 32px);
  }
  .masthead {
    padding-block:20px;
  }
  .masthead nav {
    gap:16px;
    font-size:14px;
  }
  .theme-toggle {
    padding:4px 8px;
  }
  .theme-label {
    position:absolute;
    width:1px;
    height:1px;
    overflow:hidden;
    clip:rect(0,0,0,0);
    white-space:nowrap;
  }
  .brand {
    font-size:12px;
    letter-spacing:.14em;
    gap:10px;
  }
  .hero {
    grid-template-columns:1fr;
    padding-block:30px 20px;
    gap:0;
  }
  .hero h1 {
    font-size:104px;
  }
  .intro {
    font-size:24px;
  }
  .pet-stage {
    min-height:430px;
    margin-top:24px;
  }
  .pet-stage:before {
    width:380px;
    height:380px;
    top:120px;
  }
  .orbit {
    width:270px;
    height:270px;
    left:calc(50% - 135px);
    top:-10px;
  }
  .orbit-two {
    width:330px;
    height:330px;
    left:calc(50% - 165px);
    top:-40px;
  }
  .sprite-wrap {
    height:240px;
  }
  .dialog {
    min-width:0;
    width:100%;
  }
  .platform-strip .wrap {
    gap:10px 20px;
  }
  .platform-strip span {
    width:100%;
    text-align:center;
  }
  .platform-strip .divider {
    display:none;
  }
  .listen-section {
    padding-block:64px 48px;
  }
  .sound-grid {
    grid-template-columns:1fr;
    gap:10px;
  }
  .sound {
    padding:16px 70px 16px 18px;
    gap:2px;
  }
  .sound-event {
    margin:0 0 4px;
  }
  .sound-name {
    font-size:30px;
  }
  .play-icon {
    top:50%;
    translate:0 -50%;
  }
  .wave {
    display:none;
  }
  .install-section {
    padding-block:64px;
  }
  .install-choices {
    width:100%;
  }
  .install-choices button {
    padding:10px 8px;
    flex:1;
    font-size:12px;
    letter-spacing:.06em;
  }
  .install-panel {
    padding:24px 18px;
  }
  .panel-heading {
    align-items:flex-start;
    flex-direction:column;
    gap:16px;
  }
  h3 {
    font-size:28px;
  }
  .compatibility {
    padding-block:64px;
  }
  .closing {
    padding-block:10px 64px;
  }
}
@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }
  *,*:before,*:after {
    animation:none!important;
    transition:none!important;
  }
  .motes {
    display:none;
  }
}
