:root {
	--background: #f8f8f8;
	--text-color: #222;
	--togl-blue: #76D2F7;
	--border-faint: #e4e4e4;

	--bg-state-off: rgba(0, 0, 0, .85);
	--bg-state-on: #fff;
	--text-state-off: rgba(255, 255, 255, .35);
	--text-state-off-current: #fff;
	--text-state-on: rgba(0, 0, 0, .35);
	--text-state-on-current: #000;
	--togl-border: #aaa;
	--togl-dash-bg: #e0e0e0;
	--border-state-on: rgba(0, 0, 0, .25);
	--border-state-off: rgba(255, 255, 255, .25);

	--link-color: #01A4E6;
	--link-underline: rgba(0, 0, 0, .5);

	--success: rgba(100, 255, 100, .25);
	--error: rgba(255, 100, 100, .25);

	--input-bg: rgba(255, 255, 255, .35);

	--content-pad: 1.75rem;

	font-size: 10px;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	background-color: var(--background);
	color: var(--text-color);
	font-family: sans-serif;
	font-size: 1rem;
}

h1 {
	color: var(--text-color);
	font-size: 7rem;
	padding: 2.5rem 0 0 0;
}
h1 span {
	color: var(--togl-blue);
	font-size: 6.4rem;
}
h1 a {
	background: transparent url(/assets/images/togl-logo-lm.svg) 0 0 no-repeat;
	background-size: contain;
	display: block;
	height: 71px;
	text-decoration: none;
	width: 137px;
}
h1 a span { display: none; }
h2 {
	border-bottom: 1px solid var(--border-faint);
	font-size: 2.5rem;
	font-weight: 500;
	padding: 2.5rem 0 1rem 1.75rem;
}
h2.profile {
	aspect-ratio: 8 / 3;
	background-position: center;
	background-size: cover;
	border-color: var(--border-faint);
	font-size: 3rem;
	height: auto;
	padding-top: 29%;
	position: relative;
	width: 100%;
}
h2.profile::after {
	background-image: linear-gradient(180deg, rgba(255, 255, 255, 0) 45%, rgba(255, 255, 255, .95) 95%);
	bottom: 0;
	content: '';
	height: 100%;
	left: 0;
	position: absolute;
	width: 100%;
}
h2.profile span {
	display: inline-block;
	position: relative;
	width: calc(100% - 110px);
	z-index: 2;
}
h2.profile.no_banner {
	aspect-ratio: 14 / 3;
	padding-top: 14%;
}
h3 {
	font-size: 1.6rem;
	font-weight: 400;
	padding: 2.5rem 0 .5rem 1.5rem;
}
h4 {
	font-size: 1.5rem;
	font-weight: 300;
	opacity: .75;
	padding: 0 0 .25rem 1.5rem;
}

hr {
	background-color: var(--border-faint);
	border: 0 none;
	height: 1px;
	margin: 2rem 0;
}

#nav_contain {
	position: fixed;
}
#main_nav {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	padding-top: 4rem;
}
#main_nav ul {
	list-style-type: none;
}
#main_nav ul li {}
#main_nav ul li a {
	display: block;
	font-size: 2rem;
	font-weight: 300;
	color: var(--text-color);
	padding: 1rem 0;
	text-decoration: none;
}
#main_nav ul li a.active { color: var(--link-color); }
#main_nav ul li a::before,
h2.icon::before {
	aspect-ratio: 1/1;
	background-color: var(--text-color);
	content: '';
	display: block;
	height: auto;
	margin-bottom: 1rem;
	mask-size: contain;
	mask-repeat: no-repeat;
	mask-position: center;
	width: 2.5rem;
}
#main_nav ul li.feed_icon a::before, h2.icon.feed_icon::before { mask-image: url(images/nav-feed.svg); }
#main_nav ul li.dash_icon a::before, h2.icon.dash_icon::before { mask-image: url(images/nav-dash.svg); }
#main_nav ul li.new_icon a::before, h2.icon.new_icon::before { mask-image: url(images/nav-new.svg); }
#main_nav ul li.profile_icon a::before { mask-image: url(images/nav-togl.svg); }
#main_nav ul li a.active::before { background-color: var(--link-color); }
#main_nav ul li.profile_icon.has_avatar a::before {
	background: var(--profile-icon) center no-repeat;
	background-size: contain;
	border-radius: 5px;
	mask-image: none;
}

#mobile_nav {
	align-items: center;
	background-color: var(--background);
	border-bottom: 1px solid var(--border-faint);
	display: flex;
	flex-direction: row;
	padding: 0 1rem 0 2rem;
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 1000;
}
#mobile_nav h1 {
	flex: 1;
	padding: 1.1rem 0 .5rem;
}
#mobile_nav h1 a {
	height: 32px;
}
#mobile_nav .mobile_avatar {
	aspect-ratio: 1/1;
	border: 1px solid var(--border-faint);
	border-radius: 5px;
	display: inline-block;
	height: 3rem;
	margin-left: 1rem;
	width: auto;
}

