/*
 * dariussbezy's Plugins. The look comes from the owner's own work: the Midnight theme (navy,
 * moonlight blue, Figtree, the moon) and the frosted glass of the Music Controls player.
 * One memorable thing: the phone in the hero. Everything else stays quiet.
 */

:root {
	color-scheme: dark;
	--night: #0c1530;
	--night-deep: #070d22;
	--glass: rgba(24, 35, 74, 0.58);
	--glass-solid: #16214a;
	--glass-strong: rgba(30, 44, 92, 0.82);
	--line: rgba(159, 186, 255, 0.13);
	--line-strong: rgba(159, 186, 255, 0.26);
	--ink: #e9eeff;
	--ink-2: #bcc6e8;
	--mute: #8794bf;
	--moon: #a3bdff;
	--moon-strong: #c9d8ff;
	--on-moon: #0b1430;
	--ok: #67d8a8;
	--warn: #f3c771;
	--bad: #ff8193;
	--violet: #c6a9ff;
	--sky: #7fd0ff;
	--shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 18px 40px -24px rgba(0, 0, 0, 0.7);
	--tile-l: 76%;
	--tile-bg: 0.16;
	--r-xl: 28px;
	--r-lg: 20px;
	--r-md: 14px;
	--r-sm: 10px;
	--font: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
	--tabbar: 0px;
}

:root[data-theme='light'] {
	color-scheme: light;
	--night: #eef1fa;
	--night-deep: #e2e8f7;
	--glass: rgba(255, 255, 255, 0.7);
	--glass-solid: #ffffff;
	--glass-strong: rgba(255, 255, 255, 0.92);
	--line: rgba(28, 46, 110, 0.11);
	--line-strong: rgba(28, 46, 110, 0.22);
	--ink: #121a36;
	--ink-2: #36416a;
	--mute: #5d6890;
	--moon: #3354d1;
	--moon-strong: #2643b5;
	--on-moon: #ffffff;
	--ok: #13855a;
	--warn: #946400;
	--bad: #c3354c;
	--violet: #6f45d3;
	--sky: #0a6fa8;
	--shadow: 0 1px 2px rgba(20, 34, 90, 0.06), 0 14px 32px -22px rgba(20, 34, 90, 0.35);
	--tile-l: 40%;
	--tile-bg: 0.12;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: 88px;
}

body {
	margin: 0;
	min-height: 100vh;
	background: var(--night);
	color: var(--ink);
	font: 400 1rem/1.6 var(--font);
	font-feature-settings: 'ss01';
	-webkit-font-smoothing: antialiased;
	padding-bottom: calc(var(--tabbar) + env(safe-area-inset-bottom));
	overflow-x: hidden;
}

