@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/fonts/bricolage-grotesque-latin-opsz-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/fonts/bricolage-grotesque-latin-ext-opsz-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

:root {
  --bg: #f7f5fe;
  --surface: #ffffff;
  --text: #1f1c3d;
  --muted: #666680;
  --ghost: #8a8aad;
  --line: #dad8eb;
  --edge: #b4b1d2;
  --accent: #fb4f87;
  --up: #006846;
  --down: #902559;
  --accent-ink: #bd1359;

  --lilac: #eae2ff;
  --lilac-ink: #5e3d9e;
  --rose: #ffdbe9;
  --rose-ink: #902559;
  --peach: #ffdfcb;
  --peach-ink: #923100;
  --butter: #fff0c2;
  --butter-ink: #6b4a00;
  --sky: #d6e9ff;
  --sky-ink: #224fa7;
  --mint: #caf3e0;
  --mint-ink: #006846;

  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 24px;
  --s6: 32px;
  --s7: 48px;

  --gutter: 20px;
  --column: 720px;

  --r-s: 16px;
  --r-m: 20px;
  --r-l: 28px;
  --r-full: 999px;

  --t1: 12px;
  --t2: 14px;
  --t3: 16px;
  --t4: 20px;
  --t-h2: 22px;
  --t5: 28px;
  --t6: 40px;
  --t7: 56px;

  --w-text: 400;
  --measure: 32em;
  --measure-wide: 38em;
  --w-label: 500;
  --w-strong: 700;

  --lh-tight: 1.02;
  --lh-snug: 1.25;
  --lh-text: 1.55;
  --track-tight: -0.03em;

  --tap: 44px;
  --tap-m: 52px;
  --tap-l: 64px;
  --hairline: 1px;
  --icon: 24px;
  --bar: calc(var(--tap-l) + var(--s2));
  --tilt: 7deg;
  --fast: 0.2s;
  --quick: 0.28s;
  --leave: 0.34s;
  --leave-fade: 0.16s;
  --leave-hold: 0.18s;
  --ease-in: cubic-bezier(0.4, 0, 0.9, 0.6);
  --ease-out: cubic-bezier(0.2, 0.6, 0.4, 1);
  --slow: 0.8s;
  --spring: cubic-bezier(0.2, 0.9, 0.3, 1.2);
  --column-wide: 1024px;

  --glass: rgb(247 245 254 / 0.72);
  --glass-surface: rgb(255 255 255 / 0.8);
  --frost: saturate(1.8) blur(18px);
  --shadow-s: 0 0 0 1px rgb(30 26 60 / 0.04), 0 2px 10px rgb(30 26 60 / 0.06);
  --shadow-l: 0 12px 28px -16px rgb(87 64 184 / 0.3);
  --font: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

a,
button,
summary,
select {
  touch-action: manipulation;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: var(--w-text) var(--t3) / var(--lh-text) var(--font);
  -webkit-text-size-adjust: 100%;
  padding-bottom: calc(var(--bar) + var(--s7));
  overflow-x: clip;
}

html.is-swiping,
html.is-swiping body {
  overflow: hidden;
  overscroll-behavior: none;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: calc(var(--hairline) * 2) solid var(--text);
  outline-offset: calc(var(--hairline) * 2);
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
}

.sr {
  position: absolute;
  width: var(--hairline);
  height: var(--hairline);
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.icon {
  width: var(--icon);
  height: var(--icon);
  flex: none;
  fill: currentColor;
}

.tone-peach {
  --tone: var(--peach);
  --ink: var(--peach-ink);
}

.tone-butter {
  --tone: var(--butter);
  --ink: var(--butter-ink);
}

.tone-rose {
  --tone: var(--rose);
  --ink: var(--rose-ink);
}

.tone-mint {
  --tone: var(--mint);
  --ink: var(--mint-ink);
}

.tone-sky {
  --tone: var(--sky);
  --ink: var(--sky-ink);
}

.tone-lilac {
  --tone: var(--lilac);
  --ink: var(--lilac-ink);
}

.topbar,
.page {
  max-width: var(--column);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.topbar {
  display: flex;
  align-items: center;
  min-height: calc(var(--tap) + var(--s3));
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  font-size: var(--t4);
  font-weight: var(--w-strong);
  letter-spacing: var(--track-tight);
  text-decoration: none;
}

.brand span {
  color: var(--accent-ink);
}

.brand i {
  position: relative;
  top: var(--hairline);
  margin-left: var(--s1);
  padding: 0 var(--s2);
  line-height: var(--lh-text);
  border-radius: var(--r-full);
  background: var(--lilac);
  color: var(--lilac-ink);
  font-size: var(--t1);
  font-style: normal;
  letter-spacing: 0;
}

.view {
  display: grid;
  gap: var(--s6);
  padding-block: var(--s2) var(--s7);
}

.view > * {
  min-width: 0;
}

.view[hidden] {
  display: none;
}

.is-loading .page {
  opacity: 0.6;
}

h1 {
  font-size: var(--t6);
  font-weight: var(--w-strong);
  line-height: var(--lh-tight);
  letter-spacing: var(--track-tight);
  text-wrap: balance;
}

h2 {
  font-size: var(--t-h2);
  letter-spacing: var(--track-tight);
  font-weight: var(--w-strong);
  line-height: var(--lh-snug);
}

h3 {
  font-size: var(--t3);
  font-weight: var(--w-strong);
}

.head,
.hero {
  display: grid;
  gap: var(--s3);
}

.lede {
  color: var(--muted);
  max-width: var(--measure);
}

.back {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  min-height: var(--tap);
  justify-self: start;
  margin-bottom: calc(var(--s5) * -1);
  font-size: var(--t2);
  font-weight: var(--w-label);
  color: var(--muted);
  text-decoration: none;
}

.back .icon {
  width: var(--s4);
  height: var(--s4);
}

.block {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s3);
}

.block__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  column-gap: var(--s4);
}

.block__head a {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  font-size: var(--t2);
  font-weight: var(--w-label);
  color: var(--muted);
}

.note {
  font-size: var(--t2);
  color: var(--muted);
}

.note--center {
  text-align: center;
}

h1:focus {
  outline: none;
}

.prose {
  max-width: var(--measure-wide);
}

.art {
  flex: none;
  display: grid;
  place-items: center;
  width: calc(var(--tap) + var(--s2));
  height: calc(var(--tap) + var(--s2));
  border-radius: var(--r-s);
  background: var(--tone);
  color: var(--ink);
  font-size: var(--t4);
  font-weight: var(--w-strong);
  letter-spacing: var(--track-tight);
  line-height: 1;
}

.art svg {
  width: 56%;
  height: 56%;
  fill: currentColor;
}

.art--m {
  width: var(--tap-l);
  height: var(--tap-l);
  background: var(--surface);
  font-size: var(--t5);
}

.art--l {
  width: calc(var(--s7) * 2);
  height: calc(var(--s7) * 2);
  border-radius: var(--r-l);
  background: var(--surface);
  font-size: var(--t7);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
}

.fan {
  background: radial-gradient(circle at 50% 52%, var(--lilac), transparent 64%);
  display: grid;
  justify-items: center;
  padding-block: var(--s4) var(--s2);
  text-decoration: none;
}

.fan__card {
  --spread: min(58%, calc(50vw - 50% - var(--s5)));
  grid-area: 1 / 1;
  display: grid;
  align-content: start;
  gap: var(--s1);
  width: calc(var(--s7) * 3 + var(--s4));
  min-height: calc(var(--s7) * 4);
  padding: var(--s4);
  border-radius: var(--r-l);
  background: var(--tone);
  box-shadow: var(--shadow-l);
}

.fan__card:nth-child(1) {
  transform: translateX(calc(var(--spread) * -1)) rotate(calc(var(--tilt) * -1.4));
}

.fan__card:nth-child(2) {
  transform: translateX(var(--spread)) rotate(calc(var(--tilt) * 1.4));
  justify-items: end;
  text-align: right;
}

.fan__card:nth-child(3) {
  position: relative;
  z-index: 1;
}

.fan__card:not(:nth-child(3)) .fan__name {
  font-size: var(--t4);
}

.fan__card:not(:nth-child(3)) .fan__meaning {
  display: none;
}

.fan__name {
  margin-top: var(--s4);
  font-size: var(--t5);
  font-weight: var(--w-strong);
  line-height: var(--lh-snug);
  letter-spacing: var(--track-tight);
}

.fan__meaning {
  font-size: var(--t2);
  color: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  min-height: calc(var(--tap) + var(--s2));
  padding-inline: var(--s5);
  border: 0;
  border-radius: var(--r-full);
  background: var(--text);
  color: var(--surface);
  font-weight: var(--w-label);
  text-decoration: none;
  cursor: pointer;
  justify-self: start;
  white-space: nowrap;
}

.button--quiet {
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-s);
}

.rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s2);
}

.rail > :nth-child(n + 7),
.rail > :nth-child(4):nth-last-child(-n + 2),
.rail > :nth-child(5):last-child {
  display: none;
}

.namecard {
  position: relative;
  display: grid;
  align-content: start;
  gap: var(--s1);
  height: 100%;
  min-height: calc(var(--s7) * 3 + var(--s3));
  padding: var(--s3);
  border-radius: var(--r-m);
  background: var(--tone);
  text-decoration: none;
}

.namecard__rank {
  position: absolute;
  top: var(--s3);
  right: var(--s3);
  font-size: var(--t2);
  font-weight: var(--w-strong);
  color: var(--ink);
}

.namecard__name {
  margin-top: var(--s2);
  font-size: var(--t3);
  overflow-wrap: anywhere;
  font-weight: var(--w-strong);
  line-height: var(--lh-snug);
  letter-spacing: var(--track-tight);
}

.namecard__name.is-long {
  font-size: var(--t2);
}

.namecard__meaning {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: var(--t1);
  line-height: var(--lh-snug);
  color: var(--ink);
}

.rows {
  background: var(--surface);
  border-radius: var(--r-l);
  box-shadow: var(--shadow-s);
  padding-inline: var(--s3);
}

.row {
  display: flex;
  align-items: center;
  gap: var(--s3);
  min-height: calc(var(--tap-l) + var(--s3));
}

.row[hidden] {
  display: none;
}

.row.is-more {
  display: none;
}

.more {
  justify-self: center;
}

.row + .row {
  border-top: var(--hairline) solid var(--line);
}

.row__no {
  flex: none;
  width: var(--tap);
  font-size: var(--t3);
  letter-spacing: var(--track-tight);
  font-weight: var(--w-strong);
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.delta {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s1);
  min-width: calc(var(--s7) + var(--s4));
  padding: var(--s1) var(--s3) var(--s1) var(--s2);
  font-variant-numeric: tabular-nums;
  border-radius: var(--r-full);
  background: var(--bg);
  font-size: var(--t1);
  font-weight: var(--w-label);
  text-align: center;
  color: var(--muted);
}

.delta .icon {
  width: var(--s4);
  height: var(--s4);
}

.delta--up {
  background: var(--mint);
  color: var(--up);
}

.delta--down {
  background: var(--rose);
  color: var(--down);
}

.ctx {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: var(--s2);
  padding: var(--s2) var(--s2) var(--s2) var(--s4);
  border-radius: var(--r-full);
  background: var(--surface);
  box-shadow: var(--shadow-s);
  font-size: var(--t2);
}

.ctx__list {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
}

.ctx a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s1);
  min-height: var(--tap);
  padding-inline: var(--s3);
  border-radius: var(--r-full);
  background: var(--text);
  color: var(--surface);
  font-weight: var(--w-label);
  text-decoration: none;
}

.ctx a.ctx__prev {
  width: var(--tap);
  padding: 0;
  background: var(--bg);
  color: var(--text);
}

.row__main {
  flex: 1;
  min-width: 0;
  display: grid;
  padding-block: var(--s3);
  text-decoration: none;
}

.row__name {
  font-size: var(--t4);
  font-weight: var(--w-strong);
  line-height: var(--lh-snug);
  letter-spacing: var(--track-tight);
}

.row__meaning {
  font-size: var(--t2);
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.row__side {
  flex: none;
  display: grid;
  justify-items: end;
  font-size: var(--t1);
  color: var(--muted);
}

.row__rank {
  font-size: var(--t3);
  font-weight: var(--w-strong);
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.like {
  flex: none;
  margin-right: calc(var(--s2) * -1);
  width: var(--tap);
  height: var(--tap);
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: var(--r-full);
  background: none;
  color: var(--ghost);
  cursor: pointer;
}

.like[aria-pressed="true"] {
  color: var(--accent);
}

.like .icon--on,
.like[aria-pressed="true"] .icon--off {
  display: none;
}

.like[aria-pressed="true"] .icon--on {
  display: block;
}

.view--onesex .row__sex {
  display: none;
}

.chips,
.pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
}

.chip,
.pill {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  padding-inline: var(--s4);
  border: 0;
  border-radius: var(--r-full);
  background: var(--surface);
  box-shadow: inset 0 0 0 var(--hairline) var(--edge);
  font-size: var(--t2);
  font-weight: var(--w-label);
  text-decoration: none;
  cursor: pointer;
}

.chip--plain {
  background: none;
  box-shadow: inset 0 0 0 var(--hairline) var(--line);
  cursor: default;
}

.pill[aria-pressed="true"] {
  background: var(--text);
  box-shadow: none;
  color: var(--surface);
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: var(--s6);
  padding-inline: var(--s3);
  border-radius: var(--r-full);
  background: var(--surface);
  color: var(--ink);
  font-size: var(--t2);
  font-weight: var(--w-label);
  text-decoration: none;
}

.search {
  display: flex;
  align-items: center;
  gap: var(--s3);
  min-height: calc(var(--tap) + var(--s3));
  padding-inline: var(--s4);
  background: var(--surface);
  border-radius: var(--r-full);
  box-shadow: inset 0 0 0 var(--hairline) var(--ghost), var(--shadow-s);
  color: var(--muted);
}

.search--link {
  text-decoration: none;
}

.found {
  display: grid;
  gap: var(--s2);
}

.found[hidden] {
  display: none;
}

.found__label {
  font-size: var(--t2);
  color: var(--muted);
}

.mygroups,
.stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s6);
}

