/* =========================================================
   OWLWAYS — LISTENÜBERSICHT
   Herbstdesign / Listen.php
   Passend zum aktuellen --owlh-* Root.
   Enthält Clubs, Popups, Arbeitsplätze, Fähigkeiten,
   Jahrgänge, Blutstatus, Spieler, Avatare, Kurse und AGs.
========================================================= */


/* =========================================================
   BASIS
========================================================= */

#listrahmen {
	width: calc(100% - 20px);
	max-width: var(--owlh-content-width, 1120px);
	margin: 0 auto 38px;

	box-sizing: border-box;

	color: var(--owlh-text);

	font-family: var(--owlh-font-body);
	font-size: 12.5px;
	line-height: 1.7;
}

#listrahmen *,
#listrahmen *::before,
#listrahmen *::after {
	box-sizing: border-box;
}

#listrahmen a {
	color: var(--owlh-accent);
	text-decoration: none;
}

#listrahmen a:hover {
	color: var(--owlh-accent-hover);
	text-decoration: none;
}

#listrahmen b,
#listrahmen strong {
	color: var(--owlh-heading);
}

#listrahmen ul {
	margin: 7px 0;
	padding-left: 18px;
}

#listrahmen li {
	margin: 3px 0;
}

#listrahmen img {
	max-width: 100%;
}

#listrahmen .listbox {
	scroll-margin-top: 18px;
}


/* =========================================================
   SEITENTITEL + TAB-NAVIGATION
========================================================= */

.designh1,
.owl-listnav {
	width: calc(100% - 20px);
	max-width: var(--owlh-content-width, 1120px);

	margin-left: auto;
	margin-right: auto;

	box-sizing: border-box;
}


.designh1 {
	position: relative;

	margin-top: 0;
	margin-bottom: 12px;
	padding: 22px 24px 18px;

	background: var(--owlh-surface-raised);
	border: 1px solid var(--owlh-border-soft);
	box-shadow: 0 6px 18px var(--owlh-shadow);

	color: var(--owlh-heading);

	font-family: var(--owlh-font-serif);
	font-size: 28px;
	font-weight: normal;
	font-style: italic;
	line-height: 1.1;

	text-transform: none;
}


.designh1::after {
	content: "";

	position: absolute;
	left: 24px;
	bottom: 11px;

	width: 55px;
	height: 1px;

	background: var(--owlh-accent);
}


/* =========================================================
   TAB-NAVIGATION
========================================================= */

.owl-listnav {
	margin-bottom: 20px;

	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}


.owl-listnav-group {
	min-width: 0;

	background: var(--owlh-surface);
	border: 1px solid var(--owlh-border-soft);
	box-shadow: 0 4px 14px var(--owlh-shadow);
}


.owl-listnav-head {
	padding: 14px 17px 12px;

	display: flex;
	align-items: center;
	gap: 13px;

	background: var(--owlh-surface-soft);
	border-bottom: 1px solid var(--owlh-border-soft);
}


.owl-listnav-number {
	flex: 0 0 auto;

	color: var(--owlh-accent-soft);

	font-family: var(--owlh-font-serif);
	font-size: 30px;
	font-weight: normal;
	line-height: 1;
}


.owl-listnav-head > div {
	min-width: 0;
	padding-left: 13px;

	border-left: 1px solid var(--owlh-border);
}


.owl-listnav-kicker {
	margin-bottom: 2px;

	display: block;

	color: var(--owlh-accent);

	font-size: 7px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: .13em;

	text-transform: uppercase;
}


.owl-listnav-head h2 {
	margin: 0;

	color: var(--owlh-heading);

	font-family: var(--owlh-font-serif);
	font-size: 17px;
	font-weight: normal;
	font-style: italic;
	line-height: 1.2;
}


.owl-listnav-tabs {
	padding: 12px;

	display: flex;
	align-items: stretch;
	flex-wrap: wrap;
	gap: 6px;
}


.owl-listnav-tab {
	min-height: 32px;

	padding: 7px 10px;

	display: inline-flex;
	align-items: center;
	justify-content: center;

	background: var(--owlh-surface-raised);
	border: 1px solid var(--owlh-border);

	color: var(--owlh-text-soft) !important;

	font-size: 8px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: .055em;

	text-align: center;
	text-decoration: none !important;
	text-transform: uppercase;

	cursor: pointer;
}


.owl-listnav-tab:hover {
	background: var(--owlh-accent-soft);
	border-color: var(--owlh-border-strong);

	color: var(--owlh-accent-hover) !important;
}


.owl-listnav-tab.is-active {
	background: var(--owlh-nav-bg);
	border-color: var(--owlh-nav-bg);

	color: var(--owlh-nav-text) !important;
}


.owl-listnav-tab[hidden] {
	display: none !important;
}


/* externe Ziele bleiben optisch klar von den eigentlichen Tabs getrennt */

.owl-listnav-links {
	padding: 9px 12px 11px;

	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px 11px;

	border-top: 1px solid var(--owlh-border-soft);
}