/* The sky: a soft moon glow and a few stars, fixed behind everything. */
body::before {
	content: '';
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background:
		radial-gradient(60rem 40rem at 85% -10%, rgba(120, 150, 255, 0.18), transparent 60%),
		radial-gradient(40rem 30rem at -10% 110%, rgba(150, 110, 255, 0.1), transparent 60%),
		linear-gradient(180deg, var(--night), var(--night-deep));
}
body::after {
	content: '';
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	opacity: 0.55;
	background-image:
		radial-gradient(1px 1px at 12% 18%, #fff 50%, transparent 51%),
		radial-gradient(1px 1px at 28% 72%, #dfe6ff 50%, transparent 51%),
		radial-gradient(1.5px 1.5px at 46% 32%, #fff 50%, transparent 51%),
		radial-gradient(1px 1px at 63% 12%, #c9d6ff 50%, transparent 51%),
		radial-gradient(1px 1px at 72% 58%, #fff 50%, transparent 51%),
		radial-gradient(1.5px 1.5px at 88% 82%, #dfe6ff 50%, transparent 51%),
		radial-gradient(1px 1px at 94% 36%, #fff 50%, transparent 51%),
		radial-gradient(1px 1px at 6% 52%, #c9d6ff 50%, transparent 51%),
		radial-gradient(1px 1px at 38% 92%, #fff 50%, transparent 51%),
		radial-gradient(1px 1px at 55% 48%, #dfe6ff 50%, transparent 51%);
	background-size: 640px 640px;
}
:root[data-theme='light'] body::after {
	display: none;
}
:root[data-theme='light'] body::before {
	background:
		radial-gradient(60rem 40rem at 85% -10%, rgba(80, 110, 230, 0.14), transparent 60%),
		linear-gradient(180deg, var(--night), var(--night-deep));
}

a {
	color: var(--moon);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}
a:hover {
	color: var(--moon-strong);
}
img,
svg {
	display: block;
}
button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}
:focus-visible {
	outline: 2px solid var(--moon);
	outline-offset: 2px;
	border-radius: 6px;
}
[hidden] {
	display: none !important;
}

.skip {
	position: absolute;
	left: 12px;
	top: -60px;
	z-index: 100;
	padding: 8px 14px;
	border-radius: var(--r-sm);
	background: var(--moon);
	color: var(--on-moon);
}
.skip:focus {
	top: 12px;
}

.icon {
	width: 1.25em;
	height: 1.25em;
	flex: none;
}

/* ---------- type ---------- */

h1,
h2,
h3,
h4 {
	margin: 0;
	line-height: 1.15;
	letter-spacing: -0.02em;
	text-wrap: balance;
}
h1 {
	font-size: clamp(2.1rem, 5.2vw, 3.4rem);
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.04;
}
h2 {
	font-size: 1.35rem;
	font-weight: 750;
}
h3 {
	font-size: 1.08rem;
	font-weight: 700;
}
p {
	margin: 0;
}
.lede {
	color: var(--ink-2);
	font-size: 1.12rem;
	line-height: 1.55;
	max-width: 38rem;
	text-wrap: pretty;
}
.muted {
	color: var(--mute);
}
.small {
	font-size: 0.9rem;
}
code {
	font-family: var(--mono);
	font-size: 0.88em;
	background: color-mix(in srgb, var(--moon) 12%, transparent);
	border-radius: 6px;
	padding: 0.1em 0.35em;
}
kbd {
	font: 500 0.75rem var(--mono);
	color: var(--mute);
	border: 1px solid var(--line-strong);
	border-bottom-width: 2px;
	border-radius: 6px;
	padding: 1px 6px;
}

/* ---------- frame ---------- */

.wrap {
	width: 100%;
	max-width: 1120px;
	margin: 0 auto;
	padding: 0 16px;
}
.wrap.wide {
	max-width: 1400px;
}
main.wrap {
	padding-top: 28px;
	padding-bottom: 72px;
	min-height: 60vh;
}

.top {
	position: sticky;
	top: 0;
	z-index: 40;
	background: color-mix(in srgb, var(--night) 72%, transparent);
	backdrop-filter: blur(18px) saturate(1.4);
	-webkit-backdrop-filter: blur(18px) saturate(1.4);
	border-bottom: 1px solid var(--line);
}
.top-inner {
	max-width: 1400px;
	margin: 0 auto;
	padding: 10px 16px;
	display: flex;
	align-items: center;
	gap: 20px;
}
.brand {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--ink);
	text-decoration: none;
	margin-right: auto;
}
.brand:hover {
	color: var(--ink);
}
.logo-moon {
	width: 34px;
	height: 34px;
	flex: none;
	filter: drop-shadow(0 0 14px rgba(140, 170, 255, 0.45));
}
.brand span {
	display: flex;
	flex-direction: column;
	line-height: 1.1;
}
.brand b {
	font-weight: 800;
	letter-spacing: -0.02em;
	font-size: 1.05rem;
}
.brand small {
	color: var(--mute);
	font-size: 0.78rem;
}
.top-nav {
	display: none;
	gap: 4px;
}
.top-nav a {
	color: var(--ink-2);
	text-decoration: none;
	padding: 8px 12px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 0.95rem;
}
.top-nav a:hover {
	color: var(--ink);
	background: var(--glass);
}
.top-nav a[aria-current='page'] {
	color: var(--ink);
	background: var(--glass-strong);
	box-shadow: inset 0 0 0 1px var(--line-strong);
}
.top-actions {
	display: flex;
	align-items: center;
	gap: 6px;
}
.icon-button {
	display: inline-grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: var(--glass);
	color: var(--ink-2);
	cursor: pointer;
	text-decoration: none;
}
.icon-button:hover {
	color: var(--ink);
	border-color: var(--line-strong);
}
.icon-button .icon {
	width: 19px;
	height: 19px;
}
:root[data-theme='light'] .icon-sun,
:root:not([data-theme='light']) .icon-moon {
	display: none;
}

.account {
	display: flex;
	align-items: center;
}
.avatar {
	width: 40px;
	height: 40px;
	border-radius: 999px;
	object-fit: cover;
	background: var(--glass-strong);
}
.avatar.sm {
	width: 26px;
	height: 26px;
}
.avatar.xs {
	width: 20px;
	height: 20px;
}
.account-menu {
	position: relative;
}
.account-menu > button {
	padding: 0;
	border: 0;
	background: none;
	border-radius: 999px;
	cursor: pointer;
	display: block;
}
.menu {
	position: absolute;
	right: 0;
	top: calc(100% + 8px);
	min-width: 220px;
	padding: 6px;
	border-radius: var(--r-md);
	background: var(--glass-solid);
	border: 1px solid var(--line-strong);
	box-shadow: var(--shadow);
	display: grid;
	gap: 2px;
}
.menu header {
	padding: 8px 10px 10px;
	border-bottom: 1px solid var(--line);
	margin-bottom: 4px;
}
.menu header b {
	display: block;
}
.menu a,
.menu button {
	display: flex;
	gap: 10px;
	align-items: center;
	padding: 9px 10px;
	border-radius: var(--r-sm);
	color: var(--ink);
	text-decoration: none;
	border: 0;
	background: none;
	text-align: left;
	cursor: pointer;
	width: 100%;
}
.menu a:hover,
.menu button:hover {
	background: var(--glass-strong);
}

.tabbar {
	position: fixed;
	z-index: 45;
	left: 0;
	right: 0;
	bottom: 0;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
	background: color-mix(in srgb, var(--night) 78%, transparent);
	backdrop-filter: blur(20px) saturate(1.5);
	-webkit-backdrop-filter: blur(20px) saturate(1.5);
	border-top: 1px solid var(--line);
}
.tabbar a {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 3px;
	padding: 6px 0 4px;
	color: var(--mute);
	text-decoration: none;
	font-size: 0.72rem;
	font-weight: 600;
	border-radius: var(--r-sm);
}
.tabbar a .icon {
	width: 22px;
	height: 22px;
}
.tabbar a[aria-current='page'] {
	color: var(--ink);
}
.tabbar a[aria-current='page'] .icon {
	color: var(--moon);
}
:root {
	--tabbar: 66px;
}

@media (min-width: 900px) {
	:root {
		--tabbar: 0px;
	}
	.tabbar {
		display: none;
	}
	.top-nav {
		display: flex;
	}
	.brand {
		margin-right: 0;
	}
	.top-actions {
		margin-left: auto;
	}
}

.foot {
	border-top: 1px solid var(--line);
	padding: 40px 0 24px;
	color: var(--mute);
	font-size: 0.92rem;
}
.foot-inner {
	display: grid;
	gap: 28px;
}
.foot-brand {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	max-width: 26rem;
}
.foot nav {
	display: grid;
	gap: 8px;
	align-content: start;
}
.foot nav a {
	color: var(--ink-2);
	text-decoration: none;
}
.foot nav a:hover {
	color: var(--ink);
}
.foot-small {
	margin-top: 28px;
	font-size: 0.82rem;
}
@media (min-width: 720px) {
	.foot-inner {
		grid-template-columns: 2fr 1fr 1fr;
	}
}

/* ---------- buttons and fields ---------- */

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 18px;
	border-radius: 999px;
	border: 1px solid var(--line-strong);
	background: var(--glass-strong);
	color: var(--ink);
	font-weight: 650;
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
	transition:
		background-color 0.15s,
		border-color 0.15s,
		transform 0.15s;
}
.button:hover {
	color: var(--ink);
	border-color: color-mix(in srgb, var(--moon) 55%, transparent);
}
.button:active {
	transform: scale(0.98);
}
.button.primary {
	background: linear-gradient(180deg, var(--moon-strong), var(--moon));
	color: var(--on-moon);
	border-color: transparent;
	box-shadow: 0 8px 24px -10px color-mix(in srgb, var(--moon) 70%, transparent);
}
.button.primary:hover {
	color: var(--on-moon);
	filter: brightness(1.05);
}
.button.ghost {
	background: transparent;
}
.button.discord {
	background: #5865f2;
	color: #fff;
	border-color: transparent;
}
.button.discord:hover {
	color: #fff;
	background: #4752c4;
}
.button.danger {
	color: var(--bad);
}
.button.sm {
	min-height: 34px;
	padding: 0 12px;
	font-size: 0.88rem;
}
.button[disabled] {
	opacity: 0.55;
	cursor: not-allowed;
}
.link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
	text-decoration: none;
}
.link .icon {
	width: 1em;
	height: 1em;
}

input[type='text'],
input[type='url'],
input[type='search'],
input:not([type]),
select,
textarea {
	width: 100%;
	min-height: 44px;
	padding: 10px 14px;
	border-radius: var(--r-md);
	border: 1px solid var(--line-strong);
	background: var(--glass);
	color: var(--ink);
	outline: none;
}
select {
	appearance: none;
	padding-right: 36px;
	background-image:
		linear-gradient(45deg, transparent 50%, var(--mute) 50%), linear-gradient(135deg, var(--mute) 50%, transparent 50%);
	background-position:
		calc(100% - 18px) 52%,
		calc(100% - 13px) 52%;
	background-size: 5px 5px;
	background-repeat: no-repeat;
}
select option {
	background: var(--glass-solid);
	color: var(--ink);
}
textarea {
	resize: vertical;
	line-height: 1.55;
}
input:focus,
select:focus,
textarea:focus {
	border-color: var(--moon);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--moon) 22%, transparent);
}
::placeholder {
	color: var(--mute);
	opacity: 0.8;
}

/* ---------- the repository link ---------- */

.copy-box {
	min-width: 0;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 8px 8px 16px;
	border-radius: 999px;
	background: var(--glass);
	border: 1px solid var(--line-strong);
	box-shadow: var(--shadow);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	max-width: 34rem;
	position: relative;
}
.copy-label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
}
.copy-url {
	flex: 1;
	min-width: 0;
	background: none;
	padding: 0;
	font-size: 0.92rem;
	color: var(--ink-2);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.copy-box .button {
	min-height: 40px;
	padding: 0 16px;
}
.plugin-side .copy-box {
	border-radius: var(--r-md);
	padding-left: 12px;
}

/* ---------- home ---------- */

.hero {
	display: grid;
	gap: 40px;
	align-items: center;
	padding: 12px 0 40px;
}
.hero h1 {
	font-size: clamp(2.6rem, 8.5vw, 4.6rem);
	max-width: 11ch;
	background: linear-gradient(180deg, var(--ink) 30%, color-mix(in srgb, var(--ink) 55%, var(--moon)));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	padding-bottom: 0.06em;
}
.hero-copy {
	display: grid;
	gap: 22px;
	justify-items: start;
}
.hero-links {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}
.hero-numbers {
	color: var(--mute);
	font-size: 0.95rem;
}
.hero-numbers b {
	color: var(--ink);
	font-weight: 750;
}

.hero-art {
	display: grid;
	place-items: center;
	position: relative;
}
.hero-art::before {
	content: '';
	position: absolute;
	width: 78%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 35%, rgba(223, 231, 255, 0.5), rgba(127, 156, 255, 0.18) 45%, transparent 70%);
	filter: blur(10px);
	top: -4%;
	right: -6%;
}
.phone {
	position: relative;
	width: min(300px, 78vw);
	aspect-ratio: 9 / 18.5;
	border-radius: 44px;
	padding: 10px;
	background: linear-gradient(160deg, #2a3768, #0d1430 60%);
	box-shadow:
		0 0 0 1px rgba(170, 195, 255, 0.25),
		0 40px 80px -30px rgba(0, 0, 0, 0.8),
		0 0 120px -40px rgba(120, 150, 255, 0.5);
	transform: rotate(-4deg);
}
.phone-screen {
	position: relative;
	height: 100%;
	border-radius: 35px;
	overflow: hidden;
	background:
		radial-gradient(120% 70% at 80% 10%, rgba(120, 140, 255, 0.35), transparent 60%),
		radial-gradient(90% 60% at 0% 100%, rgba(80, 200, 160, 0.25), transparent 60%),
		#121a3d;
	display: flex;
	flex-direction: column;
}
.toast-demo {
	align-self: center;
	margin-top: 16px;
	display: flex;
	gap: 6px;
	align-items: center;
	padding: 7px 12px;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 600;
	color: #e9eeff;
	background: rgba(30, 42, 88, 0.75);
	border: 1px solid rgba(170, 195, 255, 0.2);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}
.toast-demo .icon {
	width: 14px;
	height: 14px;
	color: #67d8a8;
}
.chat {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 14px;
	padding: 14px 14px 12px;
}
.msg {
	display: flex;
	gap: 9px;
}
.msg .av {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	flex: none;
	background: linear-gradient(135deg, hsl(var(--h) 80% 72%), hsl(var(--h) 60% 45%));
}
.msg span {
	flex: 1;
	display: grid;
	gap: 5px;
}
.msg b,
.msg em {
	display: block;
	height: 7px;
	border-radius: 4px;
	background: rgba(220, 228, 255, 0.55);
}
.msg em {
	background: rgba(220, 228, 255, 0.22);
}
.msg.deleted em {
	background: rgba(255, 129, 147, 0.4);
}
.msg small {
	font-size: 0.62rem;
	color: #ff9fb0;
	line-height: 1.2;
}
.player {
	margin: 0 8px;
	padding: 10px 12px 8px;
	border-radius: 18px 18px 0 0;
	display: grid;
	grid-template-columns: auto 1fr auto;
	grid-template-areas: 'cover text buttons' 'wave wave wave';
	gap: 4px 10px;
	align-items: center;
	color: #fff;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.05) 40%),
		rgba(40, 120, 90, 0.42);
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-bottom: 0;
	backdrop-filter: blur(14px) saturate(1.4);
	-webkit-backdrop-filter: blur(14px) saturate(1.4);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
	animation: dock 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.25s both;
}
.cover {
	grid-area: cover;
	width: 38px;
	height: 38px;
	border-radius: 9px;
	background: conic-gradient(from 200deg, #ff9a8b, #ff6a88, #a78bfa, #6ee7f9, #ff9a8b);
}
.player-text {
	grid-area: text;
	display: grid;
	min-width: 0;
	line-height: 1.2;
}
.player-text b {
	font-size: 0.82rem;
}
.player-text small {
	font-size: 0.68rem;
	opacity: 0.75;
}
.player-buttons {
	grid-area: buttons;
	display: flex;
	gap: 4px;
}
.player-buttons i {
	display: grid;
	place-items: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.14);
}
.player-buttons i.play {
	background: rgba(255, 255, 255, 0.9);
	color: #1a3d30;
}
.player-buttons .icon {
	width: 12px;
	height: 12px;
}
.wave {
	grid-area: wave;
	width: 100%;
	height: 12px;
}
.wave path {
	fill: none;
	stroke: #fff;
	stroke-width: 2.2;
	stroke-linecap: round;
}
.wave path.rest {
	stroke: rgba(255, 255, 255, 0.3);
}
.youbar {
	margin: 0 8px 8px;
	padding: 12px 18px 16px;
	display: flex;
	justify-content: space-between;
	background: rgba(14, 20, 48, 0.55);
	border-radius: 0 0 26px 26px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-top: 0;
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}
.youbar i {
	width: 22px;
	height: 22px;
	border-radius: 7px;
	background: rgba(220, 228, 255, 0.3);
}
.youbar i:first-child {
	background: rgba(220, 228, 255, 0.85);
}
@keyframes dock {
	from {
		transform: translateY(70px);
		opacity: 0;
	}
	to {
		transform: none;
		opacity: 1;
	}
}

@media (min-width: 900px) {
	.hero {
		grid-template-columns: 1.15fr 0.85fr;
		padding: 40px 0 72px;
	}
}

.section {
	margin-top: 64px;
}
.section-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
}

.featured {
	display: grid;
	gap: 14px;
}
@media (min-width: 720px) {
	.featured {
		grid-template-columns: repeat(3, 1fr);
	}
}
.feature {
	position: relative;
	display: grid;
	gap: 10px;
	align-content: start;
	padding: 22px;
	border-radius: var(--r-xl);
	text-decoration: none;
	color: var(--ink);
	background:
		radial-gradient(120% 90% at 100% 0%, hsl(var(--h) 80% 60% / 0.16), transparent 55%),
		var(--glass);
	border: 1px solid var(--line);
	overflow: hidden;
}
.feature:hover {
	color: var(--ink);
	border-color: hsl(var(--h) 80% 70% / 0.45);
}
.feature p {
	color: var(--ink-2);
	font-size: 0.96rem;
}
.feature-foot {
	display: flex;
	gap: 10px;
	align-items: center;
	margin-top: 6px;
}

.split {
	display: grid;
	gap: 24px;
}
.split > div {
	display: grid;
	gap: 12px;
	align-content: start;
	justify-items: start;
}
@media (min-width: 820px) {
	.split {
		grid-template-columns: 0.8fr 1.2fr;
		gap: 48px;
	}
}
.mini-log {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 4px;
}
.mini-log a {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 12px;
	border-radius: var(--r-md);
	color: var(--ink);
	text-decoration: none;
}
.mini-log a:hover {
	background: var(--glass);
}
.mini-log small {
	display: block;
	color: var(--mute);
	font-size: 0.9rem;
	margin-top: 2px;
}

.ask-card {
	display: grid;
	gap: 14px;
	justify-items: start;
	padding: clamp(24px, 5vw, 48px);
	border-radius: var(--r-xl);
	background:
		radial-gradient(80% 120% at 0% 0%, rgba(163, 189, 255, 0.2), transparent 60%),
		radial-gradient(70% 110% at 100% 100%, rgba(198, 169, 255, 0.16), transparent 60%),
		var(--glass);
	border: 1px solid var(--line-strong);
}
.ask-card p {
	color: var(--ink-2);
	max-width: 36rem;
}

/* ---------- plugin tiles and rows ---------- */

.tile {
	display: inline-grid;
	place-items: center;
	flex: none;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	color: hsl(var(--h) 85% var(--tile-l));
	background:
		linear-gradient(160deg, hsl(var(--h) 80% 65% / calc(var(--tile-bg) + 0.08)), hsl(var(--h) 80% 50% / var(--tile-bg)));
	box-shadow: inset 0 0 0 1px hsl(var(--h) 80% 70% / 0.22);
}
.tile .icon {
	width: 24px;
	height: 24px;
}
.tile.sm {
	width: 34px;
	height: 34px;
	border-radius: 10px;
}
.tile.sm .icon {
	width: 18px;
	height: 18px;
}
.tile.lg {
	width: 56px;
	height: 56px;
	border-radius: 17px;
}
.tile.lg .icon {
	width: 28px;
	height: 28px;
}
.tile.xl {
	width: 76px;
	height: 76px;
	border-radius: 22px;
}
.tile.xl .icon {
	width: 38px;
	height: 38px;
}

.ver {
	display: inline-block;
	font: 600 0.78rem var(--font);
	font-variant-numeric: tabular-nums;
	color: var(--ink-2);
	background: var(--glass-strong);
	border: 1px solid var(--line);
	padding: 1px 8px;
	border-radius: 999px;
	vertical-align: 2px;
}
.tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.tag {
	font-size: 0.76rem;
	font-weight: 600;
	color: var(--mute);
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 1px 8px;
}

.page-head {
	display: grid;
	gap: 12px;
	margin: 8px 0 28px;
}
.row-head {
	grid-template-columns: 1fr auto;
	align-items: end;
}
.row-head > div {
	display: grid;
	gap: 12px;
}
@media (max-width: 600px) {
	.row-head {
		grid-template-columns: 1fr;
	}
}

.filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	margin-bottom: 24px;
}
.filters select {
	width: auto;
	flex: 1 1 140px;
	max-width: 220px;
}
.search {
	position: relative;
	flex: 1 1 260px;
	display: flex;
	align-items: center;
}
.search .icon {
	position: absolute;
	left: 14px;
	color: var(--mute);
	width: 18px;
	height: 18px;
	pointer-events: none;
}
.search input {
	padding-left: 42px;
	padding-right: 44px;
	border-radius: 999px;
}
.search kbd {
	position: absolute;
	right: 14px;
}
@media (hover: none) {
	.search kbd {
		display: none;
	}
}
.chips {
	display: flex;
	gap: 6px;
	overflow-x: auto;
	scrollbar-width: none;
	max-width: 100%;
}
.chip {
	flex: none;
	min-height: 38px;
	padding: 0 14px;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: transparent;
	color: var(--ink-2);
	font-weight: 600;
	cursor: pointer;
}
.chip[aria-pressed='true'] {
	background: var(--ink);
	color: var(--night);
	border-color: var(--ink);
}
.check {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	color: var(--ink-2);
	font-weight: 600;
	cursor: pointer;
}
.check input {
	width: 18px;
	height: 18px;
	accent-color: var(--moon);
}

.group {
	margin-bottom: 36px;
}
.group h2 {
	font-size: 1.05rem;
	color: var(--ink-2);
	margin-bottom: 10px;
	display: flex;
	gap: 8px;
	align-items: center;
}
.count {
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--mute);
	background: var(--glass);
	border-radius: 999px;
	padding: 1px 8px;
}
.plist {
	display: grid;
	border-radius: var(--r-lg);
	border: 1px solid var(--line);
	background: var(--glass);
	overflow: hidden;
}
@media (min-width: 980px) {
	.plist {
		grid-template-columns: 1fr 1fr;
	}
	.plist .prow:nth-child(odd) {
		border-right: 1px solid var(--line);
	}
}
.prow {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 16px;
	color: var(--ink);
	text-decoration: none;
	border-bottom: 1px solid var(--line);
	margin-bottom: -1px;
}
.prow:hover {
	color: var(--ink);
	background: color-mix(in srgb, var(--moon) 6%, transparent);
}
.prow-text {
	flex: 1;
	min-width: 0;
	display: grid;
	gap: 4px;
}
.prow-head {
	display: flex;
	gap: 8px;
	align-items: center;
	flex-wrap: wrap;
}
.prow-desc {
	color: var(--ink-2);
	font-size: 0.94rem;
	line-height: 1.5;
}
.prow-installs {
	font-size: 0.8rem;
	color: var(--mute);
	font-weight: 600;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}
.empty {
	padding: 40px 20px;
	text-align: center;
	color: var(--mute);
	border: 1px dashed var(--line-strong);
	border-radius: var(--r-lg);
}

/* ---------- plugin page ---------- */

.crumbs {
	margin-bottom: 16px;
	font-size: 0.92rem;
}
.crumbs a {
	text-decoration: none;
	font-weight: 600;
}
.crumbs a::before {
	content: '‹ ';
}
.plugin-head {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 20px;
	align-items: start;
	padding-bottom: 28px;
	margin-bottom: 28px;
	border-bottom: 1px solid var(--line);
}
.plugin-head > div {
	display: grid;
	gap: 12px;
}
@media (max-width: 560px) {
	.plugin-head {
		grid-template-columns: 1fr;
	}
}
.facts {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.fact {
	font-size: 0.86rem;
	color: var(--ink-2);
	background: var(--glass);
	border: 1px solid var(--line);
	border-radius: 999px;
	padding: 4px 12px;
}
.fact b {
	color: var(--ink);
}
.note {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	padding: 14px 16px;
	border-radius: var(--r-md);
	background: color-mix(in srgb, var(--warn) 10%, transparent);
	border: 1px solid color-mix(in srgb, var(--warn) 30%, transparent);
	color: var(--ink);
	margin-bottom: 28px;
}
.note .icon {
	color: var(--warn);
	margin-top: 2px;
}
.plugin-layout {
	display: grid;
	gap: 32px;
}
@media (min-width: 920px) {
	.plugin-layout {
		grid-template-columns: 1fr 340px;
		align-items: start;
	}
	.plugin-side {
		position: sticky;
		top: 88px;
	}
}
.plugin-side {
	display: grid;
	gap: 14px;
	min-width: 0;
}
.panel > * {
	min-width: 0;
}
.panel {
	display: grid;
	gap: 12px;
	align-content: start;
	padding: 20px;
	border-radius: var(--r-lg);
	background: var(--glass);
	border: 1px solid var(--line);
}
.panel h2 {
	font-size: 1.02rem;
}
.stack {
	display: grid;
	gap: 8px;
}
.stack .button {
	justify-content: flex-start;
}
.people {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 4px;
}

.prose {
	max-width: 70ch;
	color: var(--ink-2);
	line-height: 1.7;
}
.prose > * + * {
	margin-top: 1em;
}
.prose h2,
.prose h3,
.prose h4 {
	color: var(--ink);
	margin-top: 1.8em;
}
.prose strong {
	color: var(--ink);
	font-weight: 700;
}
.prose ul,
.prose ol {
	padding-left: 1.3em;
	display: grid;
	gap: 0.5em;
}
.prose li::marker {
	color: var(--moon);
}
.prose pre {
	overflow-x: auto;
	padding: 14px 16px;
	border-radius: var(--r-md);
	background: var(--glass-strong);
	border: 1px solid var(--line);
}
.prose pre code {
	background: none;
	padding: 0;
}
.prose blockquote {
	margin: 1em 0;
	padding-left: 14px;
	border-left: 3px solid var(--line-strong);
}
.table {
	overflow-x: auto;
}
table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.92rem;
}
th,
td {
	text-align: left;
	padding: 10px 12px;
	border-bottom: 1px solid var(--line);
	vertical-align: top;
}
th {
	color: var(--mute);
	font-weight: 650;
}

.timeline {
	list-style: none;
	margin: 18px 0 0;
	padding: 0 0 0 22px;
	border-left: 2px solid var(--line-strong);
	display: grid;
	gap: 22px;
	max-width: 70ch;
}
.timeline li {
	position: relative;
	display: grid;
	gap: 6px;
	grid-template-columns: auto 1fr;
	align-items: center;
	column-gap: 10px;
}
.timeline li::before {
	content: '';
	position: absolute;
	left: -29px;
	top: 6px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--night);
	border: 2px solid var(--moon);
}
.timeline time {
	color: var(--mute);
	font-size: 0.88rem;
}
.timeline p {
	grid-column: 1 / -1;
	color: var(--ink-2);
}
.versions summary {
	cursor: pointer;
	font-weight: 700;
	padding: 12px 0;
}
.versions table {
	max-width: 520px;
}

