/* =========================================================
   KALENDER – EDITORIAL / TRANSPARENT
   ========================================================= */



.kalender-wrapper {
	position: relative;
display:grid;
	grid-template-columns:
		minmax(220px, 0.8fr)
		minmax(250px, 1fr)
		minmax(250px, 1fr);
	gap: clamp(34px, 5vw, 72px);

	align-items: start;
	margin-top: 72px;
	padding: 30px 70px;
}

.kalender-wrapper::before {
	content: "INGAME KALENDER, TERMINKALENDER & PLOTS";
padding-left:68px;
	position: absolute;
	top: 0;
	left: 0;
	color: var(--fire-accent-light);
	font-size: 16px;
	font-weight: 700;
	letter-spacing: .32em;
	line-height: 1.5;
	text-transform: uppercase;
	margin-left:30px;

	background:
		linear-gradient(
			to right,
			var(--accent) 48px,
			transparent 48px
		)
		left center / 48px 1px no-repeat;
}


/* =========================================================
   MONATSKALENDER
   ========================================================= */

.kalender-container {
	min-width: 0;
}

.kalender-container table {
	width: 100%;
	max-width: none;
	margin: 0;

	border-collapse: separate;
	border-spacing: 3px;
	table-layout: fixed;
}

.kalender-container th,
.kalender-container td {
	width: 14.285%;
	height: 27px;
	padding: 0;

	color: rgba(209, 216, 214, 0.72);
	font-size: 10px;
	font-weight: 400;
	line-height: 1;
	text-align: center;
	vertical-align: middle;

	border: 0;
}

.kalender-container th {
	color: rgba(227, 232, 230, 0.84);
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.05em;
}

.kalender-container td {
	position: relative;

	transition:
		color 0.18s ease,
		background 0.18s ease;
}

.kalender-container td:hover {
	color: #ffffff;
	background: rgba(165, 195, 200, 0.06);
}

.kalender-container h3 {
	position: relative;

	margin: 0 0 22px;
	padding: 0 0 11px;

	color: var(--fire-accent-light);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.28em;
	line-height: 1.5;
	text-align: left;
	text-transform: uppercase;

	border: 0;
}

.kalender-container h3::after {
	content: "";

	position: absolute;
	left: 0;
	bottom: 0;

	width: 58px;
	height: 1px;

	background: var(--accent);
}


/* =========================================================
   KALENDERNAVIGATION
   ========================================================= */

.kalender-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;

	margin: 0 0 16px;
}

.kalender-nav button {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	width: 28px;
	height: 28px;
	margin: 0;
	padding: 0;

	color: var(--accent-light);
	font-size: 12px;
	line-height: 1;

	background: transparent;
	border: 1px solid rgba(175, 145, 174, 0.46);

	cursor: pointer;

	transition:
		color 0.18s ease,
		border-color 0.18s ease,
		background 0.18s ease,
		transform 0.18s ease;
}

.kalender-nav button:hover {
	color: #ffffff;
	background: rgba(175, 145, 174, 0.08);
	border-color: var(--accent);
	transform: translateY(-1px);
}


/* =========================================================
   LISTENBEREICHE
   ========================================================= */

.plot-list,
.pers-list {
	position: relative;

	width: auto;
	min-width: 0;
	max-height: 250px;
	padding: 0 0 0 28px;

	overflow: auto;
	box-sizing: border-box;

	color: rgba(207, 214, 212, 0.76);
	font-size: 10px;
	line-height: 1.55;

	border-left: 1px solid rgba(165, 195, 200, 0.1);

	scrollbar-width: thin;
	scrollbar-color: var(--accent) transparent;
}

.plot-list h4,
.pers-list h4 {
	position: sticky;
	z-index: 2;
	top: 0;

	margin: 0 0 18px;
	padding: 0 0 10px;

	color: var(--fire-accent-light);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.28em;
	line-height: 1.5;
	text-transform: uppercase;

	background: var(--fire-bg-dark);
	border-bottom: 1px solid rgba(165, 195, 200, 0.08);
}

.plot-list ul,
.pers-list ul {
	margin: 0;
	padding: 0;

	max-height: none;
	overflow: visible;

	list-style: none;
}

.plot-list li,
.pers-list li {
	position: relative;

	margin: 0 0 10px;
	padding-left: 17px;

	color: rgba(205, 213, 211, 0.7);
}

.plot-list li::before,
.pers-list li::before {
	content: "—";

	position: absolute;
	left: 0;
	top: 0;

	color: var(--accent);
}

.plot-list a,
.pers-list a {
	color: rgba(185, 145, 179, 0.9);
	font-weight: 600;
	text-decoration: none;

	transition: color 0.18s ease;
}

.plot-list a:hover,
.pers-list a:hover {
	color: #ffffff;
}


/* =========================================================
   SCROLLBARS
   ========================================================= */

.plot-list::-webkit-scrollbar,
.pers-list::-webkit-scrollbar {
	width: 4px;
}

.plot-list::-webkit-scrollbar-track,
.pers-list::-webkit-scrollbar-track {
	background: transparent;
}

.plot-list::-webkit-scrollbar-thumb,
.pers-list::-webkit-scrollbar-thumb {
	background: rgba(175, 145, 174, 0.4);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 980px) {

	.kalender-wrapper {
		grid-template-columns:
			minmax(220px, 0.8fr)
			minmax(0, 1fr);

		gap: 40px;
	}

	.plot-list:last-child,
	.pers-list:last-child {
		grid-column: 1 / -1;
		padding-left: 0;

		border-left: 0;
		border-top: 1px solid rgba(165, 195, 200, 0.1);
		padding-top: 26px;
	}

}

@media (max-width: 700px) {

	.kalender-wrapper {
		grid-template-columns: 1fr;
		gap: 34px;

		padding:
			30px
			24px
			34px;
	}

	.plot-list,
	.pers-list {
		padding: 24px 0 0;
		border-left: 0;
		border-top: 1px solid rgba(165, 195, 200, 0.1);
	}

}

.highlight-user {
    font-weight: bold;
    color: var(--txt);
	background:var(--hbg);
}

.highlight-plot {
    font-weight: bold;
    color: var(--accent);
	 background-color: var(--body);
}

.highlight-personal {
font-weight:bold;
color:var(--body);
    background-color: var(--accent);
}

.highlight-fullmoon {
    background-color: rgba(255, 255, 200, 0.6);
    border-radius: 100%;
	padding:3px;
	color:#0d0d0d;
}
