* {
	box-sizing: border-box;
}
body {
	margin: 0;
	min-height: 100svh;
	display: flex;
	flex-direction: column;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: var(--text-base);
	line-height: 1.6;
}
main {
	flex: 1;
}
a {
	color: var(--link);
	text-underline-offset: 0.2em;
}
button,
input {
	font: inherit;
}
button,
.button {
	display: inline-block;
	border: var(--line) solid transparent;
	border-radius: var(--radius);
	padding: var(--s3) var(--s5);
	background: var(--accent);
	color: var(--accent-ink);
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
	text-align: center;
}
button:disabled {
	cursor: wait;
	opacity: 0.65;
}
input {
	width: 100%;
	padding: var(--s3) var(--s4);
	border: var(--line) solid var(--border);
	border-radius: var(--radius);
	background: var(--surface);
	color: var(--text);
	min-width: 0;
}
label {
	display: block;
	margin-bottom: var(--s2);
	font-weight: 600;
}
:focus-visible {
	outline: 3px solid var(--focus);
	outline-offset: 3px;
}
.skip {
	position: absolute;
	left: var(--s4);
	top: -10rem;
	padding: var(--s3);
	background: var(--surface);
}
.skip:focus {
	top: var(--s2);
}
.site-header {
	width: 100%;
	max-width: var(--page-width);
	margin: 0 auto;
	min-height: var(--s8);
	display: grid;
	grid-template-columns: 1fr auto auto;
	align-items: center;
	justify-content: space-between;
	gap: var(--s5);
	padding: var(--s5) var(--s6);
}
.theme-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--theme-control-size);
	height: var(--theme-control-size);
	padding: 0;
	color: var(--muted);
	background: none;
}
.theme-toggle[hidden] {
	display: none;
}
.theme-toggle:hover {
	color: var(--text);
	background: var(--subtle);
	border-color: var(--border);
}
.theme-toggle svg {
	width: var(--theme-icon-size);
	height: var(--theme-icon-size);
}
.wordmark {
	font-family: var(--font);
	font-size: var(--text-lg);
	font-weight: 700;
	color: var(--text);
	text-decoration: none;
	letter-spacing: normal;
	white-space: nowrap;
}
.wordmark > span {
	font-weight: 400;
}
nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--s5);
	font-size: var(--text-sm);
}
nav a {
	color: var(--text);
}
nav form {
	margin: 0;
}
.hero {
	padding: var(--hero-space) var(--s6) var(--s6);
}
.hero-inner {
	max-width: var(--reading-width);
	margin: auto;
}
h1,
h2 {
	font-family: var(--display);
	line-height: 1.12;
	letter-spacing: -0.035em;
}
h1 {
	font-size: var(--title);
	margin: var(--s4) 0 var(--s5);
	font-weight: 600;
}
h2 {
	font-size: var(--text-xl);
	margin: 0 0 var(--s4);
}
.eyebrow {
	font-size: var(--text-sm);
	margin: 0;
	font-weight: 600;
}
.lookup-form {
	margin-block: var(--s5);
}
.input-row {
	display: flex;
	gap: var(--s3);
}
.input-row button {
	white-space: nowrap;
}
.hint {
	font-size: var(--text-sm);
	color: var(--muted);
}
.visually-hidden {
	position: absolute;
	width: var(--line);
	height: var(--line);
	padding: 0;
	margin: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}
