/*
Theme Name: The 8 Space
Theme URI: https://the8.space
Author: Clark & Burke LLC
Author URI: https://www.cnb.llc
Description: A responsive, expressive, mid-2000s-inspired social theme for The 8 Space.
Version: 0.1.0
Requires at least: 6.7
Requires PHP: 8.1
Text Domain: the8-space
*/

:root {
	--ink: #18263d;
	--muted: #5b6b82;
	--line: #aebfd3;
	--line-dark: #6f87a5;
	--paper: #ffffff;
	--wash: #edf4fb;
	--blue-950: #0d284d;
	--blue-900: #143b6d;
	--blue-800: #1c4f8a;
	--blue-700: #2866aa;
	--blue-200: #cfe2f5;
	--blue-100: #e7f1fa;
	--electric: #69b5ff;
	--electric-dark: #1264c7;
	--green: #18794e;
	--red: #b4232a;
	--shadow: 0 8px 22px rgb(13 40 77 / 12%);
	--radius: 4px;
	--site-width: 1060px;
	--font-sans: Verdana, Geneva, Tahoma, sans-serif;
	--font-display: "Trebuchet MS", Verdana, sans-serif;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background:
		linear-gradient(180deg, #c8d8e8 0, #e9f1f8 160px, #f5f7fa 480px),
		#f5f7fa;
	color: var(--ink);
	font-family: var(--font-sans);
	font-size: 14px;
	line-height: 1.55;
}

body::before {
	position: fixed;
	z-index: -1;
	inset: 0;
	background-image:
		linear-gradient(rgb(255 255 255 / 16%) 1px, transparent 1px),
		linear-gradient(90deg, rgb(255 255 255 / 16%) 1px, transparent 1px);
	background-size: 24px 24px;
	content: "";
	pointer-events: none;
}

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

a {
	color: #164f91;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

a:hover {
	color: var(--electric-dark);
}

button,
input,
select,
textarea {
	font: inherit;
}

button,
[type="submit"],
[type="button"] {
	cursor: pointer;
}

:focus-visible {
	outline: 3px solid #ffb344;
	outline-offset: 2px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed !important;
	z-index: 999999;
	top: 8px;
	left: 8px;
	width: auto;
	height: auto;
	padding: 10px 14px;
	margin: 0;
	clip: auto;
	background: #fff;
	color: #000;
}

.the8-site-header {
	color: #fff;
	background: var(--blue-900);
	border-bottom: 4px solid var(--electric);
	box-shadow: 0 2px 9px rgb(0 0 0 / 22%);
}

.the8-site-header__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: min(calc(100% - 32px), var(--site-width));
	min-height: 72px;
	margin: 0 auto;
	gap: 20px;
}

.the8-logo {
	display: inline-flex;
	align-items: baseline;
	gap: 3px;
	color: #fff;
	font-family: var(--font-display);
	font-size: 28px;
	font-weight: 700;
	letter-spacing: -2px;
	text-decoration: none;
	text-shadow: 0 2px 0 rgb(0 0 0 / 24%);
}

.the8-logo:hover {
	color: #fff;
}

.the8-logo__mark {
	width: 42px;
	height: 42px;
	border: 2px solid rgb(255 255 255 / 88%);
	border-radius: 10px;
	box-shadow: 0 2px 7px rgb(0 0 0 / 34%);
	transform: rotate(-6deg);
}

.the8-logo__space {
	font-size: 12px;
	font-weight: 400;
	letter-spacing: 2px;
	text-transform: uppercase;
}

.the8-nav-toggle {
	display: none;
	min-width: 44px;
	min-height: 44px;
	border: 1px solid rgb(255 255 255 / 55%);
	border-radius: var(--radius);
	color: #fff;
	background: rgb(255 255 255 / 10%);
}

.the8-primary-nav ul,
.the8-subnav ul {
	display: flex;
	align-items: center;
	padding: 0;
	margin: 0;
	gap: 3px;
	list-style: none;
}

.the8-primary-nav a {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 7px 10px;
	border-radius: 3px;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
}

.the8-primary-nav a:hover,
.the8-primary-nav a:focus-visible {
	background: rgb(255 255 255 / 16%);
}

.the8-primary-nav .the8-nav-cta {
	margin-left: 6px;
	color: #1b2d44;
	background: #fff;
}

.the8-primary-nav .the8-nav-cta:hover {
	color: #fff;
	background: var(--electric-dark);
}

.the8-nav-count {
	display: inline-grid;
	min-width: 19px;
	height: 19px;
	padding: 0 5px;
	margin-left: 5px;
	border-radius: 10px;
	place-items: center;
	color: #fff;
	background: var(--electric-dark);
	font-size: 10px;
}

.the8-subnav {
	background: var(--blue-100);
	border-top: 1px solid rgb(255 255 255 / 30%);
}

.the8-subnav ul {
	width: min(calc(100% - 32px), var(--site-width));
	min-height: 36px;
	margin: 0 auto;
}

.the8-subnav a {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 6px 12px;
	border-right: 1px solid #bfd2e4;
	color: var(--blue-900);
	font-size: 11px;
	font-weight: 700;
	text-decoration: none;
}

.the8-subnav li:first-child a {
	border-left: 1px solid #bfd2e4;
}

.the8-subnav a:hover {
	background: #fff;
}

.the8-main {
	width: min(calc(100% - 32px), var(--site-width));
	min-height: 62vh;
	margin: 28px auto 60px;
}

.the8-page-head,
.the8-dashboard-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 18px;
	gap: 20px;
}

