.eua-shell {
	position: relative;
	overflow: hidden;
	width: min(1120px, calc(100% - 28px));
	margin: 28px auto;
	padding: clamp(20px, 4vw, 34px);
	border: 1px solid rgba(57, 231, 255, 0.28);
	border-radius: 8px;
	background:
		radial-gradient(circle at 18% 18%, rgba(57, 231, 255, 0.16), transparent 26rem),
		radial-gradient(circle at 88% 12%, rgba(255, 207, 90, 0.12), transparent 20rem),
		rgba(2, 8, 18, 0.82);
	box-shadow: inset 0 0 36px rgba(57, 231, 255, 0.08), 0 0 42px rgba(0, 0, 0, 0.34);
	color: #e6faff;
	isolation: isolate;
}

.eua-shell-compact {
	margin: 16px auto;
	padding: 18px;
}

.eua-grid,
.eua-orbit {
	position: absolute;
	inset: 0;
	pointer-events: none;
	z-index: -1;
}

.eua-grid {
	background-image:
		linear-gradient(rgba(57, 231, 255, 0.055) 1px, transparent 1px),
		linear-gradient(90deg, rgba(57, 231, 255, 0.055) 1px, transparent 1px);
	background-size: 44px 44px;
	mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 96%);
}

.eua-orbit span {
	position: absolute;
	width: 300px;
	height: 300px;
	border: 1px solid rgba(57, 231, 255, 0.16);
	border-radius: 50%;
	box-shadow: 0 0 24px rgba(57, 231, 255, 0.08);
	animation: euaOrbit 14s linear infinite;
}

.eua-orbit span:nth-child(1) {
	right: -96px;
	top: -116px;
}

.eua-orbit span:nth-child(2) {
	right: 40px;
	bottom: -190px;
	width: 420px;
	height: 420px;
	animation-duration: 18s;
}

.eua-orbit span:nth-child(3) {
	left: -140px;
	bottom: -160px;
	width: 260px;
	height: 260px;
	animation-duration: 11s;
}

.eua-header {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 20px;
}

.eua-header p,
.eua-card-head p {
	margin: 0 0 7px;
	color: #39e7ff;
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0;
	text-transform: uppercase;
}

.eua-header h1 {
	margin: 0;
	font-size: clamp(34px, 6vw, 74px);
	line-height: 0.92;
	text-transform: uppercase;
	letter-spacing: 0;
	text-shadow: 0 0 28px rgba(57, 231, 255, 0.36);
}

.eua-panels {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.eua-card {
	position: relative;
	padding: 20px;
	border: 1px solid rgba(57, 231, 255, 0.24);
	border-radius: 8px;
	background: rgba(4, 16, 31, 0.74);
	box-shadow: inset 0 0 24px rgba(57, 231, 255, 0.07);
	backdrop-filter: blur(16px);
}

.eua-details-form {
	margin-top: 18px;
}

.eua-card::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 40%, rgba(57, 231, 255, 0.07));
	pointer-events: none;
}

.eua-card-head {
	position: relative;
	margin-bottom: 16px;
}

.eua-card-head h2 {
	margin: 0;
	font-size: 24px;
	line-height: 1;
	text-transform: uppercase;
	letter-spacing: 0;
}

.eua-form {
	display: grid;
	gap: 13px;
}

.eua-form label {
	position: relative;
	display: grid;
	gap: 7px;
}

.eua-form label span,
.eua-status-list span {
	color: #90b9c9;
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
}

.eua-form input,
.eua-form select,
.eua-form textarea {
	width: 100%;
	min-height: 46px;
	box-sizing: border-box;
	border: 1px solid rgba(57, 231, 255, 0.25);
	border-radius: 8px;
	background: rgba(1, 8, 17, 0.72);
	color: #e6faff;
	font-size: 15px;
	outline: none;
	padding: 0 13px;
	box-shadow: inset 0 0 16px rgba(57, 231, 255, 0.04);
}

.eua-form textarea {
	min-height: 116px;
	padding: 12px 13px;
	resize: vertical;
}

.eua-form input:focus,
.eua-form select:focus,
.eua-form textarea:focus {
	border-color: rgba(57, 231, 255, 0.78);
	box-shadow: 0 0 0 2px rgba(57, 231, 255, 0.1), inset 0 0 18px rgba(57, 231, 255, 0.08);
}

.eua-check {
	display: flex !important;
	grid-template-columns: none !important;
	align-items: center;
	gap: 10px !important;
}

.eua-check input {
	width: 18px;
	height: 18px;
	min-height: 18px;
}