.status {}
.status.success {
	background-color: var(--success);
}
.status.error {
	background-color: var(--error);
}

form input[type=text],
form input[type=email],
form input[type=password],
form textarea {
	appearance: none;
	border: 1px solid var(--border-faint);
	border-radius: 0;
	font-family: sans-serif;
	font-size: 1.5rem;
	padding: .5rem;
  	width: 100%;
}
form textarea:focus,
form input:focus {
    outline: none;
}
form label {
	display: block;
}

.profile_avatar {
	aspect-ratio: 1/1;
	border: 5px solid var(--border-faint);
	border-radius: 10px;
	height: 100px;
	margin-top: -80px;
	overflow: hidden;
	position: absolute;
	right: 1.5rem;
	text-align: center;
	width: auto;
	z-index: 200;
}
#account_profile.edit .profile_avatar {
	overflow: visible;
}
.profile_avatar img {
	background-color: var(--background);
	display: block;
	height: 100%;
	width: 100%;
}
#account_profile {}
#account_profile textarea,
#account_profile input[type=text],
#account_profile button,
#account_profile .file_upload,
#account_profile .file_upload input[type=file],
#account_profile.edit .editable { display: none; }
#account_profile textarea {
	font-family: sans-serif;
	font-size: 1.5rem;
	height: 10rem;
	line-height: 1.35;
	margin: 1.5rem;
	padding: .5rem;
	width: calc(100% - 3rem);
}
#account_profile table input[type=text] {
	margin: -.5rem 0 0 -.5rem;
}
#account_profile a.edit_toggle::before {
	aspect-ratio: 1;
	background-color: var(--text-color);
	content: '';
	cursor: pointer;
	display: inline-block;
	margin-right: .5rem;
	mask-image: url(images/action-update.svg);
	mask-size: contain;
	mask-repeat: no-repeat;
	mask-position: center;
	vertical-align: middle;
	width: 2rem;
}
#account_profile.edit textarea,
#account_profile.edit input[type=text] { display: block; }
#account_profile.edit button,
#account_profile.edit .file_upload { display: inline-block; }
#account_profile.edit h2 input[type=text] {
	bottom: 1rem;
	font-size: 3rem;
	left: 1.5rem;
	position: absolute;
	width: calc(100% - 150px);
	z-index: 100;
}
#account_profile.edit h3 input[type=text] {
	width: 50%;
}
#account_profile.edit h2 {
	aspect-ratio: 8 / 3;
	padding-top: 0;
}
#account_profile.edit h2.profile::after { display: none; }
#account_profile.edit .profile_avatar img {
	margin-left: auto;
}
#account_profile.edit .profile_avatar .file_upload {
	position: absolute;
	right: 0;
	white-space: nowrap;
}
#account_profile.edit .img_editor {
	height: 100%;
	left: 0;
	overflow: auto;
	position: absolute;
	top: 0;
	width: 100%;
}
#account_profile.edit .img_editor img {
	display: block;
	height: auto;
	width: 100%;
}
#account_profile.edit .img_editor img.wider {
	height: 100%;
	width: auto;
}
#account_profile.edit.loading input[type=text],
#account_profile.edit.loading textarea,
#account_profile.edit.loading label,
#account_profile.edit.loading button {
	opacity: .5;
}
#account_profile.edit.loading table+p::after {
	content: 'Uploading...';
	margin-left: 1rem;
}

.banner_upload {
	box-shadow: 0 0px 10px rgba(0, 0, 0, .25);
	left: 1rem;
	position: absolute;
	top: 1rem;
	z-index: 10;
}

.tabs {}
.tabs nav {
	margin: 0 auto;
	padding: 3rem var(--content-pad) 0;
	text-align: center;
}
.tabs nav a {
	border-radius: 5px;
	display: inline-block;
	font-size: 1.75rem;
	font-weight: 500;
	opacity: .75;
	padding: 1rem 1.5rem;
	position: relative;
	text-align: center;
	text-decoration: none;
}
#content .tabs nav a:hover {
	text-decoration: none;
}
.tabs nav a.active {
	background: var(--border-faint);
	opacity: 1;
}
.tabs nav a.active::after {
	background-color: var(--togl-blue);
	bottom: 0;
	content: '';
	height: 3px;
	left: calc(50% - 2.5rem);
	position: absolute;
	width: 5rem;
}
.tabs article {}
.tabs article section {
	display: none;
}
.tabs article section.active {
	display: block;
}

.btn {
	background-color: var(--border-faint);
	border: 0 none;
	border-radius: 0;
	color: var(--text-state-off-current);
	cursor: pointer;
	display: inline-block;
	font-size: 1.5rem;
	font-weight: 400;
	line-height: 1.35;
	padding: 1rem 2rem .9rem;
	text-decoration: none;
}
.btn.primary {
	background-color: var(--togl-blue);
	color: var(--text-state-on-current);
}
.btn i {
	font-size: 1rem;
	display: block;
	line-height: 1;
	opacity: .5;
	text-align: center;
}

