/* ozant — public site styles. late-90s desktop / hi-fi look. */

/* ------------------------------------------------------------ palette: "day" (beige plastic) */
:root {
	--desk: #2f6f6a;
	--desk-2: #2a6560;
	--panel: #e4dccb;
	--panel-2: #d6ccb6;
	--hi: #fffaf0;
	--lo: #8a7f6b;
	--dk: #2b261e;
	--field: #fffdf7;
	--ink: #1b1712;
	--ink-soft: #3d362c;
	--muted: #6a604f;
	--title-a: #7a1f2b;
	--title-b: #d9622b;
	--title-ink: #fff6e0;
	--title-off-a: #8a8274;
	--title-off-b: #b3aa98;
	--link: #1b3fae;
	--visited: #6b2a94;
	--accent: #c4471f;
	--accent-ink: #fff6e0;
	--select: #1b3fae;
	--lcd-bg: #16200d;
	--lcd-ink: #a6f24e;
	--lcd-dim: #4d6b28;
	--bubble-them: #fffdf7;
	--bubble-me: #fff2b8;
	--pixel: 'VT323', 'Lucida Console', 'Courier New', monospace;
	--sans: Verdana, Tahoma, 'DejaVu Sans', Geneva, sans-serif;
	--serif: Georgia, 'Times New Roman', serif;
	--mono: 'Lucida Console', 'Courier New', monospace;
	--wrap: 760px;
	--wrap-wide: 960px;
	color-scheme: light;
}

/* ------------------------------------------------------------ palette: "night" */
@media (prefers-color-scheme: dark) {
	:root:not([data-theme='light']) {
		--desk: #16111f;
		--desk-2: #1c1528;
		--panel: #2b2535;
		--panel-2: #231e2c;
		--hi: #4f465e;
		--lo: #120f18;
		--dk: #000000;
		--field: #17131d;
		--ink: #efe7d8;
		--ink-soft: #d6cdbd;
		--muted: #a197ad;
		--title-a: #2c1a5e;
		--title-b: #b8402c;
		--title-ink: #fff3d6;
		--title-off-a: #3a3445;
		--title-off-b: #4d4659;
		--link: #8eb6ff;
		--visited: #cf9dff;
		--accent: #ff8a4c;
		--accent-ink: #1a0d07;
		--select: #b8402c;
		--bubble-them: #17131d;
		--bubble-me: #3a2f1a;
		color-scheme: dark;
	}
}

:root[data-theme='dark'] {
	--desk: #16111f;
	--desk-2: #1c1528;
	--panel: #2b2535;
	--panel-2: #231e2c;
	--hi: #4f465e;
	--lo: #120f18;
	--dk: #000000;
	--field: #17131d;
	--ink: #efe7d8;
	--ink-soft: #d6cdbd;
	--muted: #a197ad;
	--title-a: #2c1a5e;
	--title-b: #b8402c;
	--title-ink: #fff3d6;
	--title-off-a: #3a3445;
	--title-off-b: #4d4659;
	--link: #8eb6ff;
	--visited: #cf9dff;
	--accent: #ff8a4c;
	--accent-ink: #1a0d07;
	--select: #b8402c;
	--bubble-them: #17131d;
	--bubble-me: #3a2f1a;
	color-scheme: dark;
}

/* bevels */
:root {
	--raised: inset 1px 1px 0 var(--hi), inset -1px -1px 0 var(--lo), 0 0 0 1px var(--dk);
	--raised-big: inset 2px 2px 0 var(--hi), inset -2px -2px 0 var(--lo), 0 0 0 1px var(--dk);
	--sunken: inset 1px 1px 0 var(--lo), inset -1px -1px 0 var(--hi), inset 2px 2px 0 var(--dk);
	--groove: inset 1px 1px 0 var(--lo), inset -1px -1px 0 var(--hi);
}

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

[hidden] {
	display: none !important;
}

html {
	-webkit-text-size-adjust: 100%;
	background-color: var(--desk);
	background-image: conic-gradient(var(--desk-2) 25%, transparent 0 50%, var(--desk-2) 0 75%, transparent 0);
	background-size: 28px 28px;
}

body {
	margin: 0;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	color: var(--ink);
	font-family: var(--sans);
	font-size: 14px;
	line-height: 1.55;
}