.eua-form button,
.eua-button {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 16px;
	border: 1px solid rgba(57, 231, 255, 0.6);
	border-radius: 8px;
	background: linear-gradient(135deg, rgba(57, 231, 255, 0.22), rgba(43, 127, 255, 0.18));
	color: #e6faff;
	font-size: 12px;
	font-weight: 900;
	line-height: 1.1;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
	box-shadow: 0 0 22px rgba(57, 231, 255, 0.14), inset 0 0 18px rgba(57, 231, 255, 0.08);
}

.eua-form button:hover,
.eua-form button:focus,
.eua-button:hover,
.eua-button:focus {
	color: #ffffff;
	border-color: rgba(57, 231, 255, 0.95);
	box-shadow: 0 0 28px rgba(57, 231, 255, 0.24), inset 0 0 22px rgba(57, 231, 255, 0.12);
}

.eua-button-secondary {
	border-color: rgba(255, 255, 255, 0.2);
	background: rgba(255, 255, 255, 0.06);
}

.eua-notice {
	position: relative;
	margin: 0 0 16px;
	padding: 12px 14px;
	border: 1px solid rgba(57, 231, 255, 0.32);
	border-radius: 8px;
	background: rgba(57, 231, 255, 0.09);
	color: #dffbff;
	font-size: 14px;
	font-weight: 700;
}

.eua-notice-error {
	border-color: rgba(255, 86, 114, 0.5);
	background: rgba(255, 86, 114, 0.1);
	color: #ffd9df;
}

.eua-status-list {
	display: grid;
	gap: 10px;
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
}

.eua-status-list li {
	display: flex;
	justify-content: space-between;
	gap: 18px;
	padding: 12px 0;
	border-bottom: 1px solid rgba(57, 231, 255, 0.13);
}

.eua-status-list strong {
	color: #e6faff;
	font-size: 13px;
	text-align: right;
	word-break: break-word;
}

.eua-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.eua-dashboard-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 12px;
	margin-top: 18px;
}

.eua-dashboard-tile {
	display: grid;
	gap: 7px;
	min-height: 138px;
	padding: 15px;
	border: 1px solid rgba(57, 231, 255, 0.2);
	border-radius: 8px;
	background: rgba(1, 8, 17, 0.54);
	color: #e6faff;
	text-decoration: none;
	box-shadow: inset 0 0 20px rgba(57, 231, 255, 0.055);
}

.eua-dashboard-tile:hover,
.eua-dashboard-tile:focus {
	border-color: rgba(57, 231, 255, 0.72);
	color: #ffffff;
	box-shadow: 0 0 24px rgba(57, 231, 255, 0.16), inset 0 0 22px rgba(57, 231, 255, 0.08);
}

.eua-dashboard-tile span {
	color: #39e7ff;
	font-size: 10px;
	font-weight: 900;
	text-transform: uppercase;
}

.eua-dashboard-tile strong {
	overflow-wrap: anywhere;
	color: #ffffff;
	font-size: 17px;
	line-height: 1.1;
	text-transform: uppercase;
}

.eua-dashboard-tile em {
	color: #90b9c9;
	font-size: 12px;
	font-style: normal;
	line-height: 1.4;
}

.eua-dashboard-tile-highlight {
	border-color: rgba(255, 207, 90, 0.34);
	background: linear-gradient(135deg, rgba(255, 207, 90, 0.08), rgba(57, 231, 255, 0.05)), rgba(1, 8, 17, 0.58);
}

.eua-muted {
	margin: 0;
	color: #90b9c9;
}

.eua-moderation-grid {
	display: grid;
	grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
	gap: 18px;
	margin-top: 18px;
}

.eua-moderation-sidebar,
.eua-moderation-add {
	align-self: start;
}

.eua-moderation-sidebar {
	display: grid;
	gap: 18px;
}

.eua-user-table-wrap {
	overflow: auto;
	max-height: min(62vh, 620px);
	border: 1px solid rgba(57, 231, 255, 0.16);
	border-radius: 8px;
	background: rgba(1, 8, 17, 0.36);
}

.eua-user-table {
	width: 100%;
	min-width: 680px;
	border-collapse: collapse;
}

.eua-user-table th,
.eua-user-table td {
	padding: 12px;
	border-bottom: 1px solid rgba(57, 231, 255, 0.13);
	color: #dffbff;
	font-size: 13px;
	text-align: left;
	vertical-align: top;
}

.eua-user-table th {
	position: sticky;
	top: 0;
	z-index: 1;
	background: rgba(3, 12, 25, 0.96);
	color: #39e7ff;
	font-size: 10px;
	font-weight: 900;
	text-transform: uppercase;
}

.eua-user-table td strong {
	display: block;
	color: #ffffff;
	font-size: 13px;
}