#content {
	flex: 1;
	font-size: 1.5rem;
	padding: 0;
	position: relative;
}
#content a {
	color: var(--text-color);
	text-decoration-color: var(--link-underline);
	transition: all .25s ease-out;
}
#content a:hover { text-decoration: underline; }
#content p {
	line-height: 1.35;
	padding: 1.5rem;
}
#content table {
	border: 1px solid var(--border-faint);
	border-collapse: collapse;
	margin: 1.5rem;
	width: calc(100% - 3rem);
}
#content th {
	border: 1px solid var(--border-faint);
	font-weight: 200;
	padding: 1.3rem 2rem 1rem;
	text-align: left;
}
#content td {
	border: 1px solid var(--border-faint);
	max-width: 0;
	overflow: hidden;
	padding: 1.3rem 2rem 1rem;
	text-overflow: ellipsis;
	white-space: nowrap;
	width: 100%;
}

#content dl {
	padding: 1rem 1.5rem 2rem;
}
#content dt {
	display: inline-block;
	opacity: .75;
	padding-right: 2rem;
}
#content dd {
	display: inline-block;
	font-weight: bold;
}

.togl_feed {
	display: flex;
	flex-direction: column;
	/* gap: 1.5rem; */
}
/* .togl_feed.dash {
	border-bottom: 1px solid var(--border-faint);
} */
.togl {
	border-bottom: 1px solid var(--border-faint);
	display: flex;
	gap: 2rem;
	min-height: 11rem;
	padding: 2rem 2rem 0.9rem;
	position: relative;
}
.togl .states {
	align-items: center;
	border: 1px solid var(--togl-border);
	border-radius: 3.5rem;
	display: flex;
	flex-direction: column;
	height: 7rem;
	/* overflow: hidden; */
	position: relative;
	text-decoration: none;
	transition: all .25s ease-out;
	width: 7rem;
}
.togl .states.hide {
	display: none;
}
#content .togl a.states:hover { text-decoration: none; }
.togl .states.state_order_0 {
	background-color: #888;
}
.togl .states.state_order_1 {
	background-color: var(--bg-state-on);
	color: var(--text-state-on);
}
.togl .states.state_order_2 {
	background-color: var(--bg-state-off);
	color: var(--text-state-off);
}
.togl .states .state {
	align-items: center;
	display: none;
	flex: 1;
	font-size: 1.25rem;
	justify-content: center;
	padding: .5rem;
	text-align: center;
	transition: all .25s ease-out;
	width: 100%;
}
form.togl .states .state {
	display: flex;
}
.togl input {}
.togl .states input[type=radio] { display: none; }
.togl .states .state.current_state,
.togl .states input:checked + .state {
	background-color: var(--bg-state-);
	display: flex;
	font-size: 2rem;
	font-weight: bold;
}
.togl .states.state_order_1 .state.current_state,
.togl .states.state_order_1 input:checked + .state { color: var(--text-state-on-current); }
.togl .states.state_order_2 .state.current_state,
.togl .states.state_order_2 input:checked + .state { color: var(--text-state-off-current); }
.togl .states.state_order_1 .state:last-child,
.togl .states.state_order_1 .state:last-child,
.togl .states.state_order_2 .state:first-child,
.togl .states.state_order_2 label.state:first-of-type { padding: 0; }
.togl .deets {
	flex: 1;
	padding: .15rem 0 0;
}
.togl .deets .info {
	/* align-items: center;
	display: flex;
	flex-direction: row; */
}
.togl .deets a {
	color: var(--link-color);
	text-decoration: none;
	text-decoration-color: rgba(255, 255, 255, .35);
}
.togl .deets a:hover {
	text-decoration: underline;
}
.togl .deets .togl_name {
	color: var(--text-color);
	display: block;
	letter-spacing: .5px;
	opacity: .75;
	padding-bottom: .75rem;
	text-decoration: none;
}
.togl .deets .togl_name a {
	color: var(--text-color);
}
.feed .togl .deets .dupe .togl_name,
.togl_details .togl .deets .dupe .togl_name,
.togl_feed:not(.dash) .togl .deets .dupe .togl_name { font-size: 0; }
.togl .deets .note {
	font-size: 1.75rem;
	line-height: 1.35;
	padding-right: 2rem;
}
#content .togl .deets .note a {
	color: var(--link-color);
	text-decoration: underline;
	text-decoration-color: var(--link-color);
}
.togl .deets .togl_footer {
	align-items: center;
	display: flex;
	flex-direction: row;
	padding: .5rem 0;
}
.togl .deets .togl_footer .state_date {
	color: var(--text-color);
	flex: 1;
	font-size: 1rem;
	letter-spacing: 1px;
	opacity: .5;
	text-decoration: none;
}
.togl .deets a.togl_name:hover,
.togl .deets .togl_footer a.state_date:hover {
	text-decoration: underline;
}
.togl .deets .togl_footer .account {
	/* bottom: 0; */
	color: var(--text-color);
	/* padding: 0 0 .5rem; */
	/* position: absolute; */
	/* right: 2rem; */
	text-align: right;
	text-decoration: none;
}
.togl .deets .togl_footer .account:hover {
	text-decoration: underline;
}
.togl .deets .togl_footer .account .avatar {
	aspect-ratio: 1/1;
	background-color: var(--background);
	border: 1px solid var(--border-faint);
	border-radius: 5px;
	display: inline-block;
	margin: 0 0 .325rem .75rem;
	vertical-align: middle;
	width: 3rem;
}
.togl .deets .togl_footer .account .avatar.has_avatar {
	border: 0;
}