a {
	color: var(--link);
}

a:visited {
	color: var(--visited);
}

a:hover {
	color: var(--accent);
}

img {
	max-width: 100%;
	height: auto;
}

:focus-visible {
	outline: 1px dotted var(--ink);
	outline-offset: 2px;
}

::selection {
	background: var(--select);
	color: #fff;
}

/* ------------------------------------------------------------ windows */

.window {
	background: var(--panel);
	box-shadow: var(--raised-big), 4px 4px 0 rgba(0, 0, 0, 0.35);
	padding: 3px;
	min-width: 0;
}

.titlebar {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 26px;
	padding: 2px 3px 2px 8px;
	background: linear-gradient(90deg, var(--title-a), var(--title-b));
	color: var(--title-ink);
	font-family: var(--pixel);
	font-size: 1.25rem;
	line-height: 1;
	letter-spacing: 0.02em;
}

.titlebar-text {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.win-buttons {
	display: flex;
	gap: 2px;
	flex-shrink: 0;
}

.win-buttons span,
.win-btn {
	display: grid;
	place-items: center;
	width: 18px;
	height: 16px;
	padding: 0;
	background: var(--panel);
	box-shadow: var(--raised);
	border: 0;
	color: var(--ink);
}

.win-buttons span:nth-child(1)::after {
	content: '';
	width: 7px;
	height: 2px;
	margin-top: 7px;
	background: var(--ink);
}

.win-buttons span:nth-child(2)::after {
	content: '';
	width: 8px;
	height: 7px;
	border: 1px solid var(--ink);
	border-top-width: 2px;
}

.win-buttons span:nth-child(3)::after {
	content: '×';
	font: bold 13px/1 var(--sans);
	color: var(--ink);
}

.window-body {
	padding: 22px 24px 24px;
}

.window-foot {
	margin: 18px 0 0;
	padding-top: 10px;
	box-shadow: 0 -1px 0 var(--lo), 0 -2px 0 var(--hi) inset;
	border-top: 1px solid var(--hi);
	text-align: right;
	font-size: 0.85rem;
}

/* ------------------------------------------------------------ top bar */

.topbar {
	padding: 20px 16px 0;
}

.topbar-inner {
	max-width: var(--wrap-wide);
	margin: 0 auto;
}

.topbar .titlebar {
	padding: 3px 3px 3px 6px;
	min-height: 30px;
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	flex-shrink: 0;
}

.brand,
.brand:visited,
.brand:hover {
	color: var(--title-ink);
}

.brand-disc {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background:
		radial-gradient(circle, var(--title-b) 0 3px, #f3e6c8 3.5px 4.5px, transparent 5px),
		repeating-radial-gradient(circle, #111 0 1px, #3b3530 1.6px 2.4px);
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5);
}

.brand:hover .brand-disc {
	animation: spin 1.6s linear infinite;
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}

.brand-name {
	font-family: var(--pixel);
	font-size: 1.6rem;
	line-height: 1;
}

.titlebar-path {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	opacity: 0.75;
	font-size: 1.1rem;
}

.theme-toggle {
	cursor: pointer;
	width: 22px;
	height: 20px;
}

.theme-toggle span {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--ink);
	-webkit-mask: radial-gradient(circle at 75% 25%, transparent 3.5px, #000 4px);
	mask: radial-gradient(circle at 75% 25%, transparent 3.5px, #000 4px);
}

.win-btn:active,
.theme-toggle:active {
	box-shadow: var(--sunken);
}

.nav {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	padding: 6px 4px 4px;
}

.nav a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 3px 14px 2px;
	background: var(--panel);
	box-shadow: var(--raised);
	color: var(--ink);
	font-family: var(--pixel);
	font-size: 1.3rem;
	line-height: 1.2;
	text-decoration: none;
}

.nav a:visited {
	color: var(--ink);
}

.nav a:hover {
	color: var(--ink);
	background: var(--panel-2);
}

.nav a.is-active,
.nav a:active {
	box-shadow: var(--sunken);
	background: var(--panel-2);
	padding: 4px 13px 1px 15px;
}

.nav a.is-active::before {
	content: '▸';
	color: var(--accent);
}

/* ------------------------------------------------------------ layout */

.wrap {
	width: 100%;
	max-width: calc(var(--wrap) + 32px);
	margin: 0 auto;
	padding: 22px 16px 48px;
	flex: 1;
}

.wrap--wide {
	max-width: calc(var(--wrap-wide) + 32px);
}

.wrap > .window + .window,
.wrap > .home-columns,
.wrap > .home-columns + .window {
	margin-top: 22px;
}

.footer {
	padding: 0 16px 24px;
}

.footer-inner {
	max-width: var(--wrap-wide);
	margin: 0 auto;
	padding: 6px 10px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 6px 20px;
	background: var(--panel);
	box-shadow: var(--raised);
	font-size: 0.8rem;
	color: var(--muted);
}

.footer-inner > span:first-child {
	padding: 1px 8px;
	box-shadow: var(--groove);
}

.footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 14px;
}

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

h1,
h2,
h3 {
	font-family: var(--pixel);
	font-weight: 400;
	line-height: 1;
	margin: 0;
	letter-spacing: 0.01em;
}

.kicker {
	display: inline-block;
	margin: 0 0 10px;
	padding: 1px 8px 0;
	font-family: var(--pixel);
	font-size: 1.1rem;
	line-height: 1.2;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--lcd-ink);
	background: var(--lcd-bg);
	box-shadow: var(--sunken);
}

