// KALENDER IM FORUMBIT

/* INDEX-SZENENTRACKER */

.kalender-block,
.pers-list,
.plot-list {
	box-sizing: border-box;
	color: var(--fontcolor);
	font-size: 11px;
	line-height: 1.6;
}

/* KALENDERBLOCK */

.kalender-block {
	width: 250px;

	background: var(--darkbg);
}

/* MONATSNAVIGATION */

.kalender-header {
	display: grid;
	grid-template-columns: 34px 1fr 34px;
	align-items: center;
	margin-bottom: 12px;
	padding: 7px 8px;
	background: var(--darkbg);
}

.kalender-header h2 {
	margin: 0;
	padding: 0;
	text-align: center;
	font-size: 18px;
	color: var(--accent);
	letter-spacing: 1px;
}

#kalender-month-label {
	display: block;
	white-space: nowrap;
}

.kalender-header button {
	width: 24px;
	height: 24px;
	margin: 0 auto;
	border: 0;
	color: var(--accent);
	font-size: 15px;
	font-weight: bold;
	cursor: pointer;
}

.kalender-header button:hover {
	background: var(--accent);
	color: var(--white);
}

/* KALENDER */

.kalender table {
	width: 100%;
	border-collapse: collapse;
	text-align: center;
}

.kalender th {
	background: var(--darkbg);
	color: var(--fontcolor);
	font-size: 9px;
	font-weight: bold;
}

.kalender td {
	position: relative;
	width: 14.28%;
	height: 23px;
	background: var(--darkbg);
	border: 1px solid var(--darkestbg);
	color: var(--fontcolor);
	vertical-align: middle;
}

.kalender td:empty {
	background: var(--darkbg);
	color: transparent;
}

/* PLOTS: nur Rahmen */

.kalender td.highlight-plot {
	box-shadow: inset 0 0 0 2px var(--gold);
	font-weight: bold;
}

.kalender td.highlight-plot::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	width: 9px;
	height: 9px;
	background: var(--gold);
}

/* INGAMETAGE */

.kalender td.highlight-user {
	background: var(--pink);
	color: var(--black);
	font-weight: bold;
	box-shadow: none;
}

/* Eigene Szene + Plot: persönliche Szene gewinnt, Plot als Ecke */

.kalender td.highlight-personal.highlight-plot {
	background: var(--turkis);
	box-shadow: inset 0 0 0 2px var(--gold);
	color: var(--white);
}

.kalender td.highlight-personal.highlight-plot::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	width: 9px;
	height: 9px;
	background: var(--gold);
}

/* Ingame + Plot */

.kalender td.highlight-user.highlight-plot {
	background: var(--pink);
	color: var(--black);
	box-shadow: inset 0 0 0 2px var(--gold);
}

.kalender td.highlight-user.highlight-plot::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	width: 9px;
	height: 9px;
	background: var(--gold);
}

/* Ingame + Eigene Szene: eigene Szene gewinnt */

.kalender td.highlight-user.highlight-personal {
	background: var(--turkis);
	color: var(--white);
	box-shadow: none;
}

/* Ingame + Eigene Szene + Plot */

.kalender td.highlight-user.highlight-personal.highlight-plot {
	background: var(--turkis);
	color: var(--white);
box-shadow: inset 0 0 0 2px var(--gold);
}

/* EIGENE SZENEN: wichtiger als Plots */

.kalender td.highlight-personal {
	background: var(--turkis) !important;
	color: var(--white);
	font-weight: bold;
	box-shadow: none;
}

.kalender td.highlight-user.highlight-personal.highlight-plot::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	width: 9px;
	height: 9px;
	background: var(--gold);
}

/* VOLLMOND: Kreis in der Zelle */

.kalender td.highlight-fullmoon::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 24px;
	height: 24px;
	transform: translate(-50%, -50%);
	border: 2px solid #DCCFA4;
	border-radius: 50%;
	pointer-events: none;
}

/* LEGENDE */