.togl .deets .actions {
	display: flex;
	flex-direction: row;
	gap: 3rem;
	/* opacity: .5; */
	zoom: .75;
}
.togl .deets .actions a,
#content .togl .deets .actions a {
	color: var(--text-color);
	cursor: pointer;
	font-size: 1.25rem;
	opacity: .5;
}
.togl .deets .actions a:hover,
#content .togl .deets .actions a:hover {
	opacity: 1;
	text-decoration: none;
}
.togl .deets .actions a::before {
	aspect-ratio: 1/1;
	background-color: var(--link-color);
	content: '';
	display: inline-block;
	margin-bottom: 0.4rem;
	margin-right: .5rem;
	mask-size: contain;
	mask-repeat: no-repeat;
	mask-position: center;
	transition: all .35s ease-out;
	vertical-align: middle;
	width: 2rem;
}
.togl .deets .actions a.action_update::before { mask-image: url(images/action-update.svg); }
.togl .deets .actions a.action_follow::before { mask-image: url(images/action-follow.svg); }
.togl .deets .actions a.action_unfollow::before { mask-image: url(images/action-unfollow.svg); }
.togl .deets .actions a.action_link::before { mask-image: url(images/action-link.svg); }
.togl .deets .actions a.action_share::before { mask-image: url(images/action-share.svg); }
.togl .deets .actions a.action_copy_update::before { mask-image: url(images/action-copy.svg); }
.togl .deets .actions a.action_embed::before { mask-image: url(images/action-embed.svg); }
.togl .deets .actions a.action_more::before { mask-image: url(images/action-dots.svg); }

.togl .deets .actions a.success::before {
	background-color: rgba(100, 255, 100, .75);
	mask-image: url(images/action-success.svg);
}
.togl .deets .actions a input[type=text],
.togl .deets .actions a textarea { display: none; }
.togl .deets .actions span { flex: 1; }
.togl .deets .actions span:first-child { display: none; }

.togl .deets .actions .dropdown {}
.togl .deets .actions .dropdown ul {
	background-color: var(--bg-state-off);
	display: none;
	list-style-type: none;
	margin-left: -1rem;
	padding: .75rem 1rem;
	position: absolute;
	z-index: 150;
}
.togl .deets .actions .dropdown:hover ul,
.togl .deets .actions .dropdown.active ul,
.togl .deets .actions .dropdown:active ul {
		display: block;
}
.togl .deets .actions .dropdown ul li {
	padding: .65rem 0 .35rem;
}

/* dash view */
.dash {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 1rem;
	padding: 2rem 1rem 1rem;
}
.dash .togl {
	align-items: center;
	background-color: var(--togl-dash-bg);
	border: 0 none;
	border-radius: 1rem;
	cursor: pointer;
	flex-basis: 32.2%;
	flex-direction: column;
	gap: 0;
	max-width: 25rem;
	min-width: 17rem;
	padding: 2rem 1rem 1rem;
}
.dash .togl .deets {
	padding: 1rem 0 0 0;
	position: relative;
	text-align: center;
}
.dash .togl .deets .info {
	gap: .5rem;
	flex-direction: column;
}
.dash .togl .deets .togl_name {
	font-size: 1.65rem;
	line-height: 1.3;
	opacity: 1;
	padding: 0;
	width: 100%;
}
.dash .togl .deets .note,
.dash .togl .deets .state_date { display: none; }
.dash .togl .deets .togl_footer {
	align-items: center;
	justify-content: center;
	padding: 0;
}
.dash .togl .deets .account {
	align-items: center;
	bottom: auto;
	display: flex;
	flex-direction: row;
	font-size: 1.125rem;
	justify-content: center;
	opacity: .75;
	position: relative;
	right: auto;
}
/* .dash .togl .deets .account::before { content: '@'; } */
.dash .togl .deets .account .avatar {
	margin-bottom: .25rem;
	width: 2.25rem;
}
.dash .togl .deets .actions { display: none; }

.togl.community .community_badge {
	aspect-ratio: 1;
	background-color: var(--link-underline);
	mask-image: url(images/icon-community.svg);
	mask-size: contain;
	mask-repeat: no-repeat;
	mask-position: center;
	position: absolute;
	right: 1rem;
	top: 1rem;
	width: 2rem;
}
.togl.community .deets .community_shout {
	margin-left: .6rem;
}
.dash .togl.community .deets .community_shout {
	font-size: 1.125rem;
	opacity: .75;
}