.the8-page-head h1,
.the8-dashboard-head h1 {
	margin: 0;
	color: var(--blue-950);
	font-family: var(--font-display);
	font-size: clamp(27px, 4vw, 40px);
	line-height: 1.08;
	letter-spacing: -1px;
}

.the8-page-head p,
.the8-dashboard-head p {
	margin: 5px 0 0;
}

.the8-eyebrow {
	margin: 0 0 5px;
	color: var(--electric-dark);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
}

.the8-panel {
	margin-bottom: 20px;
	border: 1px solid var(--line-dark);
	border-radius: var(--radius);
	background: var(--paper);
	box-shadow: var(--shadow);
	overflow: hidden;
}

.the8-panel__title {
	display: block;
	padding: 8px 12px;
	margin: 0;
	color: #fff;
	background: linear-gradient(180deg, var(--blue-700), var(--blue-900));
	border-bottom: 1px solid var(--blue-950);
	font-family: var(--font-display);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
}

.the8-panel__title h1,
.the8-panel__title h2 {
	margin: 0;
	font: inherit;
}

.the8-panel__title--split {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.the8-panel__title--split span,
.the8-panel__title--split form {
	font-family: var(--font-sans);
	font-size: 10px;
	font-weight: 400;
}

.the8-panel__body {
	padding: 18px;
}

.the8-panel--notice {
	max-width: 720px;
	margin-inline: auto;
}

.the8-notice {
	padding: 12px 15px;
	margin: 0 0 18px;
	border: 1px solid;
	border-radius: var(--radius);
	font-weight: 700;
	box-shadow: 0 3px 10px rgb(0 0 0 / 7%);
}

.the8-notice--success {
	border-color: #76ab90;
	color: #0d5c38;
	background: #e8f7ee;
}

.the8-notice--error {
	border-color: #d99a9d;
	color: #8b1720;
	background: #fff0f0;
}

.the8-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	padding: 7px 13px;
	border: 1px solid #758ca7;
	border-radius: 3px;
	color: #183654;
	background: linear-gradient(#fff, #dce7f1);
	box-shadow: 0 1px 0 rgb(255 255 255 / 65%) inset;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	text-shadow: 0 1px #fff;
}

.the8-button:hover {
	border-color: #3e638b;
	color: #102a44;
	background: #fff;
}

.the8-button--primary {
	border-color: #084895;
	color: #fff;
	background: linear-gradient(#2d7fdf, #0750b1);
	text-shadow: 0 -1px rgb(0 0 0 / 26%);
}

.the8-button--primary:hover {
	border-color: #052f68;
	color: #fff;
	background: #06489e;
}

.the8-button--small {
	min-height: 29px;
	padding: 5px 9px;
	font-size: 10px;
}

.the8-button--wide {
	width: 100%;
	margin-bottom: 20px;
}

.the8-button-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 9px;
}

.the8-link-button {
	padding: 0;
	border: 0;
	color: #fff;
	background: none;
	font-size: 10px;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.the8-panel__body .the8-link-button {
	color: #164f91;
}

.the8-link-button--danger,
.the8-panel__body .the8-link-button--danger {
	color: var(--red);
}

.the8-welcome {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.75fr);
	min-height: 390px;
	margin-bottom: 24px;
	border: 1px solid #6f87a5;
	border-radius: 6px;
	background:
		radial-gradient(circle at 72% 28%, rgb(81 155 229 / 38%), transparent 31%),
		linear-gradient(135deg, #f8fbff 0 60%, #d5e8f8 60% 100%);
	box-shadow: 0 14px 35px rgb(13 40 77 / 18%);
	overflow: hidden;
}

.the8-welcome::after {
	position: absolute;
	right: -45px;
	bottom: -75px;
	width: 260px;
	height: 260px;
	border: 34px solid rgb(255 255 255 / 48%);
	border-radius: 50%;
	content: "8";
	color: rgb(20 59 109 / 12%);
	font-family: Georgia, serif;
	font-size: 190px;
	font-weight: 700;
	line-height: 190px;
	text-align: center;
	transform: rotate(-9deg);
}

.the8-welcome__copy {
	position: relative;
	z-index: 1;
	align-self: center;
	padding: clamp(30px, 7vw, 66px);
}

.the8-welcome__copy h1 {
	max-width: 690px;
	margin: 0 0 16px;
	color: var(--blue-950);
	font-family: var(--font-display);
	font-size: clamp(36px, 6vw, 64px);
	line-height: 0.98;
	letter-spacing: -2.5px;
	text-wrap: balance;
}

.the8-welcome__copy > p:not(.the8-eyebrow) {
	max-width: 650px;
	margin: 0 0 22px;
	color: #3c5068;
	font-size: 15px;
}

.the8-welcome__aside {
	position: relative;
	z-index: 2;
	align-self: center;
	padding: 30px 34px 30px 0;
}

.the8-window {
	border: 2px solid #6c86a5;
	background: #fff;
	box-shadow: 8px 8px 0 rgb(20 59 109 / 15%);
	transform: rotate(1.5deg);
}

.the8-window__title {
	padding: 5px 8px;
	color: #fff;
	background: var(--blue-800);
	font-family: "Courier New", monospace;
	font-size: 11px;
}

.the8-window ul {
	padding: 12px;
	margin: 0;
	list-style: none;
}

.the8-window li {
	padding: 8px 5px;
	border-bottom: 1px dotted #aebfd3;
	font-size: 11px;
	font-weight: 700;
}

.the8-window li:last-child {
	border-bottom: 0;
}

.the8-window li span {
	color: var(--green);
}

.the8-home-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	align-items: start;
	gap: 20px;
}

.the8-prose {
	font-size: 14px;
}

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

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

.the8-prose h2,
.the8-prose h3 {
	color: var(--blue-900);
	font-family: var(--font-display);
}

.the8-prose hr {
	height: 1px;
	margin: 22px 0;
	border: 0;
	background: var(--line);
}

.the8-member-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.the8-member-grid--compact {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
}

.the8-member-card {
	min-width: 0;
	text-align: center;
}

.the8-member-card a {
	display: block;
	text-decoration: none;
}

.the8-member-card .the8-avatar {
	width: 100%;
	aspect-ratio: 1;
	border: 2px solid #fff;
	border-radius: 2px;
	object-fit: cover;
	box-shadow: 0 0 0 1px var(--line-dark);
}

.the8-member-card__name {
	display: block;
	margin-top: 6px;
	font-size: 11px;
	font-weight: 700;
	overflow-wrap: anywhere;
}

.the8-member-card p {
	margin: 3px 0 0;
	color: var(--muted);
	font-size: 9px;
	line-height: 1.35;
}

.the8-empty {
	padding: 24px;
	border: 1px dashed var(--line);
	color: var(--muted);
	background: var(--wash);
	text-align: center;
}

.the8-empty strong {
	display: block;
	margin-bottom: 5px;
	color: var(--blue-900);
	font-family: var(--font-display);
	font-size: 17px;
}

.the8-empty p {
	margin: 0;
}

.the8-auth-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
	align-items: start;
	max-width: 900px;
	margin: 0 auto;
	gap: 20px;
}