.ad {
  display: grid;
  place-items: center;
  min-height: calc(var(--s7) * 5);
  border-radius: var(--r-l);
  background: var(--surface);
  overflow: hidden;
}

.stack:empty {
  display: none;
}

.mygroups:empty {
  display: none;
}

.button[hidden] {
  display: none;
}

.search input {
  flex: 1;
  min-width: 0;
  height: var(--tap);
  border: 0;
  background: none;
  color: var(--text);
  outline: none;
}

.search:focus-within {
  box-shadow: 0 0 0 calc(var(--hairline) * 2) var(--text);
}

.tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s3);
}

.tile {
  display: grid;
  align-content: start;
  gap: var(--s1);
  min-height: calc(var(--s7) * 2 + var(--s4));
  padding: var(--s4);
  background: var(--surface);
  border-radius: var(--r-l);
  box-shadow: var(--shadow-s);
  text-decoration: none;
}

.tile__title {
  margin-top: var(--s3);
  font-size: var(--t4);
  font-weight: var(--w-strong);
  line-height: var(--lh-snug);
  letter-spacing: var(--track-tight);
  overflow-wrap: anywhere;
}

.tile__note {
  font-size: var(--t2);
  color: var(--muted);
}

.strip {
  display: flex;
  gap: var(--s2);
  margin-inline: calc(var(--gutter) * -1);
  padding-inline: var(--gutter);
  overflow-x: auto;
  scrollbar-width: none;
}

.strip::-webkit-scrollbar {
  display: none;
}

.pill--more {
  gap: var(--s2);
  margin-left: auto;
}

.pill--more .icon {
  width: var(--s4);
  height: var(--s4);
}

.pill__n {
  margin-left: var(--s2);
  font-size: var(--t1);
  color: var(--muted);
}

.pill[aria-pressed="true"] .pill__n {
  color: inherit;
}

.filters {
  display: grid;
  gap: var(--s4);
  padding: var(--s4);
  border-radius: var(--r-l);
  background: var(--surface);
  box-shadow: var(--shadow-s);
}

.filters[hidden] {
  display: none;
}

.strip a {
  display: grid;
  place-items: center;
  width: var(--tap);
  height: var(--tap);
  border-radius: var(--r-full);
  background: var(--surface);
  box-shadow: inset 0 0 0 var(--hairline) var(--line);
  font-weight: var(--w-strong);
  text-decoration: none;
}

.strip a[aria-current="page"] {
  background: var(--text);
  box-shadow: none;
  color: var(--surface);
}

.seg {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  padding: var(--s1);
  border-radius: var(--r-full);
  background: var(--line);
}

.seg__item {
  display: grid;
  place-items: center;
  min-height: var(--tap);
  border-radius: var(--r-full);
  font-size: var(--t2);
  font-weight: var(--w-label);
  text-decoration: none;
}

.seg__item[aria-current="page"] {
  background: var(--text);
  color: var(--surface);
}

.seg__item--off {
  color: var(--muted);
  opacity: 0.6;
}

.tools {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s3);
}

.tools > :last-child:nth-child(odd),
.tiles > :last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.tool {
  display: grid;
  align-content: start;
  gap: var(--s1);
  height: 100%;
  padding: var(--s4);
  border-radius: var(--r-l);
  background: var(--surface);
  box-shadow: var(--shadow-s);
  text-decoration: none;
}

.tool .art {
  background: var(--tone);
}

.tool__title {
  margin-top: var(--s3);
  font-size: var(--t4);
  font-weight: var(--w-strong);
  line-height: var(--lh-snug);
  letter-spacing: var(--track-tight);
}

.tool__note {
  font-size: var(--t2);
  line-height: var(--lh-snug);
  color: var(--muted);
}

.filters {
  display: grid;
  gap: var(--s2);
}

.facts {
  padding-inline: var(--s4);
  border-radius: var(--r-l);
  background: var(--surface);
  box-shadow: var(--shadow-s);
}

.facts > div {
  display: flex;
  justify-content: space-between;
  gap: var(--s4);
  padding-block: var(--s3);
}

.facts > div + div {
  border-top: var(--hairline) solid var(--line);
}

.facts dt {
  color: var(--muted);
}

.facts dd {
  font-weight: var(--w-label);
  text-align: right;
}

.tryit {
  display: grid;
  gap: var(--s3);
  padding: var(--s4);
  border-radius: var(--r-l);
  background: var(--surface);
  box-shadow: var(--shadow-s);
}

.tryit .search {
  box-shadow: inset 0 0 0 var(--hairline) var(--line);
}

.tryit__out {
  font-size: var(--t5);
  font-weight: var(--w-strong);
  line-height: var(--lh-snug);
  letter-spacing: var(--track-tight);
  overflow-wrap: anywhere;
}

.tryit__last {
  color: var(--ink);
}

.tryit__note {
  font-size: var(--t2);
  color: var(--muted);
}

.textlink {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  font-size: var(--t2);
  font-weight: var(--w-label);
}

.block[hidden] {
  display: none;
}

.prose--muted {
  font-size: var(--t2);
  color: var(--muted);
}

.faqs {
  padding-inline: var(--s4);
  border-radius: var(--r-l);
  background: var(--surface);
  box-shadow: var(--shadow-s);
}

.faq + .faq {
  border-top: var(--hairline) solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  min-height: calc(var(--tap) + var(--s3));
  font-weight: var(--w-label);
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary .icon {
  color: var(--muted);
}

.faq[open] summary .icon {
  rotate: 180deg;
}

.faq p {
  padding-bottom: var(--s4);
  color: var(--muted);
}

.rules {
  display: grid;
  gap: var(--s2);
  padding-left: var(--s5);
  list-style: disc;
  color: var(--muted);
}

.picks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s3);
}