.togl_details {}
.togl_details .togl {
	align-items: center;
	background: var(--togl-dash-bg);
	border-radius: 1rem;
	flex-direction: column;
	margin: 2rem 2rem 0;
	max-width: 50rem;
	padding: 2rem 2rem 1rem;
}
.togl_details .togl .states {
	aspect-ratio: 1;
	border-radius: 50%;
	height: auto;
	width: 15rem;
}
.togl_details .togl .states.state_order_1 { box-shadow: 0 0 10px -2px var(--bg-state-on); }
.togl_details .togl .states.state_order_2 { box-shadow: 0 0 16px 4px var(--bg-state-off); }
.togl_details .togl .states .state { font-size: 4rem; }
.togl_details .togl .states input:checked + .state { font-size: 4rem; }
.togl_details .togl .states input:not(:checked) + .state { font-size: 2rem; }
.togl_details .togl .deets { width: 100%; }
.togl_details .togl .deets .info {}
.togl_details .togl .deets .info:not(.dupe) .togl_name {
	font-size: 1.75rem;
	text-align: center;
}
.togl_details .togl .deets .info.dupe .togl_name {
	padding: 0;
}
.togl_details .togl .deets .note {
	font-size: 2.5rem;
}
.togl_details .togl .deets .info.dupe + .note {
	text-align: center;
}
.togl_details .togl .deets .togl_footer { align-items: center; }
.togl_details .togl .deets .togl_footer .state_date {
	font-size: 1.5rem;
	flex: 1;
}
.togl_details .togl .deets .info.dupe + .note + .togl_footer { justify-content: center; }
body:not(.screen_embed) .togl_details .togl .deets .info.dupe + .note + .togl_footer .state_date { display: none; }
.togl_details .togl .deets .togl_footer .account {
	font-size: 1.75rem;
	padding: 0;
	position: relative;
	right: auto;
}
.togl_details .togl .deets .togl_footer .account .avatar {
	width: 4rem;
}
.togl_details .togl .deets .actions {
	gap: 0;
	opacity: 1;
	padding: 1rem 0;
	zoom: 1;
}
.togl_details .togl .deets .actions a,
.togl_details .togl .deets .actions .dropdown {
	flex: 1;
	text-align: center;
}
.togl_details .togl .deets .actions .dropdown li {
	text-align: left;
}
/* body:not(.screen_embed) .togl_details .togl .deets .actions { display: flex; } */

.togl_details .togl.update_togl .deets .note_submit {
	display: flex;
	flex-direction: row;
	gap: 1rem;
}
.togl_details .togl.update_togl .deets textarea.note {
	font-size: 2rem;
	padding: 1rem;
}
.togl_details .togl.update_togl .deets .btn {
	height: 5rem;
}
.grow-wrap {
	display: grid;
	max-width: 75%;
	width: 100%;
}
.grow-wrap::after {
	content: attr(data-replicated-value) " ";
	white-space: pre-wrap;
	visibility: hidden;
}
.grow-wrap > textarea {
	resize: none;
	overflow: hidden;
}
.grow-wrap > textarea,
.grow-wrap::after {
	border: 1px solid black;
	font-size: 2rem;
	grid-area: 1 / 1 / 2 / 2;
	line-height: 1.35;
	padding: 1rem;
}

.screen_profile .togl { padding: 2rem 1rem; }
.screen_profile .togl .deets .account,
.screen_profile .togl .deets .community_shout,
.feed .togl .deets .community_shout { display: none; }

#new_togl {
	border-bottom: 0 none;
}
/* #new_togl .states .state {
	background-color: var(--text-state-off-current);
	color: var(--text-state-on-current);
	padding: 0;
} */
#new_togl .states .state {
	padding: .5rem;
	user-select: none;
}
#new_togl .states.state_labels .state {
	/* background: var(--bg-state-on); */
}
#new_togl .states .state:first-child {
	border-bottom: 1px solid var(--border-faint);
}
#new_togl .states .state input[type=text] {
	background: none;
	border: 0 none;
	display: block;
	font-size: 1.25rem;
	height: 100%;
	max-width: none;
	padding: .5rem;
	text-align: center;
}
#new_togl .states .state input[type=text]::placeholder {
	opacity: .85;
}
#new_togl .deets {
	padding: 1rem 0;
}
#new_togl .deets input[type=text] {
	background-color: #fff;
	color: var(--text-state-on-current);
	height: 5rem;
	margin-bottom: 1rem;
	max-width: none;
	opacity: 1;
	padding: 1rem;
	text-align: left;
}
#new_togl .deets input[type=text]::placeholder {
	opacity: .5;
}
#new_togl .deets .btn {
	height: 5rem;
}
#new_togl .col {
	display: flex;
	flex: 1;
	flex-direction: column;
}
#new_togl label[for="new_togl_more_choice"] {
	color: var(--togl-blue);
	cursor: pointer;
	font-size: 1.2rem;
	opacity: .65;
}
#new_togl label[for="new_togl_more_choice"]:hover {
	opacity: 1;
	text-decoration: underline;
}
#new_togl #new_togl_more_choice { display: none; }
#new_togl .more_opts {
	border-top: 1px solid var(--border-faint);
	display: none;
	line-height: 1.5;
	margin-top: 1rem;
	padding-top: 2rem;
}
#new_togl #new_togl_more_choice:checked + label { display: none; }
#new_togl #new_togl_more_choice:checked ~ .more_opts { display: block; }