.eua-user-table td span {
	display: block;
	margin-top: 3px;
	color: #90b9c9;
	font-size: 12px;
	word-break: break-all;
}

.eua-user-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.eua-user-actions a,
.eua-inline-delete-form button {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	padding: 0 10px;
	border: 1px solid rgba(57, 231, 255, 0.32);
	border-radius: 6px;
	background: rgba(57, 231, 255, 0.08);
	color: #e6faff;
	font-size: 10px;
	font-weight: 900;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
}

.eua-user-actions a:hover,
.eua-user-actions a:focus,
.eua-inline-delete-form button:hover,
.eua-inline-delete-form button:focus {
	border-color: rgba(57, 231, 255, 0.78);
	background: rgba(57, 231, 255, 0.15);
	color: #ffffff;
}

.eua-inline-delete-form {
	margin: 0;
}

.eua-inline-delete-form button {
	border-color: rgba(255, 86, 114, 0.42);
	background: rgba(255, 86, 114, 0.1);
	color: #ffd9df;
}

.eua-inbox {
	margin-top: 18px;
}

.eua-inbox-list,
.eua-popup-messages {
	display: grid;
	gap: 12px;
}

.eua-inbox-message {
	padding: 13px;
	border: 1px solid rgba(57, 231, 255, 0.18);
	border-radius: 8px;
	background: rgba(1, 8, 17, 0.46);
}

.eua-inbox-message.is-unread {
	border-color: rgba(255, 207, 90, 0.44);
	background: rgba(255, 207, 90, 0.08);
	box-shadow: inset 0 0 18px rgba(255, 207, 90, 0.06);
}

.eua-inbox-message header {
	display: flex;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 8px;
}

.eua-inbox-message header strong {
	color: #ffffff;
	font-size: 13px;
	text-transform: uppercase;
}

.eua-inbox-message header span {
	color: #90b9c9;
	font-size: 11px;
	text-align: right;
}

.eua-inbox-message p {
	margin: 0;
	color: #dffbff;
	line-height: 1.55;
}

.eua-message-overlay {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: grid;
	place-items: center;
	padding: 18px;
	background:
		radial-gradient(circle at 50% 28%, rgba(57, 231, 255, 0.18), transparent 28rem),
		rgba(0, 4, 12, 0.82);
	backdrop-filter: blur(14px);
}

.eua-message-modal {
	width: min(620px, 100%);
	max-height: min(720px, calc(100vh - 40px));
	overflow: auto;
	padding: 22px;
	border: 1px solid rgba(57, 231, 255, 0.42);
	border-radius: 8px;
	background:
		linear-gradient(135deg, rgba(57, 231, 255, 0.08), rgba(43, 127, 255, 0.06)),
		rgba(4, 16, 31, 0.96);
	box-shadow: 0 0 64px rgba(57, 231, 255, 0.22), inset 0 0 32px rgba(57, 231, 255, 0.08);
	color: #e6faff;
}

.eua-popup-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 16px;
}

.eua-popup-actions button {
	min-height: 46px;
	padding: 0 16px;
	border: 1px solid rgba(57, 231, 255, 0.6);
	border-radius: 8px;
	background: linear-gradient(135deg, rgba(57, 231, 255, 0.22), rgba(43, 127, 255, 0.18));
	color: #e6faff;
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
	cursor: pointer;
}

.eua-plan-form {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
}

.eua-plan-form select {
	min-width: 112px;
	height: 34px;
	border: 1px solid rgba(57, 231, 255, 0.3);
	border-radius: 6px;
	background: rgba(1, 8, 17, 0.88);
	color: #e6faff;
	font-size: 12px;
	font-weight: 800;
}

.eua-plan-form button {
	min-height: 34px;
	padding: 0 10px;
	border: 1px solid rgba(57, 231, 255, 0.32);
	border-radius: 6px;
	background: rgba(57, 231, 255, 0.1);
	color: #e6faff;
	font-size: 10px;
	font-weight: 900;
	text-transform: uppercase;
	cursor: pointer;
}

.eua-plan-form button:hover,
.eua-plan-form button:focus {
	border-color: rgba(57, 231, 255, 0.78);
	background: rgba(57, 231, 255, 0.18);
	color: #ffffff;
}

.eua-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	opacity: 0 !important;
}

.eua-theme-status {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 14px;
	padding: 12px;
	border: 1px solid rgba(57, 231, 255, 0.22);
	border-radius: 8px;
	background: rgba(3, 15, 29, 0.56);
}

.eua-theme-status span {
	color: #90b9c9;
	font-size: 11px;
	font-weight: 900;
	text-transform: uppercase;
}

.eua-theme-status strong {
	color: #e6faff;
	font-size: 12px;
	text-transform: uppercase;
}