.kalender-block > div[style*="display:flex"] {
	justify-content: center !important;
	flex-wrap: wrap;
	gap: 5px;
	margin-top: 10px !important;
	font-size: 8px !important;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.kalender-block > div[style*="display:flex"] div {
	margin: 0 !important;
	padding: 3px 6px !important;
}

.kalender-block > div[style*="display:flex"] .highlight-user {
	background: var(--pink) !important;
	color: var(--black) !important;
}

.kalender-block > div[style*="display:flex"] .highlight-plot {
	background: var(--gold) !important;
	color: var(--white) !important;
	box-shadow: none;
}

.kalender-block > div[style*="display:flex"] .highlight-personal {
	background: var(--turkis) !important;
	color: var(--white) !important;
}

.kalender-block > div[style*="display:flex"] .highlight-fullmoon {
	border: 2px solid #DCCFA4;
	border-radius:10px;
}


/* LISTEN */

.pers-list,
.plot-list {
	width: 32%;
	padding: 12px 18px;
}

.pers-list h2,
.plot-list h2 {
	margin: 0 0 14px;
	color: var(--grey);
	font-size: 20px;
	letter-spacing: 0.5px;
}

#persList,
#plotList {
	margin: 0 !important;
	padding: 0 0 0 14px;
	list-style: square;
}

#persList li,
#plotList li {
	margin-bottom: 5px;
	color: var(--accent);
}

#persList a,
#plotList a {
	color: var(--accent);
	text-decoration: none;
	font-weight: bold;
}

#persList a:hover,
#plotList a:hover {
	color: var(--linkcolor);
	text-decoration: underline;
}
// KALENDER IM PROFIL

.szenenkalender {
	box-sizing: border-box;
	width: 100%;
	margin:auto auto;
	max-width: 360px;
	padding: 18px;
	background: var(--lights);
	border: 1px solid var(--highlights);
	color: var(--fontcolor);
	font-size: 11px;
	line-height: 1.6;
}

.kalenderkopf {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 14px;
	padding-bottom: 10px;
	border-bottom: 1px solid var(--highlights);
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 9px;
	color: var(--accent);
}

#kalmonat {
	font-weight: bold;
	color: var(--fontcolor);
}

.kalbtn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	background: var(--highlights);
	color: var(--linkcolor);
	text-decoration: none;
	font-size: 13px;
	transition: 0.3s ease;
}

.kalbtn:hover {
	background: var(--accent);
	color: var(--lights);
}

.kalendertabelle {
	width: 100%;
	border-collapse: separate;
	border-spacing: 4px;
	text-align: center;
}

.kalendertabelle th {
	padding: 5px 0;
	font-size: 8px;
	font-weight: normal;
	text-transform: uppercase;
	letter-spacing: 1px;
	color: var(--accent);
}

.kalendertabelle td {
	width: 14.28%;
	height: 28px;
	background: var(--hgnormal);
	border: 1px solid transparent;
	color: var(--fontcolor);
	vertical-align: middle;
	transition: 0.25s ease;
}

.kalendertabelle td:empty {
	background: transparent;
	border-color: transparent;
}

.kalendertabelle td:not(:empty):hover {
	background: var(--highlights);
	border-color: var(--middletone);
}

.kalendertabelle td.highlight {
	background: var(--accent);
	border-color: var(--accent);
	color: var(--lights);
	font-weight: bold;
	box-shadow: inset 0 0 0 3px var(--lights);
}

.szenenliste {
	margin: 18px 0 0 0 !important;
	padding: 12px 14px;
	max-height: 250px;
	overflow: auto;
	background: var(--npcinfo);
	border-left: 3px solid var(--accent);
	list-style: none;
}

.szenenliste li {
	margin: 0 0 8px 0;
	padding: 0;
}

.szenenliste li:last-child {
	margin-bottom: 0;
}

.szenenliste a {
	color: var(--accent);
	text-decoration: none;
	font-size: 10px;
	line-height: 1.5;
}

.szenenliste a:hover {
	color: var(--accent);
	text-decoration: underline;
}

.szenenliste::-webkit-scrollbar {
	width: 5px;
}

.szenenliste::-webkit-scrollbar-track {
	background: var(--lights);
}

.szenenliste::-webkit-scrollbar-thumb {
	background: var(--middletone);
}

.szenenliste::-webkit-scrollbar-thumb:hover {
	background: var(--accent);
}