#share_gen .togl {
	background-repeat: repeat;
	border-radius: 0;
	flex-direction: row;
	gap: 4.7rem;
	height: 630px;
	left: -9999px;
	margin: 0;
	max-width: none;
	padding: 0 2rem 0 8rem;
	position: absolute;
	top: 100%;
	width: 1200px;
	z-index: 1000;
	/* zoom: .5; */
}
#share_gen .togl.on {
	background-color: #e0e0e0;
	background-image: url(images/share_gen_lite_bg.png);
}
#share_gen .togl.off {
	background-color: #1e1e1e;
	background-image: url(images/share_gen_dark_bg.png);
}
/* #share_gen .togl.banner { background-image: none; }
#share_gen .togl.banner::before {
	background-image: var(--share-img-bg);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	content: '';
	height: 100%;
	left: 0;
	opacity: .1;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: -1;
} */

#share_gen .togl_details .togl .states {
	/* box-shadow: 0 0 32px 8px var(--bg-state-off); */
	box-shadow: none;
	width: 30rem;
}
#share_gen .togl_details .togl .states::before {
	aspect-ratio: 1;
	background: transparent 0 0 no-repeat;
	content: '';
	left: -40px;
	position: absolute;
	top: -40px;
	width: 380px;
	z-index: -1;
}
#share_gen .togl_details .togl.on .states::before  { background-image: url(images/share_gen_lite_shadow.png); }
#share_gen .togl_details .togl.off .states::before { background-image: url(images/share_gen_dark_shadow.png); }
#share_gen .togl_details .togl .states .state {
	border: 0 none;
	font-size: 8rem;
}
#share_gen .togl_details .togl .states .state.current_state {
	padding-top: .5rem;
}
#share_gen .togl_details .togl .deets {
	display: flex;
	flex-direction: column;
	padding: 0;
}
#share_gen .togl_details .togl .deets .note {
	font-size: 5.5rem;
	line-height: 1.2;
}
#share_gen .togl_details .togl.on .deets .note {
	color: #000;
}
#share_gen .togl_details .togl .deets .togl_footer { padding: 0; }
#share_gen .togl_details .togl .deets .togl_footer .account {
	bottom: 8.5rem;
	display: flex;
	align-items: center;
	flex-flow: row-reverse;
	font-size: 4rem;
	gap: 2rem;
	position: absolute;
}
#share_gen .togl_details .togl.on .deets .togl_footer .account {
	color: #222;
}
#share_gen .togl_details .togl .deets .togl_footer .account .avatar {
	width: 9rem;
}

#previewImg {
	left: 0;
	position: absolute;
	top: 100%;
	z-index: 150;
}
#previewImg canvas {
	left: -9999px;
	position: absolute;
}
#previewImg img {
	height: auto;
	max-width: 600px;
}
#share_gen .togl_details .togl #site_title {
	display: block;
	height: 53px;
	position: absolute;
	right: 39.54px;
	top: 32px;
	width: 75px;
}
#share_gen .togl_details .togl #site_title h1 {
	height: 100%;
	padding: 0;
	width: 100%;
}
#share_gen .togl_details .togl #site_title h1 a {
	height: 100%;
	opacity: .65;
	width: 100%;
}
#share_gen .togl_details .togl.on #site_title h1 a { background-image: url(/assets/images/togl-logo-lm.svg); }
#share_gen .togl_details .togl.off #site_title h1 a { background-image: url(/assets/images/togl-logo-dm.svg); }


.update_forms {}
.update_forms.dash .togl {}
.update_forms.dash .togl .deets .note {}
.update_forms.dash .togl .deets .togl_footer { display: none; }
.update_forms.dash .togl .deets .note_submit {
	box-shadow: 0 2px 5px #000;
	display: none;
	left: calc(50% - 13px);
	position: absolute;
	top: 7px;
	width: 30rem;
	z-index: 100;
}
.update_forms.dash .togl .deets .note_submit::before {
	content: '';
	display:block;
    width:0;
    height:0;
    position: absolute;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #fff;
    left: .5rem;
    top: -8px;
}
.update_forms.dash .togl .deets .note_submit.show { display: flex; }