.owl-listnav-links > span {
	color: var(--owlh-text-muted);

	font-size: 7px;
	font-weight: 700;
	letter-spacing: .10em;

	text-transform: uppercase;
}


.owl-listnav-links a {
	position: relative;

	color: var(--owlh-text-muted);

	font-size: 9.5px;
	line-height: 1.4;

	text-decoration: none;
}


.owl-listnav-links a:hover {
	color: var(--owlh-accent);
}


.owl-listnav-links a + a::before {
	content: "·";

	position: absolute;
	left: -7px;

	color: var(--owlh-border-strong);
}


/* =========================================================
   TAB-FUNKTION
   Die einzelnen Listen selbst werden nicht umgestylt.
========================================================= */

/*
 * Die Klasse auf <html> wird direkt im <head> gesetzt.
 * Dadurch blitzen beim Laden nicht erst alle Listen untereinander auf.
 * Ohne JavaScript bleibt die bisherige vollständige Listenansicht erhalten.
 */

html.owl-listtabs-js #listrahmen > .listbox {
	display: none;
}


html.owl-listtabs-js #listrahmen > .listbox.is-active {
	display: block;
}


#listrahmen > .owl-listtab-panel {
	scroll-margin-top: 18px;
}


#listrahmen > .owl-listtab-panel[hidden] {
	display: none !important;
}


/* =========================================================
   ALLGEMEINE LISTENABSCHNITTE
========================================================= */

#listrahmen .listbox {
	margin: 0 0 18px;

	overflow: hidden;

	background: var(--owlh-surface);
	border: 1px solid var(--owlh-border-soft);
	box-shadow: 0 6px 18px var(--owlh-shadow);
}

#listrahmen .listbox > table {
	width: 100% !important;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	border-spacing: 0;
}

#listrahmen .listbox > table .thead {
	padding: 16px 20px 14px !important;

	background: var(--owlh-surface-soft) !important;
	border: 0 !important;
	border-bottom: 1px solid var(--owlh-border-soft) !important;

	color: var(--owlh-heading) !important;
}

#listrahmen .listbox > table .thead h2 {
	position: relative;

	margin: 0;
	padding: 0 0 8px;

	color: var(--owlh-heading) !important;

	font-family: var(--owlh-font-serif);
	font-size: 21px;
	font-weight: normal;
	font-style: italic;
	line-height: 1.2;

	text-transform: none;
}

#listrahmen .listbox > table .thead h2::after {
	content: "";

	position: absolute;
	left: 0;
	bottom: 0;

	width: 45px;
	height: 1px;

	background: var(--owlh-accent);
}

#listrahmen .listp {
	padding: 18px 20px 20px;

	background: var(--owlh-surface);

	color: var(--owlh-text-soft);

	font-size: 12.5px;
	line-height: 1.72;
}

#listrahmen .listp > br:first-child {
	display: none;
}


/* =========================================================
   SCROLLBEREICHE
========================================================= */


#listrahmen .listpoverflow,
#listrahmen .listpoverflow2,
#listrahmen [style*="overflow:auto"],
#listrahmen [style*="overflow: auto"],
#listrahmen .pop {
	scrollbar-width: thin;
	scrollbar-color: var(--owlh-scroll-thumb) var(--owlh-scroll-track);
}

#listrahmen .listpoverflow::-webkit-scrollbar,
#listrahmen .listpoverflow2::-webkit-scrollbar,
#listrahmen [style*="overflow:auto"]::-webkit-scrollbar,
#listrahmen [style*="overflow: auto"]::-webkit-scrollbar,
#listrahmen .pop::-webkit-scrollbar {
	width: 6px;
	height: 6px;
}

#listrahmen .listpoverflow::-webkit-scrollbar-track,
#listrahmen .listpoverflow2::-webkit-scrollbar-track,
#listrahmen [style*="overflow:auto"]::-webkit-scrollbar-track,
#listrahmen [style*="overflow: auto"]::-webkit-scrollbar-track,
#listrahmen .pop::-webkit-scrollbar-track {
	background: var(--owlh-scroll-track);
}

#listrahmen .listpoverflow::-webkit-scrollbar-thumb,
#listrahmen .listpoverflow2::-webkit-scrollbar-thumb,
#listrahmen [style*="overflow:auto"]::-webkit-scrollbar-thumb,
#listrahmen [style*="overflow: auto"]::-webkit-scrollbar-thumb,
#listrahmen .pop::-webkit-scrollbar-thumb {
	background: var(--owlh-scroll-thumb);
}

#listrahmen .listpoverflow::-webkit-scrollbar-thumb:hover,
#listrahmen .listpoverflow2::-webkit-scrollbar-thumb:hover,
#listrahmen [style*="overflow:auto"]::-webkit-scrollbar-thumb:hover,
#listrahmen [style*="overflow: auto"]::-webkit-scrollbar-thumb:hover,
#listrahmen .pop::-webkit-scrollbar-thumb:hover {
	background: var(--owlh-scroll-hover);
}


/* =========================================================
   GENERISCHE FLEX-KLASSEN INNERHALB DER LISTEN
========================================================= */

#listrahmen .boxflex,
#listrahmen .boxflexw {
	display: flex;
}