.picks .search {
  min-width: 0;
  box-shadow: inset 0 0 0 var(--hairline) var(--line);
}

.picks input {
  font-weight: var(--w-label);
}

.cmp {
  display: grid;
  gap: var(--s3);
}

.cmp__heads {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s3);
}

.cmp__head {
  display: grid;
  justify-items: start;
  gap: var(--s2);
  padding: var(--s4);
  border-radius: var(--r-l);
  background: var(--tone);
  font-size: var(--t5);
  font-weight: var(--w-strong);
  line-height: var(--lh-snug);
  letter-spacing: var(--track-tight);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.cmp__rows {
  padding-inline: var(--s4);
  border-radius: var(--r-l);
  background: var(--surface);
  box-shadow: var(--shadow-s);
}

.cmp__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s1) var(--s3);
  padding-block: var(--s3);
}

.cmp__row + .cmp__row {
  border-top: var(--hairline) solid var(--line);
}

.cmp__row dt {
  grid-column: 1 / -1;
  font-size: var(--t2);
  color: var(--muted);
}

.cmp__row dd {
  font-weight: var(--w-label);
}

.cmp__win {
  font-weight: var(--w-strong);
}

.cmp__win::after {
  content: "";
  display: inline-block;
  width: var(--s2);
  height: var(--s2);
  margin-left: var(--s2);
  border-radius: var(--r-full);
  background: var(--accent);
}

.fit {
  display: grid;
  justify-items: end;
  font-size: var(--t1);
  color: var(--muted);
}

.fit b {
  font-size: var(--t2);
  color: var(--text);
}

.root {
  display: grid;
  justify-items: start;
  gap: var(--s1);
  padding: var(--s4);
  border-radius: var(--r-l);
  background: var(--tone);
}

.root__form {
  font-size: var(--t6);
  font-weight: var(--w-strong);
  line-height: var(--lh-snug);
  color: var(--ink);
}

.root__say {
  font-weight: var(--w-label);
}

.root__lang {
  font-size: var(--t2);
  color: var(--ink);
}

.didyou,
.people {
  padding-inline: var(--s4);
  border-radius: var(--r-l);
  background: var(--surface);
  box-shadow: var(--shadow-s);
}

.didyou li,
.people li {
  display: grid;
  padding-block: var(--s4);
}

.didyou li + li,
.people li + li {
  border-top: var(--hairline) solid var(--line);
}

.people__row {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--s3);
}

.people__row > div {
  display: grid;
}

.people span {
  font-size: var(--t2);
  color: var(--muted);
}

.facts dd .chip {
  min-height: var(--s6);
}

.pair {
  display: flex;
  align-items: center;
  gap: var(--s3);
  min-height: calc(var(--tap-l) + var(--s3));
}

.pair + .pair {
  border-top: var(--hairline) solid var(--line);
}

.pair__art {
  flex: none;
  display: flex;
}

.pair__art .art + .art {
  margin-left: calc(var(--s3) * -1);
  box-shadow: 0 0 0 calc(var(--hairline) * 3) var(--surface);
}

.pair__main {
  min-width: 0;
  display: grid;
  padding-block: var(--s3);
}

.pair__names {
  font-size: var(--t4);
  font-weight: var(--w-strong);
  line-height: var(--lh-snug);
  letter-spacing: var(--track-tight);
}

.next {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s3);
}

.next--one {
  grid-template-columns: minmax(0, 1fr);
}

.next .button {
  justify-self: stretch;
  padding-inline: var(--s3);
  min-width: 0;
  white-space: normal;
}

.pair .row__meaning {
  white-space: normal;
}

.due {
  display: grid;
  gap: var(--s5);
}

.search input[type="date"] {
  min-width: 0;
  appearance: none;
}

.swipe__full {
  font-size: var(--t2);
  font-weight: var(--w-label);
  color: var(--ink);
}

.mark {
  position: absolute;
  right: calc(var(--s5) * -1);
  bottom: calc(var(--s6) * -1);
  width: calc(var(--s7) * 4);
  height: calc(var(--s7) * 4);
  color: var(--ink);
  opacity: 0.09;
  pointer-events: none;
}

.mark ~ :not(.stamp):not(.swipe__count) {
  position: relative;
}

.mark svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.today {
  position: relative;
  display: grid;
  justify-items: start;
  gap: var(--s1);
  padding: 0 var(--s5) var(--s5);
  border-radius: var(--r-l);
  background: var(--surface);
  box-shadow: var(--shadow-s);
  overflow: hidden;
  text-decoration: none;
}

.today__name {
  font-size: var(--t6);
  font-weight: var(--w-strong);
  line-height: var(--lh-tight);
  letter-spacing: var(--track-tight);
}

.today__meaning {
  font-size: var(--t4);
  line-height: var(--lh-snug);
  min-height: calc(var(--t4) * var(--lh-snug) * 2);
}

.today__meta {
  font-size: var(--t2);
  color: var(--ink);
}

.namehero {
  position: relative;
  overflow: hidden;
  display: grid;
  justify-items: start;
  gap: var(--s1);
  padding: 0 var(--s5) var(--s5);
  border-radius: var(--r-l);
  background: var(--surface);
  box-shadow: var(--shadow-s);
}

.namehero__band,
.today__band {
  position: relative;
  justify-self: stretch;
  overflow: hidden;
  height: calc(var(--s7) * 2 + var(--s4));
  margin-inline: calc(var(--s5) * -1);
  background: var(--tone);
}

.namehero__band::before,
.namehero__band::after,
.today__band::before,
.today__band::after {
  content: "";
  position: absolute;
  border-radius: var(--r-full);
  background: var(--surface);
  opacity: 0.45;
}

.namehero__band::before,
.today__band::before {
  right: calc(var(--s7) * -1);
  bottom: calc(var(--s7) * -2);
  width: calc(var(--s7) * 4);
  height: calc(var(--s7) * 4);
}

.namehero__band::after,
.today__band::after {
  right: calc(var(--s7) * 2);
  top: calc(var(--s7) * -2);
  width: calc(var(--s7) * 3);
  height: calc(var(--s7) * 3);
}

.namehero .art,
.today .art {
  position: relative;
  margin-top: calc(var(--s7) * -1);
  margin-bottom: var(--s3);
  box-shadow: var(--shadow-s);
}

.namehero__tags {
  position: absolute;
  top: var(--s4);
  right: var(--s4);
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: var(--s2);
  max-width: 70%;
}

.namehero .save,
.namehero .share {
  background: var(--bg);
}

.namehero__name {
  font-size: var(--t7);
}

.is-long {
  font-size: var(--t6);
}