.the8-auth-panel {
	max-width: 540px;
	margin: 0 auto;
}

.the8-auth-links {
	margin-bottom: 0;
	font-size: 11px;
	text-align: center;
}

.the8-form {
	display: grid;
	gap: 14px;
}

.the8-form label {
	display: grid;
	gap: 5px;
	color: #344861;
	font-size: 11px;
	font-weight: 700;
}

.the8-form input:not([type="checkbox"], [type="color"]),
.the8-form select,
.the8-form textarea,
#loginform input[type="text"],
#loginform input[type="password"] {
	width: 100%;
	min-height: 39px;
	padding: 8px 10px;
	border: 1px solid #8ea3bb;
	border-radius: 3px;
	color: var(--ink);
	background: #fff;
	box-shadow: 0 1px 3px rgb(15 39 70 / 8%) inset;
}

.the8-form textarea {
	resize: vertical;
}

.the8-form input:focus,
.the8-form select:focus,
.the8-form textarea:focus,
#loginform input:focus {
	border-color: var(--blue-700);
	box-shadow: 0 0 0 3px rgb(40 102 170 / 16%);
	outline: none;
}

.the8-form small {
	color: var(--muted);
	font-size: 9px;
	font-weight: 400;
}

.the8-check {
	grid-template-columns: auto 1fr;
	align-items: start;
}