#listrahmen .boxflexw {
	flex-wrap: wrap;
}

#listrahmen .boxflexac {
	align-items: center;
}

#listrahmen .boxflexjb {
	justify-content: space-between;
}

#listrahmen .boxflexjs {
	justify-content: flex-start;
}


/* =========================================================
   CLUBS UND SPORTWAHLFÄCHER
========================================================= */

#clubs > .listp > .listpoverflow2 {
	margin-top: 16px;
	padding: 2px 2px 4px;
}

#clubs > .listp > .listpoverflow2 > .clubflex {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: stretch;
	gap: 10px;
}

#clubs .club {
	position: relative;

	min-width: 0;
	padding: 0 0 15px;

	display: flex;
	flex-direction: column;

	overflow: hidden;

	background: var(--owlh-surface-raised);
	border: 1px solid var(--owlh-border-soft);

	color: var(--owlh-text-soft);
}

#clubs .club > img {
	width: 100%;
	height: 135px;

	display: block;

	object-fit: cover;
	object-position: center;

	border: 0;
	border-bottom: 1px solid var(--owlh-border-soft);

	filter: saturate(.9) contrast(.96);
}

#clubs .club > h2 {
	min-height: 52px;

	margin: 0;
	padding: 12px 13px 9px;

	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;

	color: var(--owlh-heading);

	font-family: var(--owlh-font-serif);
	font-size: 16px;
	font-weight: normal;
	font-style: italic;
	line-height: 1.25;
}

#clubs .club > h2 form {
	margin: 0 0 0 auto;
	flex: 0 0 auto;
}

#clubs .clubbutton {
	min-width: 28px;
	min-height: 28px;

	padding: 5px 7px;

	background: var(--owlh-surface-soft);
	border: 1px solid var(--owlh-border);

	color: var(--owlh-accent);

	font-family: var(--owlh-font-body);
	font-size: 9px;

	cursor: pointer;
}

#clubs .clubbutton:hover {
	background: var(--owlh-accent-soft);
	border-color: var(--owlh-border-strong);
	color: var(--owlh-accent-hover);
}

#clubs .clubdesc {
	padding: 0 13px 12px;

	flex: 1 1 auto;

	color: var(--owlh-text-soft);

	font-size: 11.5px;
	line-height: 1.65;

	text-align: left;
}

#clubs .club > a[href^="#popinfo_"] {
	margin: 0 13px;
	padding: 8px 10px;

	display: block;

	background: var(--owlh-surface-soft);
	border: 1px solid var(--owlh-border);

	color: var(--owlh-accent);

	text-align: center;
}

#clubs .club > a[href^="#popinfo_"]:hover {
	background: var(--owlh-accent-soft);
	border-color: var(--owlh-border-strong);
	color: var(--owlh-accent-hover);
}

#clubs .club > a[href^="#popinfo_"] h4 {
	margin: 0;

	color: inherit;

	font-family: var(--owlh-font-body);
	font-size: 8px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: .08em;

	text-transform: uppercase;
}

#clubs .clubgesuche {
	margin: 12px 13px 0;
	padding-top: 10px;

	border-top: 1px solid var(--owlh-border-soft);
}

#clubs .clubgesuche h3 {
	margin: 0 0 6px;

	color: var(--owlh-text-muted);

	font-size: 8px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: .09em;

	text-transform: uppercase;
}


/* =========================================================
   CLUB-POPUPS / INFOPOP
   Öffnen über :target, schließen über #close.
========================================================= */

#listrahmen .infopop {
	position: fixed;
	z-index: 99999;

	inset: 0;

	padding: 38px 24px;

	display: flex;
	align-items: center;
	justify-content: center;

	background: var(--owlh-overlay);

	opacity: 0;
	visibility: hidden;
	pointer-events: none;

	transition:
		opacity .18s ease,
		visibility .18s ease;
}

#listrahmen .infopop:target {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

#listrahmen .infopop .pop {
	position: relative;

	width: min(920px, 100%);
	max-height: calc(100vh - 76px);

	overflow: auto;

	background: var(--owlh-surface-raised);
	border: 1px solid var(--owlh-border-strong);
	box-shadow: 0 18px 50px var(--owlh-shadow-deep);

	color: var(--owlh-text);
}

#listrahmen .infopop .pop::before {
	content: "Clubinformationen";

	position: sticky;
	z-index: 5;
	top: 0;

	padding: 10px 16px 9px;

	display: block;

	background: var(--owlh-nav-bg);
	border-bottom: 1px solid var(--owlh-heading);

	color: var(--owlh-nav-muted);

	font-size: 8px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: .13em;

	text-transform: uppercase;
}

#listrahmen .infopop [id="postbag2"] {
	padding: 18px;
}

#listrahmen .infopop [id="postbag2"] > .clubflex {
	display: grid !important;
	grid-template-columns: 170px repeat(3, minmax(0, 1fr));
	align-items: stretch;
	gap: 10px;
}

#listrahmen .infopop [id="postbag2"] > .clubflex > div:first-child {
	min-width: 0;
}