/* ---------- install ---------- */

.steps {
	list-style: none;
	counter-reset: step;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 14px;
	max-width: 720px;
}
.steps li {
	counter-increment: step;
	position: relative;
	display: grid;
	gap: 12px;
	padding: 22px 22px 22px 76px;
	border-radius: var(--r-lg);
	background: var(--glass);
	border: 1px solid var(--line);
}
.steps li::before {
	content: counter(step);
	position: absolute;
	left: 22px;
	top: 20px;
	width: 36px;
	height: 36px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	font-weight: 800;
	color: var(--on-moon);
	background: linear-gradient(180deg, var(--moon-strong), var(--moon));
}
.steps h2 {
	font-size: 1.1rem;
	padding-top: 6px;
}
.steps p {
	color: var(--ink-2);
}
@media (max-width: 520px) {
	.steps li {
		padding: 68px 18px 20px;
	}
	.steps li::before {
		left: 18px;
		top: 18px;
	}
}
.faq {
	max-width: 720px;
	display: grid;
	gap: 8px;
}
.faq h2 {
	margin-bottom: 8px;
}
details {
	border-radius: var(--r-md);
}
.faq details {
	background: var(--glass);
	border: 1px solid var(--line);
	padding: 0 18px;
}
.faq summary {
	cursor: pointer;
	padding: 16px 0;
	font-weight: 650;
}
.faq details p {
	color: var(--ink-2);
	padding-bottom: 16px;
}