.the8-check input {
	margin-top: 3px;
}

.the8-honeypot {
	position: absolute;
	left: -9999px;
}

#loginform {
	display: grid;
	gap: 12px;
}

#loginform p {
	margin: 0;
}

#loginform label {
	display: grid;
	gap: 4px;
	color: #344861;
	font-size: 11px;
	font-weight: 700;
}

#loginform .login-remember label {
	display: flex;
	align-items: center;
	font-weight: 400;
	gap: 5px;
}

#wp-submit {
	display: inline-flex;
	min-height: 36px;
	padding: 7px 13px;
	border: 1px solid #a64c08;
	border-radius: 3px;
	color: #fff;
	background: linear-gradient(#ff9f35, #db6c12);
	font-size: 11px;
	font-weight: 700;
}

.the8-search {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	margin-bottom: 20px;
	gap: 8px;
}

.the8-search input {
	min-height: 38px;
	padding: 8px 10px;
	border: 1px solid #8ea3bb;
	border-radius: 3px;
}

.the8-stat-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-bottom: 20px;
	gap: 12px;
}

.the8-stat-grid a {
	display: flex;
	flex-direction: column;
	min-height: 92px;
	padding: 15px;
	border: 1px solid var(--line-dark);
	border-radius: var(--radius);
	justify-content: center;
	color: var(--blue-950);
	background: #fff;
	box-shadow: var(--shadow);
	text-decoration: none;
}

.the8-stat-grid a:hover {
	border-color: var(--electric-dark);
}

.the8-stat-grid strong {
	font-family: var(--font-display);
	font-size: 29px;
	line-height: 1;
}

.the8-stat-grid span {
	margin-top: 7px;
	color: var(--muted);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.8px;
	text-transform: uppercase;
}

.the8-update-list,
.the8-simple-list {
	padding: 0;
	margin: 0;
	list-style: none;
}

.the8-update-list li {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	padding: 10px 5px;
	border-bottom: 1px dotted var(--line);
	gap: 8px;
}

.the8-update-list li:last-child {
	border-bottom: 0;
}

.the8-update-list__dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #a9b5c3;
}

.the8-update-list .is-unread {
	font-weight: 700;
}

.the8-update-list .is-unread .the8-update-list__dot {
	background: var(--electric-dark);
	box-shadow: 0 0 0 3px rgb(18 100 199 / 18%);
}

.the8-update-list time {
	color: var(--muted);
	font-size: 9px;
	font-weight: 400;
}