#listrahmen .infopop [id="postbag2"] > .clubflex > div:first-child img {
	width: 100%;
	height: 170px;

	display: block;

	object-fit: cover;
	object-position: center;

	background: var(--owlh-surface-soft);
	border: 1px solid var(--owlh-border);
}

#listrahmen .clubminiinfo {
	min-width: 0;
	padding: 13px;

	background: var(--owlh-surface);
	border: 1px solid var(--owlh-border-soft);

	color: var(--owlh-text-soft);

	font-size: 11px;
	line-height: 1.55;
}

#listrahmen .clubminiinfo h4 {
	position: relative;

	margin: 0 0 10px;
	padding-bottom: 7px;

	color: var(--owlh-heading);

	font-family: var(--owlh-font-serif);
	font-size: 14px;
	font-weight: normal;
	font-style: italic;
	line-height: 1.2;
}

#listrahmen .clubminiinfo h4::after {
	content: "";

	position: absolute;
	left: 0;
	bottom: 0;

	width: 28px;
	height: 1px;

	background: var(--owlh-accent);
}

#listrahmen .clubminiinfo p {
	margin: 0;
}

#listrahmen .clubminiinfo ul {
	margin: 5px 0 0;
	padding-left: 16px;
}

#listrahmen .clubminiinfo ul > b {
	display: block;
	margin: 8px 0 3px;

	color: var(--owlh-text-muted);

	font-size: 8px;
	font-weight: 700;
	letter-spacing: .07em;

	text-transform: uppercase;
}


/* Schließen */

#listrahmen .closepop {
	position: absolute;
	z-index: 100000;

	top: 14px;
	right: 18px;

	padding: 7px 10px;

	background: var(--owlh-surface-raised);
	border: 1px solid var(--owlh-border);

	color: var(--owlh-accent) !important;

	box-shadow: 0 4px 12px var(--owlh-shadow);
}

#listrahmen .closepop:hover {
	background: var(--owlh-accent-soft);
	color: var(--owlh-accent-hover) !important;
}

#listrahmen .closepop h4 {
	margin: 0;

	color: inherit;

	font-family: var(--owlh-font-body);
	font-size: 8px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: .08em;

	text-transform: uppercase;
}


/* =========================================================
   ARBEITSPLÄTZE
========================================================= */

#jobs .berufsflex_outer {
	display: block;
}

#jobs .berufsflex_out {
	margin: 0 0 20px;

	scroll-margin-top: 18px;

	background: var(--owlh-surface);
	border: 1px solid var(--owlh-border-soft);
}

#jobs .berufsflex_out:last-child {
	margin-bottom: 0;
}

#jobs .berufsflex_out > table {
	width: 100% !important;
	border-collapse: collapse;
}

#jobs .berufsflex_out > table .thead {
	padding: 14px 17px 12px !important;

	background: var(--owlh-surface-soft) !important;
	border: 0 !important;
	border-bottom: 1px solid var(--owlh-border-soft) !important;
}

#jobs .berufsflex_out > table h2 {
	margin: 0;

	color: var(--owlh-heading);

	font-family: var(--owlh-font-serif);
	font-size: 19px;
	font-weight: normal;
	font-style: italic;
}

#jobs .berufsflex_out > .listp {
	padding: 15px;
}


/* Job-Navigation */

#jobs .familynav1 {
	margin: 0 0 15px;
	padding: 6px;

	display: flex !important;
	align-items: center !important;
	justify-content: flex-start !important;
	flex-wrap: wrap;
	gap: 5px;

	background: var(--owlh-surface-soft);
	border: 1px solid var(--owlh-border-soft);
}

#jobs .familynav1 a {
	display: block;
}

#jobs .familynav1 h4 {
	margin: 0;
	padding: 7px 9px;

	background: var(--owlh-surface-raised);
	border: 1px solid var(--owlh-border);

	color: var(--owlh-text-soft);

	font-family: var(--owlh-font-body);
	font-size: 8px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: .06em;

	text-transform: uppercase;
}

#jobs .familynav1 a:hover h4 {
	background: var(--owlh-accent-soft);
	border-color: var(--owlh-border-strong);
	color: var(--owlh-accent-hover);
}


/* Hauptkategorie */

#jobs .berufskat {
	position: relative;

	margin: 2px 0 16px;
	padding: 15px 17px 12px;

	background: var(--owlh-nav-bg);

	color: var(--owlh-nav-text);

	font-family: var(--owlh-font-serif);
	font-size: 21px;
	font-weight: normal;
	font-style: italic;
	line-height: 1.2;
}

#jobs .berufskat::after {
	content: "";

	position: absolute;
	left: 17px;
	bottom: 7px;

	width: 46px;
	height: 1px;

	background: var(--owlh-accent);
}


/* Zwischenüberschriften */

#jobs .designh2 {
	margin: 20px 0 8px;
	padding: 0 0 8px;

	border-bottom: 1px solid var(--owlh-border-soft);

	color: var(--owlh-heading);

	font-family: var(--owlh-font-serif);
	font-size: 18px;
	font-weight: normal;
	font-style: italic;
	line-height: 1.25;
}