/* ---------- changelog ---------- */

.releases {
	display: grid;
	gap: 28px;
	max-width: 820px;
}
.release {
	padding: clamp(20px, 4vw, 32px);
	border-radius: var(--r-xl);
	background: var(--glass);
	border: 1px solid var(--line);
	display: grid;
	gap: 14px;
}
.release header {
	display: grid;
	gap: 6px;
	padding-bottom: 6px;
}
.release time {
	color: var(--moon);
	font-weight: 700;
	font-size: 0.92rem;
}
.release h3 {
	color: var(--mute);
	font-size: 0.92rem;
	margin-top: 10px;
}
.release > p {
	color: var(--ink-2);
}
.log {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 18px;
}
.log li {
	display: grid;
	gap: 8px;
}
.log p {
	color: var(--ink-2);
	padding-left: 46px;
}
.log-plugin {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--ink);
	text-decoration: none;
}
.log-plugin:hover {
	color: var(--moon-strong);
}

/* ---------- feedback ---------- */

.tabs {
	display: flex;
	gap: 4px;
	padding: 4px;
	border-radius: 999px;
	background: var(--glass);
	border: 1px solid var(--line);
	width: fit-content;
	max-width: 100%;
	overflow-x: auto;
	scrollbar-width: none;
	margin-bottom: 16px;
}
.tabs button {
	flex: none;
	padding: 8px 16px;
	border: 0;
	border-radius: 999px;
	background: none;
	color: var(--ink-2);
	font-weight: 650;
	cursor: pointer;
}
.tabs button[aria-selected='true'] {
	background: var(--glass-strong);
	color: var(--ink);
	box-shadow: inset 0 0 0 1px var(--line-strong);
}