.lede {
	margin: 12px 0 0;
	font-size: 1rem;
	color: var(--ink-soft);
}

.page-head {
	margin-bottom: 26px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--hi);
	box-shadow: 0 1px 0 var(--lo);
}

.page-head h1 {
	font-size: clamp(2.8rem, 8vw, 4rem);
	text-shadow: 3px 3px 0 var(--panel-2), 4px 4px 0 var(--lo);
}

.empty {
	color: var(--muted);
	font-style: italic;
}

.back {
	margin: 0 0 18px;
	font-size: 0.85rem;
}

/* rich text written in the studio */
.prose {
	overflow-wrap: break-word;
	font-size: 0.98rem;
}

.prose > :first-child {
	margin-top: 0;
}

.prose > :last-child {
	margin-bottom: 0;
}

.prose p,
.prose ul,
.prose ol,
.prose blockquote,
.prose pre,
.prose figure {
	margin: 0 0 1em;
}

.prose h2 {
	font-size: 2.1rem;
	margin: 1.3em 0 0.35em;
	color: var(--accent);
}

.prose h3 {
	font-size: 1.6rem;
	margin: 1.2em 0 0.3em;
}

.prose blockquote {
	padding: 10px 14px;
	background: var(--field);
	box-shadow: var(--sunken);
	font-family: var(--serif);
	font-style: italic;
	font-size: 1.05em;
	color: var(--ink-soft);
}

.prose ul,
.prose ol {
	padding-left: 1.6em;
}

.prose ul {
	list-style: square;
}

.prose li + li {
	margin-top: 0.2em;
}

.prose hr {
	border: 0;
	height: 2px;
	margin: 1.8em 0;
	box-shadow: var(--groove);
}

.prose img,
.prose video {
	display: block;
	max-width: 100%;
	margin: 1.2em 0;
	padding: 4px;
	background: var(--panel);
	box-shadow: var(--raised);
}

.prose audio,
.release-audio {
	display: block;
	width: 100%;
	margin: 1em 0;
}

.prose figure[data-audio] figcaption {
	font-family: var(--pixel);
	font-size: 1.1rem;
	color: var(--muted);
	margin-top: -0.4em;
}

.prose code {
	font-family: var(--mono);
	font-size: 0.9em;
	padding: 0 4px;
	background: var(--field);
	box-shadow: var(--groove);
}

.prose pre {
	font-family: var(--mono);
	font-size: 0.85rem;
	padding: 12px 14px;
	color: var(--lcd-ink);
	background: var(--lcd-bg);
	box-shadow: var(--sunken);
	overflow-x: auto;
	white-space: pre-wrap;
}

.prose mark {
	background: #fff36b;
	color: #000;
}

.embed {
	margin: 1.2em 0;
	padding: 4px;
	background: var(--panel-2);
	box-shadow: var(--sunken);
}

.embed iframe {
	display: block;
	width: 100%;
	border: 0;
	background: #000;
}

.embed--video iframe {
	aspect-ratio: 16 / 9;
	height: auto;
}

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