.eua-theme-status a {
	margin-left: auto;
	color: #39e7ff;
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
}

.eua-header-menu {
	position: relative;
	z-index: 50;
	flex: 0 0 auto;
}

.eua-header-trigger {
	display: inline-grid;
	gap: 2px;
	min-width: 138px;
	min-height: 42px;
	padding: 7px 12px;
	border: 1px solid rgba(57, 231, 255, 0.35);
	border-radius: 8px;
	background: linear-gradient(135deg, rgba(57, 231, 255, 0.12), rgba(43, 127, 255, 0.08));
	color: #e6faff;
	text-align: left;
	cursor: pointer;
	box-shadow: inset 0 0 16px rgba(57, 231, 255, 0.06), 0 0 18px rgba(57, 231, 255, 0.08);
}

.eua-header-trigger span {
	color: #90b9c9;
	font-size: 10px;
	font-weight: 900;
	text-transform: uppercase;
}

.eua-header-trigger strong {
	overflow: hidden;
	max-width: 170px;
	color: #ffffff;
	font-size: 12px;
	font-weight: 900;
	text-overflow: ellipsis;
	text-transform: uppercase;
	white-space: nowrap;
}

.eua-header-dropdown {
	position: absolute;
	top: calc(100% + 4px);
	right: 0;
	display: none;
	min-width: 210px;
	padding: 8px;
	border: 1px solid rgba(57, 231, 255, 0.28);
	border-radius: 8px;
	background: rgba(3, 12, 25, 0.96);
	box-shadow: 0 18px 42px rgba(0, 0, 0, 0.36), 0 0 24px rgba(57, 231, 255, 0.14);
	backdrop-filter: blur(18px);
}

.eua-header-dropdown::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -12px;
	height: 12px;
}

.eua-header-menu:hover .eua-header-dropdown,
.eua-header-menu:focus-within .eua-header-dropdown,
.eua-header-menu.is-open .eua-header-dropdown {
	display: grid;
	gap: 6px;
}

.eua-header-summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 8px 10px 10px;
	border-bottom: 1px solid rgba(57, 231, 255, 0.16);
	color: #90b9c9;
	font-size: 10px;
	font-weight: 900;
	text-transform: uppercase;
}

.eua-header-summary strong {
	color: #39e7ff;
	font-size: 11px;
}

.eua-header-menu-pending .eua-header-trigger {
	border-color: rgba(255, 207, 90, 0.42);
	box-shadow: inset 0 0 16px rgba(255, 207, 90, 0.06), 0 0 18px rgba(255, 207, 90, 0.08);
}

.eua-header-menu-pending .eua-header-trigger span,
.eua-header-menu-pending .eua-header-summary strong {
	color: #ffd46d;
}

.eua-header-menu-banned .eua-header-trigger {
	border-color: rgba(255, 86, 114, 0.5);
	box-shadow: inset 0 0 16px rgba(255, 86, 114, 0.06), 0 0 18px rgba(255, 86, 114, 0.12);
}

.eua-header-menu-banned .eua-header-trigger span,
.eua-header-menu-banned .eua-header-summary strong {
	color: #ff8fa2;
}

.eua-header-dropdown a {
	display: block;
	padding: 10px 11px;
	border: 1px solid transparent;
	border-radius: 6px;
	color: #dffbff;
	font-size: 12px;
	font-weight: 900;
	text-decoration: none;
	text-transform: uppercase;
}

.eua-header-dropdown a:hover,
.eua-header-dropdown a:focus {
	border-color: rgba(57, 231, 255, 0.34);
	background: rgba(57, 231, 255, 0.1);
	color: #ffffff;
}

@keyframes euaOrbit {
	from {
		transform: rotate(0deg) scale(1);
	}
	to {
		transform: rotate(360deg) scale(1.04);
	}
}

@media (max-width: 1100px) {
	.eua-dashboard-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	.eua-header {
		display: block;
	}

	.eua-panels {
		grid-template-columns: 1fr;
	}

	.eua-moderation-grid {
		grid-template-columns: 1fr;
	}

	.eua-dashboard-grid {
		grid-template-columns: 1fr;
	}

	.eua-dashboard-tile {
		min-height: 0;
	}

	.eua-status-list li,
	.eua-theme-status {
		align-items: flex-start;
		flex-direction: column;
	}

	.eua-theme-status a {
		margin-left: 0;
	}

	.eua-header-trigger {
		min-width: 92px;
		min-height: 36px;
		padding: 6px 9px;
	}

	.eua-header-trigger span {
		display: none;
	}

	.eua-header-trigger strong {
		max-width: 92px;
		font-size: 11px;
	}
}