.the8-quick-links {
	display: grid;
	gap: 8px;
}

.the8-quick-links a {
	padding: 9px 10px;
	border: 1px solid #c0d0e0;
	background: var(--blue-100);
	font-size: 11px;
	font-weight: 700;
	text-decoration: none;
}

.the8-quick-links a:hover {
	border-color: #8fa9c5;
	background: #fff;
}

.the8-request-list {
	display: grid;
	gap: 10px;
}

.the8-request-list article,
.the8-friend-list article {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 10px;
	border: 1px solid #c2d1e1;
	background: var(--wash);
	gap: 12px;
}

.the8-request-list__person,
.the8-friend-list article > a,
.the8-friend-list article > span {
	display: flex;
	align-items: center;
	min-width: 0;
	gap: 10px;
	text-decoration: none;
}

.the8-request-list .the8-avatar,
.the8-friend-list .the8-avatar {
	width: 54px;
	height: 54px;
	border: 1px solid var(--line-dark);
	object-fit: cover;
}

.the8-request-list form,
.the8-friend-list article > div,
.the8-friend-list article > form {
	display: flex;
	align-items: center;
	gap: 7px;
}

.the8-friend-list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.the8-friend-list article > div {
	flex-direction: column;
	align-items: flex-end;
}

.the8-top-editor {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-bottom: 14px;
	gap: 8px;
}

.the8-top-editor__item {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 0;
	padding: 10px;
	border: 1px solid #9db1c8;
	background: var(--blue-100);
	text-align: center;
	cursor: grab;
	gap: 5px;
}

.the8-top-editor__item:nth-child(n+9) {
	opacity: 0.62;
}

.the8-top-editor__item.is-dragging {
	opacity: 0.35;
}

.the8-top-editor__item .the8-avatar {
	width: 72px;
	height: 72px;
	border: 2px solid #fff;
	object-fit: cover;
	box-shadow: 0 0 0 1px var(--line-dark);
}

.the8-top-editor__item strong {
	max-width: 100%;
	font-size: 10px;
	overflow-wrap: anywhere;
}

.the8-drag-handle {
	position: absolute;
	top: 4px;
	right: 6px;
	color: var(--muted);
}

.the8-simple-list li {
	display: flex;
	justify-content: space-between;
	padding: 8px 4px;
	border-bottom: 1px dotted var(--line);
}

.the8-simple-list span {
	color: var(--muted);
	font-size: 10px;
}

.the8-mail-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
	align-items: start;
	gap: 20px;
}

.the8-inbox {
	display: grid;
}

.the8-inbox a {
	display: grid;
	grid-template-columns: minmax(150px, 0.7fr) minmax(0, 1.3fr) auto;
	padding: 10px 7px;
	border-bottom: 1px solid #c7d4e1;
	align-items: center;
	color: var(--ink);
	text-decoration: none;
	gap: 10px;
}

.the8-inbox a:hover {
	background: var(--blue-100);
}

.the8-inbox span {
	color: var(--muted);
	font-size: 10px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.the8-inbox time {
	color: var(--muted);
	font-size: 9px;
}

.the8-thread {
	display: grid;
	gap: 12px;
}

.the8-thread article {
	display: grid;
	grid-template-columns: 54px minmax(0, 1fr);
	max-width: 86%;
	gap: 10px;
}

.the8-thread article.is-mine {
	margin-left: auto;
	grid-template-columns: minmax(0, 1fr) 54px;
}

.the8-thread article.is-mine .the8-thread__avatar {
	grid-column: 2;
	grid-row: 1;
}

.the8-thread article.is-mine .the8-thread__message {
	grid-column: 1;
	grid-row: 1;
	border-color: #dfa35e;
	background: #fff5e8;
}

.the8-thread__avatar .the8-avatar {
	width: 54px;
	height: 54px;
	border: 1px solid var(--line-dark);
	object-fit: cover;
}

.the8-thread__message {
	border: 1px solid #b9cadb;
	background: var(--blue-100);
}

.the8-thread__message header {
	display: flex;
	justify-content: space-between;
	padding: 6px 8px;
	border-bottom: 1px solid #c5d5e3;
	font-size: 10px;
	gap: 8px;
}

.the8-thread__message time {
	color: var(--muted);
	font-weight: 400;
}

.the8-thread__message p {
	padding: 9px;
	margin: 0;
	white-space: normal;
}

.the8-reply {
	padding-top: 20px;
	margin-top: 20px;
	border-top: 1px solid var(--line);
}

.the8-safety-box {
	margin-top: 16px;
	padding: 10px;
	border: 1px dashed #b69a9a;
	color: #572a2d;
	background: #fff8f8;
}

.the8-safety-box summary {
	font-size: 10px;
	font-weight: 700;
	cursor: pointer;
}

.the8-report-form {
	margin-top: 12px;
}

.the8-settings-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
	align-items: start;
	gap: 20px;
}