.scope {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s2);
  font-size: var(--t2);
  color: var(--muted);
}

.scope[hidden] {
  display: none;
}

.namehero a.tag {
  min-height: var(--tap);
}

.pair__names a {
  display: inline-block;
  margin-block: calc(var(--s3) * -1);
  padding-block: var(--s3);
  text-decoration: none;
}

.pill,
.chip {
  min-width: var(--tap);
  justify-content: center;
}

.row--rank .row__meaning,
.row__meaning--wrap {
  white-space: normal;
}

.namehero__say {
  font-size: var(--t2);
  font-weight: var(--w-label);
  color: var(--ink);
}

.namehero__meaning {
  margin-top: var(--s2);
  font-size: var(--t4);
  line-height: var(--lh-snug);
}

.namehero__actions {
  justify-self: stretch;
  display: flex;
  gap: var(--s2);
  margin-top: var(--s5);
}

.share {
  flex: none;
  display: grid;
  place-items: center;
  width: calc(var(--tap) + var(--s2));
  height: calc(var(--tap) + var(--s2));
  border: 0;
  border-radius: var(--r-full);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.more summary {
  display: flex;
  width: fit-content;
  align-items: center;
  min-height: var(--tap);
  font-size: var(--t2);
  font-weight: var(--w-label);
  text-decoration: underline;
  cursor: pointer;
  list-style: none;
}

.more summary::-webkit-details-marker {
  display: none;
}

.more[open] summary {
  display: none;
}

.more .prose + .prose {
  margin-top: var(--s3);
}

.save {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  flex: 1;
  min-height: calc(var(--tap) + var(--s2));
  padding-inline: var(--s5);
  border: 0;
  border-radius: var(--r-full);
  background: var(--surface);
  color: var(--text);
  font-weight: var(--w-label);
  cursor: pointer;
}

.save .icon {
  color: var(--accent);
}

.save__on,
.save[aria-pressed="true"] .save__off {
  display: none;
}

.save[aria-pressed="true"] {
  background: var(--accent-ink);
  color: var(--surface);
}

.save[aria-pressed="true"] .icon {
  color: var(--surface);
}

.save[aria-pressed="true"] .save__on {
  display: inline;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s3);
}

.stats > div {
  padding: var(--s4);
  border-radius: var(--r-m);
  background: var(--surface);
  box-shadow: var(--shadow-s);
}

.stats dt {
  font-size: var(--t2);
  color: var(--muted);
}

.stats dd {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: var(--s2);
  font-size: var(--t5);
  font-weight: var(--w-strong);
  line-height: var(--lh-snug);
  letter-spacing: var(--track-tight);
  font-variant-numeric: tabular-nums;
}

.stats__note {
  font-size: var(--t2);
  font-weight: var(--w-text);
  letter-spacing: 0;
  color: var(--muted);
}

.chart {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s3);
  padding: var(--s4);
  border-radius: var(--r-l);
  background: var(--surface);
  box-shadow: var(--shadow-s);
}

.chart__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s3);
  font-size: var(--t2);
}

.chart__title {
  font-weight: var(--w-strong);
}

.chart__peak {
  flex: none;
  padding: var(--s1) var(--s3);
  border-radius: var(--r-full);
  background: var(--tone);
  color: var(--ink);
  font-weight: var(--w-label);
}

.chart__plot {
  height: calc(var(--s7) * 3);
  touch-action: pan-y;
  cursor: crosshair;
}

.chart__plot svg {
  display: block;
  width: 100%;
  height: 100%;
}

.chart__grid,
.chart__mark,
.chart__line {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.chart__grid {
  stroke: var(--line);
  stroke-width: 1;
}

.chart__area {
  fill: var(--tone);
}

.chart__line {
  stroke: var(--ink);
  stroke-width: 2.5;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.chart__mark {
  stroke: var(--ink);
  stroke-width: 1.5;
  stroke-dasharray: 3 4;
}

.chart__axis {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  padding-top: var(--s2);
  border-top: var(--hairline) solid var(--line);
  font-size: var(--t1);
  color: var(--muted);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.years {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--s2);
}

.years li {
  display: grid;
  justify-items: center;
  padding-block: var(--s3);
  border-radius: var(--r-m);
  background: var(--surface);
  box-shadow: var(--shadow-s);
}

.years__year {
  font-size: var(--t1);
  color: var(--muted);
}

.years__rank {
  font-size: var(--t2);
  letter-spacing: var(--track-tight);
  font-weight: var(--w-strong);
  font-variant-numeric: tabular-nums;
}

.pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s3);
}

.pager a {
  display: grid;
  padding: var(--s4);
  border-radius: var(--r-l);
  background: var(--surface);
  box-shadow: var(--shadow-s);
  font-size: var(--t4);
  font-weight: var(--w-strong);
  letter-spacing: var(--track-tight);
  text-decoration: none;
}

.pager__next {
  text-align: right;
}

.pager > span {
  display: none;
}

.pager > a:only-of-type {
  grid-column: 1 / -1;
}

.pager__label {
  font-size: var(--t1);
  font-weight: var(--w-label);
  letter-spacing: 0;
  color: var(--ink);
}

.view--match {
  gap: var(--s4);
  padding-bottom: 0;
}

.page:has(.view--match:not([hidden])) .duel {
  display: grid;
  gap: var(--s4);
}

.toast {
  position: fixed;
  inset: auto var(--s3) calc(var(--bar) + var(--s5) + env(safe-area-inset-bottom));
  max-width: calc(var(--s7) * 8);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  padding: var(--s2) var(--s2) var(--s2) var(--s4);
  border-radius: var(--r-full);
  background: var(--text);
  color: var(--surface);
  font-size: var(--t2);
  box-shadow: var(--shadow-l);
  z-index: 11;
}

.toast[hidden] {
  display: none;
  opacity: 0;
  translate: 0 var(--s2);
}

@supports (transition-behavior: allow-discrete) {
  .toast {
    transition: opacity var(--quick) ease, translate var(--quick) ease, display var(--quick) allow-discrete;
  }

  @starting-style {
    .toast {
      opacity: 0;
      translate: 0 var(--s2);
    }
  }
}

.toast .chip {
  color: var(--text);
}

.toast .chip[hidden] {
  display: none;
}

.view--match:not([hidden]) ~ .foot {
  display: none;
}

.matchhead {
  display: grid;
  justify-items: start;
  gap: var(--s3);
}

.matchhead h1 {
  font-size: var(--t5);
}

.deck {
  --deck-auto: clamp(calc(var(--s7) * 5), calc(100dvh - var(--s7) * 8), calc(var(--s7) * 10));
  display: grid;
  min-height: var(--deck-h, var(--deck-auto));
}

