/* Pet Life website. Colours and type come from the game: hot pink, royal blue, cyan, gold, plum outlines, Lilita One. */
@font-face { font-family: "Lilita One"; src: url("/assets/fonts/LilitaOne-Regular.woff") format("woff"), url("/assets/fonts/LilitaOne-Regular.ttf") format("truetype"); font-display: swap; }
:root {
  --pink: #fa57a8; --pink-deep: #db2e85; --blue: #4599f7; --cyan: #38ccd6; --gold: #fcc426;
  --plum: #75195a; --ink: #4d1a42; --paper: #fff5f9; --blush: #ffdeed; --white: #fff;
  --display: "Lilita One", ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --measure: 66ch;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 500 1.0625rem/1.6 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pink-deep); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.1; margin: 0; letter-spacing: 0.01em; }
p { margin: 0 0 1em; }
.wrap { width: min(1080px, 100% - 40px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px)); margin-inline: auto; }
picture { display: contents; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; } a, button, summary { -webkit-tap-highlight-color: rgba(250,87,168,.25); touch-action: manipulation; }

/* the candy lettering the game uses for its titles: white, plum outline, a hard drop underneath */
.candy { color: var(--white); -webkit-text-stroke: 0.14em var(--plum); paint-order: stroke fill; text-shadow: 0 0.09em 0 var(--plum); }
.candy.pink { color: var(--pink); -webkit-text-stroke-color: var(--white); text-shadow: 0 0.08em 0 var(--plum), 0 0 0 var(--plum); filter: drop-shadow(0 0 0 var(--plum)); }

