﻿:root {
	--bg-color: #1c1c1c;
	--text-color: #ffeecc;
	--header-bg: linear-gradient(to bottom, #202020 0%, #a0a0a0 1%, #303030 2%, #202020 98%, #404040 98%, #202020 100%);
	--logoline-bg: radial-gradient(closest-side, #244, transparent);
	--toolbar-bg: linear-gradient(to bottom, #222 0%, #111 100%);
	--toolbar-solid-bg: #161616;
	--toolbar-text: #ffeecc;
	--toolbar-border-light: #585858;
	--toolbar-border-dark: #282828;
	--badge-bg: linear-gradient(to bottom, #222 0%, #111 100%);
	--badge-text: #fab81b;

	/* mod card (dark theme = current look) */
	--card-face: linear-gradient(#282828 0%, #080808 90%, #181818 100%);
	--card-frame: linear-gradient(to bottom, #666 0%, #444 1%, #333 5%, #333 10%, #222 90%, #222 95%, #222 98%, #222 100%);
	--card-panel: linear-gradient(to bottom, #222 0%, #111 100%);
	--card-panel-hover: linear-gradient(to bottom, #282828 0%, #181818 100%);
	--card-rivet-small: linear-gradient(to bottom, #2a2a2a 0%, #1a1a1a 100%);
	--card-edge-top: #585858;
	--card-edge-bottom: #282828;
	--card-edge-side: #222;
	--card-text: #ffeecc;
	--card-accent: #fab81b;
	--card-cyan: #00eeee;
	--desc-bg: radial-gradient(closest-side, rgba(0,30,40,1) 0%, rgba(0,20,20,1) 30%, rgba(0,0,0,1) 100%);
	--download-icon: #0ff;
}

body.light {
	--bg-color: #c8c8c8;
	--text-color: #2a2a2a;
	--header-bg: linear-gradient(to bottom, #b8b8b8 0%, #d4d4d4 1%, #aaaaaa 2%, #b8b8b8 98%, #c4c4c4 98%, #b8b8b8 100%);
	--logoline-bg: radial-gradient(closest-side, #a8c0c4, transparent);
	--toolbar-bg: linear-gradient(to bottom, #d8d8d8 0%, #b0b0b0 100%);
	--toolbar-solid-bg: #c2c2c2;
	--toolbar-text: #2a2a2a;
	--toolbar-border-light: #e8e8e8;
	--toolbar-border-dark: #888888;

	/* mod card (subtly lifted grays, dark text; cyan/teal HUD accents stay dark) */
	--card-face: linear-gradient(#cfcfcf 0%, #a5a5a5 90%, #bcbcbc 100%);
	--card-frame: linear-gradient(to bottom, #eee 0%, #ccc 1%, #bbb 5%, #bbb 10%, #a4a4a4 90%, #a4a4a4 95%, #a4a4a4 98%, #a4a4a4 100%);
	--card-panel: linear-gradient(to bottom, #c4c4c4 0%, #a2a2a2 100%);
	--card-panel-hover: linear-gradient(to bottom, #d0d0d0 0%, #aeaeae 100%);
	--card-rivet-small: linear-gradient(to bottom, #c8c8c8 0%, #a6a6a6 100%);
	--card-edge-top: #ececec;
	--card-edge-bottom: #8a8a8a;
	--card-edge-side: #9a9a9a;
	--card-text: #2a2a2a;
	--card-accent: #7a4a00;
	--card-cyan: #0d5f73;
	--desc-bg: radial-gradient(closest-side, rgba(20,58,70,1) 0%, rgba(14,42,50,1) 30%, rgba(6,22,28,1) 100%);
	--download-icon: #0b5a70;
}

/* clip horizontal overshoot (e.g. stamp zoom animation) without creating a scrollbar */
html, body {
	overflow-x: clip;
}

.body {
	background-color: var(--bg-color);
	margin:0px;
	padding:0px;
	font-family:
    "Arial Narrow", Arial, "Segoe UI", /* Windows */
	-apple-system,                     /* Safari auf OS X oder iOS (San Francisco) */
    BlinkMacSystemFont,                /* Chrome < 56 auf OS X (San Francisco) */
    "Roboto Condensed", Roboto,        /* Android */
    "Helvetica Neue",                  /* Fallback */
    sans-serif;
	color: var(--text-color); font-size: calc(11px + 0.5vw);
	transition: background-color 0.3s, color 0.3s;
}

.aussen { text-align:center; }

.aussen div {
	display:inline-block;
	margin:0px;
	padding:0px;
	vertical-align: middle;
}

.aussen_mod { text-align:center;}

         
.aussen_mod div {
	display: inline-block;
	margin:2px;
	padding:1px;
	vertical-align: middle;
}

.div_topline {
	z-index: 1500;
	position: sticky;
	top: 0;
	width: 100%; height: auto; line-height: 150%;
	background-color: #111; 
	font-family: arial;
	text-align:center; color: #00ffaa; font-size: 0.8em; font-weight:600;
}

.aussen .div_headline {
	width: 100%;
	box-sizing: border-box;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	padding: 0px 20px;
	background-image: var(--header-bg);
	box-shadow: 0px 8px 8px -8px rgba(0,0,0,0.75);
	opacity: 0.85;
}

.aussen .div_donate {
	flex: 1 1 0;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
}

.aussen .div_social {
	flex: 1 1 0;
	display: flex;
	justify-content: center;
	align-items: center;
	white-space: nowrap;
}

.div_logoline {
	display: flex; 
    justify-content: center; 
    align-items: center;
	width: 100%; height: 160px; line-height: 160px;
	text-align:center; color: #fab81b;
	background-image: var(--logoline-bg);
	filter: drop-shadow(0px 2px 3px #000);
}

.div_champilogo {
	width: 150px; height: 150px; border-radius: 75px;
	background-image: url('gfx/logo_champiswotmods.svg');
	background-position: 50% 50%; background-size: auto 100%; background-repeat: no-repeat;
	filter: drop-shadow(0px 0px 4px #00a0c0);
	animation: champilogo 10s 3s infinite;
	animation-direction: alternate;
}

.div_champilogo:hover {
	animation-play-state: paused;
}

@keyframes champilogo {
	0% {
		filter: drop-shadow(0px 0px 4px #00a0c0);
		animation-timing-function: ease-in-out;
	}
	20% {
		filter: drop-shadow(0px 0px 10px #00efff);
	}
	30% {
		filter: drop-shadow(0px 0px 4px #00a0c0);
	}
	80% {
		transform: rotate(-360deg);
	}
	100% {
		filter: drop-shadow(0px 0px 4px #00a0c0);
		transform: rotate(-360deg);
	}
}

.div_middle {display: none;}

.div_button_active {
	position: relative;
	top: -2px;
	width: 180px; height: 30px; line-height: 30px;
	border-radius: 15px; border-top: 1px solid #0aa; border-bottom: 1px solid #066; border-left: 1px solid #444; border-right: 1px solid #444;
	color: #fab81b; font-size: calc(11px + 0.3vw);
	background:
    url('gfx/fx_rivetsingle.svg') 2% 50% no-repeat,
    url('gfx/fx_rivetsingle.svg') 98% 50% no-repeat,
    linear-gradient(to bottom, #222 0%, #111 100%); background-size: 6% auto;
   	box-shadow: inset 0px 0px 5px 1px rgba(0,255,255,0.45), 0px 1px 2px 2px rgba(0,0,0,0.55);
}

.div_button {
	position: relative;
	top: -2px;
	width: 180px; height: 30px; line-height: 30px;
	border-radius: 15px; border-top: 1px solid #585858; border-bottom: 1px solid #282828; border-left: 1px solid #222; border-right: 1px solid #222;
	color: #ffeecc; font-size: calc(11px + 0.3vw);
	background:
    url('gfx/fx_rivetsingle.svg') 2% 50% no-repeat,
    url('gfx/fx_rivetsingle.svg') 98% 50% no-repeat, 
    linear-gradient(to bottom, #222 0%, #111 100%); background-size: 6% auto;
   	box-shadow: 0px 1px 2px 2px rgba(0,0,0,0.55);
}

.div_button:hover {
	position: relative;
	top: -2px;
	width: 180px; height: 30px; line-height: 30px;
	border-radius: 15px; border-top: 1px solid #999; border-bottom: 1px solid #555; border-left: 1px solid #444; border-right: 1px solid #444;
	color: #ffeecc; font-size: calc(11px + 0.3vw);
	background:
    url('gfx/fx_rivetsingle.svg') 2% 50% no-repeat,
    url('gfx/fx_rivetsingle.svg') 98% 50% no-repeat,
    linear-gradient(to bottom, #222 0%, #111 100%); background-size: 6% auto;
   	box-shadow: inset 0px 0px 5px 1px rgba(255,255,255,0.35), 0px 1px 2px 2px rgba(0,0,0,0.55);
}

.div_button:active {
	background:
    url('gfx/fx_rivetsingle.svg') 2% 50% no-repeat,
    url('gfx/fx_rivetsingle.svg') 98% 50% no-repeat,
    linear-gradient(to bottom, #333 0%, #666 100%); background-size: 6% auto;
	border-top: 1px solid #787878;
	border-bottom: 1px solid #787878;
	border-left: 1px solid #555;
	border-right: 1px solid #555;
	box-shadow: 0px 0px 1px 3px rgba(255,255,255,0.10);
	color: #ddccaa;
}

/* .div_donate {
	width: 25%; height: 50px; min-width: 300px; 
	font-size: 1.5em; color: #ffffff; 
}
 */

.div_social {
	line-height: auto;
}

.donate {width: auto; cursor: default;}
/*.donate:hover {filter: drop-shadow(0px 0px 5px #ab8428); cursor: pointer;}*/

input[type="submit"] {
	display: none;
}

svg.submit {
	/* background-color: #000033;*/
	height: 40px;
	width: auto;
	transition: 0.1s;
	vertical-align:middle;
}

svg.submit:hover {
	cursor: pointer;
}

/* --- [DONATE FORM] --- */

.div_donateform {
	display: flex;
	align-items: center;
	gap: 6px;
}

.div_donateamount,
.div_donatecurrency {
	height: 30px; line-height: 30px;
	padding: 0px 8px;
	border-radius: 15px;
	border-top: 1px solid var(--toolbar-border-light);
	border-bottom: 1px solid var(--toolbar-border-dark);
	border-left: 1px solid var(--toolbar-border-dark);
	border-right: 1px solid var(--toolbar-border-dark);
	color: var(--toolbar-text); font-size: calc(11px + 0.3vw); font-family: inherit;
	background: var(--toolbar-bg);
	box-shadow: 0px 1px 2px 2px rgba(0,0,0,0.55);
	/* no transition here: animating background on a <select> makes Chrome
	   re-render the control and nudge its text by 1-2px */
}

.div_donateamount {
	width: 55px;
	text-align: center;
}

.div_donateamount option,
.div_donatecurrency option {
	background-color: var(--toolbar-solid-bg);
	color: var(--toolbar-text);
}

.div_donateamount option:checked,
.div_donateamount option:hover,
.div_donatecurrency option:checked,
.div_donatecurrency option:hover {
	background-color: #006060;
	color: #ffffff;
}

.div_donateamount:focus,
.div_donatecurrency:focus {
	outline: none;
	box-shadow: inset 0px 0px 5px 1px rgba(0,255,255,0.45), 0px 1px 2px 2px rgba(0,0,0,0.55);
}

.div_explanation {
	font-family: 'Source Code Pro', monospace, 'Fixedsys';
	display: list-item;
	width: 100%; min-width: 300px;
	text-align:center;
}

.div_placeholders_examples {
	font-family: 'Source Code Pro', monospace, 'Fixedsys';
	display: list-item;
	width: 100%; min-width: 300px;
	text-align:left;
}

.div_placeholders_table {
	font-family: 'Source Code Pro', monospace, 'Fixedsys';
	display: block;
	width:100%;
}

.div_placeholders_table:after {
   visibility: hidden;
   display: block;
   font-size: 0;
   content: " ";
   clear: both;
   height: 0;
}

.div_placeholders_head {
	background-color: #000033;
	border: 0px solid #999999;
	float: left;
	width:100%;
	overflow:hidden;
	height:30%;
	color: #00ffff;
}

.div_placeholders_row {
	border: 0px solid #999999;
	min-width: 300px;
	width:99%;
}

.div_placeholder_cell1 {
	width:30%;
	overflow:hidden;
	height:30%;
	color: #f8f8f8;
	float: left;
	text-align: left;
	min-width: 200px;
	
}
.div_placeholder_cell2 {
	width:50%;
	overflow:hidden;
	height:30%;
	color: #ffeecc;
	float: left;
	text-align: left;
	vertical-align: top;
}
.div_discord {
	width: 30px; height: 30px;
	background-image: url('gfx/social_discord.svg');
	background-position: 50% 50%; background-repeat: no-repeat;
	background-size: 20px 20px;
	filter: drop-shadow(0px 0px 1px #000);
	transition: 0.1s;
}

.div_discord:hover {
	background-size: 30px 30px;
	filter: drop-shadow(0px 4px 4px #000);
}

.div_facebook {
	width: 30px; height: 30px;
	background-image: url('gfx/social_facebook.png');
	background-position: 50% 50%; background-repeat: no-repeat;
	background-size: 20px 20px;
	filter: drop-shadow(0px 0px 1px #000);
	transition: 0.1s;
}

.div_facebook:hover {
	background-size: 30px 30px;
	filter: drop-shadow(0px 4px 4px #000);
}

.div_reddit {
	width: 30px; height: 30px;
	background-image: url('gfx/social_reddit.svg');
	background-position: 50% 50%; background-repeat: no-repeat;
	background-size: 20px 20px;
	filter: drop-shadow(0px 0px 1px #000);
	transition: 0.1s;
}

.div_reddit:hover {
	background-size: 30px 30px;
	filter: drop-shadow(0px 4px 4px #000);
}

.div_retro {
	width: 30px; height: 30px;
	background-image: url('gfx/champi_retro.svg');
	background-position: 50% 50%; background-repeat: no-repeat;
	background-size: 20px 20px;
	filter: drop-shadow(0px 0px 1px #000);
	transition: 0.1s;
}

.div_retro:hover {
	background-size: 30px 30px;
	filter: drop-shadow(0px 4px 4px #000);
}

.div_twitter {
	width: 30px; height: 30px;
	background-image: url('gfx/social_twitter2.svg');
	background-position: 50% 50%; background-repeat: no-repeat;
	background-size: 20px 20px;
	filter: drop-shadow(0px 0px 1px #000);
	transition: 0.1s;
}

.div_twitter:hover {
	background-size: 30px 30px;
	filter: drop-shadow(0px 4px 4px #000);
}

.div_twitch {
	width: 30px; height: 30px;
	background-image: url('gfx/social_twitch2.svg');
	background-position: 50% 50%; background-repeat: no-repeat;
	background-size: 20px 20px;
	filter: drop-shadow(0px 0px 1px #000);
	transition: 0.1s;
}

.div_twitch:hover {
	background-size: 30px 30px;
	filter: drop-shadow(0px 4px 4px #000);
}

.div_patreon {
	width: 30px; height: 30px;
	background-image: url('gfx/social_patreon.svg');
	background-position: 50% 50%; background-repeat: no-repeat;
	background-size: 20px 20px;
	/* filter: drop-shadow(0px 0px 1px #000); */
	transition: 0.1s;
}

.div_patreon:hover {
	background-size: 30px 30px;
	filter: drop-shadow(0px 4px 4px #000);
}

/* --- [TOOLBAR / SEARCH / SORT] --- */

.div_toolbarline {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	width: 100%; height: auto;
	padding: 10px 0px;
	gap: 10px;
}

.div_toolbar {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}

.div_searchinput,
.div_sortselect {
	height: 30px; line-height: 30px;
	padding: 0px 12px;
	border-radius: 15px;
	border-top: 1px solid var(--toolbar-border-light);
	border-bottom: 1px solid var(--toolbar-border-dark);
	border-left: 1px solid var(--toolbar-border-dark);
	border-right: 1px solid var(--toolbar-border-dark);
	color: var(--toolbar-text); font-size: calc(11px + 0.3vw); font-family: inherit;
	background: var(--toolbar-bg);
	box-shadow: 0px 1px 2px 2px rgba(0,0,0,0.55);
	/* no transition here: animating background on a <select> makes Chrome
	   re-render the control and nudge its text by 1-2px */
}

.div_searchwrap {
	position: relative;
	display: inline-flex;
	align-items: center;
}

.div_searchinput {
	width: 220px;
	padding-right: 30px;
}

.div_searchclear {
	position: absolute;
	right: 10px;
	display: none;
	background: none;
	border: none;
	padding: 0;
	color: var(--toolbar-text);
	font-size: calc(11px + 0.3vw);
	line-height: 1;
	cursor: pointer;
	opacity: 0.7;
}

.div_searchclear:hover {
	opacity: 1;
}

#searchCount {
	display: none;
	color: var(--toolbar-text);
	font-size: calc(10px + 0.2vw);
	opacity: 0.75;
	white-space: nowrap;
}

#noResults {
	display: block;
	width: 100%;
	margin: 0;
	padding: 30px 0px;
	text-align: center;
	color: var(--text-color);
	font-size: calc(14px + 0.5vw);
}

.div_searchinput::placeholder {
	color: var(--toolbar-text);
	opacity: 0.6;
}

.div_searchinput:focus,
.div_sortselect:focus {
	outline: none;
	box-shadow: inset 0px 0px 5px 1px rgba(0,255,255,0.45), 0px 1px 2px 2px rgba(0,0,0,0.55);
}

.div_sortselect option {
	background-color: var(--toolbar-solid-bg);
	color: var(--toolbar-text);
}

.div_sortselect option:checked,
.div_sortselect option:hover {
	background-color: #006060;
	color: #ffffff;
}

/* --- [THEME SWITCH] --- */

.div_themeswitch {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: 8px;
	color: var(--toolbar-text);
	font-size: calc(11px + 0.3vw);
	transition: color 0.3s;
}

.themeicon {
	flex: 0 0 auto;
	width: 18px; height: 18px;
	display: block;
	color: var(--toolbar-text);
	opacity: 0.4;
	transition: opacity 0.3s, color 0.3s;
}

/* Dark active by default: moon lit, sun dimmed */
.themeicon_moon { opacity: 1; }
.themeicon_sun { opacity: 0.4; }

/* Light active: sun lit, moon dimmed */
body.light .themeicon_moon { opacity: 0.4; }
body.light .themeicon_sun { opacity: 1; }

.switch {
	position: relative;
	display: inline-block;
	flex: 0 0 auto;
	width: 44px; height: 22px;
}

.switch input {
	opacity: 0;
	width: 0; height: 0;
}

.switch .slider {
	position: absolute;
	cursor: pointer;
	top: 0; left: 0; right: 0; bottom: 0;
	background-color: #444;
	border-top: 1px solid #585858;
	border-bottom: 1px solid #282828;
	transition: 0.3s;
	border-radius: 22px;
}

.switch .slider:before {
	position: absolute;
	content: "";
	height: 16px; width: 16px;
	left: 3px; bottom: 2px;
	background-color: #fab81b;
	transition: 0.3s;
	border-radius: 50%;
	box-shadow: 0px 0px 3px 1px rgba(0,0,0,0.55);
}

/* knob position is driven by the body theme class (set pre-paint by inline script),
   not by input:checked - the checkbox state is only synced later by site.js */
body.light .switch .slider {
	background-color: #00a0c0;
}

body.light .switch .slider:before {
	transform: translateX(20px);
	background-color: #fffbe6;
}

#modGrid {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	text-align: center;
	transition: opacity 0.25s;
}

/* with JS active: keep the grid invisible until site.js applied the saved sort order
   (site.js sets inline opacity:1 afterwards; without JS the grid shows immediately) */
html.js #modGrid {
	opacity: 0;
}

/* notice banner already dismissed: hide before first paint, no flash */
html.cbseen #footer-cookie {
	display: none;
}

.div_modbadges {
	width: 95%; height: auto;
}

.div_modbadges .div_badgerow {
	display: block;
	width: 100%;
	margin: 0px;
	padding: 0px;
	text-align: center;
}

.badge {
	display: inline-block;
	margin: 2px;
	padding: 2px 8px;
	border-radius: 10px;
	border-top: 1px solid #585858;
	border-bottom: 1px solid #282828;
	border-left: 1px solid #282828;
	border-right: 1px solid #282828;
	color: var(--badge-text); font-size: calc(10px + 0.2vw);
	background: var(--badge-bg);
	box-shadow: 0px 1px 2px 2px rgba(0,0,0,0.55);
}

/* badges without content (e.g. hidden WoT version on SOON dummies) disappear */
.badge:empty {
	display: none;
}

/* --- [MOD SECTION]--- */

.div_mod {
	width: 355px; height:auto;
	font-size: calc(14px + 0.5vw); color: var(--card-accent);
	box-shadow: 0px 0px 3px 3px rgba(0,0,0,0.55);
	border: double 1px transparent;
	border-radius: 20px;
	background-image: var(--card-face), var(--card-frame);
	background-origin: border-box;
	background-clip: content-box, border-box;
}

/* .div_mod:hover {box-shadow: 0px 0px 4px 4px rgba(240,80,0,0.4) inset, 0px 0px 3px 2px rgba(240,80,0,0.3);} */

.div_modpic {
	/* position:relative + overflow:hidden are needed for the crossfade overlay;
	   keep z-index low so the (later-in-DOM) picture does not cover the stamps */
	position: relative;
	overflow: hidden;
	z-index: 1;
	width: 302px; height: 170px;
	border-radius: 10px;
	border-top: 2px solid #222;
	border-bottom: 2px solid #555;
	border-left: 2px solid #333;
	border-right: 2px solid #333;
}

/* crossfade overlay for the hover preview rotation (added by site.js):
   the incoming image zooms in from a blurred state and fades over the current one */
.div_modpic_overlay {
	position: absolute;
	inset: 0;
	width: 100%; height: 100%;
	/* resting/hidden state - geometry identical to the base <img> so that
	   swapping the finished image onto the base is completely seamless */
	opacity: 0;
	transform: scale(1);
	filter: blur(0);
	transition: opacity 0.75s ease, transform 0.75s ease, filter 0.75s ease;
	pointer-events: none;
}

/* start of a fade: incoming image begins zoomed-in and blurred (still invisible) */
.div_modpic_overlay.primed {
	transform: scale(1.18);
	filter: blur(7px);
}

/* fade target: sharp, unzoomed, fully visible */
.div_modpic_overlay.show {
	opacity: 1;
	transform: scale(1);
	filter: blur(0);
}

.div_modpic_overlay.notransition {
	transition: none;
}

@media (prefers-reduced-motion: reduce) {
	.div_modpic_overlay,
	.div_modpic_overlay.primed {
		transition-duration: 0.2s;
		transform: none;
		filter: none;
	}
}

:root {
	--animspeed: 130s;
}

.div_event_stempel:active {
	opacity: 1;
	cursor: pointer;
	background-size: auto 95%;
	filter: drop-shadow(0px 0px 1px rgba(0, 0, 0, 1));
}

.div_event_stempel_old:hover {
	opacity: 1;
	cursor: pointer;
}


.div_event_stempel_off {
	position: relative;
	top: -10px; right: 80px;
	width: 80px; height: 80px;
}

.div_event_stempel {
	position: relative;
	top: -10px; right: 80px;
	width: 80px; height: 80px;
	transform: rotate(-30deg);
	background-image: url('gfx/event_stempel_red.svg');
	background-position: center center; background-size: 100%; background-repeat: no-repeat; background-color: transparent;
	filter: drop-shadow(0px 2px 2px rgba(0, 0, 0, 1));
	opacity: 0.85; 
	transition: 0.15s;
}

.div_event_stempel:hover {
	opacity: 1;
	cursor: pointer;
	transform: rotate(0deg);
	background-position: center center;
	background-size: 100%;	
	animation-timing-function: linear;
	animation: blinki 3s infinite;
}

@keyframes blinki {
	0% {opacity: 1;}
	30% {opacity: 1;}
	50% {opacity: 0;}
	100% {opacity: 1;}
}

.div_event_off {
	position: relative;
	top: -10px; right: -88px;
	width: 100px; height: 28px;
}

.div_event_update_old {
	position: relative;
	top: -10px; right: -88px;
	box-sizing:border-box;
	width: 100px; height: 28px;
	background-image: url('gfx/event_update.svg');
	background-position: 50% 50%; background-repeat: no-repeat;
	animation-timing-function: linear;
	animation: event 25s infinite; animation-delay: 5s; opacity: 0; z-index: 1007;
}

.div_event_update {
	position: relative;
	box-sizing:border-box;
	top: -10px; right: -88px;
	width: 100px; height: 28px;
	background-image: url('gfx/event_update.svg'); 
	background-position: 50% 50%; background-repeat: no-repeat;
	animation-timing-function: linear; opacity: 0; z-index: 1007; 
	animation: event_rotate var(--animspeed) infinite;
}

.div_event_new {
	position: relative;
	box-sizing:border-box;
	top: -10px; right: -88px;
	width: 100px; height: 28px;
	background-image: url('gfx/event_new.svg');
	background-position: 50% 50%; background-repeat: no-repeat;
	animation-timing-function: linear;
	animation: event 25s infinite; animation-delay: 1s; opacity: 0; z-index: 1007;
}

.div_event_fix {
	position: relative;
	box-sizing:border-box;
	top: -10px; right: -88px;
	width: 100px; height: 28px;
	background-image: url('gfx/event_fix.svg');
	background-position: 50% 50%; background-repeat: no-repeat;
	animation-timing-function: linear;
	animation: event 25s infinite; animation-delay: 1.5s; opacity: 0; z-index: 1007;
}

.div_event_soon_old {
	position: relative;
	box-sizing:border-box;
	top: -10px; right: -88px;
	width: 100px; height: 28px;
	background-image: url('gfx/event_soon.svg');
	background-position: 50% 50%; background-repeat: no-repeat;
	animation-timing-function: linear;
	animation: event 25s infinite; animation-delay: 2s; opacity: 0; z-index: 1007;
}

.div_event_soon {
	position: relative;
	box-sizing:border-box;
	top: -10px; right: -88px;
	width: 100px; height: 28px;
	background-image: url('gfx/event_soon.svg');
	background-position: 50% 50%; background-repeat: no-repeat;
	animation-timing-function: linear; opacity: 0; z-index: 1007;
	animation: event_perspective var(--animspeed) infinite;
}

.div_event_beta {
	position: relative;
	box-sizing:border-box;
	top: -10px; right: -88px;
	width: 100px; height: 28px;
	background-image: url('gfx/event_beta.svg');
	background-size: auto 100%;
	background-position: 50% 50%; background-repeat: no-repeat;
	animation-timing-function: linear;
	animation: event 25s infinite; animation-delay: 2.5s; opacity: 0; z-index: 1007;
}

@keyframes event {
	0% {animation-timing-function: ease-out; transform: scale(8); opacity: 0;}
	5% {opacity: 1; transform: scale(1); transform: rotate(30deg);}
	95% {opacity: 1; transform: scale(1); transform: rotate(30deg);}
	100% {animation-timing-function: ease-in; opacity: 0; transform: rotate(720deg);}
}

@keyframes event_perspective {
	0% { opacity:0;}
	1% {opacity: 1; transform: scale(2) rotate(30deg) rotatex(720deg);}
	3% {opacity: 1; transform: scale(2) rotate(30deg) rotatex(720deg);}
	4% {opacity: 1; transform: scale(1) rotate(30deg) rotatex(0deg);}
	99% {opacity: 1; transform: scale(1) rotate(30deg) rotatex(0deg);}
	100% {transform: rotate(30deg);}
}

@keyframes event_rotate {
	0% {animation-timing-function: ease-out;}
	1% {animation-timing-function: ease-in; opacity: 1; transform: rotate(750deg) scale(2);}
	2.5% {opacity: 1; transform: rotate(750deg) scale(2);}
	3.5% {transform: rotate(-690deg) scale(1);}
	100% {animation-timing-function: ease-out; transform: rotate(-690deg) scale(1);opacity: 1;}
}

.div_event_text {
	position: relative;
	top: -178px; right: 0px;
	width: 98%; height: auto; line-height: 100%;
	font-size: calc(11px + 0.3vw); font-family: Verdana; font-weight: 600; color: #00ff00; font-style: italic; 
	text-shadow: 0 0px 12px #0f0; text-align:right;
}

.div_modname {
	width: 95%; height: auto;
	border-radius: 5px;
	border-top: 1px solid var(--card-edge-top);
	border-bottom: 1px solid var(--card-edge-bottom);
	border-left: 1px solid var(--card-edge-side);
	border-right: 1px solid var(--card-edge-side);
	box-shadow: 0px 1px 2px 2px rgba(0,0,0,0.55);
	color: var(--card-text); font-size: calc(11px + 0.5vw);
	line-height: 200%;
	background:
    url('gfx/fx_rivetsingle.svg') 2% 2% no-repeat,
    url('gfx/fx_rivetsingle.svg') 98% 2% no-repeat,
    url('gfx/fx_rivetsingle.svg') 2% 98% no-repeat,
    url('gfx/fx_rivetsingle.svg') 98% 98% no-repeat,
    var(--card-panel); background-size: 3% auto;
    white-space: nowrap; overflow: hidden; text-overflow:ellipsis;
}

.div_modname:hover {
	background:
    url('gfx/fx_rivetsingle.svg') 2% 2% no-repeat,
    url('gfx/fx_rivetsingle.svg') 98% 2% no-repeat,
    url('gfx/fx_rivetsingle.svg') 2% 98% no-repeat,
    url('gfx/fx_rivetsingle.svg') 98% 98% no-repeat,
    var(--card-panel-hover); background-size: 3% auto;
    font-size: calc(11px + 0.5vw);
}

.div_moddescriptiontitle {
	position: relative;
	top: -2px;
	width: 95%; height: auto;
	border-radius: 5px;
	border-top: 1px solid var(--card-edge-top);
	border-bottom: 1px solid var(--card-edge-bottom);
	border-left: 1px solid var(--card-edge-side);
	border-right: 1px solid var(--card-edge-side);
	box-shadow: 0px 1px 2px 2px rgba(0,0,0,0.55);
	color: var(--card-text); font-size: calc(12px + 0.3vw);
	line-height: 150%;
	background:
    url('gfx/fx_rivetsingle.svg') 2% 50% no-repeat,
    url('gfx/fx_rivetsingle.svg') 98% 50% no-repeat,
    var(--card-panel); background-size: 3% auto;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.div_moddescriptiontitle:hover {
	background:
    url('gfx/fx_rivetsingle.svg') 2% 50% no-repeat,
    url('gfx/fx_rivetsingle.svg') 98% 50% no-repeat,
    var(--card-panel-hover); background-size: 3% auto;
    font-size: calc(12px + 0.3vw);
}

.div_modtext {
	width: 95%; height: auto; 
	color: #ffeeaa;
	font-size: calc(12px + 0.2vw);
	line-height: 120%;
	background: radial-gradient(closest-side, #222, transparent);
}

.div_emptyline {
	position: relative;
	top: -3px;
	width: 95%; height: 5px; line-height: 5px;
	background-image: var(--card-panel);
	border-radius: 50% 50%;
	border-top: 2px solid var(--card-edge-top);
	border-bottom: 2px solid var(--card-edge-bottom);
	border-left: 2px solid var(--card-edge-side);
	border-right: 2px solid var(--card-edge-side);
	box-shadow: 0px 1px 2px 2px rgba(0,0,0,0.55); font-size: 0px;
}

.div_rivetline {
	width: 98%; height: 24px; line-height: 100%; border-radius: 12px;
	border-top: 1px solid var(--card-edge-top);
	border-bottom: 1px solid var(--card-edge-bottom);
	border-left: 1px solid var(--card-edge-side);
	border-right: 1px solid var(--card-edge-side);
	box-shadow: 0px 1px 2px 2px rgba(0,0,0,0.55);
	background:
    url('gfx/fx_rivetcenter.svg'),
    var(--card-panel);background-size: auto auto;
    background-repeat: space;
}

.div_rivetline_small {
	position: relative;
	z-index: 2;
	width: 90%; height: 12px;  border-radius: 6px;
	border-top: 1px solid var(--card-edge-top);
	border-bottom: 1px solid var(--card-edge-bottom);
	border-left: 1px solid var(--card-edge-side);
	border-right: 1px solid var(--card-edge-side);
	box-shadow: 0px 1px 2px 2px rgba(0,0,0,0.55);
	background:
    url('gfx/fx_danger.svg') 50% 50% repeat-x,
    var(--card-rivet-small);
	background-size: auto 120%;
}

.div_moddescription {
	width: 95%; height: 85px; 
	color: #fab81b; font-size: calc(12px + 0.2vw);
	background-image: var(--desc-bg);
	border-top: 1px solid #050505;
	border-bottom: 1px solid #282828;
	border-left: 1px solid #181818;
	border-right: 1px solid #181818;
	border-radius: 6px;
    overflow-y:auto;
    overflow-x:hidden;
	scrollbar-color: #fab81b transparent;
	scrollbar-width: thin;
}

img {border-radius: 8px;}

/* ---[ info ]---*/

.tooltip {position: relative; display: inline-block;}

.tooltip .tooltiptext {
	visibility: hidden;
	width: 100%; height: 98px; border-radius: 6px;
	background-image: radial-gradient(closest-side, rgba(0,30,40,1) 0%, rgba(0,20,20,1) 30%, rgba(0,0,0,1) 100%);
	background-position: 50% 50%; background-repeat: no-repeat;
	font-size: calc(12px + 0.3vw); color: #00ffff;
	text-align: center;
	padding: 0px;
	overflow-y: scroll;	
	scrollbar-color: #00ffff transparent;
	scrollbar-width: thin;
	position: absolute;
	top: -99px;
	left: 0px;
	opacity: 0;
	transition: 0.35s;
}

.tooltip:hover .tooltiptext {
	visibility: visible;
	opacity: 1; 
	transition: 0.2s;
}

.tooltip:active .tooltiptext {cursor: text; color: #ffffff;}

.info {
	position: relative;
	top: -2px;
	width: 95%; height: auto;
	border-radius: 5px;
	border-top: 1px solid var(--card-edge-top);
	border-bottom: 1px solid var(--card-edge-bottom);
	border-left: 1px solid var(--card-edge-side);
	border-right: 1px solid var(--card-edge-side);
	box-shadow: 0px 1px 2px 2px rgba(0,0,0,0.55);
	color: var(--card-cyan); font-size: calc(10px + 0.2vw);
	line-height: 130%;
	background:
    url('gfx/fx_rivetsingle.svg') 2% 50% no-repeat,
    url('gfx/fx_rivetsingle.svg') 98% 50% no-repeat,
    var(--card-panel); background-size: 3% auto;
}

.info:hover {
	color: #00ffff; font-size: calc(10px + 0.2vw);
	border-top: 1px solid #587878;
	border-bottom: 1px solid #486868;
	border-left: 1px solid #446;
	border-right: 1px solid #446;
	box-shadow: 0px 0px 1px 1px rgba(0,0,0,0.55);
	background:
    url('gfx/fx_rivetsingle.svg') 2% 50% no-repeat,
    url('gfx/fx_rivetsingle.svg') 98% 50% no-repeat,
    var(--card-panel-hover); background-size: 3% auto;
   	box-shadow: inset 0px 0px 5px 1px rgba(0,255,255,0.45), 0px 1px 2px 2px rgba(0,0,0,0.55);
	cursor: pointer;
}

/* ---[ info ]---*/

.div_info {
	position: relative;
	width: 30px; height:30px; background-color: red;
}


.div_forbidden {
	width: 40px; height: 30px; line-height: 40px;
	background-image: url('gfx/fx_forbidden.png'), radial-gradient(closest-side, rgba(120,0,0,1) 0%, rgba(0,0,0,1) 100%);
	background-position: 50% 50%; background-size: auto; background-repeat: no-repeat;
	border-radius: 50%;
	border-top: 2px solid #444;
	border-bottom: 2px solid #222;
	box-shadow: 0px 1px 2px 2px rgba(0,0,0,0.55);
}

.div_forbidden:hover {background-image: url('gfx/fx_forbidden.png'), radial-gradient(closest-side, rgba(180,0,0,1) 0%, rgba(0,0,0,1) 100%);}
.div_forbidden:active {background-image: url('gfx/fx_forbidden.png'), radial-gradient(closest-side, rgba(255,0,0,1) 0%, rgba(0,0,0,1) 100%);}


.div_downloadsymbol {
	position: relative;
	width: 40px; height: 35px;
	border-radius: 50%;
	border-top: 2px solid #444;
	border-bottom: 2px solid #222;
	box-shadow: 0px 1px 2px 2px rgba(0,0,0,0.55);
}

.div_downloadsymbol_hd {
	width: 40px; height: 35px;
	position: absolute; top: 8px; left: -1px;
	box-sizing: border-box;
}

/* mask on a pseudo-element, not on .div_downloadsymbol_hd itself:
   a mask clips the whole subtree, and the arrow is a child of hd -
   masking hd directly would clip the arrow away */
.div_downloadsymbol_hd::before {
	content: "";
	position: absolute;
	inset: 0;
	/* SVG shape as CSS mask so its color is themeable via background-color */
	background-color: var(--download-icon);
	-webkit-mask-image: url('gfx/fx_hd.svg');
	mask-image: url('gfx/fx_hd.svg');
	-webkit-mask-position: 50% 50%;
	mask-position: 50% 50%;
	-webkit-mask-size: 50% auto;
	mask-size: 50% auto;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
}

.div_downloadsymbol_arrow {
	width: 50px; height: 55px;
	position: absolute;  top: -28px; left: -7px;
	box-sizing: border-box;
	/* SVG shape as CSS mask so its color is themeable via background-color */
	background-color: var(--download-icon);
	-webkit-mask-image: url('gfx/fx_arrow.svg');
	mask-image: url('gfx/fx_arrow.svg');
	-webkit-mask-position: 50% 50%;
	mask-position: 50% 50%;
	-webkit-mask-size: 35% auto;
	mask-size: 35% auto;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
}

.div_downloadsymbol_off {
	width: 40px; height: 30px; line-height: 40px;
	border-radius: 50%;
	border-top: 2px solid transparent;
	border-bottom: 2px solid transparent;
}

/* disabled download placeholder (SOON dummies): hide icon and arrow animation */
.div_downloadsymbol_off .div_downloadsymbol_hd,
.div_downloadsymbol_off .div_downloadsymbol_arrow {
	display: none;
}

.div_downloadsymbol_arrow:hover {
	cursor: pointer;
	animation: download 5s infinite;
	}

.div_downloadsymbol:hover {
	cursor: pointer;
	animation: downloadsymbol 2.5s infinite;
	}
	
@keyframes download {
	0% { top: -28px; opacity: 1; background-size: 35% auto;}
	30% { top: -28px; opacity: 1; background-size: 35% auto;}
	60% { top: -14px; opacity: 0; background-size: 35% auto;}
	70% { top: -28px; opacity: 0; background-size: 35% auto;}
	71% { top: -28px; opacity: 0; background-size: 35% auto;}

}

@keyframes downloadsymbol {
	0% {box-shadow: 0px 0px 6px 6px rgba(0, 255, 255, 0);}
	50% {box-shadow: 0px 0px 6px 6px rgba(0, 255, 255, 0.5);}
	100% {box-shadow: 0px 0px 6px 6px rgba(0, 255, 255, 0);}
}

.div_downloadsymbol:active {filter: drop-shadow(0px 0px 8px #00ffff); background-size: 50% auto; cursor: pointer;}

.copper_cyan {
	font-size: 10px;
	border: 0;
	width: 85%;
	height: 3px; border-radius: 50% 50%;
	background-color: #006060;
	background-image: linear-gradient(to right, transparent 0%, #00ffff 50%, transparent 100%);
	animation: laser_line_cyan 18s infinite;
	animation-delay: 1s ;
}	

@keyframes laser_line_cyan {
	0% { width: 85%;background-color: #006060; box-shadow: 0 0 0px 0px #006060;}
	3% { width: 95%;background-color: #00ffff; box-shadow: 0 0 4px 1px #00ffff;}
	6% { width: 85%;background-color: #006060; box-shadow: 0 0 0px 0px #006060;}
	9% { width: 95%;background-color: #00ffff; box-shadow: 0 0 4px 1px #00ffff;}
	12% { width: 85%;background-color: #006060; box-shadow: 0 0 0px 0px #006060;}
	100% { width: 85%;background-color: #006060; box-shadow: 0 0 0px 0px #006060;}
}

.copper_green {
	font-size: 10px;
	border: 0;
	width: 85%;
	height: 3px; border-radius: 50% 50%;
	background-color: #006000;
	background-image: linear-gradient(to right, transparent 0%, #00ff00 50%, transparent 100%);
	animation: laser_line_green 18s infinite;
	animation-delay: 1s ;
}	

@keyframes laser_line_green {
	0% { width: 85%;background-color: #006000; box-shadow: 0 0 0px 0px #006000;}
	3% { width: 95%;background-color: #00ff00; box-shadow: 0 0 5px 1px #00ff00;}
	6% { width: 85%;background-color: #006000; box-shadow: 0 0 0px 0px #006000;}
	9% { width: 95%;background-color: #00ff00; box-shadow: 0 0 5px 1px #00ff00;}
	12% { width: 85%;background-color: #006000; box-shadow: 0 0 0px 0px #006000;}
	100% { width: 85%;background-color: #006000; box-shadow: 0 0 0px 0px #006000;}
}

.copper_yellow {
	font-size: 10px;
	border: 0;
	width: 85%;
	height: 3px; border-radius: 50% 50%;
	background-color: #606000;
	background-image: linear-gradient(to right, transparent 0%, #ffff00 50%, transparent 100%);
	animation: laser_line_yellow 18s infinite;
	animation-delay: 1s ;
}	

@keyframes laser_line_yellow {
	0% { width: 85%;background-color: #606000; box-shadow: 0 0 0px 0px #606000;}
	3% { width: 95%;background-color: #ffff00; box-shadow: 0 0 5px 1px #ffff00;}
	6% { width: 85%;background-color: #606000; box-shadow: 0 0 0px 0px #606000;}
	9% { width: 95%;background-color: #ffff00; box-shadow: 0 0 5px 1px #ffff00;}
	12% { width: 85%;background-color: #606000; box-shadow: 0 0 0px 0px #606000;}
	100% { width: 85%;background-color: #606000; box-shadow: 0 0 0px 0px #606000;}
}

.copper_red {
	font-size: 10px;
	border: 0;
	width: 85%;
	height: 3px; border-radius: 50% 50%;
	background-color: #600000;
	background-image: linear-gradient(to right, transparent 0%, #ff0000 50%, transparent 100%);
	animation: laser_line_red 18s infinite;
	animation-delay: 1s ;
}	

@keyframes laser_line_red {
	0% { width: 85%;background-color: #600000; box-shadow: 0 0 0px 0px #600000;}
	3% { width: 95%;background-color: #ff0000; box-shadow: 0 0 5px 1px #ff0000;}
	6% { width: 85%;background-color: #600000; box-shadow: 0 0 0px 0px #600000;}
	9% { width: 95%;background-color: #ff0000; box-shadow: 0 0 5px 1px #ff0000;}
	12% { width: 85%;background-color: #600000; box-shadow: 0 0 0px 0px #600000;}
	100% { width: 85%;background-color: #600000; box-shadow: 0 0 0px 0px #600000;}
}

.copper_purple {
	font-size: 10px;
	border: 0;
	width: 85%;
	height: 3px; border-radius: 50% 50%;
	background-color: #600060;
	background-image: linear-gradient(to right, transparent 0%, #ff00ff 50%, transparent 100%);
	animation: laser_line_purple 18s infinite;
	animation-delay: 1s ;
}	

@keyframes laser_line_purple {
	0% { width: 85%;background-color: #600060; box-shadow: 0 0 0px 0px #600060;}
	3% { width: 95%;background-color: #ff00ff; box-shadow: 0 0 5px 1px #ff00ff;}
	6% { width: 85%;background-color: #600060; box-shadow: 0 0 0px 0px #600060;}
	9% { width: 95%;background-color: #ff00ff; box-shadow: 0 0 5px 1px #ff00ff;}
	12% { width: 85%;background-color: #600060; box-shadow: 0 0 0px 0px #600060;}
	100% { width: 85%;background-color: #600060; box-shadow: 0 0 0px 0px #600060;}
}

.copper_orange {
	font-size: 10px;
	border: 0;
	width: 85%;
	height: 3px; border-radius: 50% 50%;
	background-color: #600300;
	background-image: linear-gradient(to right, transparent 0%, #ff8000 50%, transparent 100%);
	animation: laser_line_orange 18s infinite;
	animation-delay: 1s ;
}	

@keyframes laser_line_orange {
	0% { width: 85%;background-color: #603000; box-shadow: 0 0 0px 0px #603000;}
	3% { width: 95%;background-color: #ff8000; box-shadow: 0 0 5px 1px #ff8000;}
	6% { width: 85%;background-color: #603000; box-shadow: 0 0 0px 0px #603000;}
	9% { width: 95%;background-color: #ff8000; box-shadow: 0 0 5px 1px #ff8000;}
	12% { width: 85%;background-color: #603000; box-shadow: 0 0 0px 0px #603000;}
	100% { width: 85%;background-color: #603000; box-shadow: 0 0 0px 0px #603000;}
}

.copper_blue {
	font-size: 10px;
	border: 0;
	width: 85%;
	height: 3px; border-radius: 50% 50%;
	background-color: #003060;
	background-image: linear-gradient(to right, transparent 0%, #00ccff 50%, transparent 100%);
	animation: laser_line_blue 18s infinite;
	animation-delay: 1s ;
}	

@keyframes laser_line_blue {
	0% { width: 85%;background-color: #003060; box-shadow: 0 0 0px 0px #003060;}
	3% { width: 95%;background-color: #00ccff; box-shadow: 0 0 5px 1px #00ccff;}
	6% { width: 85%;background-color: #003060; box-shadow: 0 0 0px 0px #003060;}
	9% { width: 95%;background-color: #00ccff; box-shadow: 0 0 5px 1px #00ccff;}
	12% { width: 85%;background-color: #003060; box-shadow: 0 0 0px 0px #003060;}
	100% { width: 85%;background-color: #003060; box-shadow: 0 0 0px 0px #003060;}
}

.div_extra {
	width: 98%; height: 50px;
}
/* Cookie Banner Stuff */
#footer-cookie,
#footer-cookie * {
  box-sizing: border-box;
}

#footer-cookie {
  background: #303030;
  bottom: 0px;
  color: #fff;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  min-height: 60px;
  height: auto;
  left: 0px;
  line-height: 1.4;
  padding: 15px 30px;
  position: fixed;
  width: 100%;
  z-index: 2000;
}

#footer-cookie a {
  color: #fff;
}

#footer-cookie #description {
  flex: 1 1 300px;
}

#footer-cookie #accept {
  flex: 0 0 auto;
  margin-left: auto;
}

#footer-cookie #accept a {
  display: inline-block;
  border: 1px solid #fff;
  padding: 5px 10px;
  text-decoration: none;
  white-space: nowrap;
}

@media (max-width: 1200px) {
  #footer-cookie #description {
	flex: 1 1 100%;
  }

  #footer-cookie #accept {
	flex: 1 1 100%;
	margin-left: 0;
  }

  #footer-cookie #accept a {
	width: 100%;
	display: block;
	text-align: center;
  }
}