.swipe {
  grid-area: 1 / 1;
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  justify-items: start;
  gap: var(--s2);
  height: var(--deck-h, var(--deck-auto));
  padding: var(--s5);
  border-radius: var(--r-l);
  background: var(--tone);
  box-shadow: var(--shadow-l);
  overflow: hidden;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  cursor: grab;
  will-change: transform;
  transform: translate(var(--dx, 0), var(--dy, 0)) rotate(var(--rot, 0deg));
  transition: transform var(--quick) var(--spring), opacity var(--quick) ease;
}

.swipe.is-leaving {
  opacity: 0;
  transition: transform var(--leave) var(--ease-in), opacity var(--leave-fade) linear var(--leave-hold);
}

.swipe.is-leaving.is-flung {
  transition: transform var(--leave) var(--ease-out), opacity var(--leave-fade) linear var(--leave-hold);
}

.swipe.is-dragging {
  transition: none;
  cursor: grabbing;
}

.swipe--next {
  transform: scale(calc(0.96 + 0.04 * var(--lift, 0)));
  opacity: var(--lift, 0);
  transition: transform var(--leave) ease, opacity var(--leave) ease;
  cursor: default;
}

@media (max-height: 820px) {
  .swipe .art--l {
    width: var(--tap-l);
    height: var(--tap-l);
    border-radius: var(--r-m);
    font-size: var(--t5);
  }
}

.swipe__count {
  position: absolute;
  bottom: var(--s5);
  right: var(--s5);
  line-height: var(--tap);
  font-size: var(--t2);
  font-weight: var(--w-label);
  color: var(--ink);
}

.swipe__body {
  align-self: end;
  display: grid;
  justify-items: start;
  gap: var(--s1);
}

.swipe__tags {
  display: flex;
  gap: var(--s2);
  margin-bottom: var(--s2);
}

.swipe__name {
  font-size: var(--t7);
  font-weight: var(--w-strong);
  line-height: var(--lh-tight);
  letter-spacing: var(--track-tight);
}

.swipe__name.is-long {
  font-size: var(--t6);
}

.cmp__head.is-long {
  font-size: var(--t4);
}

.swipe__meaning {
  font-size: var(--t4);
  line-height: var(--lh-snug);
}

.swipe__more {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  font-size: var(--t2);
  font-weight: var(--w-label);
  color: var(--ink);
}

.stamp {
  position: absolute;
  top: var(--s6);
  right: var(--s5);
  padding: var(--s2) var(--s4);
  border-radius: var(--r-s);
  background: var(--surface);
  font-size: var(--t5);
  font-weight: var(--w-strong);
  letter-spacing: var(--track-tight);
  pointer-events: none;
}

.stamp--save {
  color: var(--accent);
  rotate: calc(var(--tilt) * -1.5);
  opacity: var(--save, 0);
}

.stamp--skip {
  color: var(--muted);
  rotate: calc(var(--tilt) * 1.5);
  opacity: var(--skip, 0);
}

.deck__more {
  display: flex;
  justify-content: center;
  min-height: var(--tap);
  margin: 0;
}

.deck__more .textlink {
  color: var(--muted);
}

.deck__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s5);
}

.deck__actions[data-off] {
  visibility: hidden;
}

.round {
  display: grid;
  place-items: center;
  width: var(--tap-m);
  height: var(--tap-m);
  padding: 0;
  border: 0;
  border-radius: var(--r-full);
  background: var(--surface);
  box-shadow: var(--shadow-s);
  color: var(--text);
  cursor: pointer;
  transition: transform var(--quick) var(--spring);
}

.round:active:not(:disabled) {
  transform: scale(0.92);
}

.round .icon {
  width: var(--s5);
  height: var(--s5);
}

.round--save {
  background: var(--accent);
  color: var(--surface);
}

.round--undo {
  width: var(--tap);
  height: var(--tap);
  box-shadow: var(--shadow-s);
  color: var(--muted);
}

.round--undo .icon {
  width: var(--icon);
  height: var(--icon);
}

.round:disabled {
  opacity: 0.4;
  cursor: default;
}

.empty {
  display: grid;
  gap: var(--s4);
  padding: var(--s5);
  border-radius: var(--r-l);
  background: var(--surface);
  box-shadow: var(--shadow-s);
  color: var(--muted);
}

.empty[hidden] {
  display: none;
}

.duel {
  display: grid;
  gap: var(--s4);
}

.duel__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s3);
}

.duel__card {
  position: relative;
  display: grid;
  justify-items: start;
  align-content: start;
  gap: var(--s1);
  min-height: calc(var(--s7) * 4);
  padding: var(--s4);
  border: 0;
  border-radius: var(--r-l);
  background: var(--tone);
  overflow: hidden;
  text-align: left;
  cursor: pointer;
}

.duel__name {
  margin-top: var(--s4);
  font-size: var(--t5);
  font-weight: var(--w-strong);
  line-height: var(--lh-snug);
  letter-spacing: var(--track-tight);
  overflow-wrap: anywhere;
}

.duel__meaning {
  font-size: var(--t2);
  line-height: var(--lh-snug);
  color: var(--ink);
}

.foot__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s1) var(--s2);
  margin-top: var(--s3);
  margin-inline: calc(var(--s2) * -1);
}

.foot__links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--tap);
  min-height: var(--tap);
  padding-inline: var(--s2);
}

.next[hidden] {
  display: none;
}

.foot {
  padding-block: var(--s5);
  border-top: var(--hairline) solid var(--line);
  font-size: var(--t1);
  color: var(--muted);
}

.tabbar {
  position: fixed;
  inset: auto var(--s3) calc(var(--s3) + env(safe-area-inset-bottom));
  max-width: calc(var(--column) - var(--gutter) * 2);
  margin-inline: auto;
  border-radius: var(--r-full);
  background: var(--glass-surface);
  -webkit-backdrop-filter: var(--frost);
  backdrop-filter: var(--frost);
  box-shadow: var(--shadow-l), var(--shadow-s);
  z-index: 10;
}

.tabbar ul {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  padding-inline: var(--s2);
}

.tabbar a {
  display: grid;
  justify-items: center;
  align-content: center;
  height: var(--bar);
  font-size: var(--t1);
  font-weight: var(--w-label);
  color: var(--muted);
  text-decoration: none;
}

.tabbar__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: calc(var(--tap) + var(--s3));
  height: var(--s6);
  border-radius: var(--r-full);
}

.tabbar a[aria-current="page"] {
  color: var(--text);
}

.tabbar a[aria-current="page"] .tabbar__icon {
  background: var(--lilac);
  color: var(--lilac-ink);
}