/* a slab: white card, plum outline, a thick lip at its foot */
.slab { background: linear-gradient(#fff, var(--paper)); border: 3px solid var(--plum); border-bottom-width: 8px; border-radius: 26px; padding: 22px; }
.btn { display: inline-block; font: 400 1.25rem/1 var(--display); color: #fff; text-decoration: none; background: linear-gradient(#ff7dbf, var(--pink));
  border: 3px solid var(--plum); border-bottom-width: 7px; border-radius: 999px; padding: 14px 26px 12px; -webkit-text-stroke: 0.1em var(--plum); paint-order: stroke fill; }
.btn:hover { filter: brightness(1.05); } .btn:active { transform: translateY(3px); border-bottom-width: 4px; }
.btn.quiet { background: #fff; color: var(--ink); -webkit-text-stroke: 0; }
.btn[aria-disabled="true"] { background: linear-gradient(#fff, var(--blush)); color: var(--ink); -webkit-text-stroke: 0; cursor: default; }

/* top bar */
.top { position: absolute; inset: 0 0 auto 0; z-index: 5; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; padding-block: 16px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 400 1.35rem/1 var(--display); }
.brand img { width: 40px; height: 40px; border-radius: 11px; border: 2px solid var(--plum); }
.top nav { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.top nav a { font-weight: 800; font-size: 0.95rem; color: var(--ink); text-decoration: none; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.75); border: 2px solid var(--plum); }
.top nav a[aria-current="page"] { background: var(--pink); color: #fff; }

/* the hero is the game's title screen: sky, rainbow, meadow */
.hero { position: relative; overflow: hidden; padding: 120px 0 0; background: linear-gradient(#7fd6f4 0%, #c9f0fb 46%, #fde6f1 70%); }
.rainbow { position: absolute; left: 50%; bottom: 90px; width: min(1500px, 190vw); aspect-ratio: 2 / 1; transform: translateX(-50%); border-radius: 750px 750px 0 0; opacity: .8;
  background: radial-gradient(circle at 50% 100%, transparent 0 51%, #c9a5f5 51% 54%, #8fc4ff 54% 57%, #9be7c0 57% 60%, #fff0a3 60% 63%, #ffc79a 63% 66%, #ff9fc6 66% 69%, transparent 69%); }
.meadow { position: absolute; inset: auto 0 0 0; height: 150px; background: linear-gradient(#8ee66a, #5fd24a); border-radius: 50% 50% 0 0 / 60px 60px 0 0; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: end; }
.hero h1 { font-size: clamp(3.6rem, 11vw, 7.5rem); }
.hero .tag { font: 400 clamp(1.2rem, 3vw, 1.7rem)/1.2 var(--display); margin: 10px 0 22px; }
.hero .lede { max-width: 34ch; font-size: 1.15rem; font-weight: 600; }
.hero .pitch { padding-bottom: 70px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 22px; }
.cta small { font-weight: 700; opacity: .75; flex-basis: 100%; }
.phone { width: min(310px, 78vw); margin-inline: auto; border: 4px solid var(--plum); border-bottom: 0; border-radius: 44px 44px 0 0; overflow: hidden; background: #000; box-shadow: 0 0 0 8px #fff; max-height: 600px; }
.phone img { width: 100%; }

section { padding: 72px 0; }
section > .wrap > h2 { font-size: clamp(2rem, 5vw, 3rem); color: var(--pink); margin-bottom: 10px; }
section > .wrap > .sub { max-width: var(--measure); margin-bottom: 30px; font-weight: 600; }

/* one real day: a clock strip, because the sequence is the point */
.day { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 3px solid var(--plum); border-bottom-width: 8px; border-radius: 26px; overflow: hidden; }
.day li { padding: 22px 20px 24px; border-left: 3px solid var(--plum); }
.day li:first-child { border-left: 0; }
.day li:nth-child(1) { background: #fff3c4; } .day li:nth-child(2) { background: #d9f3ff; } .day li:nth-child(3) { background: #ffe1ef; } .day li:nth-child(4) { background: #3c2a6b; color: #f4ecff; }
.day time { font: 400 1.9rem/1 var(--display); display: block; margin-bottom: 8px; }
.day p { margin: 0; font-size: 1rem; }

.shots { display: grid; grid-auto-flow: column; grid-auto-columns: min(240px, 62vw); gap: 18px; overflow-x: auto; padding: 8px 20px 18px; scroll-snap-type: x mandatory; scroll-padding: 20px; }
.shots figure { margin: 0; scroll-snap-align: start; }
.shots img { border: 3px solid var(--plum); border-bottom-width: 7px; border-radius: 26px; }
.shots figcaption { font-weight: 700; font-size: .95rem; padding: 10px 4px 0; }
.band { background: var(--blush); }

/* iPhone Duo: the open screen as it is, with the crease down the middle, and the three ways it is held */
.duo { display: grid; grid-template-columns: 1.35fr 1fr; gap: 36px; align-items: center; }
.fold { position: relative; margin: 0; border: 4px solid var(--plum); border-bottom-width: 9px; border-radius: 30px; overflow: hidden; background: var(--plum); }
.fold img { display: block; width: 100%; height: auto; }
/* (the phone is fully open in these pictures: the crease is only a hint) */
.fold::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 10px; transform: translateX(-50%); pointer-events: none;
  background: linear-gradient(90deg, rgba(77,26,66,0), rgba(77,26,66,.06) 45%, rgba(255,255,255,.1) 55%, rgba(77,26,66,0)); }
.fold.upright::after { display: none; }
/* iPhone Duo closed: the outer display. Tight corners on the hinge side, round ones on the side that opens. */
.fold.upright { aspect-ratio: auto; border-width: 4px 4px 9px 7px; border-radius: 9px 13% 13% 9px / 9px 9% 9% 9px; }
.postures .closed { display: grid; grid-template-columns: 118px 1fr; gap: 18px; align-items: center; }
.postures .closed .fold.upright { border-width: 3px 3px 6px 5px; border-radius: 6px 16px 16px 6px; }
.fold-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.fold-row .fold { border-width: 3px; border-bottom-width: 6px; border-radius: 20px; }
.fold-row .fold::after { width: 8px; }
.postures { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.postures h3 { font-size: 1.6rem; color: var(--pink-deep); margin-bottom: 6px; }
.postures p { margin: 0; font-weight: 600; max-width: 38ch; }
.postures .btn { font-size: 1.05rem; padding: 11px 20px 9px; }

.price { width: 100%; border-collapse: separate; border-spacing: 0; }
.price th, .price td { text-align: left; padding: 14px 12px; border-bottom: 2px dashed rgba(117,25,90,.25); vertical-align: top; }
.price tr:last-child th, .price tr:last-child td { border-bottom: 0; }
.price th { font: 400 1.2rem/1.2 var(--display); width: 34%; }
.price td:last-child { font: 400 1.2rem/1.2 var(--display); white-space: nowrap; text-align: right; color: var(--pink-deep); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.two h3 { font-size: 1.45rem; margin-bottom: 8px; color: var(--blue); }
.two p:last-child { margin-bottom: 0; }

footer { background: var(--ink); color: #ffe6f2; padding: 40px 0 46px; font-size: .98rem; }
footer .wrap { display: flex; gap: 24px 40px; flex-wrap: wrap; justify-content: space-between; }
footer a { color: #fff; font-weight: 700; }
footer ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px 20px; flex-wrap: wrap; }
footer p { margin: 0; max-width: 46ch; }

/* document pages (support, privacy, terms) */
.doc-head { background: linear-gradient(#7fd6f4, #c9f0fb); padding: 120px 0 44px; border-bottom: 3px solid var(--plum); }
.doc-head h1 { font-size: clamp(2.4rem, 7vw, 4rem); }
.doc-head p { margin: 12px 0 0; font-weight: 700; }
.doc { padding: 44px 0 72px; }
.doc .wrap { max-width: 760px; }
.doc h2 { font-size: 1.6rem; color: var(--pink-deep); margin: 2em 0 .5em; }
.doc h3 { font-size: 1.2rem; margin: 1.4em 0 .4em; }
.doc ul, .doc ol { padding-left: 1.3em; margin: 0 0 1em; } .doc li { margin-bottom: .4em; }
.doc table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: .98rem; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border: 2px solid rgba(117,25,90,.25); vertical-align: top; }
.doc th { background: var(--blush); }
/* guides and the iPhone Duo page: an article with pictures of the two displays */
.crumbs { font-weight: 700; font-size: .92rem; margin-bottom: 14px; }
.crumbs a { color: var(--ink); }
.guide .wrap { max-width: 820px; }
.guide h2 { font-size: 1.7rem; }
.answer { font-size: 1.2rem; font-weight: 700; line-height: 1.5; border-left: 8px solid var(--pink); padding: 4px 0 4px 18px; margin: 0 0 28px; }
.pic { margin: 22px 0; }
.pic figcaption { font-weight: 700; font-size: .95rem; padding: 10px 4px 0; }
.fold.upright { max-width: 300px; }
.pair { display: grid; grid-template-columns: 300px 1fr; gap: 20px; align-items: end; }
.pair:has(.fold:not(.upright)):not(:has(.upright)) { grid-template-columns: 1fr 1fr; }
.pair .pic { margin: 10px 0 22px; }
.guide table th[scope="row"] { width: 30%; }
.cards { list-style: none; margin: 0 0 28px; padding: 0 !important; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cards li { margin: 0; }
.cards a { display: block; height: 100%; text-decoration: none; color: var(--ink); background: linear-gradient(#fff, var(--paper)); border: 3px solid var(--plum); border-bottom-width: 7px; border-radius: 22px; padding: 18px 20px; }
.cards a:hover { background: #fff; }
.cards h3 { margin: 0 0 6px; font-size: 1.3rem; color: var(--pink-deep); }
.cards p { margin: 0; font-size: .98rem; }
.steps, .checks { list-style: none; padding: 0 !important; counter-reset: n; }
.steps > li, .checks > li { counter-increment: n; position: relative; padding-left: 62px; margin-bottom: 26px; }
.steps > li::before, .checks > li::before { content: counter(n); position: absolute; left: 0; top: -2px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font: 400 1.35rem/1 var(--display); color: #fff; background: var(--blue); border: 3px solid var(--plum); border-bottom-width: 6px; }
.steps h2, .checks h2 { margin: 0 0 .35em; }
.ours { background: var(--blush); border-radius: 14px; padding: 10px 14px; }
.keys { background: #fff; border: 3px solid var(--plum); border-bottom-width: 7px; border-radius: 22px; padding: 16px 20px 6px; margin: 0 0 28px; }
.keys h2 { margin: 0 0 .4em; font-size: 1.3rem; color: var(--blue); }
.terms dt { font: 400 1.2rem/1.2 var(--display); color: var(--pink-deep); margin-top: 1em; }
.terms dd { margin: .25em 0 0; }
.prices td:last-child { white-space: nowrap; font-weight: 800; }
.qa { max-width: 820px; }
.related { list-style: none; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 8px; }
.related li { margin: 0; }
.related a { display: inline-block; text-decoration: none; font-weight: 800; font-size: .95rem; color: var(--ink); background: #fff; border: 2px solid var(--plum); border-bottom-width: 4px; border-radius: 999px; padding: 6px 14px; }
.related a:hover { background: var(--blush); }
.phoneframe { width: min(300px, 80%); border: 4px solid var(--plum); border-bottom-width: 9px; border-radius: 40px; overflow: hidden; background: var(--plum); }
.phoneframe img { display: block; width: 100%; height: auto; }
.numbers { list-style: none; padding: 0 !important; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.numbers li { margin: 0; padding: 10px 0; border-bottom: 2px dashed rgba(117,25,90,.25); }
.numbers b { font: 400 1.35rem/1.1 var(--display); color: var(--pink-deep); display: block; }
.pics { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; align-items: end; }
.pics li { margin: 0; }
.pics a { text-decoration: none; color: var(--ink); font-weight: 700; font-size: .85rem; }
.pics img { border: 3px solid var(--plum); border-bottom-width: 6px; border-radius: 16px; margin-bottom: 6px; }
.versus th[scope="row"] { width: 22%; }
.versus td { width: 39%; }
.scroll { overflow-x: auto; margin: 0 0 1.2em; }
.guide .wide { min-width: 980px; font-size: .92rem; margin: 0; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.three h3 { margin: 0; font-size: 1.15rem; }
.byline { font-size: .92rem; font-weight: 600; opacity: .8; margin-top: 2.4em; }
.more { margin-top: 1.2em; }
.note { background: #fff3c4; border: 3px solid var(--plum); border-radius: 18px; padding: 14px 18px; font-weight: 600; }
details { border: 3px solid var(--plum); border-bottom-width: 6px; border-radius: 20px; background: #fff; margin-bottom: 12px; }
summary { cursor: pointer; padding: 14px 18px; font: 400 1.15rem/1.3 var(--display); list-style-position: inside; }
details > div { padding: 0 18px 14px; } details > div p:last-child { margin-bottom: 0; }
code, .paste { font: 600 .95em ui-monospace, SFMono-Regular, Menlo, monospace; background: #fff; border: 2px solid rgba(117,25,90,.25); border-radius: 8px; padding: 1px 6px; overflow-wrap: anywhere; }
pre.paste { padding: 12px 14px; white-space: pre-wrap; font-weight: 500; }

@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; } .hero .pitch { padding-bottom: 10px; text-align: center; } .hero .lede { margin-inline: auto; } .cta { justify-content: center; }
  .day { grid-template-columns: 1fr 1fr; } .day li:nth-child(3) { border-left: 0; } .day li:nth-child(n+3) { border-top: 3px solid var(--plum); }
  .duo { grid-template-columns: 1fr; gap: 24px; }
  .pair, .pair:has(.fold:not(.upright)):not(:has(.upright)) { grid-template-columns: 1fr; } .cards { grid-template-columns: 1fr; }
  .steps > li, .checks > li { padding-left: 54px; }
  .numbers { grid-template-columns: 1fr; }
  .cards.three { grid-template-columns: 1fr; }
  .two { grid-template-columns: 1fr; } .top nav a { padding: 6px 10px; font-size: .88rem; }
  .price th { width: auto; } .price td:nth-child(2) { display: none; }
}
@media (max-width: 460px) { .day { grid-template-columns: 1fr; } .day li { border-left: 0; } .day li:nth-child(n+2) { border-top: 3px solid var(--plum); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* the price list on a phone: name and price on one line, what it is underneath */
@media (max-width: 640px) {
  .price, .price tbody { display: block; }
  .price tr { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; padding: 12px 0; border-bottom: 2px dashed rgba(117,25,90,.25); }
  .price tr:last-child { border-bottom: 0; }
  .price th, .price td { padding: 0; border: 0; width: auto; }
  .price td:nth-child(2) { display: block; grid-column: 1 / -1; grid-row: 2; padding-top: 6px; font-size: .97rem; }
}

/* ---------- phones ---------- */
@media (max-width: 640px) {
  /* the header: name on top, the four links in one row of full-size buttons underneath */
  .top .wrap { flex-direction: column; align-items: stretch; gap: 10px; padding-block: 12px; }
  .brand { justify-content: center; } .brand span { display: inline; }
  .top nav { display: grid; grid-template-columns: repeat(4, auto); gap: 6px; justify-content: stretch; }
  .top nav a { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 4px 6px; font-size: .86rem; white-space: nowrap; }
  .hero { padding-top: 136px; } .doc-head { padding: 140px 0 28px; }
  .hero .lede { font-size: 1.05rem; } .phone { width: min(250px, 66vw); max-height: 430px; border-radius: 36px 36px 0 0; }
  .cta .btn, .more .btn { min-height: 48px; }
  section { padding-block: 48px; }
  .shots { -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; scrollbar-width: none; }
  .shots::-webkit-scrollbar { display: none; }
  .answer { font-size: 1.05rem; padding-left: 14px; }
  .crumbs a, .crumbs span { display: inline-block; padding-block: 10px; }
  .crumbs { margin-bottom: 4px; }
  footer ul { gap: 0 4px; margin-inline: -8px; } footer li a { display: inline-block; padding: 12px 8px; }
  footer { padding-bottom: calc(46px + env(safe-area-inset-bottom, 0px)); }
  .related a, .cards a { min-height: 44px; }
  summary { padding: 15px 16px; min-height: 48px; }
  /* tables with three or more columns: each row becomes a card, each cell says what it is */
  .scroll { overflow: visible; margin: 0; } .guide .wide { min-width: 0; font-size: 1rem; }
  table[data-stack], table[data-stack] tbody { display: block; width: 100%; border: 0; background: none; }
  table[data-stack] tr { display: block; background: #fff; border: 3px solid var(--plum); border-bottom-width: 6px; border-radius: 18px; padding: 12px 14px; margin-bottom: 12px; }
  table[data-stack] tr:first-child { display: none; }
  table[data-stack] th, table[data-stack] td { display: block; width: auto !important; padding: 0; border: 0; background: none; text-align: left; white-space: normal; }
  table[data-stack] tr > :first-child { font: 400 1.15rem/1.25 var(--display); color: var(--pink-deep); margin-bottom: 6px; }
  table[data-stack] td[data-label] { padding-top: 8px; margin-top: 8px; border-top: 2px dashed rgba(117,25,90,.2); }
  table[data-stack] td[data-label]::before { content: attr(data-label); display: block; font-weight: 800; font-size: .85rem; color: var(--plum); }
}
@media (max-width: 350px) { .top nav { grid-template-columns: repeat(2, 1fr); } .hero { padding-top: 186px; } .doc-head { padding-top: 190px; } }
@media (hover: none) { .btn:hover, .cards a:hover { transform: none; } }

/* a long list of short names (breeds), in columns */
.cols { columns: 3 180px; column-gap: 28px; padding-left: 1.2em; }
.cols li { break-inside: avoid; margin: 2px 0; }

/* ---- Apple devices ----
   Touch (iPhone, iPad): every control is at least 44 points tall, Apple's own minimum, at any width. */
@media (pointer: coarse) {
  .top nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; }
  th a, .related a, footer li a { display: inline-block; padding-block: 10px; }
  summary { min-height: 44px; }
}
/* An iPhone held sideways: very wide and very short. The hero fits the screen (title, line, button beside the
   phone) and the notch and home indicator sides are kept clear. */
@media (orientation: landscape) and (max-height: 480px) {
  .top .wrap { padding-block: 8px; }
  .hero { padding-top: 64px; }
  .hero .wrap { grid-template-columns: 1.3fr .7fr; align-items: center; }
  .hero h1 { font-size: clamp(2.4rem, 13vh, 3.4rem); }
  .hero .tag { margin: 4px 0 8px; font-size: 1.1rem; }
  .hero .lede { font-size: .98rem; max-width: 46ch; }
  .hero .pitch { padding-bottom: 16px; text-align: left; }
  .hero .lede { margin-inline: 0; } .cta { justify-content: flex-start; }
  .phone { width: min(200px, 28vw); max-height: 300px; }
  .doc-head { padding: 72px 0 18px; }
}
/* A Mac: a pointer and a keyboard. Clear focus rings for Tab, and the screenshot strip scrolls with the trackpad. */
@media (hover: hover) and (pointer: fine) {
  a:focus-visible, button:focus-visible, summary:focus-visible, .shots:focus-visible { outline: 3px solid var(--plum); outline-offset: 3px; border-radius: 8px; }
  .shots { scrollbar-width: thin; }
}
/* Large Mac displays: a little more room and a slightly larger reading size, never a wider line. */
@media (min-width: 1500px) { html { font-size: 106.25%; } .wrap { width: min(1120px, 100% - 40px); } }

/* "Tell a friend", above the footer */
.sharebar { padding: 6px 0 34px; text-align: center; }
.sharebar .btn { font-size: 1.05rem; padding: 12px 24px 10px; cursor: pointer; }

/* ---- the pets, the quiz ---- */
.petpic { margin: 8px auto 18px; text-align: center; }
.petpic img { width: min(280px, 70vw); height: auto; filter: drop-shadow(0 8px 0 rgba(77,27,64,.14)); }
.petgrid { list-style: none; padding: 0; margin: 14px 0 26px; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.petgrid.small { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.petgrid li { margin: 0; }
.petgrid a { display: block; text-align: center; text-decoration: none; color: var(--ink); background: #fff; border: 3px solid var(--plum); border-bottom-width: 6px; border-radius: 22px; padding: 10px 8px 8px; }
.petgrid img { width: 100%; height: auto; aspect-ratio: 1; }
.petgrid h3 { margin: 4px 0 2px; font-size: 1rem; line-height: 1.2; }
.hatchband { align-items: center; } .hatchband .petpic { margin: 0 auto; }
.quiz .q { border: 0; padding: 0; margin: 10px 0 24px; text-align: center; }
.quiz legend { font: 400 clamp(1.5rem, 5vw, 2.1rem)/1.2 var(--display); color: var(--pink-deep, var(--pink)); margin: 0 auto 16px; padding: 0; }
.quiz .q .btn { display: block; width: min(420px, 100%); margin: 10px auto; cursor: pointer; }
.result { text-align: center; } .result img { width: min(280px, 70vw); height: auto; } .result h2 { margin-top: 4px; }
.linklike { background: none; border: 0; padding: 12px; font: inherit; font-weight: 700; color: var(--ink); text-decoration: underline; cursor: pointer; }
.kit { columns: 2 220px; }
button.btn { cursor: pointer; font-family: var(--display); }
.petpic.tiny { margin: 0 auto 4px; } .petpic.tiny img { width: 140px; }