.post-list {
	display: grid;
	gap: 10px;
}
.post {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 14px;
	padding: 16px;
	border-radius: var(--r-lg);
	background: var(--glass);
	border: 1px solid var(--line);
	position: relative;
}
.post.is-hidden {
	opacity: 0.55;
}
.post-main {
	min-width: 0;
	display: grid;
	gap: 6px;
	align-content: start;
}
.post-title {
	color: var(--ink);
	font-weight: 700;
	font-size: 1.04rem;
	text-decoration: none;
	line-height: 1.35;
}
.post-title::after {
	content: '';
	position: absolute;
	inset: 0;
	border-radius: inherit;
}
.post:hover {
	border-color: var(--line-strong);
}
.post-excerpt {
	color: var(--ink-2);
	font-size: 0.93rem;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}
.post-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 12px;
	align-items: center;
	font-size: 0.84rem;
	color: var(--mute);
}
.post-meta .who {
	display: inline-flex;
	gap: 6px;
	align-items: center;
}
.post-meta .icon {
	width: 15px;
	height: 15px;
}
.meta-item {
	display: inline-flex;
	gap: 5px;
	align-items: center;
}

.vote {
	position: relative;
	z-index: 2;
	display: grid;
	justify-items: center;
	align-content: start;
	gap: 0;
	width: 52px;
	padding: 8px 0 6px;
	border-radius: var(--r-md);
	border: 1px solid var(--line-strong);
	background: var(--glass-strong);
	color: var(--ink-2);
	cursor: pointer;
	font-weight: 750;
	font-variant-numeric: tabular-nums;
}
.vote .icon {
	width: 18px;
	height: 18px;
}
.vote small {
	font-size: 0.66rem;
	font-weight: 600;
	color: var(--mute);
}
.vote[aria-pressed='true'] {
	color: var(--on-moon);
	background: linear-gradient(180deg, var(--moon-strong), var(--moon));
	border-color: transparent;
}
.vote[aria-pressed='true'] small {
	color: var(--on-moon);
	opacity: 0.8;
}
.vote:active {
	transform: scale(0.96);
}

.badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 0.76rem;
	font-weight: 700;
	padding: 2px 9px;
	border-radius: 999px;
	color: var(--c, var(--ink-2));
	background: color-mix(in srgb, var(--c, var(--ink-2)) 14%, transparent);
	white-space: nowrap;
}
.badge .icon {
	width: 13px;
	height: 13px;
}
.dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	background: var(--c, var(--mute));
	flex: none;
}
.s-open {
	--c: var(--sky);
}
.s-review,
.s-confirmed {
	--c: var(--warn);
}
.s-planned {
	--c: var(--moon);
}
.s-progress {
	--c: var(--violet);
}
.s-testing {
	--c: #ffa96b;
}
.s-done {
	--c: var(--ok);
}
.s-declined,
.s-wontfix,
.s-cantrepro,
.s-duplicate {
	--c: var(--mute);
}
.t-suggestion {
	--c: var(--moon);
}
.t-bug {
	--c: var(--bad);
}
.t-conflict {
	--c: var(--warn);
}
.more {
	margin: 18px auto 0;
	display: flex;
}

.skeleton {
	height: 64px;
	border-radius: var(--r-md);
	background: linear-gradient(90deg, var(--glass) 0%, var(--glass-strong) 50%, var(--glass) 100%);
	background-size: 200% 100%;
	animation: shimmer 1.4s linear infinite;
}
.skeleton.tall {
	height: 110px;
	border-radius: var(--r-lg);
}
@keyframes shimmer {
	to {
		background-position: -200% 0;
	}
}