.page {
	max-width: var(--page-width);
	margin: auto;
	padding: var(--s7) var(--s6);
}
.narrow {
	max-width: var(--reading-width);
}
.page h1 {
	font-size: clamp(2rem, 4vw, 3rem);
}
.results {
	max-width: var(--reading-width);
	margin: auto;
	padding: var(--s7) 0;
	outline: none;
}
main > .results {
	padding-inline: var(--s6);
	max-width: calc(var(--reading-width) + var(--s8));
}
.results:empty {
	display: none;
}
.profile-heading {
	display: flex;
	align-items: center;
	gap: var(--s5);
}
.profile-heading h2 {
	margin-block: var(--s2);
	overflow-wrap: anywhere;
}
.avatar {
	width: var(--avatar-size);
	height: var(--avatar-size);
	object-fit: cover;
	border-radius: var(--radius);
	flex-shrink: 0;
}
.placeholder {
	display: grid;
	place-items: center;
	background: var(--subtle);
	font-size: var(--text-xl);
}
.profile-stats {
	display: grid;
	grid-template-columns: 1fr 1fr;
	margin-block: var(--s6);
	gap: var(--s5);
	padding-block: var(--s5);
	border-block: var(--line) solid var(--border);
}
dt {
	color: var(--muted);
	font-size: var(--text-sm);
}
dd {
	margin: var(--s1) 0 0;
	font-weight: 600;
	overflow-wrap: anywhere;
	font-variant-numeric: tabular-nums;
}
.notice {
	padding: var(--s5);
	background: var(--subtle);
	border-radius: var(--radius);
	margin-block: var(--s5);
}
.notice h2 {
	font-size: var(--text-lg);
}
.notice p:last-child {
	margin-bottom: 0;
}
.card {
	border: var(--line) solid var(--border);
	border-radius: var(--radius);
	padding: var(--s5);
	margin-block: var(--s5);
}
.account-details {
	margin-block: var(--s6);
}
.card .account-details {
	margin: 0 0 var(--s5);
}
.account-details > div:last-child {
	border-bottom: 0;
}
.danger p {
	color: var(--muted);
}
.danger form {
	margin-top: var(--s4);
}
.danger .hint {
	margin: var(--s3) 0 0;
}
.account-details > div {
	display: grid;
	grid-template-columns: 1fr 2fr;
	gap: var(--s4);
	border-bottom: var(--line) solid var(--border);
	padding-block: var(--s3);
}
.secondary {
	background: var(--surface);
	color: var(--text);
	border-color: var(--border);
}
.danger {
	border: var(--line) solid var(--danger);
	border-radius: var(--radius);
	padding: var(--s5);
	margin-top: var(--s7);
}
.danger h2 {
	color: var(--danger);
	font-size: var(--text-xl);
}
.danger input {
	max-width: 16rem;
	display: block;
	margin-bottom: var(--s4);
}
.danger-button {
	border-color: var(--danger);
	color: var(--danger);
	background: transparent;
}
.text-button {
	border: 0;
	padding: 0;
	font: inherit;
	background: none;
	color: var(--text);
	text-decoration: underline;
}
footer {
	width: 100%;
	max-width: var(--page-width);
	margin: 0 auto;
	padding: var(--s6);
	color: var(--muted);
	font-size: var(--text-sm);
	display: flex;
	flex-direction: column;
	gap: var(--s4);
	border-top: var(--line) solid var(--border);
}
footer a {
	color: var(--muted);
}
footer a:hover {
	color: var(--text);
}
.disclaimer {
	margin: 0;
	max-width: var(--page-width);
}
.footer-links {
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: var(--s3) var(--s5);
	align-items: baseline;
	white-space: nowrap;
}
.footer-links span {
	margin-right: auto;
}
.bare main {
	display: flex;
	flex-direction: column;
}
.signin {
	flex: 1;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 28rem;
	margin: 0 auto;
	text-align: center;
	padding-top: var(--hero-space);
}
.signin h1 {
	font-size: 1.5rem;
	line-height: 1.3;
	margin: 0 0 var(--s6);
}
.signin .subtitle {
	color: var(--muted);
	font-size: var(--text-base);
	margin: 0 0 var(--s5);
}
.signin .notice {
	text-align: left;
}
.signin-terms {
	max-width: 24rem;
	margin: auto auto 0;
	padding-top: var(--s6);
	color: var(--muted);
	font-size: var(--text-sm);
	line-height: 1.5;
}
.signin-terms a {
	color: inherit;
}
.button.google {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--s3);
	width: 100%;
	padding: var(--s2) var(--s5);
	border-radius: 0.5rem;
	line-height: 1.5;
	background: var(--surface);
	color: var(--text);
	border-color: var(--hairline);
	font-size: var(--text-base);
	font-weight: 500;
}
.button.google:hover {
	background: var(--subtle);
}
.button.google[aria-busy="true"] {
	color: var(--muted);
	pointer-events: none;
}
.button.google .google-mark,
.button.google .spinner {
	display: inline-flex;
	width: 1.25rem;
	height: 1.25rem;
}
.button.google .google-mark svg {
	width: 100%;
	height: 100%;
}
.button.google .spinner {
	display: none;
	border: 2px solid var(--hairline);
	border-top-color: var(--muted);
	border-radius: 50%;
	animation: spin 0.8s linear infinite;
}
.button.google[aria-busy="true"] .google-mark {
	display: none;
}
.button.google[aria-busy="true"] .spinner {
	display: inline-flex;
}
@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}
@media (prefers-reduced-motion: reduce) {
	.button.google .spinner {
		animation: none;
	}
}
.divider {
	display: flex;
	align-items: center;
	gap: var(--s3);
	margin: var(--s5) 0;
	color: var(--muted);
	font-size: var(--text-sm);
}
.divider::before,
.divider::after {
	content: "";
	flex: 1;
	border-top: var(--line) solid var(--hairline);
}
.email-form,
.code-form {
	text-align: left;
}
.email-form label,
.code-form label {
	font-size: var(--text-sm);
}
.email-form input,
.code-form input {
	margin-bottom: var(--s3);
	padding: var(--s2) var(--s3);
	border-color: var(--hairline);
	border-radius: 0.5rem;
}
.code-form input {
	font-size: var(--text-lg);
	text-align: center;
	font-variant-numeric: tabular-nums;
}
.email-form button,
.code-form button {
	width: 100%;
	padding: var(--s2) var(--s5);
	border-radius: 0.5rem;
}
.email-form .hint,
.code-form .hint {
	text-align: center;
}
.form-error {
	margin: 0 0 var(--s3);
	color: var(--danger);
	font-size: var(--text-sm);
}
.last-used {
	position: absolute;
	top: -0.8rem;
	right: var(--s3);
	padding: 0.125rem var(--s3);
	border-radius: 999px;
	background: var(--tint);
	color: var(--tint-ink);
	font-size: var(--text-sm);
	font-weight: 500;
	line-height: 1.5;
}
.legal {
	max-width: var(--reading-width);
}
.legal h1 {
	margin-bottom: var(--s3);
}
.legal h2 {
	font-size: var(--text-lg);
	margin: var(--s7) 0 var(--s3);
}
.legal h3 {
	font-size: var(--text-base);
	margin: var(--s5) 0 var(--s2);
}
.legal h4 {
	font-size: var(--text-base);
	margin: var(--s4) 0 var(--s2);
	color: var(--muted);
}
.legal p,
.legal li {
	overflow-wrap: anywhere;
}
.legal ul {
	padding-left: var(--s5);
}
.toc {
	padding: var(--s4) var(--s5);
	background: var(--subtle);
	border-radius: var(--radius);
}
.toc h2 {
	font-size: var(--text-base);
	margin: 0 0 var(--s2);
}
.toc ol {
	margin: 0;
	padding-left: var(--s5);
	columns: 2;
	column-gap: var(--s5);
}
.toc li {
	break-inside: avoid;
	font-size: var(--text-sm);
}
.table-wrap {
	overflow-x: auto;
}
table {
	width: 100%;
	border-collapse: collapse;
	font-size: var(--text-sm);
}
th,
td {
	text-align: left;
	padding: var(--s3);
	border-bottom: var(--line) solid var(--border);
	vertical-align: top;
}
th {
	color: var(--muted);
	font-weight: 600;
}
.admin .page {
	max-width: var(--page-width);
}
.admin h1 {
	font-size: clamp(2rem, 4vw, 3rem);
}
.pagination {
	margin-top: var(--s5);
	display: flex;
	gap: var(--s5);
}
.filters {
	display: grid;
	gap: var(--s4);
	margin-block: var(--s5);
}
.filter-row {
	display: flex;
	gap: var(--s3);
	align-items: center;
}
.filter-row input {
	max-width: 25rem;
}
.filter-groups {
	display: grid;
	gap: var(--s3);
	margin-block: var(--s4) var(--s5);
}
.filter-group {
	display: flex;
	align-items: center;
	gap: var(--s3);
	flex-wrap: wrap;
}
.filter-label {
	font-size: var(--text-sm);
	color: var(--muted);
	min-width: 5rem;
}
.pill-group {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s2);
}
.pill {
	display: inline-block;
	padding: var(--s1) var(--s3);
	border: var(--line) solid var(--border);
	border-radius: 999px;
	font-size: var(--text-sm);
	color: var(--text);
	text-decoration: none;
	background: var(--surface);
}
.pill:hover {
	background: var(--subtle);
}
.pill.active {
	background: var(--accent);
	color: var(--accent-ink);
	border-color: var(--accent);
}
@media (max-width: 640px) {
	.site-header {
		grid-template-columns: 1fr auto;
		gap: var(--s3);
		padding: var(--s4);
	}
	.site-header nav {
		grid-row: 2;
		grid-column: 1 / -1;
	}
	.theme-toggle {
		grid-column: 2;
		grid-row: 1;
	}
	.hero {
		padding: var(--s8) var(--s4) var(--s5);
	}
	.page {
		padding: var(--s6) var(--s4);
	}
	.input-row {
		flex-direction: column;
	}
	.profile-stats {
		grid-template-columns: 1fr 1fr;
	}
	.account-details > div {
		grid-template-columns: 1fr;
		gap: 0;
	}
	footer {
		padding: var(--s5) var(--s4);
	}
	.footer-links span {
		flex-basis: 100%;
	}
	.toc ol {
		columns: 1;
	}
	.profile-heading {
		align-items: flex-start;
	}
}
.creator-card {
	display: grid;
	gap: var(--s5);
}
.creator-identity {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: var(--s2);
}
.portrait {
	width: var(--portrait-size);
	height: var(--portrait-size);
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}
.portrait.placeholder {
	display: grid;
	place-items: center;
	background: var(--subtle);
	font-size: var(--text-xl);
	color: var(--muted);
}
.creator-name {
	margin: var(--s3) 0 0;
	font-size: var(--text-xl);
	overflow-wrap: anywhere;
}
.creator-fullname,
.creator-location,
.creator-headline {
	margin: 0;
	color: var(--muted);
}
.creator-audience {
	margin: var(--s2) 0 0;
	font-size: var(--text-lg);
	font-variant-numeric: tabular-nums;
}
.account-chips {
	list-style: none;
	margin: 0;
	padding: var(--s4) 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--s3);
	border-block: var(--line) solid var(--border);
}
.chip {
	display: inline-flex;
	align-items: center;
	gap: var(--s2);
	padding: var(--s2) var(--s4);
	border: var(--line) solid var(--border);
	border-radius: 999px;
	text-decoration: none;
	color: var(--text);
	background: var(--surface);
	font-size: var(--text-sm);
	font-variant-numeric: tabular-nums;
}
.chip.primary {
	background: var(--accent);
	color: var(--accent-ink);
	border-color: var(--accent);
}
.chip.placeholder {
	border-style: dashed;
	color: var(--muted);
}
.chip-platform {
	font-weight: 700;
}
.creator-name a {
	color: inherit;
	text-decoration: none;
}
.creator-name a:hover {
	text-decoration: underline;
}
select,
textarea {
	font: inherit;
	width: 100%;
	padding: var(--s3) var(--s4);
	border: var(--line) solid var(--border);
	border-radius: var(--radius);
	background: var(--surface);
	color: var(--text);
}
.form-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
	gap: var(--s4);
	margin-block: var(--s4);
}
.field label {
	margin-bottom: var(--s1);
	font-size: var(--text-sm);
}
.field.check {
	display: flex;
	align-items: center;
	gap: var(--s2);
	align-self: end;
}
.field.check input {
	width: auto;
}
.field.check label {
	margin: 0;
}
.inline-form {
	display: inline-block;
	margin: 0 var(--s1) var(--s1) 0;
}
.inline-form button {
	padding: var(--s1) var(--s3);
	font-size: var(--text-sm);
}
.badge {
	display: inline-block;
	padding: 0 var(--s2);
	border: var(--line) solid var(--border);
	border-radius: var(--radius);
	font-size: var(--text-sm);
	white-space: nowrap;
}
.admin section {
	margin-block: var(--s6);
}
.admin section h2 {
	font-size: var(--text-lg);
}
.admin form > button {
	margin-top: var(--s3);
}
.flash {
	padding: var(--s3) var(--s4);
	border: var(--line) solid var(--border);
	border-radius: var(--radius);
	margin-block: var(--s4);
}
.flash.error {
	border-color: var(--danger);
	color: var(--danger);
}
.meta {
	color: var(--muted);
	font-size: var(--text-sm);
	overflow-wrap: anywhere;
}
.meta code {
	font-size: inherit;
}
pre.delta {
	margin: 0;
	white-space: pre-wrap;
	font-size: var(--text-sm);
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.filters select {
	max-width: 14rem;
}
@media (max-width: 640px) {
	.filter-row {
		flex-wrap: wrap;
	}
	.filter-row input {
		max-width: none;
	}
}
th a.sort {
	color: var(--muted);
	text-decoration: none;
	white-space: nowrap;
}
th a.sort:hover,
th a.sort.active {
	color: var(--text);
	text-decoration: underline;
}
.legal table {
	font-size: var(--text-sm);
}
