.palette-auto { color-scheme: light; --bg: #d8effd; --text: #0b0b0c; --text2: #3f3f46; --surface: #ffffff; --hover: #f4f4f5; --line: #0b0b0c; --accent: #0b0b0c; --on-accent: #ffffff; }
@media (prefers-color-scheme: dark) { .palette-auto { color-scheme: dark; --bg: #3e6aed; --text: #ffffff; --text2: #e4ecff; --surface: #151515; --hover: #232323; --line: #f5f5f5; --accent: #f5f5f5; --on-accent: #0b0b0c; } }
/* Pixel World: Pixtopia's own links page (links/page.css, which comes before this) with someone's face and name over the
   floating town where Pixtopia's logo stands, and what their page adds: their sites as marks, their art, the invitation. */
.logo.who {
  left: calc(var(--area) / 2);
  transform: translateX(-50%);
  width: max-content;
  max-width: min(92vw, 540px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.logo.who .face { flex: none; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px currentColor; background: #151515; }
.logo.who .face.initial { display: grid; place-items: center; font: 400 22px/1 var(--pixel); color: #f5f5f5; }
.logo.who .name { margin: 0; font: 400 30px/1 var(--pixel); -webkit-font-smoothing: none; text-shadow: 0 2px 0 rgba(4, 12, 48, 0.45); overflow-wrap: anywhere; }
@media (min-width: 960px) {
  .logo.who .face { width: 56px; height: 56px; }
  .logo.who .name { font-size: 40px; }
}
@media (prefers-color-scheme: light) {
  .logo.who .name { text-shadow: 0 2px 0 rgba(255, 255, 255, 0.7); }
}

.socials { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0 0 18px; }
.social { width: 44px; height: 44px; display: grid; place-items: center; color: var(--sea-ink); background: var(--surface); box-shadow: 0 -2px 0 0 var(--ink), 0 2px 0 0 var(--ink), -2px 0 0 0 var(--ink), 2px 0 0 0 var(--ink), 0 6px 0 0 var(--scrim); margin: 2px; color: var(--ink); }
a.social:hover { background: var(--hover); }
.social svg { width: 24px; height: 24px; display: block; }
.socials:last-of-type { margin-top: 8px; }

.layout-grid .links { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 10px; }
.layout-grid .group { grid-column: 1 / -1; }
.layout-grid .choice .where { display: none; }
/* In a grid each choice is its mark over its name, as the other designs' grids are: beside the mark, a name of four short
   words had a line a word in a phone's half width. */
.layout-grid .choice.link { flex-direction: column; justify-content: center; text-align: center; gap: 10px; min-height: 108px; padding: 14px 10px; }
.layout-grid .choice.link .mark { width: auto; }
.layout-grid .choice.link .mark svg { width: 28px; height: 28px; }
.layout-grid .choice.link .title { font-size: 20px; line-height: 1.15; }

.art { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 18px var(--edge) 10px; }
.piece { display: block; aspect-ratio: 1; background: var(--surface); box-shadow: 0 calc(var(--edge) * -1) 0 0 var(--ink), 0 var(--edge) 0 0 var(--ink), calc(var(--edge) * -1) 0 0 0 var(--ink), var(--edge) 0 0 0 var(--ink), 0 calc(var(--edge) * 4) 0 0 var(--scrim); }
.piece img { display: block; width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }

.invite { display: grid !important; gap: 4px; justify-items: start; margin-top: 16px; }
.invite-title { font: 400 22px/1 var(--pixel); -webkit-font-smoothing: none; }
.invite-line { font-size: 12.5px; line-height: 1.3; color: var(--ink-3); }

.tip { display: grid !important; gap: 4px; justify-items: start; margin-top: 16px; }
.tip-title { font: 400 22px/1 var(--pixel); -webkit-font-smoothing: none; }
.tip-line { font-size: 12.5px; line-height: 1.3; color: var(--ink-3); }

.foot.made { flex-direction: column; gap: 4px; text-align: center; }
.made p { margin: 0; }
.made a { color: var(--sea-ink); }

.preview-note { position: sticky; top: 0; z-index: 20; margin: 0; padding: 8px 16px; text-align: center; font: 500 13px/1.4 var(--sans); background: #ffb547; color: #0b0b0c; }
