/* Homepage-Baukasten – Oberfläche im Forum (Übersicht, Formulare, Editor) */

.uhpEditor [hidden],
.uhpDialog [hidden] {
	display: none !important;
}

.uhpCard {
	background: var(--wcfContentBackground);
	border: 1px solid var(--wcfContentBorderInner);
	border-radius: 10px;
	padding: 20px;
}

.uhpCard + .uhpCard {
	margin-top: 20px;
}

.uhpIntro {
	font-size: 1.1rem;
	line-height: 1.6;
}

.uhpActions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 16px;
}

.uhpActions form {
	display: inline;
	margin: 0;
}

/* Kopfbereich der eigenen Homepage */
.uhpSiteHeader {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 24px;
	align-items: center;
	justify-content: space-between;
}

.uhpSiteHeader h2 {
	margin: 0 0 4px;
	font-size: 1.5rem;
}

.uhpSiteUrl {
	word-break: break-all;
}

.uhpBadge {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 999px;
	font-size: .8rem;
	font-weight: 600;
	vertical-align: middle;
}

.uhpBadge--green {
	background: #dcfce7;
	color: #14532d;
}

.uhpBadge--yellow {
	background: #fef3c7;
	color: #78350f;
}

.uhpBadge--red {
	background: #fee2e2;
	color: #7f1d1d;
}

.uhpBadge--blue {
	background: #dbeafe;
	color: #1e3a8a;
}

.uhpStats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 12px;
	margin-top: 20px;
}

.uhpStat {
	border: 1px solid var(--wcfContentBorderInner);
	border-radius: 8px;
	padding: 12px 14px;
}

.uhpStat strong {
	display: block;
	font-size: 1.4rem;
}

.uhpStat small {
	color: var(--wcfContentDimmedText);
}

.uhpBar {
	height: 6px;
	border-radius: 3px;
	background: var(--wcfContentBorderInner);
	overflow: hidden;
	margin-top: 8px;
}

.uhpBar span {
	display: block;
	height: 100%;
	background: var(--wcfButtonPrimaryBackground);
}

/* Seitenliste */
.uhpPageList {
	width: 100%;
	border-collapse: collapse;
}

.uhpPageList th,
.uhpPageList td {
	padding: 10px 8px;
	border-bottom: 1px solid var(--wcfContentBorderInner);
	text-align: left;
	vertical-align: middle;
}

.uhpPageList th {
	font-size: .85rem;
	color: var(--wcfContentDimmedText);
	font-weight: 600;
}

.uhpPageList td.uhpPageActions {
	text-align: right;
	white-space: nowrap;
}

.uhpPageActions form {
	display: inline;
	margin: 0;
}

.uhpIconButton {
	background: none;
	border: 1px solid var(--wcfContentBorderInner);
	border-radius: 6px;
	color: var(--wcfContentText);
	cursor: pointer;
	padding: 4px 8px;
	line-height: 1;
	font: inherit;
}

.uhpIconButton:hover {
	background: var(--wcfTabularBoxBackgroundActive);
}

.uhpIconButton:disabled {
	opacity: .35;
	cursor: default;
}

.uhpIconButton--danger:hover {
	background: #fee2e2;
	color: #7f1d1d;
}

/* Verzeichnis / Schaufenster */
.uhpShowcase {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 16px;
}

.uhpShowcaseItem {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--wcfContentBorderInner);
	border-radius: 10px;
	overflow: hidden;
	background: var(--wcfContentBackground);
	color: var(--wcfContentText);
	text-decoration: none;
	transition: transform .15s ease, box-shadow .15s ease;
}

.uhpShowcaseItem:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, .1);
	color: var(--wcfContentText);
}

