body {
	margin: 0 auto;
	max-width: 1200px;
	padding: 0 8px;
}

.nav {
	display: flex;
	justify-content: space-between;
}
.alive {
	font-weight: bold;
}
.nav .liner {
	display: inline;
}
.nav .hider {
	display: none;
}
/*.nav .liner:hover .hider,*/.nav .liner a:focus + span,.nav .liner span:hover {
	display: block;
	position: absolute;
	padding: .6em;
	padding-top: .9em;
	background-color: #fff;
	border: 4px groove;
}
.nav .liner a:focus {
	font-style: italic;
}
.nav .alive-parent > a:first-child {
	font-weight: bold;
}


#submenu-toggle {
	display: none;
}
#submenu-toggle-button {
	display: inline;
	cursor: pointer;
}
#alice-menu {
	display: none;
}
#submenu-toggle:checked + #alice-menu {
	display: block;
	position: absolute;
	background-color: white;
	padding: .3em;
	border: 4px groove;
}


#alarm,#alarm-b {
	visibility: hidden;
	color: green;
}

.branch {
	background-color: #fff;
	margin-left: 1.1em;
}
.branch:first-of-type {
	margin-left: 0;
}
.branch:nth-child(even) {
	background-color: #f6f6f6;
}
.expand {
	position: absolute;
	margin-left: -1.8em;
	margin-top: .7em;
	padding: .4em;
	cursor: pointer;
	background-color: #fff;
}
.expand:before {
	font-weight: bold;
	font-size: 115%;
}
.hide-children .branch {
	display: none;
}
.has-children .expand:before {
	content: '-';
}
.hide-children .expand:before {
	content: '+';
}
.found-branch > .post .body {
	font-weight: bold;
}

.post {
	margin-bottom: 1em;
	padding: .2em .4em;
}
.post:nth-child(even) {
	background-color: #f6f6f6;
}
.branch .post:nth-child(even) {
	background-color: inherit;
}
.deleted {
	opacity: .5;
}
.body {
	padding: .2em 0;
	word-break: break-word;
}
.body [itemtype="https://pnut.io/schemas/Post"] {
	white-space: break-spaces;
}
.mention {
	background-color: #f8e9ff !important;
}
.post summary {
	cursor: pointer;
}
.post details {
	margin-top: 1em;
}
.more-new {
	background-color: rgba(255, 255, 149, 0.6);
}
.more-new .post:nth-child(2n) {
	background-color: rgba(232, 232, 149, 0.6);
}
.more-new.more-old {
/*	border-top: 4px dashed green;*/
	border-top: 4px dashed #ffcb00;
	padding-top:.8em;
	background-color: inherit;
}
.more-new.more-old .post:nth-child(2n) {
	background-color: #f6f6f6;
}

.username {
	font-weight: bold;
}
.reposter {
	font-style: italic;
}
/*.light-username {
	filter: invert(100%);
}*/
.bot .username:before {
	content: '🤖 ';
}
.feed .username:before {
	content: '📰 ';
}
.time {

}
.j {
	display: flex;
	justify-content: space-between;
}
.meta-top {
	display: flex;
	justify-content: space-between;
}
.branch.has-children > .item > .body > .meta-top:hover {
	background-color: yellow;
	cursor: pointer;
}
.meta {
	margin-top: .5em;
	display: flex;
	justify-content: space-between;
}
.meta .id {
	opacity: .3;
}
.buttons a {
	padding: 0 .4em;
}
.details,.id {
	font-size: 80%;
}
.raw {
	display: none;
	padding: 1em 0;
}
.user-link {

}
.tag-link {

}

.nsfw-post,.spoiler-post {
	opacity: 0.7;
}
.nsfw-post span,.spoiler-post span {
	opacity: 0.05;
}

.nsfw-post:hover,.spoiler-post:hover {
	opacity: 1;
	transition: opacity 1s;
}
.nsfw-post:hover .nsfw-alert,.spoiler-post:hover .spoiler-alert {
	opacity: 0.5;
}
.nsfw-post:hover span,.spoiler-post:hover span {
	opacity: 1;
	transition: opacity 1s 1s;
}
.nsfw-alert,.spoiler-alert {
	font-weight: bold;
	background-color: #000;
	color: red;
	text-align: center;
}

.profile {
	margin: 1em;
}

#meta-back,#meta-forward {
	text-align: center;
}
#meta-back a, #meta-forward a {
	padding: 1em;
}

/* form */

.counter {
	cursor: default;
}
.cant {
	color: red;
	background-color: white;
}
textarea {
	width: 90%;
	max-width:800px;
	height: 5em;
}

/* channels */
.channels {
	list-style-type: none;
	padding-left: 0;
}
.channels li {
	margin-bottom: 1em;
	padding: 3px;
}
.channels li:nth-child(even) {
	background-color: #f6f6f6;
}
.channel-title {
	font-weight: bold;
}
.channel-description {
	font-style: italic;
	word-break: break-word;
	white-space: pre-line;
}
.channels .body {
	opacity: .9;
	font-size: 90%;
}
.unread .body {
	font-weight: bold;
}
.solo-pm {

}
.channel-details {
	display: flex;
	justify-content: space-between;
}
.message-pane {
	display: flex;
	justify-content: space-around;
}

/* interactions */
.interaction {
	display: flex;
	justify-content: space-between;
}

/* polls */
.polls .poll {
	margin-bottom: 2.2em;
}
.poll {
	
}
.poll-options li {
	padding: .35em;
}
.poll-options li div {
	font-size: .8em;
}
.your-poll-response span {
	color: blue;
}
.winning-response span {
	font-weight: bold;
}

@media (max-width:30em) {
	.nav {
		display: block;
		text-align: center;
	}
	.hider-small {
		display: none;
	}
	.nav .liner:hover .hider,.nav .liner a:focus + span {
		/*width: 100%;*/
		padding: .2em;
	}
}

@media (prefers-color-scheme: dark) {
	body {
		background-color: #222;
		color: silver;
	}
	.branch,.expand {
		background-color: #333;
	}
	.branch:nth-child(even), .post:nth-child(even), .channels li:nth-child(even) {
		background-color: #333;
	}
	.branch.lvl-14 {
		margin-left: 0;
	}
	a:link,a:visited {
		filter:invert(100%);
	}
	a .mntm {
		filter:invert(100%);
	}
	.more-new {
		background-color: rgba(79, 79, 56, 0.6);
	}
	.more-new .post:nth-child(2n) {
		background-color: rgba(38, 38, 15, 0.6);
	}
	.more-new.more-old {
		border-top: 4px dashed green;
	}
	.more-new.more-old .post:nth-child(2n) {
		background-color: rgb(51, 51, 51);
	}
	.mention {  
		background-color: rgb(79, 66, 85) !important;
		color: #eee;
	}
	.branch.has-children > .item > .body > .meta-top:hover {
		background-color: #535300;
	}
}