#jobs .timelineh2 {
	margin: 16px 0 8px;
	padding: 7px 10px;

	background: var(--owlh-surface-soft);
	border-left: 2px solid var(--owlh-accent);

	color: var(--owlh-text-soft);

	font-size: 9px;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: .06em;

	text-transform: uppercase;
}


/* einzelne Arbeitsstelle */

#jobs .timeleg {
	margin: 7px 0 !important;
	padding: 0;

	overflow: hidden;

	background: var(--owlh-surface-raised);
	border: 1px solid var(--owlh-border-soft);
}

#jobs .timeleg > div:first-child {
	margin: 0 !important;
	padding: 10px 13px 9px;

	background: var(--owlh-surface);
	border-bottom: 1px solid var(--owlh-border-soft);

	text-align: left !important;
	text-transform: none !important;
}

#jobs .familyname {
	color: var(--owlh-heading);

	font-family: var(--owlh-font-serif);
	font-size: 15px;
	font-weight: normal;
	font-style: italic;
	line-height: 1.25;

	text-align: left;
	text-transform: none;
}

#jobs .timeleg > .boxflex {
	display: grid !important;
	grid-template-columns: 1.35fr .9fr 1fr;
	align-items: stretch;
}

#jobs .timeleg > .boxflex > .boxf3 {
	width: auto !important;
	min-width: 0;
	padding: 13px !important;

	border-right: 1px solid var(--owlh-border-soft);
}

#jobs .timeleg > .boxflex > .boxf3:last-child {
	border-right: 0;
}

#jobs .familydesc {
	color: var(--owlh-text-soft);

	font-size: 11.5px;
	line-height: 1.65;

	text-align: left;
}

#jobs .familyfact {
	margin: 0 0 6px;
	padding: 0 0 6px;

	border-bottom: 1px solid var(--owlh-border-soft);

	color: var(--owlh-text-muted);

	font-size: 10.5px;
	line-height: 1.5;
}

#jobs .familyfact:last-of-type {
	border-bottom: 0;
}

#jobs .familyh5 {
	margin: 0 0 7px;

	color: var(--owlh-accent);

	font-size: 8px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: .08em;

	text-transform: uppercase;
}

#jobs .familydesc ul {
	margin: 0;
	padding-left: 16px;
}


/* =========================================================
   FÄHIGKEITEN / BLUTSTATUS / AVATARE
========================================================= */

#skills .listpoverflow2,
#blut .listpoverflow,
#blut .listpoverflow2,
#vavas .listpoverflow {
	margin-top: 15px;
}

#skills .listpoverflow2 > h3,
#vavas .avabox > h3,
#blut .avabox > h3 {
	position: relative;

	margin: 12px 0 10px;
	padding-bottom: 7px;

	border-bottom: 1px solid var(--owlh-border-soft);

	color: var(--owlh-heading);

	font-family: var(--owlh-font-serif);
	font-size: 17px;
	font-weight: normal;
	font-style: italic;
	line-height: 1.2;
}

#skills .listpoverflow2 > h3::after,
#vavas .avabox > h3::after,
#blut .avabox > h3::after {
	content: "";

	position: absolute;
	left: 0;
	bottom: -1px;

	width: 34px;
	height: 1px;

	background: var(--owlh-accent);
}

#skills .boxflexw.boxflexjs,
#blut .boxflexw.boxflexjs,
#vavas .boxflexw.boxflexjs {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 9px;
}

#listrahmen .avabox {
	width: auto !important;
	min-width: 0;
	padding: 12px 13px;

	background: var(--owlh-surface-raised);
	border: 1px solid var(--owlh-border-soft);

	color: var(--owlh-text-soft);
}

#listrahmen .avabox h4 {
	margin: 0 0 8px;
	padding: 0 0 6px;

	border-bottom: 1px solid var(--owlh-border-soft);

	color: var(--owlh-heading);

	font-family: var(--owlh-font-serif);
	font-size: 14px;
	font-weight: normal;
	font-style: italic;
	line-height: 1.2;
}

#listrahmen .avabox ul {
	margin: 0;
	padding-left: 16px;
}

#listrahmen .avabox li {
	margin: 3px 0;

	color: var(--owlh-text-soft);

	font-size: 10.5px;
	line-height: 1.5;
}

#blut .avabox > div[style*="max-height"] {
	padding: 3px !important;

	color: var(--owlh-text-soft);

	font-size: 10.5px;
	line-height: 1.65;
}


/* =========================================================
   JAHRGÄNGE
========================================================= */

#jahrgang .listp > ul {
	margin: 0;
	padding: 0 5px 0 0;

	columns: 2 330px;
	column-gap: 28px;

	list-style: none;
}

#jahrgang .listp > ul h2 {
	margin: 12px 0 5px;
	padding: 6px 9px;

	break-after: avoid;
	break-inside: avoid;

	background: var(--owlh-surface-soft);
	border-left: 2px solid var(--owlh-accent);

	color: var(--owlh-heading);

	font-family: var(--owlh-font-serif);
	font-size: 14px;
	font-weight: normal;
	font-style: italic;
	line-height: 1.3;
}