.uhpShowcaseImage {
	aspect-ratio: 16 / 9;
	background: linear-gradient(135deg, var(--uhpShowcaseColor, #1f6feb), var(--uhpShowcaseAccent, #f59e0b));
	background-size: cover;
	background-position: center;
}

.uhpShowcaseImage img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.uhpShowcaseBody {
	padding: 12px 14px;
}

.uhpShowcaseBody strong {
	display: block;
	font-size: 1.05rem;
}

.uhpShowcaseBody small {
	color: var(--wcfContentDimmedText);
}

/* Design-Auswahl */
.uhpLayoutPicker,
.uhpPresetPicker,
.uhpMediaPicker {
	display: grid;
	gap: 12px;
}

.uhpLayoutPicker {
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

.uhpPresetPicker {
	grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
}

.uhpMediaPicker {
	grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
}

.uhpChoice {
	position: relative;
	display: block;
	cursor: pointer;
	border: 2px solid var(--wcfContentBorderInner);
	border-radius: 10px;
	padding: 8px;
	text-align: center;
	font-size: .9rem;
}

.uhpChoice input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.uhpChoice:has(input:checked) {
	border-color: var(--wcfButtonPrimaryBackground);
	box-shadow: 0 0 0 2px var(--wcfButtonPrimaryBackground);
}

.uhpChoice:has(input:focus-visible) {
	outline: 2px solid var(--wcfButtonPrimaryBackground);
	outline-offset: 2px;
}

.uhpLayoutThumb {
	height: 84px;
	border-radius: 6px;
	margin-bottom: 6px;
	border: 1px solid rgba(127, 127, 127, .3);
	background: #fff;
	position: relative;
	overflow: hidden;
}

.uhpLayoutThumb::before,
.uhpLayoutThumb::after {
	content: "";
	position: absolute;
}

.uhpLayoutThumb--klassik::before { left: 0; right: 0; top: 0; height: 26px; background: #1f6feb; }
.uhpLayoutThumb--klassik::after { left: 10px; right: 10px; top: 36px; height: 38px; background: repeating-linear-gradient(#d1d5db 0 6px, transparent 6px 12px); }
.uhpLayoutThumb--modern::before { left: 0; right: 0; top: 0; height: 12px; background: #fff; border-bottom: 1px solid #e5e7eb; }
.uhpLayoutThumb--modern::after { left: 0; right: 0; top: 12px; height: 44px; background: linear-gradient(135deg, #334155, #64748b); }
.uhpLayoutThumb--seitenleiste::before { left: 0; top: 0; bottom: 0; width: 34px; background: #1f6feb; }
.uhpLayoutThumb--seitenleiste::after { left: 44px; right: 10px; top: 12px; height: 60px; background: repeating-linear-gradient(#d1d5db 0 6px, transparent 6px 12px); }
.uhpLayoutThumb--dunkel { background: #0b0f17; }
.uhpLayoutThumb--dunkel::before { left: 0; right: 0; top: 0; height: 24px; background: #111827; border-bottom: 3px solid #f59e0b; }
.uhpLayoutThumb--dunkel::after { left: 10px; right: 10px; top: 36px; height: 38px; background: repeating-linear-gradient(#374151 0 6px, transparent 6px 12px); }
.uhpLayoutThumb--minimal::before { left: 10px; right: 10px; top: 10px; height: 8px; background: #111827; width: 40%; }
.uhpLayoutThumb--minimal::after { left: 20%; right: 20%; top: 30px; height: 44px; background: repeating-linear-gradient(#d1d5db 0 5px, transparent 5px 11px); }
.uhpLayoutThumb--radio::before { left: 0; right: 0; top: 0; height: 18px; background: linear-gradient(90deg, #dc2626, #facc15); }
.uhpLayoutThumb--radio::after { left: 0; right: 0; top: 18px; height: 40px; background: #0f172a; }

.uhpNavThumb--top::before { left: 0; right: 0; top: 0; height: 22px; background: #1f6feb; }
.uhpNavThumb--top::after { left: 60%; right: 8px; top: 8px; height: 6px; background: repeating-linear-gradient(90deg, #fff 0 14px, transparent 14px 20px); }
.uhpNavThumb--left::before { left: 8px; top: 30px; bottom: 8px; width: 34px; background: repeating-linear-gradient(#1f6feb 0 8px, transparent 8px 14px); }
.uhpNavThumb--left::after { left: 50px; right: 8px; top: 30px; height: 44px; background: repeating-linear-gradient(#d1d5db 0 6px, transparent 6px 12px); }
.uhpNavThumb--right::before { right: 8px; top: 30px; bottom: 8px; width: 34px; background: repeating-linear-gradient(#1f6feb 0 8px, transparent 8px 14px); }
.uhpNavThumb--right::after { left: 8px; right: 50px; top: 30px; height: 44px; background: repeating-linear-gradient(#d1d5db 0 6px, transparent 6px 12px); }
.uhpNavThumb--none::before { left: 0; right: 0; top: 0; height: 22px; background: #1f6feb; }
.uhpNavThumb--none::after { left: 8px; right: 8px; bottom: 6px; height: 6px; background: repeating-linear-gradient(90deg, #9ca3af 0 14px, transparent 14px 20px); }

.uhpPresetSwatch {
	display: flex;
	height: 34px;
	border-radius: 6px;
	overflow: hidden;
	margin-bottom: 6px;
	border: 1px solid rgba(127, 127, 127, .3);
}

.uhpPresetSwatch span {
	flex: 1;
}

.uhpColorRow {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 12px;
}

.uhpColorRow label {
	display: flex;
	align-items: center;
	gap: 10px;
}

.uhpColorRow input[type="color"] {
	width: 48px;
	height: 36px;
	padding: 0;
	border: 1px solid var(--wcfContentBorderInner);
	border-radius: 6px;
	background: none;
	cursor: pointer;
}

.uhpMediaThumb {
	aspect-ratio: 1;
	border-radius: 6px;
	overflow: hidden;
	background: repeating-conic-gradient(#e5e7eb 0 25%, #fff 0 50%) 50% / 16px 16px;
	margin-bottom: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.uhpMediaThumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.uhpMediaNone {
	font-size: 2rem;
	color: var(--wcfContentDimmedText);
}

/* Bilderverwaltung */
.uhpMediaGrid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
	gap: 14px;
}

.uhpMediaItem {
	border: 1px solid var(--wcfContentBorderInner);
	border-radius: 8px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.uhpMediaItem .uhpMediaThumb {
	border-radius: 0;
	margin: 0;
}

.uhpMediaInfo {
	padding: 8px 10px;
	font-size: .82rem;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.uhpMediaInfo span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.uhpMediaInfo form {
	margin: 0;
}

/* Nachrichten */
.uhpMessage {
	border: 1px solid var(--wcfContentBorderInner);
	border-radius: 8px;
	padding: 14px 16px;
}

.uhpMessage + .uhpMessage {
	margin-top: 12px;
}

.uhpMessage--unread {
	border-left: 4px solid var(--wcfButtonPrimaryBackground);
}

.uhpMessageMeta {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 6px 16px;
	font-size: .88rem;
	color: var(--wcfContentDimmedText);
	margin-bottom: 8px;
}

.uhpMessageBody {
	white-space: pre-wrap;
	overflow-wrap: anywhere;
}

/* ================= Editor ================= */
.uhpEditorLayout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 20px;
	align-items: start;
}

.uhpEditorSide {
	position: sticky;
	top: 70px;
}

.uhpEditorSide .uhpCard + .uhpCard {
	margin-top: 16px;
}

.uhpEditorSide dl {
	margin: 0;
}

.uhpEditorSide dt {
	font-weight: 600;
	margin: 12px 0 4px;
}

.uhpEditorSide dt:first-child {
	margin-top: 0;
}

.uhpEditorSide dd {
	margin: 0;
}

.uhpEditorSide input[type="text"],
.uhpEditorSide textarea {
	width: 100%;
}

.uhpEditorSaveBar {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.uhpEditorSaveBar .button {
	width: 100%;
	text-align: center;
	justify-content: center;
}

.uhpBlocks {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.uhpBlockEmpty {
	border: 2px dashed var(--wcfContentBorderInner);
	border-radius: 10px;
	padding: 40px 20px;
	text-align: center;
	color: var(--wcfContentDimmedText);
}

.uhpBlock {
	background: var(--wcfContentBackground);
	border: 1px solid var(--wcfContentBorderInner);
	border-radius: 10px;
	transition: box-shadow .15s ease, border-color .15s ease, opacity .15s ease;
}

.uhpBlock:hover,
.uhpBlock:focus-within {
	border-color: var(--wcfButtonPrimaryBackground);
	box-shadow: 0 2px 12px rgba(0, 0, 0, .06);
}

.uhpBlock--dragging {
	opacity: .45;
}

.uhpBlock--dropBefore {
	box-shadow: 0 -4px 0 0 var(--wcfButtonPrimaryBackground);
}

.uhpBlock--dropAfter {
	box-shadow: 0 4px 0 0 var(--wcfButtonPrimaryBackground);
}

.uhpBlockHead {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 10px;
	border-bottom: 1px solid var(--wcfContentBorderInner);
	background: var(--wcfTabularBoxBackgroundActive, rgba(127, 127, 127, .06));
	border-radius: 10px 10px 0 0;
}

.uhpBlockHandle {
	cursor: grab;
	padding: 2px 6px;
	color: var(--wcfContentDimmedText);
	font-size: 1.1rem;
	user-select: none;
}

.uhpBlockTitle {
	flex: 1 1 auto;
	font-weight: 600;
	font-size: .92rem;
}

.uhpBlockTools {
	display: flex;
	gap: 4px;
}

.uhpBlockBody {
	padding: 14px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.uhpField label,
.uhpFieldLabel {
	display: block;
	font-weight: 600;
	font-size: .88rem;
	margin-bottom: 4px;
}

.uhpField input[type="text"],
.uhpField input[type="url"],
.uhpField textarea,
.uhpField select {
	width: 100%;
}

.uhpField small {
	display: block;
	color: var(--wcfContentDimmedText);
	margin-top: 4px;
}

.uhpFieldRow {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 12px;
}

.uhpCheck {
	display: inline-flex;
	gap: 8px;
	align-items: center;
	font-size: .92rem;
}

.uhpInlineHeading {
	width: 100%;
	font-weight: 700;
	border: 1px solid var(--wcfContentBorderInner);
	border-radius: 6px;
	padding: 8px 10px;
	background: transparent;
	color: inherit;
}

.uhpInlineHeading--1 { font-size: 1.6rem; }
.uhpInlineHeading--2 { font-size: 1.3rem; }
.uhpInlineHeading--3 { font-size: 1.1rem; }

/* Rich-Text */
.uhpRte {
	border: 1px solid var(--wcfContentBorderInner);
	border-radius: 8px;
	overflow: hidden;
}

.uhpRteToolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 2px;
	padding: 4px;
	border-bottom: 1px solid var(--wcfContentBorderInner);
	background: var(--wcfTabularBoxBackgroundActive, rgba(127, 127, 127, .06));
}

.uhpRteToolbar button {
	background: none;
	border: 1px solid transparent;
	border-radius: 4px;
	color: var(--wcfContentText);
	cursor: pointer;
	min-width: 30px;
	height: 30px;
	padding: 0 6px;
	font: inherit;
	font-size: .88rem;
}

.uhpRteToolbar button:hover {
	border-color: var(--wcfContentBorderInner);
	background: var(--wcfContentBackground);
}

.uhpRteToolbar .uhpRteSep {
	width: 1px;
	background: var(--wcfContentBorderInner);
	margin: 4px 3px;
}

.uhpRteArea {
	min-height: 110px;
	padding: 10px 12px;
	outline: none;
	line-height: 1.6;
	overflow-wrap: anywhere;
}

.uhpRteArea:empty::before {
	content: attr(data-placeholder);
	color: var(--wcfContentDimmedText);
}

.uhpRteArea p,
.uhpRteArea div {
	margin: 0 0 .7em;
}

.uhpRteArea blockquote {
	border-left: 3px solid var(--wcfContentBorderInner);
	margin: 0 0 .7em;
	padding-left: 12px;
}

.uhpRteArea ul,
.uhpRteArea ol {
	margin: 0 0 .7em;
	padding-left: 1.4em;
}

.uhpRteArea ul { list-style: disc; }
.uhpRteArea ol { list-style: decimal; }

/* Bildauswahl im Block */
.uhpImageField {
	display: flex;
	gap: 12px;
	align-items: center;
	flex-wrap: wrap;
}

.uhpImagePreview {
	width: 120px;
	height: 80px;
	border-radius: 6px;
	border: 1px dashed var(--wcfContentBorderInner);
	background: repeating-conic-gradient(rgba(127, 127, 127, .15) 0 25%, transparent 0 50%) 50% / 14px 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	color: var(--wcfContentDimmedText);
	font-size: 1.4rem;
	flex: 0 0 auto;
}

.uhpImagePreview img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.uhpGalleryItems,
.uhpCardItems {
	display: grid;
	gap: 10px;
}

.uhpGalleryItems {
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}

.uhpGalleryItem,
.uhpCardItem {
	border: 1px solid var(--wcfContentBorderInner);
	border-radius: 8px;
	padding: 8px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.uhpGalleryItem .uhpImagePreview {
	width: 100%;
	height: 90px;
}

.uhpGalleryItem input {
	width: 100%;
}

.uhpItemTools {
	display: flex;
	gap: 4px;
	justify-content: flex-end;
}

/* Einfügen zwischen Blöcken */
.uhpInsert {
	display: flex;
	justify-content: center;
	padding: 6px 0;
	position: relative;
}

.uhpInsert::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 50%;
	border-top: 1px dashed transparent;
}

.uhpInsert:hover::before {
	border-top-color: var(--wcfContentBorderInner);
}

.uhpInsertButton {
	position: relative;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	border: 1px solid var(--wcfContentBorderInner);
	background: var(--wcfContentBackground);
	color: var(--wcfContentText);
	cursor: pointer;
	font-size: 1.1rem;
	line-height: 1;
	opacity: .55;
	transition: opacity .15s ease;
}

.uhpInsert:hover .uhpInsertButton,
.uhpInsertButton:focus-visible {
	opacity: 1;
}

.uhpAddMain {
	margin-top: 12px;
	width: 100%;
	justify-content: center;
}

/* Dialoge */
.uhpDialog {
	border: 0;
	border-radius: 12px;
	padding: 0;
	width: min(820px, calc(100vw - 32px));
	max-height: calc(100vh - 48px);
	background: var(--wcfContentBackground);
	color: var(--wcfContentText);
	box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
}

.uhpDialog::backdrop {
	background: rgba(0, 0, 0, .5);
}

.uhpDialogHead {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 14px 18px;
	border-bottom: 1px solid var(--wcfContentBorderInner);
	position: sticky;
	top: 0;
	background: var(--wcfContentBackground);
	z-index: 1;
}

.uhpDialogHead h3 {
	margin: 0;
	font-size: 1.15rem;
}

.uhpDialogBody {
	padding: 18px;
}

.uhpTypeGrid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 10px;
}

.uhpTypeButton {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	text-align: left;
	padding: 12px;
	border: 1px solid var(--wcfContentBorderInner);
	border-radius: 8px;
	background: none;
	color: inherit;
	cursor: pointer;
	font: inherit;
}

.uhpTypeButton:hover,
.uhpTypeButton:focus-visible {
	border-color: var(--wcfButtonPrimaryBackground);
	background: var(--wcfTabularBoxBackgroundActive, rgba(127, 127, 127, .06));
}

.uhpTypeIcon {
	font-size: 1.4rem;
	line-height: 1;
}

.uhpTypeButton strong {
	font-size: .95rem;
}

.uhpTypeButton small {
	color: var(--wcfContentDimmedText);
	font-size: .8rem;
}

.uhpPickerGrid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
	gap: 10px;
	margin-top: 14px;
}

.uhpPickerItem {
	border: 2px solid transparent;
	border-radius: 8px;
	padding: 0;
	background: none;
	cursor: pointer;
	overflow: hidden;
	aspect-ratio: 1;
}

.uhpPickerItem:hover,
.uhpPickerItem:focus-visible {
	border-color: var(--wcfButtonPrimaryBackground);
}

.uhpPickerItem img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.uhpPickerUpload {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

.uhpPickerUrl {
	display: flex;
	gap: 8px;
	margin-top: 14px;
}

.uhpPickerUrl input {
	flex: 1 1 auto;
}

.uhpPickerStatus {
	font-size: .9rem;
	color: var(--wcfContentDimmedText);
}

.uhpPickerStatus--error {
	color: #dc2626;
}

@media (max-width: 1024px) {
	.uhpEditorLayout {
		grid-template-columns: minmax(0, 1fr);
	}

	.uhpEditorSide {
		position: static;
	}
}

@media (max-width: 600px) {
	.uhpPageList .uhpHideSmall {
		display: none;
	}

	.uhpBlockTools .uhpHideSmall {
		display: none;
	}
}

/* Sendeplan */
.uhpScheduleDay {
	margin: 18px 0 8px;
	font-size: 1rem;
	font-weight: 600;
}

.uhpScheduleList {
	list-style: none;
	margin: 0;
	padding: 0;
}

.uhpScheduleList li {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px 14px;
	padding: 8px 12px;
	border-left: 4px solid #1f6feb;
	border-radius: 6px;
	background: rgba(127, 127, 127, .08);
	margin-bottom: 6px;
}

.uhpScheduleList li.uhpScheduleItem--own {
	border-left-color: #16a34a;
}

.uhpScheduleTime {
	min-width: 110px;
	font-weight: 600;
}

.uhpScheduleTitle {
	flex: 1 1 200px;
}

.uhpScheduleTitle small {
	display: block;
	opacity: .75;
}

.uhpConflictList {
	margin: 8px 0 0 18px;
	list-style: disc;
}

/* Gästebuch */
.uhpReply {
	margin: 10px 0;
}

.uhpReply summary {
	cursor: pointer;
	color: var(--wcfLinkColor);
}

.uhpReply textarea {
	width: 100%;
	margin-top: 8px;
}

/* Mehrere Homepages */
.uhpSiteList {
	list-style: none;
	margin: 0 0 12px;
	padding: 0;
	display: grid;
	gap: 8px;
}

.uhpSiteListItem {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 8px 16px;
	padding: 12px 14px;
	border: 1px solid var(--wcfContentBorderInner);
	border-radius: 8px;
}

.uhpSiteListItem--active {
	border-color: var(--wcfButtonPrimaryBackground);
	box-shadow: inset 4px 0 0 var(--wcfButtonPrimaryBackground);
}

.uhpSiteListItem .uhpSiteUrl {
	font-size: .85rem;
	overflow-wrap: anywhere;
}