/* embed */
body.screen_embed {
	background: transparent;
}
body.screen_embed #site_title { position: relative; }
body.screen_embed #site_title h1 {
	padding: 1.5rem 2rem 0;
	position: absolute;
	right: 0;
	z-index: 110;
}
body.screen_embed #site_title h1 a {
	aspect-ratio: 137 / 71;
	height: auto;
	opacity: .65;
	transition: opacity .25s ease-out;
    width: 50px;
}
body.screen_embed #site_title h1 a:hover { opacity: 1; }
body.screen_embed .togl {
	background-color: var(--background);
	border: 1px solid var(--border-faint);
	border-radius: 1.5rem;
	margin: 0;
	max-width: none;
	min-height: 18rem;
}

body.minimal .togl .deets .togl_footer .account,
body.minimal .togl .deets .actions {
	display: none;
}

.tip {
	background-color: #ffb;
	box-shadow: 0 2px 5px #000;
	color: #333;
	left: -9999px;
	line-height: 1.2;
	opacity: 0;
	padding: 1rem 1.5rem;
	position: absolute;
	top: calc(100% + 4px);
	transition: opacity .25s ease-out;
	z-index: 100;
	width: 25rem;
}
.tip::before {
	content: '';
	display: block;
    width: 0;
    height: 0;
    position: absolute;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #ffb;
    left: 0;
    top: -8px;
}
.tip.place {
	left: calc(50% - 8px);
}
.tip.show {
	opacity: 1;
}

#feedback_form {}
#feedback_form label {
	display: inline-block;
	width: 49%;
}
#feedback_form input[type=radio] {
	margin-right: .5rem;
}
#feedback_form textarea {
	height: 8rem;
}
#content #feedback_form p {
	line-height: 1.5 !important;
}

#feedback_contain {
	bottom: 0;
	height: 0;
	position: fixed;
	right: 0;
	transition: height .4s ease-out;
	z-index: 1500;
}
#feedback_contain.show {
	background-color: var(--background);
	box-shadow: 0 -30px 50px rgba(0, 0, 0, .8);
	height: 310px;
	max-width: 428px;
	width: 100%;
}
#feedback_contain button {
	aspect-ratio: 1;
	background-color: var(--togl-blue);
	border: 0;
	border-radius: 50%;
	bottom: 24vw;
	color: #000;
	cursor: pointer;
	font-size: 2rem;
	position: absolute;
	right: 16px;
	width: 45px;
}
#feedback_contain.show button {
	bottom: calc(100% + 16px);
}
#feedback_contain button::after {
	content: '💬';
}
#feedback_contain.show button::after {
	content: 'X';
}
#feedback_contain iframe {
	border: 0;
	border-top: 5px solid var(--border-faint);
	height: 100%;
	width: 100%;
}


footer {}
footer nav {
	align-content: center;
	display: flex;
	flex-direction: row;
	justify-content: center;
	padding: 1rem;
}
footer nav a {
	color: var(--text-color);
	font-size: 1.25rem;
	padding: 1rem;
}

#debug {
	aspect-ratio: 16 / 9;
	background-color: var(--border-faint);
	bottom: 0;
	display: none;
	font-family: monospace;
	font-size: 1.2rem;
	height: auto;
	overflow: auto;
	padding: 1rem 1rem 1rem 3rem;
	position: fixed;
	right: 0;
	width: 33%;
}

/* dark mode */
@media (prefers-color-scheme: dark) {
	:root {
		--background: #181818;
		--text-color: #eee;
		--togl-blue: #76D2F7;
		--border-faint: #383838;

		--bg-state-on: rgba(255, 255, 255, .9);
		--border-state-on: rgba(0, 0, 0, .25);
		--border-state-off: rgba(255, 255, 255, .25);
		--togl-border: #333;
		--togl-dash-bg: #2c2c2c;

		--link-color: var(--togl-blue);
		--link-underline: rgba(255, 255, 255, .75);
	}

	h1 a { background-image: url(/assets/images/togl-logo-dm.svg); }
	h2.profile::after {
		background-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, .9) 100%);
	}

	form input[type=text],
	form input[type=email],
	form input[type=password],
	form textarea {
		border: 0 none;
	}

}

