/* Shared by both looks: resets, accessibility, the logo's wink. */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; overflow-wrap: break-word; }
img, svg { max-inline-size: 100%; }
h1, h2, h3 { overflow-wrap: anywhere; text-wrap: balance; }
.tagline { text-wrap: balance; }
p { text-wrap: pretty; }
p { margin: 0 0 .6rem; }
.entry p:last-child, .panel > p:last-child { margin-block-end: 0; }

.controls { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: .5rem; }
.picker { display: inline-flex; }
.picker button, .theme-toggle { cursor: pointer; min-block-size: 32px; }

.logo { all: unset; cursor: pointer; display: block; border-radius: 50%; max-inline-size: 100%; }
.mark { display: block; inline-size: 100%; block-size: auto; color: currentColor; }
.mark .wink { transition: transform .14s ease-in; transform-origin: 52.5px 36px; }
.mark .open { opacity: 0; transition: opacity .1s ease-in; }
.logo.blink .wink { transform: scaleX(.2); }
.logo.blink .open { opacity: 1; }

.links { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.links a, .go a { display: inline-block; min-block-size: 24px; padding-block: .15rem; overflow-wrap: anywhere; }
.entry { min-inline-size: 0; }
.entry ul { margin: 0; padding-inline-start: 1.25rem; }
.entry li + li { margin-block-start: .3rem; }

/* Decoration that only the 1999 look uses */
.retro-only { display: none; }
html[data-style="retro"] .retro-only { display: revert; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.sr-only { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