#jahrgang .listp > ul h2:first-child {
	margin-top: 0;
}

#jahrgang .listp > ul p {
	margin: 0;
	padding: 4px 9px;

	break-inside: avoid;

	border-bottom: 1px solid var(--owlh-border-soft);

	color: var(--owlh-text-soft);

	font-size: 10.5px;
	line-height: 1.5;
}


/* =========================================================
   SPIELERÜBERSICHT / ZWEITCHARAKTERLISTE
========================================================= */

#spieler #playerlist > .boxflexw.boxflexjs {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: stretch;
	gap: 10px;
}

#spieler #playerlist > .boxflexw.boxflexjs > .boxf3 {
	width: auto !important;
	min-width: 0;
	padding: 0 !important;
}

#spieler .zweitcharaboxlist {
	height: 100%;

	padding: 0;

	overflow: hidden;

	background: var(--owlh-surface-raised);
	border: 1px solid var(--owlh-border-soft);
}

#spieler .zweitcharauser {
	padding: 9px 11px;

	background: var(--owlh-surface-soft);
	border-bottom: 1px solid var(--owlh-border-soft);

	color: var(--owlh-heading);

	font-family: var(--owlh-font-serif);
	font-size: 15px;
	font-weight: normal;
	font-style: italic;
	line-height: 1.2;
}

#spieler .zweitcharaboxlist > .text {
	min-height: 76px;
	max-height: 145px !important;

	padding: 10px !important;

	display: flex;
	align-content: flex-start;
	justify-content: center;
	flex-wrap: wrap;
	gap: 6px;

	overflow: auto !important;

	background: var(--owlh-surface);

	text-align: center !important;
}

#spieler .zweitcharasavas {
	width: 58px !important;
	height: 58px !important;

	display: block;

	object-fit: cover;
	object-position: center;

	background: var(--owlh-surface-soft);
	border: 1px solid var(--owlh-border);

	cursor: pointer;
}

#spieler .zweitcharasavas:hover {
	border-color: var(--owlh-accent);
}

#spieler .shorty {
	min-height: 58px;
	padding: 10px 11px 11px;

	border-top: 1px solid var(--owlh-border-soft);

	color: var(--owlh-text-soft);

	font-size: 11px;
	line-height: 1.5;

	text-align: center;
}

#spieler .shorty a {
	color: var(--owlh-heading);

	font-family: var(--owlh-font-serif);
	font-size: 13px;
}

#spieler .zweitcharafraktion {
	margin-top: 5px;

	color: var(--owlh-accent);

	font-size: 8px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: .08em;

	text-transform: uppercase;
}


/* =========================================================
   BUCHCHARAKTERE
========================================================= */

#buchcharas .listpoverflow2 {
	margin-top: 14px;

	column-gap: 30px;

	color: var(--owlh-text-muted);

	font-size: 10.5px;
	line-height: 1.75;
}

#buchcharas .listpoverflow2 a {
	color: var(--owlh-heading);

	font-family: var(--owlh-font-serif);
	font-size: 11.5px;
}

#buchcharas .listpoverflow2 a:hover {
	color: var(--owlh-accent);
}


/* =========================================================
   AVATARRESERVIERUNGEN
========================================================= */

#ravas .listpoverflow2 {
	margin-top: 14px;
	padding: 2px 4px 2px 0;
}

#ravas .listpoverflow2 ul {
	margin: 0;
	padding: 0;

	list-style: none;
}

#ravas .listpoverflow2 li {
	margin: 0;
	padding: 9px 10px;

	border-bottom: 1px solid var(--owlh-border-soft);

	color: var(--owlh-text-muted);

	font-size: 10.5px;
	line-height: 1.5;
}

#ravas .listpoverflow2 li:nth-child(odd) {
	background: var(--owlh-surface-raised);
}

#ravas .listpoverflow2 li:last-child {
	border-bottom: 0;
}

#ravas .listpoverflow2 li b {
	color: var(--owlh-heading);
}


/* =========================================================
   KURSE / AGS
========================================================= */

#kurse .listpoverflow2,
#ags .listpoverflow2 {
	margin-top: 15px;
	padding-right: 4px;
}

#kurse .listpoverflow2 > h3,
#ags .listpoverflow2 > h3 {
	position: relative;

	margin: 10px 0 12px;
	padding: 11px 13px;

	background: var(--owlh-nav-bg);

	color: var(--owlh-nav-text);

	font-family: var(--owlh-font-serif);
	font-size: 18px;
	font-weight: normal;
	font-style: italic;
	line-height: 1.2;
}

#kurse .listpoverflow2 > h3 > span,
#ags .listpoverflow2 > h3 > span {
	margin-top: 4px;

	display: block;

	color: var(--owlh-nav-muted);

	font-family: var(--owlh-font-body);
	font-size: 8px;
	font-weight: 700;
	font-style: normal;
	letter-spacing: .09em;

	text-transform: uppercase;
}

#kurse .listpoverflow2 > .boxflexw,
#ags .listpoverflow2 > .boxflexw {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