/* compose */
.compose {
	display: grid;
	gap: 20px;
	max-width: 760px;
}
.kinds {
	border: 0;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 10px;
}
.kinds legend {
	font-weight: 700;
	margin-bottom: 10px;
}
@media (min-width: 640px) {
	.kinds {
		grid-template-columns: repeat(3, 1fr);
	}
}
.kind input {
	position: absolute;
	opacity: 0;
}
.kind span {
	display: grid;
	gap: 4px;
	padding: 16px;
	border-radius: var(--r-lg);
	border: 1px solid var(--line-strong);
	background: var(--glass);
	cursor: pointer;
	height: 100%;
}
.kind span .icon {
	width: 22px;
	height: 22px;
	color: var(--moon);
	margin-bottom: 4px;
}
.kind small {
	color: var(--mute);
	font-size: 0.86rem;
	line-height: 1.4;
}
.kind input:checked + span {
	border-color: var(--moon);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--moon) 22%, transparent);
	background: color-mix(in srgb, var(--moon) 9%, var(--glass));
}
.kind input:focus-visible + span {
	outline: 2px solid var(--moon);
	outline-offset: 2px;
}
.field {
	display: grid;
	gap: 7px;
}
.field label {
	font-weight: 650;
}
.hint {
	color: var(--mute);
	font-size: 0.84rem;
}
.grid-fields {
	display: grid;
	gap: 14px;
}
@media (min-width: 640px) {
	.grid-fields {
		grid-template-columns: 1fr 1fr;
	}
}
.compose:not([data-type='conflict']) .conflict-only,
.compose[data-type='suggestion'] .report-only {
	display: none;
}
.similar {
	padding: 12px 14px;
	border-radius: var(--r-md);
	background: color-mix(in srgb, var(--moon) 8%, transparent);
	border: 1px solid color-mix(in srgb, var(--moon) 25%, transparent);
	font-size: 0.92rem;
}
.similar ul {
	margin: 8px 0 0;
	padding-left: 18px;
	display: grid;
	gap: 4px;
}
.form-error {
	color: var(--bad);
	font-weight: 600;
}
.form-actions {
	display: flex;
	gap: 10px;
}