/* mobile */
@media screen and (max-width: 767px) {
	body {
		padding-top: 5rem;
	}
	body.screen_embed,
	body.screen_feedback { padding-top: 0; }

	#nav_contain {
		background-color: var(--background);
		bottom: 0;
		display: flex;
		flex-direction: row;
		width: 100%;
		z-index: 1000;
	}

	body:not(.screen_embed) #site_title,
	#nav_signin { display: none; }

	h2.icon::before {
		display: inline-block;
		margin-bottom: 0.4rem;
		margin-right: 1rem;
		vertical-align: middle;
	}

	.screen_feed h2:first-of-type,
	.screen_dash h2:first-of-type,
	.screen_detail h2:first-of-type { display: none; }

	#main_nav {
		border-top: 1px solid var(--border-faint);
		padding: 0;
		width: 100%;
	}
	#main_nav ul {
		display: flex;
		flex-direction: row;
	}
	#main_nav ul li {
		border-right: 1px solid var(--border-faint);
		flex: 1;
		max-width: 20%;
	}
	#main_nav ul li a {
		align-items: center;
		aspect-ratio: 1/1;
		display: flex;
		flex-direction: column;
		font-size: 1.25rem;
		justify-content: center;
		padding: 0;
	}
	#main_nav ul li.spacer { max-width: none; }
	#main_nav ul li.profile_icon { display: none; }

	.togl {
		padding-right: 1rem;
	}
	.togl .deets .note {
		font-size: 1.6rem;
		padding-right: 0;
	}

	.dash .togl {
		flex-basis: 48.5%;
	}

	.togl_details .togl {
		border: 0 none;
	}
	.togl_details .togl .deets .info {
		display: block;
	}
	.togl_details .togl .deets .info .togl_name,
	.togl_details .togl .deets .note {
		padding-right: 0;
	}
	.togl_details .togl .deets .note_submit {
		padding-bottom: 2rem;
		text-align: center;
	}
	.togl_details .togl .deets .note_submit .note {
		margin-bottom: 1.5rem;
	}

	.togl_details .togl.update_togl .deets .note_submit {
		display: block;
	}
	.togl_details .togl.update_togl .deets .note_submit .grow-wrap {
		max-width: none;
	}

	body.screen_embed #site_title h1 a { width: 30px; }
	.screen_embed .togl_details .togl .states { width: 10rem; }
	.screen_embed .togl_details .togl .states .state { font-size: 3rem; }
	.screen_embed .togl_details .togl .deets .info:not(.dupe) .togl_name { font-size: 1.25rem; }
	.screen_embed .togl_details .togl .deets .note { font-size: 1.5rem; line-height: 1.5; }
	.screen_embed .togl_details .togl .deets .togl_footer .state_date { font-size: 1.25rem; }


	footer {
		padding-bottom: 8rem;
	}
}

/* tablet */

/* desktop */
@media screen and (min-width: 768px) {
	:root {
		--content-pad: 3rem;
	}

	#nav_contain {
		height: 100%;
		width: 17rem;
	}

	#main_nav {
		margin-bottom: 4rem;
	}
	#main_nav ul li a::before,
	h2.icon::before {
		display: inline-block;
		margin-bottom: 0.4rem;
		margin-right: 1rem;
		vertical-align: middle;
	}
	#mobile_nav { display: none; }

	h2 {
		padding: 2.5rem 0 1rem 3rem;
	}
	h2.profile {
		font-size: 4rem;
	}
	h2.profile span {
		width: calc(100% - 200px);
	}
	h3, h4 {
		padding-left: 3rem;
	}

	form input[type=text],
	form input[type=email],
	form input[type=password] {
		max-width: 75%;
	}

	.profile_avatar {
		height: 150px;
		margin-top: -115px;
		right: 3rem;
	}
	.profile_avatar img {}

	#account_profile textarea {
		margin: 1.5rem 3rem;
		padding: .5rem;
		width: calc(100% - 6rem);
	}
	#account_profile.edit h2 input[type=text] {
		font-size: 4rem;
		left: 3rem;
		width: calc(100% - 230px);
	}
	#account_profile.edit h3 input[type=text] {
		width: calc(100% - 200px);
	}
	#account_profile.edit .profile_avatar .file_upload {
		box-shadow: 0 0px 10px rgba(0, 0, 0, .25);
		left: calc(100% + 2rem);
		position: absolute;
		right: auto;
		top: 35%;
		white-space: nowrap;
	}

	#contain {
		margin: 0 auto;
		max-width: 83rem;
	}

	#content {
		border-color: var(--border-faint);
		border-style: solid;
		border-width: 0 1px 1px 1px;
		margin-left: 17rem;
		max-width: 66rem;
		min-height: 50vh;
		padding: 0;
	}
	#content p { padding: 1.5rem 3rem; }
	#content table {
		margin: 1.5rem 3rem;
		width: calc(100% - 6rem);
	}
	#content dl {
		padding: 1rem 3rem 2rem;
	}
	
	#main {
		display: flex;
		flex-direction: column;
	}

	.togl {}
	.togl:last-child { border-bottom: none; }
	.togl .deets {
		padding: .5rem 0 0;
	}
	.togl .deets .togl_footer { align-items: center; }
	.togl .deets .actions a,
	#content .togl .deets .actions a {
		font-size: 1.5rem;
	}
	.togl .deets .actions span:first-child { display: inline; }
	.togl .deets .actions span + span { display: none; }

	.togl_details .togl {
		margin-right: auto;
		margin-left: auto;
	}

	#new_togl .deets {
		display: flex;
		flex-direction: row;
		gap: 1rem;
	}
	#new_togl .deets textarea {
		margin-bottom: 0;
	}

	#feedback_contain.show {
		box-shadow: 0 10px 50px rgba(0, 0, 0, .8);
		max-width: 375px;
	}
	#feedback_contain button {
		bottom: 16px;
	}
	#feedback_contain iframe {
		border-left: 5px solid var(--border-faint);
	}
}