#kurse .listpoverflow2 > .boxflexw > .boxf2,
#ags .listpoverflow2 > .boxflexw > .boxf2 {
	width: auto !important;
	min-width: 0;
	padding: 13px !important;

	background: var(--owlh-surface-raised);
	border: 1px solid var(--owlh-border-soft);

	color: var(--owlh-text-soft);

	font-size: 11px;
	line-height: 1.55;
}

#kurse .listpoverflow2 > .boxflexw > .boxf2 > h4,
#ags .listpoverflow2 > .boxflexw > .boxf2 > h4 {
	position: relative;

	margin: 0 0 9px;
	padding: 0 0 7px;

	border-bottom: 1px solid var(--owlh-border-soft);

	color: var(--owlh-heading);

	font-family: var(--owlh-font-serif);
	font-size: 15px;
	font-weight: normal;
	font-style: italic;
	line-height: 1.25;
}

#kurse .listpoverflow2 > .boxflexw > .boxf2 > h4::after,
#ags .listpoverflow2 > .boxflexw > .boxf2 > h4::after {
	content: "";

	position: absolute;
	left: 0;
	bottom: -1px;

	width: 28px;
	height: 1px;

	background: var(--owlh-accent);
}


/* Unterstufe / Oberstufe innerhalb eines Fachs */

#kurse .listpoverflow2 > .boxflexw > .boxf2 > .boxflexw,
#ags .listpoverflow2 > .boxflexw > .boxf2 > .boxflexw {
	margin-top: 12px;

	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 7px;
}

#kurse .listpoverflow2 > .boxflexw > .boxf2 > .boxflexw > .boxf2,
#ags .listpoverflow2 > .boxflexw > .boxf2 > .boxflexw > .boxf2 {
	width: auto !important;
	min-width: 0;
	padding: 9px !important;

	background: var(--owlh-surface);
	border: 1px solid var(--owlh-border-soft);

	color: var(--owlh-text-muted);
}

#kurse .boxf2 h5,
#ags .boxf2 h5 {
	margin: 0 0 7px;

	color: var(--owlh-accent);

	font-size: 8px;
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: .08em;

	text-transform: uppercase;
}

#kurse .boxf2 li,
#ags .boxf2 li {
	margin: 3px 0;

	color: var(--owlh-text-soft);

	font-size: 10px;
	line-height: 1.45;
}


/* =========================================================
   SONSTIGE GENERIERTE ÜBERSCHRIFTEN
========================================================= */

#listrahmen .listp > h2 {
	position: relative;

	margin: 14px 0 8px;
	padding-bottom: 7px;

	border-bottom: 1px solid var(--owlh-border-soft);

	color: var(--owlh-heading);

	font-family: var(--owlh-font-serif);
	font-size: 17px;
	font-weight: normal;
	font-style: italic;
	line-height: 1.2;
}

#listrahmen .listp > h2::after {
	content: "";

	position: absolute;
	left: 0;
	bottom: -1px;

	width: 36px;
	height: 1px;

	background: var(--owlh-accent);
}


/* =========================================================
   FOKUS / TASTATURNAVIGATION
========================================================= */

