/* =========================================================
   OWLWAYS — USERCP NAVIGATION
   Neue eigenständige Gestaltung mit einzigartigen Klassen.
   Keine Abhängigkeit von .boxflex, .boxf5, .bbgreyer etc.
========================================================= */

.owucp {
	width: calc(100% - 20px);
	max-width: var(--owlh-content-width, 1120px);
	margin: 0 auto 22px;
	color: var(--owlh-text);
	font-family: var(--owlh-font-body);
	font-size: 11px;
	line-height: 1.55;
}

.owucp *,
.owucp *::before,
.owucp *::after {
	box-sizing: border-box;
}


/* =========================================================
   HEADER
========================================================= */

.owucp-head {
	position: relative;
	margin-bottom: 10px;
	padding: 22px 24px;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 20px;
	overflow: hidden;
	background: var(--owlh-surface-raised);
	border: 1px solid var(--owlh-border-soft);
	box-shadow: 0 5px 16px var(--owlh-shadow);
}

.owucp-head::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 4px;
	height: 100%;
	background: var(--owlh-accent);
}

.owucp-head-main {
	position: relative;
	z-index: 1;
	min-width: 0;
}

.owucp-eyebrow {
	display: block;
	margin-bottom: 4px;
	color: var(--owlh-text-muted);
	font-size: 7px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
}

.owucp-head h2 {
	margin: 0;
	padding: 0;
	color: var(--owlh-accent);
	font-family: var(--owlh-font-serif);
	font-size: 29px;
	font-weight: normal;
	font-style: italic;
	line-height: 1.1;
}

.owucp-head p {
	max-width: 620px;
	margin: 8px 0 0;
	color: var(--owlh-text-soft);
	font-size: 10.5px;
	line-height: 1.6;
}

.owucp-head-mark {
	flex: 0 0 auto;
	color: var(--owlh-accent-soft);
	font-family: var(--owlh-font-serif);
	font-size: 54px;
	font-style: italic;
	line-height: .8;
	opacity: .75;
}


/* =========================================================
   GRID
========================================================= */

.owucp-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 9px;
	align-items: stretch;
}


/* =========================================================
   CARD
========================================================= */

.owucp-card {
	position: relative;
	min-width: 0;
	overflow: hidden;
	background: var(--owlh-surface);
	border: 1px solid var(--owlh-border-soft);
	box-shadow: 0 4px 14px var(--owlh-shadow);
}

.owucp-card::after {
	content: "";
	position: absolute;
	right: -32px;
	bottom: -42px;
	width: 125px;
	height: 125px;
	transform: rotate(45deg);
	background: var(--owlh-accent-soft);
	opacity: .08;
	pointer-events: none;
}

.owucp-card-ingame {
	grid-column: span 2;
}


/* =========================================================
   CARD HEAD
========================================================= */

.owucp-card-head {
	position: relative;
	z-index: 1;
	min-height: 74px;
	padding: 14px 15px 13px;
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr);
	gap: 10px;
	align-items: start;
	background: var(--owlh-surface-soft);
	border-bottom: 1px solid var(--owlh-border-soft);
}

.owucp-card-no {
	padding-top: 1px;
	color: var(--owlh-accent-soft);
	font-family: var(--owlh-font-serif);
	font-size: 27px;
	font-style: italic;
	line-height: 1;
}

.owucp-card-kicker {
	display: block;
	margin-bottom: 3px;
	color: var(--owlh-text-muted);
	font-size: 6.5px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.owucp-card h3 {
	margin: 0;
	padding: 0;
	color: var(--owlh-accent);
	font-family: var(--owlh-font-serif);
	font-size: 15px;
	font-weight: normal;
	font-style: italic;
	line-height: 1.2;
	text-transform: none;
}


/* =========================================================
   LINKS
========================================================= */

.owucp-card-links {
	position: relative;
	z-index: 1;
	padding: 9px;
	display: grid;
	gap: 3px;
}

.owucp-card-links a {
	min-width: 0;
	min-height: 31px;
	padding: 6px 8px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 9px;
	background: transparent;
	border: 1px solid transparent;
	color: var(--owlh-text-soft);
	font-size: 10.5px;
	line-height: 1.35;
	text-decoration: none;
}

.owucp-card-links a span:first-child {
	min-width: 0;
}

.owucp-card-links a span:last-child {
	flex: 0 0 auto;
	color: var(--owlh-border-strong);
	font-size: 12px;
}

.owucp-card-links a:hover {
	background: var(--owlh-surface-soft);
	border-color: var(--owlh-border-soft);
	color: var(--owlh-accent);
}

.owucp-card-links a:hover span:last-child {
	color: currentColor;
}

.owucp-card-links .owucp-link-main {
	background: var(--owlh-accent-soft);
	border-color: var(--owlh-border-soft);
	color: var(--owlh-accent-hover);
	font-weight: 700;
}

.owucp-card-links .owucp-link-main:hover {
	background: var(--owlh-accent);
	border-color: var(--owlh-accent);
	color: var(--owlh-hero-text);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {
	.owucp-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.owucp-card-ingame {
		grid-column: auto;
	}
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {
	.owucp {
		width: calc(100% - 12px);
	}

	.owucp-head {
		align-items: flex-start;
		flex-direction: column;
		padding: 18px 17px;
	}

	.owucp-head h2 {
		font-size: 24px;
	}

	.owucp-head-mark {
		position: absolute;
		right: 14px;
		bottom: 10px;
		font-size: 42px;
		opacity: .35;
	}

	.owucp-grid {
		grid-template-columns: 1fr;
		gap: 7px;
	}
}


/* =========================================================
   FOCUS
========================================================= */

.owucp a:focus-visible {
	outline: 2px solid var(--owlh-accent);
	outline-offset: 2px;
}