/* thread */
.thread-head {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 16px;
	align-items: start;
	margin-bottom: 20px;
}
.thread-head h1 {
	font-size: clamp(1.6rem, 4vw, 2.3rem);
}
.thread-head .vote {
	width: 60px;
	margin-top: 4px;
}
.thread-layout {
	display: grid;
	gap: 28px;
}
@media (min-width: 920px) {
	.thread-layout {
		grid-template-columns: 1fr 300px;
		align-items: start;
	}
}
.thread-body {
	display: grid;
	gap: 16px;
	min-width: 0;
}
.bubble {
	padding: 18px 20px;
	border-radius: var(--r-lg);
	background: var(--glass);
	border: 1px solid var(--line);
	display: grid;
	gap: 10px;
	min-width: 0;
}
.bubble.owner {
	border-color: color-mix(in srgb, var(--moon) 45%, transparent);
	background: color-mix(in srgb, var(--moon) 7%, var(--glass));
}
.bubble.answer {
	border-color: color-mix(in srgb, var(--ok) 55%, transparent);
	background: color-mix(in srgb, var(--ok) 7%, var(--glass));
}
.bubble.is-hidden {
	opacity: 0.55;
}
.bubble-head {
	display: flex;
	gap: 10px;
	align-items: center;
	flex-wrap: wrap;
	font-size: 0.88rem;
	color: var(--mute);
}
.bubble-head b {
	color: var(--ink);
	font-size: 0.95rem;
}
.bubble-actions {
	margin-left: auto;
	display: flex;
	gap: 4px;
}
.text-button {
	border: 0;
	background: none;
	color: var(--mute);
	font-size: 0.84rem;
	font-weight: 600;
	padding: 4px 6px;
	border-radius: 6px;
	cursor: pointer;
}
.text-button:hover {
	color: var(--ink);
	background: var(--glass-strong);
}
.rich {
	color: var(--ink-2);
	overflow-wrap: anywhere;
	line-height: 1.65;
}
.rich p + p {
	margin-top: 0.8em;
}
.rich pre {
	overflow-x: auto;
	padding: 12px 14px;
	border-radius: var(--r-sm);
	background: var(--glass-strong);
	margin: 0.8em 0;
}
.rich pre code {
	background: none;
	padding: 0;
}
.event {
	display: flex;
	gap: 10px;
	align-items: center;
	flex-wrap: wrap;
	color: var(--mute);
	font-size: 0.9rem;
	padding: 4px 8px;
}
.event-note {
	flex-basis: 100%;
	padding: 10px 14px;
	border-left: 3px solid var(--line-strong);
	color: var(--ink-2);
}
.details-list {
	display: grid;
	gap: 10px;
	margin: 0;
}
.details-list div {
	display: grid;
	gap: 2px;
}
.details-list dt {
	font-size: 0.8rem;
	color: var(--mute);
	font-weight: 600;
}
.details-list dd {
	margin: 0;
	overflow-wrap: anywhere;
}
.owner-tools {
	display: grid;
	gap: 10px;
}
.owner-tools label {
	font-size: 0.84rem;
	color: var(--mute);
	font-weight: 600;
}
.toggle-row {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.reply {
	display: grid;
	gap: 10px;
}
.reply-actions {
	display: flex;
	gap: 10px;
	align-items: center;
	flex-wrap: wrap;
}
.duplicate-note {
	padding: 12px 16px;
	border-radius: var(--r-md);
	border: 1px dashed var(--line-strong);
	color: var(--ink-2);
}

/* roadmap */
.board {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(280px, 86vw);
	gap: 14px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding-bottom: 12px;
	margin: 0 -16px;
	padding-left: 16px;
	padding-right: 16px;
	scroll-padding: 0 16px;
}
@media (min-width: 900px) {
	.board {
		grid-auto-flow: row;
		grid-template-columns: repeat(4, 1fr);
		overflow: visible;
		margin: 0;
		padding: 0;
	}
}
.column {
	scroll-snap-align: start;
	display: grid;
	gap: 10px;
	align-content: start;
	padding: 14px;
	border-radius: var(--r-xl);
	background: color-mix(in srgb, var(--glass) 70%, transparent);
	border: 1px solid var(--line);
	min-height: 220px;
}
.column header {
	display: flex;
	gap: 8px;
	align-items: center;
	padding: 4px 4px 0;
}
.column h2 {
	font-size: 1rem;
	flex: 1;
}
.column-hint {
	font-size: 0.84rem;
	color: var(--mute);
	padding: 0 4px 4px;
}
.cards {
	display: grid;
	gap: 8px;
}
.card {
	display: grid;
	gap: 8px;
	padding: 14px;
	border-radius: var(--r-md);
	background: var(--glass-strong);
	border: 1px solid var(--line);
	color: var(--ink);
	text-decoration: none;
}
.card:hover {
	color: var(--ink);
	border-color: var(--line-strong);
}
.card b {
	font-weight: 650;
	line-height: 1.35;
}
.card-foot {
	display: flex;
	gap: 8px;
	align-items: center;
	justify-content: space-between;
	font-size: 0.8rem;
	color: var(--mute);
}
.plugin-chip {
	display: inline-flex;
	gap: 6px;
	align-items: center;
	font-size: 0.8rem;
	font-weight: 650;
	color: hsl(var(--h, 222) 80% var(--tile-l));
}
.plugin-chip .icon {
	width: 14px;
	height: 14px;
}
.column-empty {
	font-size: 0.88rem;
	color: var(--mute);
	padding: 18px 8px;
	text-align: center;
	border: 1px dashed var(--line);
	border-radius: var(--r-md);
}

/* admin */
.admin-grid {
	display: grid;
	gap: 18px;
}
@media (min-width: 1000px) {
	.admin-grid {
		grid-template-columns: 1fr 1fr;
	}
}
.admin-list {
	display: grid;
	gap: 6px;
}
.admin-row {
	display: flex;
	gap: 10px;
	align-items: center;
	padding: 10px 12px;
	border-radius: var(--r-md);
	background: var(--glass-strong);
	border: 1px solid var(--line);
	color: var(--ink);
	text-decoration: none;
	min-width: 0;
}
.admin-row span {
	min-width: 0;
	flex: 1;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.admin-row small {
	color: var(--mute);
	white-space: nowrap;
}

/* toasts */
.toasts {
	position: fixed;
	z-index: 60;
	left: 50%;
	bottom: calc(var(--tabbar) + 16px + env(safe-area-inset-bottom));
	transform: translateX(-50%);
	display: grid;
	gap: 8px;
	width: min(420px, calc(100vw - 32px));
	pointer-events: none;
}
.toast {
	display: flex;
	gap: 10px;
	align-items: center;
	padding: 12px 16px;
	border-radius: var(--r-md);
	background: var(--glass-solid);
	border: 1px solid var(--line-strong);
	box-shadow: var(--shadow);
	font-weight: 600;
	font-size: 0.94rem;
	animation: rise 0.25s ease-out;
}
.toast .icon {
	color: var(--ok);
}
.toast.error .icon {
	color: var(--bad);
}
@keyframes rise {
	from {
		transform: translateY(10px);
		opacity: 0;
	}
}

.lost {
	display: grid;
	justify-items: center;
	text-align: center;
	gap: 16px;
	padding: 60px 0;
}
.lost .logo-moon {
	width: 72px;
	height: 72px;
}

.signin-needed {
	max-width: 520px;
	margin-bottom: 20px;
	justify-items: start;
}

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

/* Icons that sit inside a line of text (the pin before a pinned title). */
.post-title .icon,
.thread-head h1 .icon {
	display: inline-block;
	width: 0.85em;
	height: 0.85em;
	margin-right: 0.3em;
	vertical-align: -0.08em;
	color: var(--moon);
}
.card-foot > span:last-child {
	display: inline-flex;
	gap: 3px;
	align-items: center;
	font-weight: 700;
}
.card-foot .icon {
	width: 15px;
	height: 15px;
}

/* ---------- phone-width fixes ---------- */
.copy-box {
	width: 100%;
}
.hero-copy {
	min-width: 0;
}
.hero-copy > * {
	max-width: 100%;
}
@media (max-width: 639px) {
	.copy-url {
		font-size: 0.8rem;
	}
	.copy-box {
		padding-left: 14px;
	}
	.kinds {
		grid-template-columns: repeat(3, 1fr);
		gap: 8px;
	}
	.kind span {
		padding: 12px 8px;
		justify-items: center;
		text-align: center;
	}
	.kind span .icon {
		margin-bottom: 0;
	}
	.kind small {
		display: none;
	}
	.phone {
		width: min(250px, 70vw);
	}
	.hero {
		gap: 28px;
	}
}