#listrahmen a:focus-visible,
#listrahmen button:focus-visible,
#listrahmen input:focus-visible {
	outline: 2px solid var(--owlh-accent);
	outline-offset: 2px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

	#clubs > .listp > .listpoverflow2 > .clubflex {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	#listrahmen .infopop [id="postbag2"] > .clubflex {
		grid-template-columns: 150px repeat(2, minmax(0, 1fr));
	}

	#listrahmen .infopop .clubminiinfo:last-child {
		grid-column: 2 / -1;
	}

	#jobs .timeleg > .boxflex {
		grid-template-columns: 1.2fr 1fr;
	}

	#jobs .timeleg > .boxflex > .boxf3:last-child {
		grid-column: 1 / -1;

		border-top: 1px solid var(--owlh-border-soft);
		border-right: 0;
	}

	#skills .boxflexw.boxflexjs,
	#blut .boxflexw.boxflexjs,
	#vavas .boxflexw.boxflexjs {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	#spieler #playerlist > .boxflexw.boxflexjs {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

	#listrahmen,
	.owl-listnav,
	.designh1 {
		width: calc(100% - 12px);
	}

	.designh1 {
		padding: 19px 17px 16px;

		font-size: 24px;
	}

	.designh1::after {
		left: 17px;
		bottom: 9px;
	}

	.owl-listnav {
		grid-template-columns: 1fr;
	}

	.owl-listnav-head {
		padding: 13px 15px 11px;
	}

	.owl-listnav-tabs {
		padding: 10px;
	}

	.owl-listnav-tab {
		flex: 1 1 calc(50% - 6px);
	}

	.owl-listnav-links {
		padding-left: 10px;
		padding-right: 10px;
	}

	#listrahmen .listbox > table .thead {
		padding: 14px 15px 12px !important;
	}

	#listrahmen .listbox > table .thead h2 {
		font-size: 19px;
	}

	#listrahmen .listp {
		padding: 15px;

		font-size: 12.5px;
		line-height: 1.72;
	}

	/* auf kleinen Displays keine verschachtelten Scrollflächen */
	#listrahmen .listpoverflow,
	#listrahmen .listpoverflow2 {
		max-height: none;
		overflow: visible;
	}

	#clubs > .listp > .listpoverflow2 > .clubflex {
		grid-template-columns: 1fr;
	}

	#clubs .club {
		display: grid;
		grid-template-columns: 120px minmax(0, 1fr);
		grid-template-rows: auto auto auto auto;
	}

	#clubs .club > img {
		grid-column: 1;
		grid-row: 1 / 5;

		width: 120px;
		height: 100%;

		min-height: 175px;

		border-right: 1px solid var(--owlh-border-soft);
		border-bottom: 0;
	}

	#clubs .club > h2,
	#clubs .clubdesc,
	#clubs .club > a[href^="#popinfo_"],
	#clubs .clubgesuche {
		grid-column: 2;
	}

	#clubs .club > h2 {
		min-height: 0;
		padding-top: 11px;
	}

	#clubs .clubdesc {
		padding-bottom: 8px;
	}

	#clubs .club > a[href^="#popinfo_"] {
		margin-bottom: 2px;
	}

	/* Popup */
	#listrahmen .infopop {
		padding: 12px;

		align-items: flex-start;
	}

	#listrahmen .infopop .pop {
		width: 100%;
		max-height: calc(100vh - 24px);
	}

	#listrahmen .infopop [id="postbag2"] {
		padding: 14px;
	}

	#listrahmen .infopop [id="postbag2"] > .clubflex {
		grid-template-columns: 110px minmax(0, 1fr);
	}

	#listrahmen .infopop [id="postbag2"] > .clubflex > div:first-child img {
		height: 110px;
	}

	#listrahmen .infopop .clubminiinfo:last-child {
		grid-column: 1 / -1;
	}

	#listrahmen .closepop {
		top: 19px;
		right: 22px;
	}

	/* Jobs */
	#jobs .familynav1 {
		align-items: stretch !important;
	}

	#jobs .familynav1 a {
		flex: 1 1 calc(50% - 5px);
	}

	#jobs .familynav1 h4 {
		height: 100%;
		text-align: center;
	}

	#jobs .timeleg > .boxflex {
		grid-template-columns: 1fr;
	}

	#jobs .timeleg > .boxflex > .boxf3 {
		border-right: 0;
		border-bottom: 1px solid var(--owlh-border-soft);
	}

	#jobs .timeleg > .boxflex > .boxf3:last-child {
		grid-column: auto;
		border-top: 0;
		border-bottom: 0;
	}

	/* Kategorien */
	#skills .boxflexw.boxflexjs,
	#blut .boxflexw.boxflexjs,
	#vavas .boxflexw.boxflexjs {
		grid-template-columns: 1fr;
	}

	#jahrgang .listp > ul {
		columns: 1;
	}

	#spieler #playerlist > .boxflexw.boxflexjs {
		grid-template-columns: 1fr;
	}

	/* inline column-count aus dem Template übersteuern */
	#buchcharas .listpoverflow2 {
		column-count: 1 !important;
	}

	/* Kurse und AGs */
	#kurse .listpoverflow2 > .boxflexw,
	#ags .listpoverflow2 > .boxflexw {
		grid-template-columns: 1fr;
	}

}


/* =========================================================
   KLEINE SMARTPHONES
========================================================= */

@media (max-width: 480px) {

	#listrahmen,
	.owl-listnav,
	.designh1 {
		width: calc(100% - 8px);
	}

	.owl-listnav-tab {
		flex-basis: 100%;
	}

	.owl-listnav-links {
		align-items: flex-start;
		flex-direction: column;
		gap: 3px;
	}

	.owl-listnav-links a + a::before {
		display: none;
	}

	#clubs .club {
		display: flex;
	}

	#clubs .club > img {
		width: 100%;
		height: 125px;
		min-height: 0;

		border-right: 0;
		border-bottom: 1px solid var(--owlh-border-soft);
	}

	#listrahmen .infopop {
		padding: 7px;
	}

	#listrahmen .infopop .pop {
		max-height: calc(100vh - 14px);
	}

	#listrahmen .infopop .pop::before {
		padding-right: 82px;
	}

	#listrahmen .infopop [id="postbag2"] {
		padding: 11px;
	}

	#listrahmen .infopop [id="postbag2"] > .clubflex {
		grid-template-columns: 1fr;
	}

	#listrahmen .infopop [id="postbag2"] > .clubflex > div:first-child img {
		width: 100%;
		height: 145px;
	}

	#listrahmen .infopop .clubminiinfo:last-child {
		grid-column: auto;
	}

	#listrahmen .closepop {
		top: 13px;
		right: 13px;
	}

	#jobs .familynav1 a {
		flex-basis: 100%;
	}

	#kurse .listpoverflow2 > .boxflexw > .boxf2 > .boxflexw,
	#ags .listpoverflow2 > .boxflexw > .boxf2 > .boxflexw {
		grid-template-columns: 1fr;
	}

}