.hero .window-body {
	display: grid;
	gap: 10px;
	padding: 28px 28px 26px;
}

.hero-name {
	font-family: var(--pixel);
	font-size: clamp(4rem, 13vw, 7rem);
	font-weight: 400;
	line-height: 0.85;
	color: var(--ink);
	text-shadow: 4px 4px 0 var(--title-b), 8px 8px 0 var(--title-a);
}

.hero-tagline {
	margin: 18px 0 0;
	font-family: var(--serif);
	font-style: italic;
	font-size: 1.2rem;
	color: var(--accent);
}

.hero-bio {
	max-width: 620px;
	color: var(--ink-soft);
}

.hero-links {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 6px 0 0;
}

.hero-links a,
.platform {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 3px 10px;
	background: var(--panel);
	box-shadow: var(--raised);
	color: var(--ink);
	font-size: 0.82rem;
	text-decoration: none;
}

.hero-links a:visited,
.platform:visited {
	color: var(--ink);
}

.hero-links a:active,
.platform:active {
	box-shadow: var(--sunken);
}

.home-columns {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 22px;
	align-items: start;
}

@media (max-width: 760px) {
	.home-columns {
		grid-template-columns: 1fr;
	}
}

.home-release .release {
	padding: 0;
	background: none;
	box-shadow: none;
}

/* ------------------------------------------------------------ music */

.releases {
	display: grid;
	gap: 22px;
}

.release {
	padding: 16px;
	background: var(--panel-2);
	box-shadow: var(--groove);
}

.release-top {
	display: grid;
	grid-template-columns: 170px 1fr;
	gap: 22px;
	align-items: start;
}

.release-cover {
	padding: 4px;
	background: var(--panel);
	box-shadow: var(--raised);
}

.release-cover img,
.cover-placeholder {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
}