.the8-color-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.the8-color-grid label {
	align-content: start;
}

.the8-color-grid input[type="color"] {
	width: 100%;
	height: 44px;
	padding: 2px;
	border: 1px solid #8ea3bb;
	background: #fff;
}

.the8-color-grid__wide {
	grid-column: 1 / -1;
}

.the8-report-list {
	display: grid;
	gap: 14px;
}

.the8-report-list > article {
	padding: 14px;
	border: 1px solid #b8c8d8;
	background: #f8fbfe;
}

.the8-report-list header {
	display: flex;
	justify-content: space-between;
	gap: 10px;
}

.the8-report-list dl {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	padding: 8px;
	background: #e8f1f9;
	gap: 8px;
}

.the8-report-list dl div {
	min-width: 0;
}

.the8-report-list dt {
	color: var(--muted);
	font-size: 8px;
	font-weight: 700;
	letter-spacing: 0.8px;
	text-transform: uppercase;
}

.the8-report-list dd {
	margin: 2px 0 0;
	overflow-wrap: anywhere;
}

.the8-badge {
	display: inline-flex;
	align-items: center;
	padding: 2px 7px;
	border-radius: 12px;
	color: #fff;
	background: var(--muted);
	font-size: 9px;
	text-transform: uppercase;
}

.the8-badge--open {
	background: var(--red);
}

.the8-badge--resolved {
	background: var(--green);
}

.the8-profile {
	padding: 18px;
	color: var(--profile-text);
	background: var(--profile-bg);
	border: 1px solid color-mix(in srgb, var(--profile-accent) 72%, #000);
	border-radius: 3px;
	box-shadow: var(--shadow);
	font-family: var(--profile-font);
}

.the8-profile a {
	color: var(--profile-accent);
}

.the8-profile__mast {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 18px;
	margin-bottom: 16px;
	border: 2px solid var(--profile-accent);
	color: var(--profile-text);
	background: var(--profile-panel);
	gap: 15px;
}

.the8-profile__mast h1 {
	margin: 0;
	color: var(--profile-accent);
	font-family: inherit;
	font-size: clamp(26px, 5vw, 44px);
	line-height: 1;
}

.the8-profile__mast p:last-child {
	margin: 6px 0 0;
}

.the8-profile__layout {
	display: grid;
	grid-template-columns: 300px minmax(0, 1fr);
	align-items: start;
	gap: 16px;
}

.the8-profile-box {
	margin: 0 0 14px;
	border: 2px solid var(--profile-accent);
	background: var(--profile-panel);
	overflow: hidden;
}

.the8-profile-box > h2 {
	padding: 5px 8px;
	margin: 0;
	color: var(--profile-panel);
	background: var(--profile-accent);
	font-family: inherit;
	font-size: 13px;
	line-height: 1.35;
}

.the8-profile-box__body,
.the8-profile-box:not(:has(> h2)) {
	padding: 12px;
}

.the8-profile-box__body > :first-child {
	margin-top: 0;
}

.the8-profile-box__body > :last-child {
	margin-bottom: 0;
}

.the8-profile-card {
	padding-bottom: 10px;
}

.the8-profile-card > .the8-avatar {
	width: calc(100% - 20px);
	aspect-ratio: 1;
	margin: 10px;
	border: 1px solid var(--profile-accent);
	object-fit: cover;
}

.the8-profile-card dl {
	padding: 0 10px;
	margin: 0;
}

.the8-profile-card dl div {
	display: grid;
	grid-template-columns: 80px minmax(0, 1fr);
	padding: 4px 0;
	border-bottom: 1px dotted color-mix(in srgb, var(--profile-accent) 45%, transparent);
	gap: 7px;
}

.the8-profile-card dt {
	font-weight: 700;
}

.the8-profile-card dd {
	margin: 0;
}

.the8-profile-actions {
	display: grid;
	padding: 10px;
	gap: 8px;
}

.the8-profile-actions form {
	display: grid;
}

.the8-status-label {
	display: block;
	padding: 7px;
	border: 1px solid color-mix(in srgb, var(--profile-accent) 45%, transparent);
	background: color-mix(in srgb, var(--profile-accent) 9%, var(--profile-panel));
	font-size: 10px;
	font-weight: 700;
	text-align: center;
}

.the8-profile .the8-safety-box {
	padding: 9px;
}

.the8-profile .the8-safety-box summary {
	color: var(--profile-accent);
}

.the8-top-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
}

