/* JuicyCode "poured gel candy": a glossy top, a rim in three pinks and a hard darker base.
   Highlights sit top left and the thickness shadow always falls straight down. Chewy is for the
   name and titles only; everything that is read is Nunito. Small pink text uses Deep Berry. */
@font-face { font-family: Chewy; src: url('/fonts/Chewy-Regular.ttf') format('truetype'); font-display: swap; }
@font-face { font-family: Nunito; src: url('/fonts/Nunito-Variable.ttf') format('truetype'); font-weight: 200 1000;
  font-display: swap; }

:root {
  color-scheme: light;
  --gloss: #ff5ba3;
  --rim: #ff8fc0;
  --candy: #ffb4d3;
  --milk: #ffe8f1;
  --berry: #b3125f;
  --syrup: #6e0b3c;
  --base: #e5438d;
  --paper: #fff5f9;
  --surface: #fff;
  --line: #ffd3e6;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; color: var(--syrup); font: 600 16px/1.55 Nunito, ui-rounded, system-ui, sans-serif;
  background: var(--paper); }
a { color: var(--berry); font-weight: 800; }
:focus-visible { outline: 3px solid var(--berry); outline-offset: 3px; }

/* Pearl pink with a faint diagonal sheen, like glossy paper */
.pearl { background:
  repeating-linear-gradient(115deg, transparent 0 76px, rgb(255 255 255 / .5) 76px 78px),
  linear-gradient(#ffeef5, #ffdfec); }

/* Puffy lettering: gooey base, rim, glossy fill and highlight. Needs data-text equal to the text. */
.puffy { position: relative; display: inline-block; margin: 0 .2em; font: 400 3rem/1.2 Chewy, ui-rounded, cursive;
  letter-spacing: .02em; color: var(--gloss); -webkit-text-stroke: .24em var(--gloss); paint-order: stroke fill;
  filter: drop-shadow(0 .07em 0 #ee86c3); }
.puffy::after { content: attr(data-text); content: attr(data-text) / ''; position: absolute; inset: 0;
  color: #ffd6e8; -webkit-text-stroke: .08em var(--rim); paint-order: stroke fill;
  text-shadow: -.012em -.028em 0 #fff, 0 .055em 0 var(--base); }

/* Gel buttons */
.gel, button { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  min-height: 2.6rem; padding: .45rem 1.4rem; border: 3px solid var(--rim); border-radius: 999px;
  font: 800 .95rem/1.2 Nunito, ui-rounded, system-ui, sans-serif; color: var(--syrup); text-decoration: none;
  cursor: pointer; background: linear-gradient(#ffc9e0, #ff86bc 45%, var(--gloss));
  box-shadow: 0 0 0 2px var(--candy), 0 5px 0 1px var(--base), inset 0 2px 0 rgb(255 255 255 / .75); }
.gel::before, button::before { content: ''; position: absolute; top: 3px; left: 14px; width: 34%; height: 26%;
  border-radius: 999px; background: linear-gradient(rgb(255 255 255 / .85), rgb(255 255 255 / .15));
  pointer-events: none; }
.gel.light, button.light { background: linear-gradient(#fff, var(--milk) 50%, #ffd0e4); }
.gel:hover, button:hover { filter: brightness(1.04); }
.gel:active, button:active { transform: translateY(3px);
  box-shadow: 0 0 0 2px var(--candy), 0 2px 0 1px var(--base), inset 0 2px 0 rgb(255 255 255 / .75); }
button:disabled { cursor: default; filter: saturate(.45); opacity: .75; transform: none; }
@media (prefers-reduced-motion: no-preference) { .gel, button { transition: transform .08s, filter .12s; } }

input, select, textarea { font: 600 .95rem Nunito, ui-rounded, system-ui, sans-serif; color: var(--syrup);
  background: var(--surface); border: 2px solid var(--candy); border-radius: 999px; padding: .4rem .85rem;
  accent-color: var(--gloss); }
textarea { border-radius: 16px; resize: vertical; }
input[readonly] { background: var(--milk); }

.card { background: var(--surface); border: 2px solid var(--line); border-radius: 24px; padding: 1.25rem; }
.chip { display: inline-block; padding: .1rem .7rem; border: 2px solid var(--candy); border-radius: 999px;
  background: var(--surface); color: var(--berry); font-size: .78rem; font-weight: 800; }
.note { color: var(--berry); font-size: .85rem; }