.cover-placeholder {
	background:
		radial-gradient(circle, var(--title-b) 0 12%, #f3e6c8 12.5% 14%, transparent 14.5%),
		repeating-radial-gradient(circle, #111 0 1px, #2e2a25 1.5px 3px);
}

.release-info .kicker {
	margin-bottom: 8px;
}

.release-title {
	font-size: 2.6rem;
}

.release-title a,
.release-title a:visited {
	color: var(--ink);
	text-decoration: none;
}

.release-title a:hover {
	color: var(--accent);
}

.release-about {
	margin-top: 10px;
	color: var(--ink-soft);
}

.platforms {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 16px;
}

.platform::before {
	content: '';
	width: 7px;
	height: 7px;
	background: var(--muted);
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4);
}

.platform--spotify::before { background: #1db954; }
.platform--youtube::before { background: #ff0033; }
.platform--soundcloud::before { background: #ff5500; }
.platform--apple::before { background: #fa2d48; }
.platform--bandcamp::before { background: #1da0c3; }
.platform--deezer::before { background: #a238ff; }
.platform--instagram::before { background: #e1306c; }

.release .embed,
.release .release-audio {
	margin: 18px 0 0;
}

@media (max-width: 600px) {
	.release-top {
		grid-template-columns: 1fr;
	}

	.release-cover {
		max-width: 220px;
	}
}

/* ------------------------------------------------------------ notes: a tracklist on an lcd */

.notes {
	list-style: none;
	margin: 0;
	padding: 0;
}

.note {
	display: grid;
	grid-template-columns: 48px 1fr;
	gap: 14px;
	padding: 16px 0;
	border-bottom: 1px solid var(--hi);
	box-shadow: 0 1px 0 var(--lo);
}

.note:first-child {
	padding-top: 0;
}

.note:last-child {
	border-bottom: 0;
	box-shadow: none;
}

.note-num {
	align-self: start;
	padding: 2px 0 0;
	text-align: center;
	font-family: var(--pixel);
	font-size: 1.5rem;
	line-height: 1;
	color: var(--lcd-ink);
	background: var(--lcd-bg);
	box-shadow: var(--sunken);
	text-shadow: 0 0 6px rgba(166, 242, 78, 0.5);
}

.note-body {
	min-width: 0;
}

.note-meta {
	display: flex;
	gap: 14px;
	margin-top: 8px;
	font-size: 0.75rem;
	color: var(--muted);
}

.note-meta a,
.note-meta a:visited {
	color: var(--muted);
}

.note.is-highlighted {
	margin: 0 -10px;
	padding-left: 10px;
	padding-right: 10px;
	background: var(--bubble-me);
	box-shadow: var(--groove);
}

.notes--compact .note {
	grid-template-columns: 34px 1fr;
	gap: 10px;
	padding: 12px 0;
}

.notes--compact .note-num {
	font-size: 1.2rem;
}

.notes--compact .note-body .prose {
	display: -webkit-box;
	-webkit-line-clamp: 5;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.notes--compact .note-body .prose img,
.notes--compact .note-body .prose .embed {
	max-height: 170px;
	object-fit: cover;
}

.link-button {
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	color: var(--link);
	text-decoration: underline;
	cursor: pointer;
}

.link-button:hover {
	color: var(--accent);
}

/* ------------------------------------------------------------ blog */

.tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: -8px 0 22px;
}

.tags--inline {
	margin: 14px 0 0;
}

.tag,
.tag:visited {
	padding: 1px 9px 0;
	font-family: var(--pixel);
	font-size: 1.15rem;
	line-height: 1.3;
	color: var(--ink);
	text-decoration: none;
	background: var(--panel);
	box-shadow: var(--raised);
}

.tag::before {
	content: '#';
	color: var(--accent);
}

.tag.is-active {
	box-shadow: var(--sunken);
	background: var(--panel-2);
}

.post-rows {
	list-style: none;
	margin: 0;
	padding: 0;
	background: var(--field);
	box-shadow: var(--sunken);
}

.post-rows > li + li {
	border-top: 1px dotted var(--lo);
}

.post-rows a {
	display: grid;
	grid-template-columns: 96px 1fr auto;
	gap: 16px;
	align-items: baseline;
	padding: 12px 14px;
	text-decoration: none;
	color: var(--ink);
}

.post-rows a:hover {
	background: var(--select);
	color: #fff;
}

.post-rows a:hover .post-row-date,
.post-rows a:hover .post-row-time,
.post-rows a:hover .post-row-excerpt {
	color: #fff;
}

.post-row-date,
.post-row-time {
	font-family: var(--pixel);
	font-size: 1.1rem;
	color: var(--muted);
	white-space: nowrap;
}

.post-row-main {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.post-row-title {
	font-weight: bold;
	font-size: 1rem;
	text-decoration: underline;
	color: var(--link);
}

.post-rows a:hover .post-row-title {
	color: #fff;
}

.post-row-excerpt {
	color: var(--ink-soft);
	font-size: 0.86rem;
}

.post-rows--compact a {
	grid-template-columns: 1fr;
	gap: 2px;
}

.post-rows--compact .post-row-date {
	order: 2;
}

.post-rows--compact .post-row-time {
	display: none;
}

@media (max-width: 600px) {
	.post-rows a {
		grid-template-columns: 1fr;
		gap: 2px;
	}

	.post-row-date {
		order: -1;
	}

	.post-row-time {
		display: none;
	}
}

.post-head {
	margin-bottom: 26px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--hi);
	box-shadow: 0 1px 0 var(--lo);
}

.post-head h1 {
	font-size: clamp(2.6rem, 7vw, 3.6rem);
}

.post-cover {
	display: block;
	width: 100%;
	margin: 0 0 26px;
	padding: 4px;
	background: var(--panel);
	box-shadow: var(--raised);
}

.post-body {
	font-size: 1rem;
	line-height: 1.7;
}

.post-body.prose {
	font-size: 1rem;
}

.post-foot {
	display: flex;
	justify-content: space-between;
	margin-top: 36px;
	padding-top: 12px;
	border-top: 1px solid var(--lo);
	box-shadow: inset 0 1px 0 var(--hi);
	font-size: 0.85rem;
}

.preview-banner {
	margin: 0 0 20px;
	padding: 6px 10px;
	background: #fff36b;
	color: #000;
	box-shadow: var(--raised);
	font-weight: bold;
	font-size: 0.85rem;
}

/* ------------------------------------------------------------ forms & buttons */

.ask-form {
	margin-bottom: 30px;
	padding: 16px;
	background: var(--panel-2);
	box-shadow: var(--groove);
}

.field {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-bottom: 12px;
}

.field > span {
	font-size: 0.82rem;
	font-weight: bold;
	color: var(--ink-soft);
}

.field em {
	font-weight: normal;
	color: var(--muted);
}

.field input,
.field textarea,
.field select {
	width: 100%;
	padding: 7px 9px;
	font: inherit;
	color: var(--ink);
	background: var(--field);
	border: 0;
	border-radius: 0;
	box-shadow: var(--sunken);
	resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
	outline: 1px dotted var(--ink);
	outline-offset: -4px;
}

.ask-row {
	display: flex;
	align-items: flex-end;
	gap: 12px;
}

.ask-row .field {
	margin-bottom: 0;
}

.field--grow {
	flex: 1;
}

.hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.button,
.button:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-width: 84px;
	padding: 6px 16px;
	font: bold 0.85rem var(--sans);
	color: var(--ink);
	background: var(--panel);
	border: 0;
	border-radius: 0;
	box-shadow: var(--raised), 0 0 0 2px var(--dk);
	cursor: pointer;
	text-decoration: none;
}

.button:hover {
	color: var(--ink);
	background: var(--panel-2);
}

.button:active {
	box-shadow: var(--sunken), 0 0 0 2px var(--dk);
	padding: 7px 15px 5px 17px;
}

.button:disabled {
	color: var(--muted);
	cursor: default;
}

.form-status {
	margin: 10px 0 0;
	font-size: 0.85rem;
	color: var(--muted);
	min-height: 1.4em;
}

.form-status[data-state='ok'] {
	color: #2c8a3c;
	font-weight: bold;
}

.form-status[data-state='error'] {
	color: var(--accent);
	font-weight: bold;
}

/* ------------------------------------------------------------ ask: a guestbook */

.exchanges {
	display: grid;
	gap: 26px;
}

.exchanges--grid {
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px 26px;
}

.exchange {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-width: 0;
}

.bubble {
	position: relative;
	max-width: 88%;
	padding: 8px 12px 10px;
	box-shadow: var(--raised), 0 0 0 2px var(--dk);
}

.bubble-who {
	margin: 0 0 4px;
	font-family: var(--pixel);
	font-size: 1.1rem;
	line-height: 1;
	color: var(--muted);
}

.bubble-who::after {
	content: ' wrote:';
}

.bubble-text {
	margin: 0;
	white-space: pre-wrap;
	overflow-wrap: break-word;
}

.bubble--them {
	align-self: flex-start;
	background: var(--bubble-them);
}

.bubble--me {
	align-self: flex-end;
	background: var(--bubble-me);
}

.bubble--me .bubble-who {
	color: var(--accent);
}

.bubble--me .bubble-who::after {
	content: ' replied:';
}

/* little speech-bubble tails */
.bubble::before {
	content: '';
	position: absolute;
	bottom: -10px;
	width: 10px;
	height: 10px;
	background: inherit;
	box-shadow: 0 0 0 2px var(--dk);
	clip-path: polygon(0 0, 100% 0, 0 100%);
}

.bubble--them::before {
	left: 16px;
}

.bubble--me::before {
	right: 16px;
	clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.exchange-meta {
	align-self: flex-end;
	margin: 4px 0 0;
	font-size: 0.75rem;
	color: var(--muted);
}

.exchanges--grid .bubble--me .prose {
	display: -webkit-box;
	-webkit-line-clamp: 6;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ------------------------------------------------------------ reviews */

.review-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 24px 20px;
}

.review-card,
.review-card:visited {
	display: block;
	padding: 8px;
	color: var(--ink);
	text-decoration: none;
	background: var(--panel-2);
	box-shadow: var(--raised);
}

.review-card:hover {
	background: var(--select);
	color: #fff;
}

.review-card:hover .review-card-artist {
	color: #fff;
}

.review-card-cover {
	position: relative;
	margin-bottom: 8px;
}

.review-card-cover img,
.review-card-cover .cover-placeholder {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	box-shadow: 0 0 0 1px var(--dk);
}

.review-card .kicker {
	margin-bottom: 4px;
	font-size: 0.95rem;
}

.review-card-title {
	margin: 0;
	font-weight: bold;
	line-height: 1.3;
}

.review-card-artist {
	margin: 0;
	color: var(--muted);
	font-size: 0.85rem;
}

.score {
	display: inline-grid;
	place-items: center;
	min-width: 48px;
	padding: 2px 6px 0;
	font-family: var(--pixel);
	font-size: 1.9rem;
	line-height: 1;
	color: var(--lcd-ink);
	background: var(--lcd-bg);
	box-shadow: var(--sunken), 0 0 0 2px var(--dk);
	text-shadow: 0 0 6px rgba(166, 242, 78, 0.5);
}

.score::after {
	content: '/10';
	font-size: 0.55em;
	color: var(--lcd-dim);
	text-shadow: none;
}

.review-card .score {
	position: absolute;
	right: 6px;
	bottom: 6px;
	font-size: 1.5rem;
	min-width: 40px;
}

.review-head {
	display: grid;
	grid-template-columns: 190px 1fr;
	gap: 24px;
	align-items: end;
	margin-bottom: 28px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--hi);
	box-shadow: 0 1px 0 var(--lo);
}

.review-head h1 {
	font-size: clamp(2.4rem, 6vw, 3.4rem);
}

.review-artist {
	margin: 4px 0 14px;
	font-size: 1.1rem;
	color: var(--ink-soft);
}

.review-cover {
	padding: 4px;
	background: var(--panel);
	box-shadow: var(--raised);
}

.review-cover img,
.review-cover .cover-placeholder {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
}

@media (max-width: 600px) {
	.review-head {
		grid-template-columns: 1fr;
	}

	.review-cover {
		max-width: 210px;
	}
}

/* ------------------------------------------------------------ 404 */

.notfound {
	padding: 30px 0;
	text-align: center;
}

.notfound h1 {
	font-size: 3.4rem;
	margin-bottom: 10px;
}

/* ------------------------------------------------------------ small screens */

@media (max-width: 680px) {
	.topbar {
		padding: 10px 10px 0;
	}

	.titlebar-path {
		visibility: hidden;
	}

	.nav a {
		flex: 1 1 auto;
		justify-content: center;
	}

	.wrap {
		padding: 16px 10px 36px;
	}

	.window-body {
		padding: 16px 14px 18px;
	}

	.ask-row {
		flex-direction: column;
		align-items: stretch;
	}

	.bubble {
		max-width: 96%;
	}
}

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

/* ------------------------------------------------------------ now playing lcd (top bar) */

.np,
.np:visited,
.np:hover {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 2px 4px 4px;
	padding: 4px 10px 4px 4px;
	color: var(--lcd-ink);
	background: var(--lcd-bg);
	box-shadow: var(--sunken);
	text-decoration: none;
	font-family: var(--pixel);
	line-height: 1;
	position: relative;
	overflow: hidden;
}

/* progress bar along the bottom edge */
.np::after {
	content: '';
	position: absolute;
	left: 2px;
	bottom: 2px;
	height: 2px;
	width: calc(var(--np-progress, 0%) - 4px);
	max-width: calc(100% - 4px);
	background: var(--lcd-ink);
	opacity: 0.7;
}

.np-cover {
	flex-shrink: 0;
	width: 34px;
	height: 34px;
	object-fit: cover;
	box-shadow: 0 0 0 1px #000;
	filter: saturate(0.85);
}

.np-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	flex: 1;
	min-width: 0;
}

.np-label {
	font-size: 0.95rem;
	color: var(--lcd-dim);
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.np[data-state='playing'] .np-label {
	color: var(--lcd-ink);
	animation: np-blink 1.2s steps(2, jump-none) infinite;
}

@keyframes np-blink {
	50% {
		opacity: 0.55;
	}
}

.np-track {
	overflow: hidden;
	white-space: nowrap;
}

.np-scroll {
	display: inline-block;
	font-size: 1.3rem;
	text-shadow: 0 0 6px rgba(166, 242, 78, 0.45);
}

.np-track.is-scrolling .np-scroll {
	animation: np-marquee var(--np-duration, 10s) linear infinite alternate;
}

@keyframes np-marquee {
	0%,
	15% {
		transform: translateX(0);
	}
	85%,
	100% {
		transform: translateX(var(--np-shift, 0));
	}
}

.np-time {
	flex-shrink: 0;
	font-size: 1.2rem;
	color: var(--lcd-dim);
}

.np:hover .np-scroll {
	text-decoration: underline;
}