.the8-top-grid a {
	display: block;
	text-align: center;
	text-decoration: none;
}

.the8-top-grid .the8-avatar {
	width: 100%;
	aspect-ratio: 1;
	border: 2px solid var(--profile-panel);
	object-fit: cover;
	box-shadow: 0 0 0 1px var(--profile-accent);
}

.the8-top-grid span {
	display: block;
	margin-top: 4px;
	font-size: 10px;
	font-weight: 700;
	overflow-wrap: anywhere;
}

.the8-comment-form {
	padding-bottom: 14px;
	margin-bottom: 14px;
	border-bottom: 1px solid color-mix(in srgb, var(--profile-accent) 35%, transparent);
}

.the8-comments {
	display: grid;
	gap: 10px;
}

.the8-comments article {
	display: grid;
	grid-template-columns: 105px minmax(0, 1fr);
	border: 1px solid color-mix(in srgb, var(--profile-accent) 45%, transparent);
}

.the8-comments__author {
	padding: 8px;
	background: color-mix(in srgb, var(--profile-accent) 10%, var(--profile-panel));
	text-align: center;
}

.the8-comments__author a {
	text-decoration: none;
}

.the8-comments__author .the8-avatar {
	width: 76px;
	height: 76px;
	margin: 0 auto 4px;
	border: 1px solid var(--profile-accent);
	object-fit: cover;
}

.the8-comments__author strong {
	display: block;
	font-size: 9px;
	overflow-wrap: anywhere;
}

.the8-comments__content {
	padding: 9px;
}

.the8-comments__content time {
	color: color-mix(in srgb, var(--profile-text) 60%, transparent);
	font-size: 9px;
}

.the8-comments__content p {
	margin: 7px 0;
}

.the8-policy {
	max-width: 820px;
	margin-inline: auto;
}

.the8-policy__updated {
	color: var(--muted);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.6px;
	text-transform: uppercase;
}

.the8-site-footer {
	color: #d5e0ed;
	background: var(--blue-950);
	border-top: 4px solid var(--electric);
}

.the8-site-footer__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	width: min(calc(100% - 32px), var(--site-width));
	padding: 28px 0;
	margin: 0 auto;
	align-items: start;
	gap: 24px;
}

.the8-site-footer p {
	margin: 0 0 6px;
	font-size: 10px;
}

.the8-site-footer nav ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	padding: 0;
	margin: 0;
	gap: 12px;
	list-style: none;
}

.the8-site-footer a {
	color: #fff;
	font-size: 10px;
}

.the8-footer-credit {
	color: #9fb4cb;
}

.the8-footer-credit a {
	color: #dce8f5;
}

.the8-article {
	max-width: 780px;
	margin: 0 auto;
}

.the8-article__header {
	padding: 24px;
	border: 1px solid var(--line-dark);
	background: #fff;
	box-shadow: var(--shadow);
}

.the8-article__header h1 {
	margin: 0;
	color: var(--blue-950);
	font-family: var(--font-display);
	font-size: clamp(28px, 5vw, 44px);
}