.tabbar__count {
  position: absolute;
  top: calc(var(--s1) * -1);
  right: 0;
  min-width: var(--s4);
  height: var(--s4);
  padding-inline: var(--s1);
  display: grid;
  place-items: center;
  border-radius: var(--r-full);
  background: var(--accent-ink);
  color: var(--surface);
  font-size: var(--t1);
  line-height: 1;
}

.tabbar__count[hidden] {
  display: none;
}

@media (min-width: 600px) {
  :root {
    --gutter: 32px;
  }

  .stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tiles--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .years {
    grid-template-columns: repeat(10, minmax(0, 1fr));
  }

  .tools {
    grid-template-columns: repeat(3, 1fr);
  }

  .tools > :last-child:nth-child(odd),
  .tiles > :last-child:nth-child(odd) {
    grid-column: auto;
  }
}

.chip:active,
.pill:active,
.strip a:active,
.row__main:active,
.namecard:active,
.tile:active,
.tool:active,
.share:active,
.button:active {
  opacity: 0.7;
}

@media (prefers-reduced-motion: no-preference) {
  .fan__card:nth-child(1) {
    animation: fan-left var(--slow) var(--spring) backwards;
  }

  .fan__card:nth-child(2) {
    animation: fan-right var(--slow) var(--spring) backwards;
  }

  .view {
    animation: view-in var(--fast) ease;
  }

  .chart__plot svg {
    animation: reveal var(--slow) ease backwards;
  }

  .tabbar__icon {
    transition: background-color var(--fast) ease;
  }

  .like .icon,
  .round {
    transition: scale var(--fast) ease;
  }

  .like[aria-pressed="true"] .icon--on,
  .save[aria-pressed="true"] .icon {
    animation: pop var(--quick) ease;
  }

  .like:active .icon,
  .round:active {
    scale: 0.88;
  }
}

@media (prefers-reduced-motion: reduce) {
  .swipe {
    transition: none;
  }
}

@keyframes view-in {
  from {
    opacity: 0;
    translate: 0 var(--s2);
  }
}

@keyframes reveal {
  from {
    clip-path: inset(0 100% 0 0);
  }

  to {
    clip-path: inset(0);
  }
}

@keyframes pop {
  40% {
    scale: 1.4;
  }
}

@keyframes fan-left {
  from {
    transform: none;
  }
}

@keyframes fan-right {
  from {
    transform: none;
  }
}

@media (min-width: 900px) {
  :root {
    --column: var(--column-wide);
  }

  body {
    padding-bottom: var(--s7);
  }

  .topbar {
    position: sticky;
    top: 0;
    z-index: 4;
    min-height: calc(var(--bar) + var(--s5));
    background: var(--glass);
    -webkit-backdrop-filter: var(--frost);
    backdrop-filter: var(--frost);
  }

  .tabbar {
    z-index: 5;
    inset: var(--s3) max(var(--gutter), calc(50% - var(--column) / 2 + var(--gutter))) auto auto;
    width: calc(var(--s7) * 9);
    margin: 0;
    box-shadow: var(--shadow-s);
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    column-gap: var(--s7);
  }

  .hero > * {
    grid-column: 1;
  }

  .hero .fan {
    grid-column: 2;
    grid-row: 1 / span 5;
    background: none;
  }

  .hero h1 {
    font-size: var(--t7);
  }

  .rail {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: var(--s3);
  }

  .rail > :nth-child(4):nth-last-child(-n + 2),
  .rail > :nth-child(5):last-child {
    display: list-item;
  }

  .namecard {
    padding: var(--s4);
    border-radius: var(--r-l);
  }

  .namecard__rank {
    top: var(--s4);
    right: var(--s4);
  }

  .namecard__name,
  .namecard__name.is-long {
    font-size: var(--t4);
  }

  .namecard__meaning {
    font-size: var(--t2);
  }

  .strip {
    flex-wrap: wrap;
    margin-inline: 0;
    padding-inline: 0;
    overflow: visible;
  }

  .toast {
    inset: auto var(--s5) var(--s5) auto;
    margin: 0;
  }

  .view--match {
    max-width: calc(var(--s7) * 10);
    margin-inline: auto;
  }
}

.crumbs {
  margin-bottom: calc(var(--s5) * -1);
  font-size: var(--t2);
  color: var(--muted);
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s1) var(--s2);
  min-height: var(--tap);
}

.crumbs li + li::before {
  content: "›";
  margin-right: var(--s2);
  color: var(--ghost);
}

.crumbs a {
  font-weight: var(--w-label);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: var(--s1);
}

.crumbs [aria-current] {
  color: var(--text);
}

.crumbs + .back:not([data-hist]) {
  display: none;
}

.row__place {
  flex: none;
  font-size: var(--t1);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.rows--top .row:nth-child(n + 41) {
  content-visibility: auto;
  contain-intrinsic-block-size: auto calc(var(--tap-l) + var(--s3));
}

.row--plain {
  min-height: var(--tap-l);
  padding-right: 0;
}

.row--plain .row__place {
  display: inline-flex;
  align-items: center;
  gap: var(--s3);
  font-size: var(--t2);
  color: var(--text);
}

.tile:not(:has(.art)) {
  padding-block: var(--s4);
}

.split {
  display: grid;
  gap: var(--s2);
}

.split__bar {
  width: 100%;
  height: var(--s3);
  border-radius: var(--r-full);
}

.split__a {
  fill: var(--ink, var(--lilac-ink));
}

.split__b {
  fill: var(--line);
}

.split__key {
  display: flex;
  justify-content: space-between;
  font-size: var(--t2);
  font-weight: var(--w-label);
}

.facts dt a {
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: var(--s1);
}

.me {
  padding: var(--s3) var(--s4);
  border-radius: var(--r-m);
  background: var(--mint);
  color: var(--mint-ink);
  font-weight: var(--w-label);
}

.row.is-me .row__name {
  color: var(--accent-ink);
}

.chart__cursor {
  fill: none;
  vector-effect: non-scaling-stroke;
  stroke: var(--text);
  stroke-width: 1.5;
  opacity: 0;
}

.is-probing .chart__cursor {
  opacity: 1;
}

.is-probing .chart__mark {
  opacity: 0;
}

.is-probing .chart__peak {
  background: var(--text);
  color: var(--surface);
  font-variant-numeric: tabular-nums;
}

.chart__hint {
  font-size: var(--t1);
  color: var(--muted);
}

.duo {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s6);
}

@media (min-width: 900px) {
  .duo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s5);
    align-items: start;
  }
}

.row__last {
  font-weight: var(--w-text);
  color: var(--muted);
}

.shared {
  padding: var(--s4);
  border-radius: var(--r-l);
  background: var(--lilac);
}

.shared .button {
  justify-self: start;
}

