@charset "UTF-8";
:root {
	--page: light-dark(#fefefe, #0c0c0c);
	--ink: light-dark(rgb(51 51 51), rgb(255 255 255 / 87%));
	--strong: light-dark(rgb(51 51 51 / 84%), rgb(255 255 255 / 87%));
	--firm: light-dark(rgb(51 51 51 / 75%), rgb(255 255 255 / 77%));
	--muted: light-dark(rgb(51 51 51 / 67%), rgb(255 255 255 / 69%));
	--soft: light-dark(rgb(51 51 51 / 63%), rgb(255 255 255 / 64%));
	--dim: light-dark(rgb(51 51 51 / 59%), rgb(255 255 255 / 61%));
	--target: light-dark(rgb(255 245 224), rgb(61 53 11));
	--link: light-dark(rgb(28 89 209), rgb(138 177 255));
	--visited: light-dark(rgb(95 134 212), rgb(79 138 255));
	--accent: #fb651e;
	--author: light-dark(rgb(96 129 189), rgb(80 112 177));
	--shape: light-dark(rgb(187 187 187), rgb(80 80 80));
	--box: light-dark(#fff, #141414);
	--shade: light-dark(#eee, #202020);
	--border: light-dark(#ccc, #303030);
	--focus: #808080;
	--button: light-dark(#fafafa, #181818);
	--press: light-dark(#e6e6e6, #242424);
	--guide-1: light-dark(rgb(177 197 230), rgb(55 72 100));
	--guide-2: light-dark(rgb(202 185 230), rgb(69 57 99));
	--guide-3: light-dark(rgb(176 213 185), rgb(50 79 59));
	--guide-4: light-dark(rgb(232 200 166), rgb(89 67 44));
	--guide-5: light-dark(rgb(230 183 200), rgb(93 55 70));
	--guide-6: light-dark(rgb(171 210 216), rgb(49 80 85));
}
html {
	font-size: 1rem;
	overflow-y: scroll;
	-moz-text-size-adjust: none;
	-webkit-text-size-adjust: none;
	color-scheme: light;
}
html[data-theme="dark"] {
	color-scheme: dark;
}
body, textarea, input, button {
	font-family: "helvetica neue", arial, sans-serif;
	color: var(--ink);
	line-height: 1.45em;
}
body {
	background-color: var(--page);
	max-width: 60rem;
	margin: 1.25rem auto 2rem;
}
#app {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	min-height: calc(100vh - 3.25rem);
}
a {
	color: var(--link);
	cursor: pointer;
}
:focus {
	outline: none;
}
li.story div.details span.link a:visited {
	color: var(--visited);
}
h1 {
	margin: 0.5em 0 1em 0;
}
.hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
	border-width: 0;
}
::selection {
	background-color: var(--target);
}
#header, footer, nav.morelink, .gap {
	-webkit-user-select: none;
	user-select: none;
}
a.tag, span.tag {
	background-color: light-dark(#fffcd7, #3b320d);
	border: 1px solid light-dark(#d5d458, #665501);
	border-radius: 5px;
	color: var(--strong);
	display: inline-block;
	font-size: 0.66rem;
	line-height: 1.2;
	margin-left: 0.25em;
	padding: 1px 0.4em;
	text-decoration: none;
	white-space: nowrap;
}
a.tag:hover, a.tag:focus-visible {
	text-decoration: underline;
}
.tag.media {
	background-color: light-dark(#ddebf9, #15293d);
	border-color: light-dark(#b2ccf0, #214669);
	color: var(--strong);
}
.tag.meta {
	background-color: light-dark(#e0e0e0, #2c2c2c);
	border-color: light-dark(#c8c8c8, #484848);
}
.tag.ask, .tag.show, .tag.job, .tag.poll {
	background-color: light-dark(#ffe4d2, #3b1d0d);
	border-color: light-dark(#f2b183, #6b3213);
	color: var(--strong);
}
span.gone {
	color: var(--soft);
	font-style: italic;
}
hr {
	border: none;
	height: 1px;
	background-color: var(--shape);
}
pre {
	overflow-x: auto;
}
input, button, select, textarea {
	color: var(--strong);
	font: inherit;
	background-color: var(--box);
	padding: 3px 5px;
	margin: 2px;
}
input:focus, button:focus, select:focus, textarea:focus {
	border-color: var(--focus);
	color: var(--ink);
}
input:hover, select:hover, textarea:hover {
	border-color: var(--focus);
}
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	background-color: var(--button);
	border: 1px solid var(--border);
	color: var(--ink);
	cursor: pointer;
	display: inline-block;
	line-height: 18px;
	padding: 2px 10px 2px 10px;
	text-align: center;
	text-decoration: none;
}
button:hover,
button:focus-visible,
input[type="button"]:hover,
input[type="button"]:focus-visible,
input[type="reset"]:hover,
input[type="reset"]:focus-visible,
input[type="submit"]:hover,
input[type="submit"]:focus-visible {
	color: var(--strong);
	background-color: var(--press);
	text-decoration: none;
}
button:disabled {
	background-color: var(--shade);
	color: var(--soft);
}
button.plain {
	background: none;
	border: 0;
	color: var(--link);
	margin: 0;
	padding: 0;
	text-decoration: underline;
}
button.plain:hover, button.plain:focus-visible {
	color: var(--ink);
	background: none;
}
#header {
	padding: 0 0.6rem;
	display: flex;
	flex-direction: column;
	gap: 1rem;
}
#logo {
	margin: 0;
	flex-shrink: 0;
	align-self: center;
	position: relative;
}
#logo a {
	display: block;
	width: 1.5rem;
	height: 1.5rem;
	padding: 0;
}
#logo svg {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 3px;
}
#header ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	gap: 0.5rem;
}
#header ul > li {
	flex: 0 0 auto;
}
#header nav a {
	white-space: nowrap;
}
#header a, #header .toggle {
	text-decoration: none;
	color: var(--muted);
}
#header a:hover,
#header a:focus-visible,
#header .toggle:hover,
#header .toggle:focus-visible {
	color: var(--ink);
}
#header nav a[aria-current="page"] {
	font-weight: bold;
}
#logo a:hover, #logo a:focus-visible {
	opacity: 0.82;
}
#header > div {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}
#header nav {
	flex: 1;
	min-width: 0;
	margin-left: 0.4rem;
}
#header .toggle {
	flex-shrink: 0;
	align-self: center;
}
.toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.3rem;
	background: none;
	background-clip: content-box;
	border: 0;
	margin: 0;
	padding: 0;
	font: inherit;
	line-height: inherit;
	white-space: nowrap;
}
.toggle .icon {
	width: 1em;
	height: 1em;
	flex-shrink: 0;
}
#inside {
	margin: 0.5rem 0;
}
footer {
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1rem;
	padding: 1em 0.5em;
	justify-content: flex-end;
	width: 100%;
}
footer a {
	color: var(--dim);
}
footer a:hover, footer a:focus-visible {
	color: var(--ink);
	text-decoration: underline;
}
footer nav a {
	padding-left: 0.75em;
	text-decoration: none;
}
ol.stories, ol.comments {
	padding: 0;
	list-style: none;
	margin: 0;
}
li.story {
	clear: both;
	display: flex;
	align-items: center;
}
ol.stories li.story div.liner {
	flex: 1;
	min-width: 0;
	padding-top: 0.25em;
	padding-bottom: 0.25em;
	overflow-wrap: break-word;
}
ol.stories li:first-child div.liner {
	padding-top: 0;
}
li div.details {
	padding-top: 0.1em;
	margin-left: 32px;
}
li.story div.details {
	margin-left: 3rem;
}
.voters {
	float: left;
	margin-top: 0;
	text-align: center;
	width: 32px;
}
li.story .voters {
	width: 3rem;
}
.voters button {
	background: transparent;
	padding: 0;
}
.upvoter {
	color: var(--dim);
	display: flex;
	flex-direction: column;
	align-items: center;
	font-size: 0.9rem;
	font-variant-numeric: tabular-nums;
	line-height: 1.15;
	text-decoration: none;
	border: none;
}
.upvoter.disabled {
	cursor: default;
	color: var(--dim);
}
.upvoter.job {
	opacity: 0.72;
}
.upvoter:before {
	content: "\25b3";
	font-size: 1.2rem;
	font-family: system-ui, monospace, sans-serif;
	margin-bottom: 0.15rem;
}
li .link {
	font-weight: bold;
	vertical-align: middle;
}
li .link a {
	text-decoration: none;
}
li .link a:hover, li .link a:focus-visible {
	text-decoration: underline;
}
li.story .note {
	color: var(--soft);
	padding-left: 0.25em;
	text-decoration: none;
	vertical-align: middle;
}
li.story .note:hover,
li.story .note:focus-visible {
	color: var(--ink);
	text-decoration: underline;
}
li.story .tag {
	vertical-align: middle;
}
li .tags {
	display: inline-block;
	vertical-align: middle;
	padding: 0;
}
li .tags li {
	display: inline-block;
}
li .tags li:first-child .tag {
	margin-left: 0;
}
li .domain {
	color: var(--dim);
	font-style: italic;
	text-decoration: none;
	vertical-align: middle;
}
li .domain:hover, li .domain:focus-visible {
	color: var(--firm);
	text-decoration: underline;
}
li .byline {
	color: var(--dim);
}
li.story .byline {
	margin-top: 1px;
}
.byline a {
	color: var(--dim);
	text-decoration: none;
}
.byline a:hover, .byline a:focus-visible {
	text-decoration: underline;
}
.count {
	white-space: nowrap;
}
.count a:hover, .count a:focus-visible {
	text-decoration: underline;
}
.bubble {
	align-self: center;
	display: none;
	flex: 0 0 auto;
	min-width: 48px;
	text-align: center;
	text-decoration: none;
}
.bubble span {
	background-color: light-dark(#ccc, #282828);
	border: 1px solid light-dark(#ccc, #282828);
	border-radius: 5px;
	color: var(--ink);
	display: block;
	margin: 0 0.5em;
	padding: 2px;
	position: relative;
	text-align: center;
	white-space: nowrap;
}
.bubble span:before {
	border-style: solid;
	border-width: 0px 6px 3px 0px;
	border-color: light-dark(#ccc, #282828);
	border-bottom-right-radius: 13px;
	bottom: -10px;
	content: "";
	display: block;
	height: 7px;
	left: 4px;
	position: absolute;
	width: 5.4px;
	z-index: 10;
}
.bubble span:after {
	border-bottom-right-radius: 10px;
	border-color: light-dark(#ccc, #282828);
	border-style: solid;
	border-width: 0px 3px 3px 0px;
	bottom: -10px;
	content: "";
	display: block;
	height: 7px;
	left: 5px;
	position: absolute;
	width: 10px;
	z-index: 10;
}
.bubble.zero span {
	background-color: light-dark(#d8d8d8, #1c1c1c);
	color: var(--dim);
}
.bubble.zero span,
.bubble.zero span:before,
.bubble.zero span:after {
	border-color: light-dark(#d8d8d8, #1c1c1c);
}
.bubble:hover span,
.bubble:focus-visible span {
	background-color: var(--shape);
	border-color: var(--shape);
}
.bubble:hover span:before,
.bubble:hover span:after,
.bubble:focus-visible span:before,
.bubble:focus-visible span:after {
	border-color: var(--shape);
}
nav.morelink {
	display: flex;
	gap: 1rem;
	margin-top: 1.5em;
}
nav.morelink a {
	color: var(--firm);
	font-weight: bold;
	text-decoration: none;
}
nav.morelink a:hover, nav.morelink a:focus-visible {
	color: var(--ink);
	text-decoration: underline;
}
nav.morelink a[rel="prev"]::before {
	content: "<< ";
}
nav.morelink a[rel="next"] {
	margin-left: auto;
}
nav.morelink a[rel="next"]::after {
	content: " >>";
}
div.content {
	margin-bottom: 1em;
}
div.prose {
	margin-bottom: 1.5em;
	max-width: 45rem;
	overflow-wrap: break-word;
}
div.prose p {
	margin: 0.75em 0;
}
div.prose p:first-child {
	margin-top: 0;
}
div.text {
	max-width: 45rem;
	overflow-wrap: break-word;
	overflow: hidden;
}
div.text blockquote, div.prose blockquote {
	font-style: italic;
	margin: 0.25em 0 0 0.5em;
	padding: 0 0 0 1em;
	border-left: 2px solid var(--soft);
}
div.text blockquote em, div.prose blockquote em {
	font-style: normal;
}
div.text pre, div.prose pre {
	margin-left: 1em;
	overflow-x: auto;
}
div.text ol, div.prose ol, div.text ul, div.prose ul {
	margin: 0.4em 0;
	padding: 0 1.5em;
}
div.text p {
	margin: 0.5em 0;
}
div.text p:first-child {
	margin-top: 0.3em;
}
div.text code, div.prose code {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.9em;
}
div.text:not(pre) > code, div.prose:not(pre) > code {
	background-color: var(--shade);
	border-radius: 3px;
	padding: 0.1em 0.3em;
}
div.text pre code, div.prose pre code {
	background: none;
	padding: 0;
}
#comments {
	margin-top: 1.25rem;
}
ol.comments {
	margin-bottom: 0;
}
#comments > ol.comments {
	margin-left: -32px;
	padding-left: 0;
}
.subtree > ol.comments {
	--guide: var(--guide-1);
	border-left: 2px solid var(--guide);
	margin-left: 30px;
	padding-left: 0;
}
.subtree > ol.comments .subtree > ol.comments {
	--guide: var(--guide-2);
}
.subtree > ol.comments .subtree > ol.comments .subtree > ol.comments {
	--guide: var(--guide-3);
}
.subtree > ol.comments .subtree > ol.comments .subtree > ol.comments .subtree > ol.comments {
	--guide: var(--guide-4);
}
.subtree > ol.comments .subtree > ol.comments .subtree > ol.comments .subtree > ol.comments .subtree > ol.comments {
	--guide: var(--guide-5);
}
.subtree > ol.comments .subtree > ol.comments .subtree > ol.comments .subtree > ol.comments .subtree > ol.comments .subtree > ol.comments {
	--guide: var(--guide-6);
}
li.subtree {
	clear: both;
	position: relative;
}
.comment {
	padding-top: 0.4em;
	padding-bottom: 0.4em;
	position: relative;
}
.comment .details {
	padding-top: 0.1em;
}
.comment .byline {
	color: var(--dim);
}
.comment .byline a {
	color: var(--firm);
	text-decoration: none;
}
.comment .byline a:hover, .comment .byline a:focus-visible {
	text-decoration: underline;
}
.comment .byline .author {
	color: var(--author);
	font-weight: bold;
}
.comment.bad:is(.voters, .byline, .text) {
	opacity: 0.7;
}
.folder {
	display: inline-block;
	background: transparent;
	border: 0;
	margin: 0;
	padding: 0;
	color: var(--dim);
	letter-spacing: 0.08em;
	width: 1.85em;
	cursor: pointer;
	text-align: center;
	font-size: 0.9rem;
	line-height: 1.2;
}
.folder:before {
	content: "[−]";
}
.folder[aria-expanded="false"]:before {
	content: "[+]";
}
.folder:hover, .folder:focus-visible {
	color: var(--ink);
	background-color: var(--shade);
	border-radius: 3px;
}
.summary {
	color: var(--dim);
}
li .byline {
	margin-top: 1px;
}
.loading {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	color: var(--soft);
	padding: 1.5rem 0.25rem;
}
.spinner {
	width: 1rem;
	height: 1rem;
	border: 2px solid var(--shape);
	border-right-color: var(--accent);
	border-radius: 50%;
	flex-shrink: 0;
}
.error {
	background-color: var(--box);
	border: 1px solid var(--border);
	border-radius: 6px;
	padding: 1rem 1.25rem;
	max-width: 42rem;
}
.error h1 {
	font-size: 1.25rem;
	margin: 0 0 0.5rem;
}
.error p {
	margin: 0 0 1rem;
}
.empty, .notice {
	color: var(--soft);
	max-width: 45rem;
	margin: 1rem 0;
}
.notice {
	background-color: var(--shade);
	border-radius: 4px;
	padding: 0.5rem 0.75rem;
	font-size: 0.9rem;
}
.notice a {
	font-weight: bold;
}
.search-form {
	display: flex;
	align-items: stretch;
	width: 100%;
	margin: 0 0 1rem;
}
.search-form input[type="search"] {
	flex: 1;
	min-width: 0;
	margin: 0;
	padding: 0.35rem 0.5rem;
	border: 1px solid var(--border);
	border-radius: 4px;
	line-height: 1.4;
}
.search-form input[type="search"]:focus {
	border-color: var(--focus);
}
.search-form input[type="search"]::-webkit-search-cancel-button,
.search-form input[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
	appearance: none;
	display: none;
}
.search-form input[type="search"]::-ms-clear {
	display: none;
	width: 0;
	height: 0;
}
.search-head {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.35rem 1rem;
	margin: 0 0 0.75rem;
}
.search-count {
	color: var(--soft);
	margin: 0;
}
.search-count strong {
	color: var(--ink);
	font-weight: bold;
}
.search-sort {
	display: flex;
	gap: 0.5rem;
}
.search-sort a {
	color: var(--muted);
	font-weight: normal;
	text-decoration: none;
	white-space: nowrap;
}
.search-sort a:hover, .search-sort a:focus-visible {
	color: var(--ink);
}
.search-sort a[aria-current="page"] {
	font-weight: bold;
}
.search-empty p {
	margin: 0 0 0.5rem;
}
.search-empty p:last-child {
	margin-bottom: 0;
}
.search-empty a {
	font-weight: bold;
}
.search-empty a:hover, .search-empty a:focus-visible {
	text-decoration: underline;
}
.ghosts {
	overflow: hidden;
}
.skeleton .liner {
	pointer-events: none;
}
.bar {
	background: linear-gradient(
		90deg,
		var(--shade) 25%,
		var(--box) 50%,
		var(--shade) 75%
	);
	background-size: 200% 100%;
	border-radius: 4px;
}
.skeleton .voters .bar {
	width: 1.4rem;
	height: 1rem;
	margin: 0.4rem auto 0;
}
.skeleton .details .bar:first-child {
	width: min(34rem, 82%);
	height: 1rem;
	margin: 0.35rem 0 0.6rem;
}
.skeleton .details .bar:last-child {
	width: min(20rem, 58%);
	height: 0.7rem;
	margin-bottom: 0.35rem;
}
@media screen and (min-width: 481px) {
	#inside {
		margin-left: calc(10px + 18px + 0.25rem + 0.25rem);
		margin-right: 10px;
	}
	ol.stories, #comments > ol.comments {
		margin-left: -32px;
	}
	.voters {
		width: 32px;
	}
}
@media only screen and (max-width: 480px) {
	html {
		-webkit-text-size-adjust: none;
	}
	body {
		margin: 0;
	}
	#app {
		min-height: 100vh;
		gap: 0.75rem;
	}
	#header {
		padding: 0;
		background-color: var(--shade);
		gap: 0;
	}
	#header > div {
		border-bottom: 1px solid var(--border);
		padding: 0 0.5rem;
		align-items: center;
	}
	#header nav {
		position: relative;
		overflow: hidden;
		margin-left: 0.4rem;
	}
	#header nav ul {
		margin-right: 0;
		overflow-x: auto;
		padding: 0.65rem 0;
		scrollbar-width: none;
		scroll-padding-inline: 1.25rem;
		overscroll-behavior-x: contain;
	}
	#header nav ul::-webkit-scrollbar {
		display: none;
	}
	#header nav ul.start {
		-webkit-mask-image: linear-gradient(to right, transparent, #000 1.25rem);
		mask-image: linear-gradient(to right, transparent, #000 1.25rem);
	}
	#header nav ul.end {
		-webkit-mask-image: linear-gradient(to left, transparent, #000 1.25rem);
		mask-image: linear-gradient(to left, transparent, #000 1.25rem);
	}
	#header nav ul.start.end {
		-webkit-mask-image: linear-gradient(
			to right,
			transparent,
			#000 1.25rem,
			#000 calc(100% - 1.25rem),
			transparent
		);
		mask-image: linear-gradient(
			to right,
			transparent,
			#000 1.25rem,
			#000 calc(100% - 1.25rem),
			transparent
		);
	}
	#header nav li:first-child {
		margin-left: 0;
	}
	#header nav li:last-child {
		margin-right: 0;
	}
	.theme-toggle {
		padding-right: 0.5rem;
	}
	#inside {
		margin: 0 0.5rem;
	}
	ol.stories, #comments > ol.comments {
		margin-left: -0.5rem;
		padding-left: 0;
	}
	.subtree > ol.comments {
		margin-left: 18px;
	}
	.voters {
		margin-left: 0.25em;
		margin-top: 0;
		width: 28px;
	}
	li div.details {
		margin: 0 0 0 32px;
	}
	li.story .voters {
		width: 3rem;
	}
	li.story div.details {
		margin-left: 3rem;
	}
	.upvoter {
		font-size: 0.85rem;
	}
	div.content {
		margin-left: 0;
	}
	nav.morelink {
		margin-left: 0;
		float: none;
	}
	ol.stories.list li.story div.liner {
		padding-top: 0.5em;
		padding-bottom: 0.75em;
	}
	ol.stories.list li.story:first-child div.liner {
		padding-top: 0;
	}
	ol.stories.list li.story .bubble {
		display: block;
	}
	ol.stories.list li.story .count {
		display: none;
	}
	.toggle .label {
		display: none;
	}
	.search-head {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.35rem;
	}
	footer {
		padding: 1em 0.75em;
	}
	footer nav {
		text-align: right;
	}
	.folder {
		width: 1.6em;
	}
	.skeleton .details .bar:first-child {
		width: 92%;
	}
}
@media print {
	#header, footer, .folder, .bubble {
		display: none;
	}
	body {
		max-width: none;
		margin: 0;
	}
	#inside {
		margin: 0;
	}
	ol.stories, #comments > ol.comments {
		margin-left: 0;
	}
}