.the8-article__body {
	padding: 24px;
	border: 1px solid var(--line);
	border-top: 0;
	background: #fff;
}

@media (max-width: 900px) {
	.the8-primary-nav {
		position: absolute;
		z-index: 20;
		top: 70px;
		right: 16px;
		left: 16px;
		display: none;
		padding: 8px;
		border: 1px solid #7e96b1;
		background: var(--blue-950);
		box-shadow: 0 8px 20px rgb(0 0 0 / 25%);
	}

	.the8-primary-nav.is-open {
		display: block;
	}

	.the8-primary-nav ul {
		align-items: stretch;
		flex-direction: column;
	}

	.the8-primary-nav a {
		padding: 10px;
	}

	.the8-primary-nav .the8-nav-cta {
		margin-left: 0;
	}

	.the8-nav-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}

	.the8-welcome {
		grid-template-columns: 1fr;
	}

	.the8-welcome__aside {
		padding: 0 30px 38px;
	}

	.the8-welcome__copy {
		padding-bottom: 30px;
	}

	.the8-home-grid,
	.the8-auth-grid,
	.the8-mail-grid,
	.the8-settings-grid {
		grid-template-columns: 1fr;
	}

	.the8-member-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.the8-member-grid--compact {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.the8-profile__layout {
		grid-template-columns: 245px minmax(0, 1fr);
	}

	.the8-top-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.the8-report-list dl {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 680px) {
	body {
		font-size: 13px;
	}

	.the8-site-header__top,
	.the8-subnav ul,
	.the8-main,
	.the8-site-footer__inner {
		width: min(calc(100% - 20px), var(--site-width));
	}

	.the8-subnav {
		overflow-x: auto;
	}

	.the8-subnav ul {
		width: max-content;
		min-width: 100%;
	}

	.the8-main {
		margin-top: 16px;
	}

	.the8-welcome__copy {
		padding: 32px 22px 24px;
	}

	.the8-welcome__copy h1 {
		font-size: clamp(34px, 13vw, 52px);
	}

	.the8-welcome__aside {
		padding: 0 22px 28px;
	}

	.the8-page-head,
	.the8-dashboard-head,
	.the8-profile__mast {
		align-items: flex-start;
		flex-direction: column;
	}

	.the8-stat-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.the8-member-grid,
	.the8-member-grid--compact {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.the8-friend-list {
		grid-template-columns: 1fr;
	}

	.the8-request-list article,
	.the8-friend-list article {
		align-items: flex-start;
		flex-direction: column;
	}

	.the8-request-list form,
	.the8-friend-list article > div,
	.the8-friend-list article > form {
		align-items: flex-start;
	}

	.the8-top-editor {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.the8-inbox a {
		grid-template-columns: 1fr auto;
	}

	.the8-inbox span {
		grid-column: 1 / -1;
		grid-row: 2;
	}

	.the8-thread article,
	.the8-thread article.is-mine {
		grid-template-columns: 42px minmax(0, 1fr);
		width: 100%;
		max-width: none;
		margin: 0;
	}

	.the8-thread article.is-mine .the8-thread__avatar {
		grid-column: 1;
	}

	.the8-thread article.is-mine .the8-thread__message {
		grid-column: 2;
	}

	.the8-thread__avatar .the8-avatar {
		width: 42px;
		height: 42px;
	}

	.the8-profile {
		padding: 8px;
	}

	.the8-profile__layout {
		grid-template-columns: 1fr;
	}

	.the8-profile-card > .the8-avatar {
		max-width: 280px;
		margin-inline: auto;
	}

	.the8-top-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.the8-comments article {
		grid-template-columns: 76px minmax(0, 1fr);
	}

	.the8-comments__author .the8-avatar {
		width: 54px;
		height: 54px;
	}

	.the8-site-footer__inner {
		grid-template-columns: 1fr;
	}

	.the8-site-footer nav ul {
		justify-content: flex-start;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}

@media print {
	.the8-site-header,
	.the8-site-footer,
	.the8-button,
	form {
		display: none !important;
	}

	body {
		background: #fff;
	}

	.the8-main {
		width: 100%;
		margin: 0;
	}
}