.guide {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s3);
}

.guide__item {
  display: grid;
  gap: var(--s2);
  padding: var(--s4);
  border-radius: var(--r-l);
  background: var(--surface);
  box-shadow: var(--shadow-s);
}

.guide__item h3 a {
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: var(--s1);
}

.guide__when {
  font-size: var(--t2);
  font-weight: var(--w-label);
  color: var(--accent-ink);
}

@media (min-width: 900px) {
  .guide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mygroups:has(> :nth-child(2)) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}

.mark--letter {
  display: grid;
  place-items: center;
  font-size: calc(var(--s7) * 5);
  font-weight: var(--w-strong);
  line-height: 1;
}

.skip {
  position: absolute;
  left: var(--s3);
  top: var(--s3);
  z-index: 12;
  padding: var(--s2) var(--s4);
  border-radius: var(--r-full);
  background: var(--text);
  color: var(--surface);
  font-weight: var(--w-label);
  translate: 0 -200%;
}

.skip:focus {
  translate: 0;
}

.crumbs a,
.crumbs [aria-current] {
  display: inline-flex;
  align-items: center;
  min-height: var(--s5);
}

@media (max-width: 599px) {
  .crumbs [aria-current] {
    display: none;
  }
}

#my-sort[hidden] {
  display: none;
}

.like--none {
  visibility: hidden;
}

@media (min-width: 900px) {
  .tiles,
  .tiles--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .tiles--6 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 600px) and (max-width: 899px) {
  .tiles:not(.tiles--4) > :last-child:nth-child(3n + 1) {
    grid-column: 1 / -1;
  }
}

@media (min-width: 900px) {
  .namehero {
    grid-template-columns: auto minmax(0, 1fr) auto;
    column-gap: var(--s5);
    align-items: center;
  }

  .namehero__band {
    grid-column: 1 / -1;
    height: calc(var(--s7) + var(--s5));
  }

  .namehero .art {
    grid-area: 2 / 1 / 5 / 2;
    align-self: start;
    margin-top: calc(var(--s6) * -1);
    margin-bottom: 0;
  }

  .namehero__name,
  .namehero__say,
  .namehero__meaning {
    grid-column: 2;
  }

  .namehero__name {
    margin-top: var(--s3);
  }

  .namehero__actions {
    grid-area: 2 / 3 / 5 / 4;
    align-self: center;
    width: calc(var(--measure) * 0.6);
    margin-top: var(--s3);
  }

  .tiles:not(.tiles--6) > :last-child:nth-child(4n + 1) {
    grid-column: 1 / -1;
  }
}


.bars {
  display: grid;
  gap: var(--s2);
  padding: var(--s4);
  border-radius: var(--r-l);
  background: var(--surface);
  box-shadow: var(--shadow-s);
  font-size: var(--t2);
  font-variant-numeric: tabular-nums;
}

.bars li {
  display: grid;
  grid-template-columns: calc(var(--s7) + var(--s2)) minmax(0, 1fr) calc(var(--s7) + var(--s5));
  align-items: center;
  gap: var(--s3);
}

.bars a {
  display: inline-flex;
  align-items: center;
  min-height: var(--s5);
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: var(--s1);
}

.bars b {
  text-align: right;
  font-weight: var(--w-label);
}

.bars__bar {
  width: 100%;
  height: var(--s2);
  border-radius: var(--r-full);
  background: var(--bg);
  fill: var(--ink, var(--lilac-ink));
}

.row__main {
  overflow: hidden;
}

.row__name,
.row__meaning {
  overflow-wrap: anywhere;
}

@media (max-width: 599px) {
  .row--plain .row__place {
    flex-direction: column;
    align-items: flex-end;
    gap: var(--s1);
  }

  .row--plain {
    gap: var(--s2);
  }
}

.namecard-img {
  display: grid;
  gap: var(--s2);
  margin: 0;
  max-width: calc(var(--measure) * 0.6);
}

.namecard-acts {
  max-width: calc(var(--measure) * 0.6);
  margin-top: var(--s3);
}

.namecard-img img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--r-l);
  box-shadow: var(--shadow-s);
}

[data-sec] {
  scroll-margin-top: var(--s5);
}

.strip--pills .pill {
  flex: none;
  display: inline-flex;
  width: auto;
  height: auto;
}

@media (min-width: 900px) {
  .seg {
    max-width: calc(var(--s7) * 9);
  }

  .today {
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: var(--s5);
    align-items: center;
  }

  .today__band {
    grid-column: 1 / -1;
    height: calc(var(--s7) + var(--s5));
  }

  .today .art {
    grid-area: 2 / 1 / 5 / 2;
  }

  .today__meaning {
    min-height: 0;
  }

}

.swipe a,
.swipe svg {
  -webkit-user-drag: none;
}

@media (min-width: 900px) {
  .topbar {
    max-width: none;
    min-height: calc(var(--tap) + var(--s5));
    padding-inline: max(var(--gutter), calc(50% - var(--column) / 2 + var(--gutter)));
    border-bottom: var(--hairline) solid var(--line);
  }

  .tabbar {
    top: var(--s2);
    width: auto;
    background: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
  }

  .tabbar ul {
    display: flex;
    gap: var(--s1);
    padding: var(--s1) 0;
  }

  .tabbar a {
    grid-auto-flow: column;
    align-items: center;
    gap: var(--s1);
    height: var(--tap);
    padding-inline: var(--s2) var(--s4);
    border-radius: var(--r-full);
    font-size: var(--t2);
  }

  .tabbar__icon {
    width: var(--s6);
  }

  .tabbar a:hover {
    color: var(--text);
  }

  .tabbar a[aria-current="page"] {
    background: var(--lilac);
    color: var(--lilac-ink);
  }

  .tabbar a[aria-current="page"] .tabbar__icon {
    background: none;
  }
}

@media (min-width: 900px) {
  [data-sec] {
    scroll-margin-top: calc(var(--tap) + var(--s5) + var(--s4));
  }
}

@media (max-width: 899px) {
  .namehero__band,
  .today__band {
    height: calc(var(--s7) + var(--s6));
  }

  .people li {
    padding-block: var(--s3);
  }
}

.next > :only-child {
  grid-column: 1 / -1;
}

.picks:has([type="number"]) {
  grid-template-columns: 5fr 3fr;
}

@media (min-width: 900px) {
  .view {
    padding-top: var(--s5);
  }
}

@media (min-width: 600px) {
  .view > .block > .people,
  .view > .block > .facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--s6);
  }

  .view > .block > .people li:nth-child(2),
  .view > .block > .facts > div:nth-child(2) {
    border-top: 0;
  }
}

.row__name a {
  text-decoration: none;
}
