/*!
 * Game Award Saar – Frontend
 * Pixel-Look: harte Kanten, harte Schatten, PixelOperator8 für Headlines,
 * Montserrat für Fließtext. Farb-Tokens kommen aus den Plugin-Einstellungen.
 */

/* ------------------------------------------------------------------ */
/* Tokens & Grundlagen                                                 */
/* ------------------------------------------------------------------ */

.gas-card,
.gas-slider,
.gas-grid,
.gas-hof,
.gas-countdown,
.gas-video,
.gas-newsletter,
.gas-icon-grid,
.gas-award-groups {
	--gas-accent: var(--gas-yellow, #fcea18);
	--gas-text: #ffffff;
	--gas-muted: rgba(255, 255, 255, 0.72);
	--gas-surface: rgba(255, 255, 255, 0.05);
	--gas-line: rgba(255, 255, 255, 0.28);
	--gas-shadow: 6px 6px 0 rgba(0, 0, 0, 0.55);
	--gas-icon-size: 96px;
	box-sizing: border-box;
}

.gas-scheme-light .gas-card,
.gas-scheme-light .gas-hof,
.gas-scheme-light .gas-countdown,
.gas-scheme-light .gas-video,
.gas-scheme-light .gas-newsletter,
.gas-scheme-light .gas-icon-grid {
	--gas-text: var(--gas-dark, #1e202c);
	--gas-muted: rgba(30, 32, 44, 0.72);
	--gas-surface: #ffffff;
	--gas-line: rgba(30, 32, 44, 0.28);
	--gas-shadow: 6px 6px 0 rgba(30, 32, 44, 0.25);
}

.gas-card *,
.gas-hof *,
.gas-countdown *,
.gas-video *,
.gas-newsletter *,
.gas-icon-grid * {
	box-sizing: inherit;
}

/* Schriftschnitte, die pro Karte im Backend gewählt werden können. */
.gas-w-400 { font-family: var(--gas-font-body); font-weight: 400; }
.gas-w-700 { font-family: var(--gas-font-bold); font-weight: 700; }
.gas-w-pixel { font-family: var(--gas-font-pixel); font-weight: 400; letter-spacing: 0.02em; }

.gas-align-left   .gas-card__body { text-align: left; }
.gas-align-center .gas-card__body { text-align: center; }
.gas-align-right  .gas-card__body { text-align: right; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* ------------------------------------------------------------------ */
/* Icons                                                               */
/* ------------------------------------------------------------------ */

.gas-icon {
	display: block;
	width: var(--gas-icon-size);
	height: auto;
	image-rendering: pixelated;
	shape-rendering: crispEdges;
}

.gas-icon-wrap {
	display: inline-flex;
	line-height: 0;
}

.gas-icon-wrap--link {
	text-decoration: none;
	transition: transform 0.15s steps(3), filter 0.15s ease;
}

.gas-icon-wrap--link:hover,
.gas-icon-wrap--link:focus-visible {
	transform: translateY(-6px);
	filter: drop-shadow(0 6px 0 rgba(0, 0, 0, 0.35));
}

.gas-icon-size { display: inline-block; }
.gas-icon-wrap--inline .gas-icon { display: inline-block; vertical-align: middle; }

.gas-icon-grid {
	display: grid;
	gap: clamp(16px, 3vw, 40px);
	justify-items: center;
	align-items: end;
}

.gas-icon-grid--cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.gas-icon-grid--cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gas-icon-grid--cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gas-icon-grid--cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gas-icon-grid--cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.gas-icon-grid--cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.gas-icon-grid--cols-8 { grid-template-columns: repeat(8, minmax(0, 1fr)); }

@media (max-width: 1024px) {
	.gas-icon-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
	.gas-icon-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.gas-icon-grid__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	text-align: center;
}

.gas-icon-grid__label {
	font-family: var(--gas-font-pixel);
	font-size: clamp(11px, 1.1vw, 15px);
	letter-spacing: 0.04em;
	color: var(--gas-text);
	text-transform: uppercase;
}

.gas-icon-grid.is-animated .gas-icon-wrap--link:hover .gas-icon {
	animation: gas-bob 0.6s steps(4) infinite;
}

@keyframes gas-bob {
	0%, 100% { transform: translateY(0); }
	50%      { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
	.gas-icon-grid.is-animated .gas-icon-wrap--link:hover .gas-icon { animation: none; }
	.gas-icon-wrap--link { transition: none; }
}

/* ------------------------------------------------------------------ */
/* Raster                                                              */
/* ------------------------------------------------------------------ */

.gas-grid {
	display: grid;
	gap: clamp(16px, 2.2vw, 32px);
	grid-template-columns: repeat(var(--gas-slider-cols, 3), minmax(0, 1fr));
}

.gas-grid--cols-1 { --gas-slider-cols: 1; }
.gas-grid--cols-2 { --gas-slider-cols: 2; }
.gas-grid--cols-3 { --gas-slider-cols: 3; }
.gas-grid--cols-4 { --gas-slider-cols: 4; }
.gas-grid--cols-5 { --gas-slider-cols: 5; }
.gas-grid--cols-6 { --gas-slider-cols: 6; }

@media (max-width: 1024px) {
	.gas-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
	.gas-grid { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------ */
/* Karten                                                              */
/* ------------------------------------------------------------------ */

.gas-card {
	display: flex;
	flex-direction: column;
	background: var(--gas-surface);
	border: 3px solid var(--gas-line);
	box-shadow: var(--gas-shadow);
	color: var(--gas-text);
	height: 100%;
	transition: transform 0.18s ease, border-color 0.18s ease;
}

.gas-card:hover {
	transform: translate(-3px, -3px);
	border-color: var(--gas-accent);
}

.gas-card__media {
	position: relative;
	overflow: hidden;
	background: rgba(0, 0, 0, 0.35);
	aspect-ratio: 4 / 3;
}

.gas-card__media img,
.gas-card__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gas-card__img--placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	--gas-icon-size: 40%;
}

.gas-card__class {
	position: absolute;
	left: 0;
	bottom: 0;
	background: var(--gas-accent);
	color: #000;
	font-family: var(--gas-font-pixel);
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 6px 12px;
}

.gas-card__icon {
	position: absolute;
	top: 10px;
	right: 10px;
	--gas-icon-size: 44px;
}

.gas-card__year {
	position: absolute;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.75);
	color: #fff;
	font-family: var(--gas-font-pixel);
	font-size: 12px;
	padding: 5px 10px;
}

.gas-card__body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: clamp(16px, 2vw, 24px);
	text-align: left;
}

.gas-card__award {
	margin: 0;
	font-family: var(--gas-font-pixel);
	font-size: 13px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--gas-accent);
}

.gas-card__title {
	margin: 0;
	font-size: clamp(18px, 1.5vw, 24px);
	line-height: 1.2;
	color: var(--gas-text);
}

.gas-card__meta {
	margin: 0;
	font-size: 15px;
	color: var(--gas-muted);
}

.gas-card__note {
	margin: 0;
	font-family: var(--gas-font-pixel);
	font-size: 12px;
	color: var(--gas-muted);
}

.gas-card__text {
	font-size: 15px;
	line-height: 1.6;
	color: var(--gas-muted);
}

.gas-card__text p { margin: 0 0 0.7em; }
.gas-card__text p:last-child { margin-bottom: 0; }

.gas-card__quote {
	margin: 0;
	padding-left: 14px;
	border-left: 4px solid var(--gas-accent);
	font-style: normal;
	font-size: 15px;
	line-height: 1.55;
	color: var(--gas-text);
}

.gas-card__links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	margin: 4px 0 0;
	padding: 0;
	list-style: none;
}

.gas-card__links a,
.gas-card__cta {
	font-family: var(--gas-font-pixel);
	font-size: 13px;
	letter-spacing: 0.04em;
	color: var(--gas-accent);
	text-decoration: none;
	border-bottom: 2px solid transparent;
}

.gas-card__links a:hover,
.gas-card__cta:hover {
	border-bottom-color: var(--gas-accent);
}

.gas-card__cta {
	align-self: flex-start;
	margin-top: 6px;
	padding: 8px 14px;
	background: var(--gas-accent);
	color: #000;
	border: 3px solid #000;
	box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.5);
}

.gas-card__cta:hover {
	transform: translate(-2px, -2px);
	box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.5);
}

/* Badge Nominiert / Gewinner */
.gas-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 10px;
	font-family: var(--gas-font-pixel);
	font-size: 12px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	border: 3px solid #000;
	background: var(--gas-purple, #986f98);
	color: #fff;
}

.gas-badge .gas-icon { --gas-icon-size: 18px; width: 18px; }

.gas-badge--gewinner {
	background: var(--gas-yellow, #fcea18);
	color: #000;
}

.gas-badge--nominiert {
	background: var(--gas-green, #7daf9c);
	color: #000;
}

/* Player Stats */
.gas-stats {
	margin: 2px 0 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.gas-stats__row {
	display: flex;
	align-items: center;
	gap: 10px;
}

.gas-stats__label {
	flex: 0 0 auto;
	min-width: 8ch;
	font-family: var(--gas-font-pixel);
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--gas-muted);
}

.gas-stats__bar {
	display: flex;
	gap: 3px;
	margin: 0;
}

.gas-stats__seg {
	width: 10px;
	height: 10px;
	background: var(--gas-line);
}

.gas-stats__seg.is-on { background: var(--gas-accent); }

/* ------------------------------------------------------------------ */
/* Slider                                                              */
/* ------------------------------------------------------------------ */

.gas-slider { position: relative; }

.gas-slider__viewport {
	overflow: hidden;
}

.gas-slider__track {
	display: flex;
	gap: clamp(16px, 2.2vw, 32px);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding-bottom: 12px;
	scrollbar-width: none;
}

.gas-slider__track::-webkit-scrollbar { display: none; }

.gas-slider__slide {
	flex: 0 0 calc((100% - (var(--gas-slider-cols, 3) - 1) * clamp(16px, 2.2vw, 32px)) / var(--gas-slider-cols, 3));
	scroll-snap-align: start;
}

@media (max-width: 1024px) {
	.gas-slider__slide { flex-basis: calc((100% - clamp(16px, 2.2vw, 32px)) / 2); }
}
@media (max-width: 680px) {
	.gas-slider__slide { flex-basis: 85%; }
}

.gas-slider__nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin-top: 18px;
}

.gas-slider__btn {
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--gas-accent);
	color: #000;
	border: 3px solid #000;
	box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.5);
	font-family: var(--gas-font-pixel);
	font-size: 16px;
	cursor: pointer;
	transition: transform 0.12s ease;
}

.gas-slider__btn:hover:not(:disabled) { transform: translate(-2px, -2px); }
.gas-slider__btn:disabled { opacity: 0.35; cursor: default; }

.gas-slider__dots {
	display: flex;
	gap: 8px;
}

.gas-slider__dot {
	width: 12px;
	height: 12px;
	padding: 0;
	border: 2px solid var(--gas-line);
	background: transparent;
	cursor: pointer;
}

.gas-slider__dot.is-active {
	background: var(--gas-accent);
	border-color: var(--gas-accent);
}

/* ------------------------------------------------------------------ */
/* Gruppierung nach Preiskategorie                                     */
/* ------------------------------------------------------------------ */

.gas-award-groups {
	display: flex;
	flex-direction: column;
	gap: clamp(32px, 5vw, 64px);
}

.gas-award-group__title {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 20px;
	font-family: var(--gas-font-pixel);
	font-size: clamp(18px, 2vw, 28px);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--gas-text);
}

.gas-award-group__title .gas-icon {
	--gas-icon-size: 36px;
	width: 36px;
	flex: 0 0 auto;
}

/* ------------------------------------------------------------------ */
/* Hall of Fame                                                        */
/* ------------------------------------------------------------------ */

.gas-hof {
	--gas-icon-size: 56px;
	display: flex;
	flex-direction: column;
	gap: clamp(28px, 4vw, 56px);
	color: var(--gas-text);
}

.gas-hof__heading { margin: 0 0 18px; }

.gas-hof__badge {
	display: inline-block;
	padding: 8px 18px;
	background: var(--gas-accent);
	color: #000;
	border: 3px solid #000;
	box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.45);
	font-family: var(--gas-font-pixel);
	font-size: clamp(20px, 2.4vw, 32px);
	letter-spacing: 0.08em;
}

.gas-hof__list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.gas-hof--grid .gas-hof__list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.gas-hof__item {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 14px 16px;
	background: var(--gas-surface);
	border: 3px solid var(--gas-line);
	transition: border-color 0.18s ease, transform 0.18s ease;
}

.gas-hof__item:hover {
	border-color: var(--gas-accent);
	transform: translateX(4px);
}

.gas-hof--list .gas-hof__item { padding: 8px 10px; }
.gas-hof--list .gas-hof__thumb { display: none; }

.gas-hof__icon { flex: 0 0 auto; }

.gas-hof__icon .gas-icon { width: var(--gas-icon-size, 48px); }

.gas-hof__thumb img {
	display: block;
	width: 64px;
	height: 64px;
	object-fit: cover;
	border: 2px solid var(--gas-line);
}

.gas-hof__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	text-align: left;
}

.gas-hof__award {
	font-family: var(--gas-font-pixel);
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--gas-accent);
}

.gas-hof__title {
	font-family: var(--gas-font-bold);
	font-weight: 700;
	font-size: clamp(16px, 1.4vw, 20px);
}

.gas-hof__line {
	font-family: var(--gas-font-body);
	font-size: 14px;
	color: var(--gas-muted);
}

/* Zeitstrahl-Variante */
.gas-hof--timeline .gas-hof__year {
	position: relative;
	padding-left: 28px;
	border-left: 4px solid var(--gas-line);
}

.gas-hof--timeline .gas-hof__heading { margin-left: -32px; }

@media (max-width: 600px) {
	.gas-hof--timeline .gas-hof__year { padding-left: 16px; }
	.gas-hof--timeline .gas-hof__heading { margin-left: -20px; }
	.gas-hof__item { flex-wrap: wrap; }
}

/* ------------------------------------------------------------------ */
/* Countdown                                                           */
/* ------------------------------------------------------------------ */

.gas-countdown {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	color: var(--gas-text);
	text-align: center;
}

.gas-countdown--block {
	padding: clamp(20px, 3vw, 40px);
	background: var(--gas-surface);
	border: 3px solid var(--gas-line);
	box-shadow: var(--gas-shadow);
}

.gas-countdown__label {
	margin: 0;
	font-family: var(--gas-font-pixel);
	font-size: clamp(12px, 1.3vw, 18px);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--gas-text);
}

.gas-countdown__units {
	display: flex;
	gap: clamp(10px, 1.6vw, 26px);
	flex-wrap: wrap;
	justify-content: center;
}

.gas-countdown__unit {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 4px;
	min-width: 76px;
	padding: 10px 12px;
	background: rgba(0, 0, 0, 0.55);
	border: 3px solid var(--gas-accent);
}

.gas-countdown--inline .gas-countdown__unit {
	min-width: 56px;
	padding: 6px 8px;
}

.gas-countdown__value {
	font-family: var(--gas-font-pixel);
	font-size: clamp(26px, 3.6vw, 56px);
	line-height: 1;
	color: var(--gas-accent);
	font-variant-numeric: tabular-nums;
}

.gas-countdown--inline .gas-countdown__value { font-size: clamp(18px, 2vw, 28px); }

.gas-countdown__unit-label {
	font-family: var(--gas-font-pixel);
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--gas-muted);
}

.gas-countdown__done {
	margin: 0;
	font-family: var(--gas-font-pixel);
	font-size: clamp(16px, 2vw, 24px);
	color: var(--gas-accent);
}

.gas-countdown__icon { margin-top: 6px; }

.gas-countdown--overlay {
	background: transparent;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

/* ------------------------------------------------------------------ */
/* Video: Livestream & Trailer                                         */
/* ------------------------------------------------------------------ */

.gas-video { color: var(--gas-text); }

.gas-video__headline {
	margin: 0 0 14px;
	font-family: var(--gas-font-pixel);
	font-size: clamp(18px, 2.2vw, 30px);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.gas-video__frame {
	position: relative;
	border: 4px solid var(--gas-accent);
	box-shadow: var(--gas-shadow);
	background: #000;
	overflow: hidden;
}

.gas-ratio-16-9 .gas-video__frame { aspect-ratio: 16 / 9; }
.gas-ratio-21-9 .gas-video__frame { aspect-ratio: 21 / 9; }
.gas-ratio-4-3  .gas-video__frame { aspect-ratio: 4 / 3; }
.gas-ratio-1-1  .gas-video__frame { aspect-ratio: 1 / 1; }
.gas-ratio-9-16 .gas-video__frame { aspect-ratio: 9 / 16; max-width: 420px; margin-inline: auto; }

.gas-video__frame iframe,
.gas-video__frame video,
.gas-video__frame > * {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.gas-video__placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding: 24px;
	text-align: center;
	background:
		repeating-linear-gradient(
			45deg,
			rgba(152, 111, 152, 0.18) 0 12px,
			rgba(0, 0, 0, 0) 12px 24px
		),
		var(--gas-dark, #1e202c);
}

.gas-video__scanlines {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: repeating-linear-gradient(
		to bottom,
		rgba(255, 255, 255, 0.05) 0 2px,
		rgba(0, 0, 0, 0) 2px 4px
	);
}

.gas-video__icon {
	position: relative;
	--gas-icon-size: clamp(64px, 14vw, 120px);
}

.gas-video__icon .gas-icon { width: var(--gas-icon-size); }

.gas-video__note {
	position: relative;
	margin: 0;
	max-width: 42ch;
	font-family: var(--gas-font-pixel);
	font-size: clamp(12px, 1.4vw, 16px);
	line-height: 1.6;
	color: #fff;
}

.gas-video__play {
	position: absolute;
	right: 14px;
	bottom: 14px;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 12px 0 12px 20px;
	border-color: transparent transparent transparent var(--gas-accent);
	opacity: 0.85;
}

/* ------------------------------------------------------------------ */
/* Newsletter                                                          */
/* ------------------------------------------------------------------ */

.gas-newsletter {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: clamp(18px, 3vw, 40px);
	padding: clamp(20px, 3vw, 40px);
	background: var(--gas-surface);
	border: 3px solid var(--gas-line);
	box-shadow: var(--gas-shadow);
	color: var(--gas-text);
}

.gas-newsletter__intro {
	display: flex;
	align-items: center;
	gap: 18px;
	flex: 1 1 320px;
}

.gas-newsletter__icon { --gas-icon-size: 72px; flex: 0 0 auto; }
.gas-newsletter__icon .gas-icon { width: var(--gas-icon-size); }

.gas-newsletter__headline {
	margin: 0 0 6px;
	font-family: var(--gas-font-pixel);
	font-size: clamp(18px, 2vw, 26px);
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.gas-newsletter__text {
	margin: 0;
	font-family: var(--gas-font-body);
	font-size: 15px;
	line-height: 1.55;
	color: var(--gas-muted);
}

.gas-newsletter__form { flex: 1 1 320px; }

.gas-newsletter__dummy {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.gas-newsletter__dummy input[type="email"] {
	flex: 1 1 200px;
	padding: 12px 14px;
	border: 3px solid var(--gas-line);
	background: rgba(0, 0, 0, 0.35);
	color: var(--gas-text);
	font-family: var(--gas-font-body);
	border-radius: 0;
}

.gas-btn {
	padding: 12px 20px;
	background: var(--gas-accent);
	color: #000;
	border: 3px solid #000;
	box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.5);
	font-family: var(--gas-font-pixel);
	font-size: 14px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
	border-radius: 0;
}

.gas-newsletter__hint {
	flex: 1 1 100%;
	margin: 4px 0 0;
	font-size: 12px;
	line-height: 1.5;
	color: var(--gas-muted);
}

/* ------------------------------------------------------------------ */
/* Leerzustand                                                         */
/* ------------------------------------------------------------------ */

.gas-empty {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 18px 20px;
	border: 3px dashed var(--gas-line, rgba(255, 255, 255, 0.3));
	font-family: var(--gas-font-pixel);
	font-size: 13px;
	line-height: 1.6;
	color: var(--gas-muted, inherit);
}

.gas-empty .gas-icon { width: 140px; flex: 0 0 auto; }

/* ------------------------------------------------------------------ */
/* Charakterprofil: Spezialisierung, Eigenschaften, Fähigkeiten        */
/* ------------------------------------------------------------------ */

.gas-card__spec {
	margin: 0;
	font-family: var(--gas-font-pixel);
	font-size: 12px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--gas-accent);
}

.gas-attrs {
	margin: 2px 0 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.gas-attrs__row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 4px 12px;
}

.gas-attrs__name {
	font-family: var(--gas-font-bold);
	font-weight: 700;
	font-size: 14px;
	line-height: 1.3;
	color: var(--gas-text);
}

.gas-attrs__attr {
	display: block;
	font-family: var(--gas-font-pixel);
	font-weight: 400;
	font-size: 10px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--gas-muted);
}

.gas-attrs__bar {
	display: flex;
	align-items: center;
	gap: 3px;
	margin: 0;
}

.gas-attrs__seg {
	width: 12px;
	height: 12px;
	background: var(--gas-line);
}

.gas-attrs__seg.is-on { background: var(--gas-accent); }

.gas-attrs__val {
	min-width: 3ch;
	margin-left: 6px;
	font-family: var(--gas-font-pixel);
	font-size: 12px;
	color: var(--gas-accent);
	font-variant-numeric: tabular-nums;
}

.gas-attrs__desc {
	grid-column: 1 / -1;
	margin: 0;
	font-size: 15px;
	line-height: 1.55;
	color: var(--gas-muted);
}

.gas-attrs--full { gap: 18px; }
.gas-attrs--full .gas-attrs__name { font-size: 16px; }

/* Vollprofil (Einzelseite) */
.gas-profile {
	--gas-accent: var(--gas-yellow, #fcea18);
	--gas-text: #ffffff;
	--gas-muted: rgba(255, 255, 255, 0.75);
	--gas-line: rgba(255, 255, 255, 0.28);
	--gas-icon-size: 88px;
	display: flex;
	flex-direction: column;
	gap: 28px;
	margin-block: 32px;
	padding: clamp(20px, 3vw, 40px);
	background: var(--gas-dark, #1e202c);
	border: 3px solid var(--gas-line);
	box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.55);
	color: var(--gas-text);
	text-align: left;
}

.gas-profile__head {
	display: flex;
	align-items: center;
	gap: 20px;
}

.gas-profile__icon { flex: 0 0 auto; }
.gas-profile__icon .gas-icon { width: var(--gas-icon-size); }

.gas-profile__eyebrow {
	margin: 0 0 6px;
	font-family: var(--gas-font-pixel);
	font-size: 12px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--gas-green, #7daf9c);
}

.gas-profile__title {
	margin: 0;
	font-family: var(--gas-font-pixel);
	font-size: clamp(22px, 3vw, 34px);
	line-height: 1.2;
	color: var(--gas-text);
	text-wrap: balance;
}

.gas-profile__facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 12px;
	margin: 0;
}

.gas-profile__facts > div {
	padding: 12px 14px;
	border: 2px solid var(--gas-line);
}

.gas-profile__facts dt {
	font-family: var(--gas-font-pixel);
	font-size: 11px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--gas-muted);
}

.gas-profile__facts dd {
	margin: 4px 0 0;
	font-family: var(--gas-font-bold);
	font-weight: 700;
	font-size: 16px;
}

.gas-profile__cols {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: clamp(24px, 4vw, 48px);
}

.gas-profile__h {
	margin: 0 0 16px;
	font-family: var(--gas-font-pixel);
	font-size: 16px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--gas-accent);
}

.gas-skills,
.gas-quests {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.gas-skills li {
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding-left: 14px;
	border-left: 4px solid var(--gas-purple, #986f98);
}

.gas-skills__name {
	font-family: var(--gas-font-bold);
	font-weight: 700;
	font-size: 16px;
}

.gas-skills__desc {
	font-size: 15px;
	line-height: 1.55;
	color: var(--gas-muted);
}

.gas-quests li {
	position: relative;
	padding-left: 26px;
	font-size: 16px;
}

.gas-quests li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.45em;
	width: 12px;
	height: 12px;
	background: var(--gas-accent);
	box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.5);
}

/* Profil mit Porträt */
.gas-profile--has-image .gas-profile__head {
	display: grid;
	grid-template-columns: minmax(180px, 280px) minmax(0, 1fr);
	align-items: end;
	gap: clamp(18px, 3vw, 36px);
}

.gas-profile__portrait {
	position: relative;
	margin: 0;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border: 3px solid var(--gas-line);
	box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.55);
	background: rgba(0, 0, 0, 0.35);
}

.gas-profile__portrait img,
.gas-profile__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gas-profile__portrait .gas-card__icon { --gas-icon-size: 48px; }
.gas-profile__portrait .gas-card__icon .gas-icon { width: 48px; }

.gas-profile__name {
	margin: 0 0 6px;
	font-family: var(--gas-font-bold);
	font-weight: 700;
	font-size: clamp(18px, 2vw, 22px);
	color: var(--gas-text);
}

@media (max-width: 600px) {
	.gas-profile--has-image .gas-profile__head { grid-template-columns: 1fr; }
	.gas-profile__portrait { max-width: 320px; }
}

/* Profilseiten: Autor, Datum, Autorenbox des Themes ausblenden (Fallback, falls ein Theme die Filter ignoriert). */
.gas-profile-page .entry-meta,
.gas-profile-page .posted-by,
.gas-profile-page .posted-on,
.gas-profile-page .byline,
.gas-profile-page .author-name,
.gas-profile-page .ast-author-meta,
.gas-profile-page .ast-single-author-box,
.gas-profile-page .ast-author-box,
.gas-profile-page .post-author,
.gas-profile-page .author-box {
	display: none !important;
}

/* ------------------------------------------------------------------ */
/* Profil-Navigation                                                   */
/* ------------------------------------------------------------------ */

.gas-pnav {
	--gas-accent: var(--gas-yellow, #fcea18);
	--gas-text: #ffffff;
	--gas-muted: rgba(255, 255, 255, 0.72);
	--gas-line: rgba(255, 255, 255, 0.28);
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin-block: 0 40px;
	padding: clamp(18px, 3vw, 32px);
	background: var(--gas-dark, #1e202c);
	border: 3px solid var(--gas-line);
	color: var(--gas-text);
}

.gas-pnav__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
}

.gas-pnav__back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 18px;
	background: var(--gas-accent);
	color: #000 !important;
	border: 3px solid #000;
	box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.5);
	font-family: var(--gas-font-pixel);
	font-size: 14px;
	letter-spacing: 0.05em;
	text-decoration: none !important;
	text-transform: uppercase;
	transition: transform 0.12s ease;
}

.gas-pnav__back:hover { transform: translate(-2px, -2px); }

.gas-pnav__tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gas-pnav__tab {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border: 3px solid var(--gas-line);
	color: var(--gas-text) !important;
	font-family: var(--gas-font-pixel);
	font-size: 13px;
	letter-spacing: 0.05em;
	text-decoration: none !important;
	text-transform: uppercase;
	transition: border-color 0.15s ease;
}

.gas-pnav__tab .gas-icon { width: 24px; }
.gas-pnav__tab:hover { border-color: var(--gas-accent); }

.gas-pnav__tab.is-current {
	border-color: var(--gas-accent);
	color: var(--gas-accent) !important;
}

.gas-pnav__h {
	margin: 6px 0 0;
	font-family: var(--gas-font-pixel);
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--gas-green, #7daf9c);
}

.gas-pnav__people {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gas-pnav__person {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px;
	border: 2px solid var(--gas-line);
	color: var(--gas-text) !important;
	text-decoration: none !important;
	transition: border-color 0.15s ease, transform 0.15s ease;
}

.gas-pnav__person:hover {
	border-color: var(--gas-accent);
	transform: translateX(3px);
}

.gas-pnav__thumb {
	flex: 0 0 auto;
	width: 56px;
	height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: rgba(0, 0, 0, 0.35);
}

.gas-pnav__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gas-pnav__thumb .gas-icon { width: 40px; }

.gas-pnav__meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }

.gas-pnav__name {
	font-family: var(--gas-font-bold);
	font-weight: 700;
	font-size: 15px;
}

.gas-pnav__class {
	font-family: var(--gas-font-pixel);
	font-size: 11px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--gas-accent);
}

/* Theme-Navigation „Vorheriger / Nächster“ auf Profilseiten ersetzen */
.gas-profile-page .post-navigation,
.gas-profile-page .ast-single-post-navigation { display: none !important; }

/* ------------------------------------------------------------------ */
/* Gelbe Buttons: Theme-Linkfarben (Hover/Visited) dürfen nicht durchschlagen */
/* ------------------------------------------------------------------ */

a.gas-card__cta,
a.gas-card__cta:link,
a.gas-card__cta:visited,
a.gas-pnav__back,
a.gas-pnav__back:link,
a.gas-pnav__back:visited,
.gas-btn,
.gas-slider__btn {
	color: #000 !important;
	background-color: var(--gas-accent, #fcea18) !important;
	text-decoration: none !important;
	border-bottom: 3px solid #000;
}

a.gas-card__cta:hover,
a.gas-card__cta:focus-visible,
a.gas-pnav__back:hover,
a.gas-pnav__back:focus-visible,
.gas-btn:hover:not(:disabled),
.gas-slider__btn:hover:not(:disabled) {
	color: var(--gas-accent, #fcea18) !important;
	background-color: #000 !important;
	border-color: #000;
}

/* ------------------------------------------------------------------ */
/* Rollen-Chips, Motivation                                            */
/* ------------------------------------------------------------------ */

.gas-roles {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gas-roles li {
	padding: 3px 8px;
	border: 2px solid var(--gas-purple, #986f98);
	font-family: var(--gas-font-pixel);
	font-size: 11px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--gas-text, #fff);
}

.gas-profile__intro .gas-roles { margin-top: 12px; }

.gas-profile__motivation {
	margin: 0;
	padding: 18px 20px;
	border: 3px solid var(--gas-accent);
	background: rgba(252, 234, 24, 0.06);
}

.gas-profile__motivation blockquote {
	margin: 0;
	padding: 0;
	border: 0;
	font-family: var(--gas-font-body);
	font-size: clamp(16px, 1.6vw, 19px);
	font-style: normal;
	line-height: 1.6;
	color: var(--gas-text);
}

/* ------------------------------------------------------------------ */
/* Questlog                                                            */
/* ------------------------------------------------------------------ */

.gas-ql {
	--gas-accent: var(--gas-yellow, #fcea18);
	--gas-text: #ffffff;
	--gas-muted: rgba(255, 255, 255, 0.72);
	--gas-surface: rgba(255, 255, 255, 0.05);
	--gas-line: rgba(255, 255, 255, 0.28);
	--gas-shadow: 6px 6px 0 rgba(0, 0, 0, 0.55);
	display: grid;
	gap: clamp(24px, 3vw, 40px);
	color: var(--gas-text);
}

.gas-ql--tracker { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; }

@media (max-width: 1024px) {
	.gas-ql--tracker { grid-template-columns: 1fr; }
	.gas-ql__aside { order: -1; }
}

.gas-ql__main { display: flex; flex-direction: column; gap: 24px; min-width: 0; }

/* Hauptquest */
.gas-qfeat {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	background: var(--gas-dark, #1e202c);
	border: 3px solid var(--gas-accent);
	box-shadow: var(--gas-shadow);
}

@media (max-width: 760px) { .gas-qfeat { grid-template-columns: 1fr; } }

.gas-qfeat__media,
.gas-qcard__media {
	position: relative;
	display: block;
	overflow: hidden;
	background: rgba(0, 0, 0, 0.35);
	aspect-ratio: 16 / 10;
}

.gas-qfeat__media img,
.gas-qcard__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.gas-qfeat:hover .gas-qfeat__media img,
.gas-qcard:hover .gas-qcard__media img { transform: scale(1.04); }

.gas-qcard__ph {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background: repeating-linear-gradient(45deg, rgba(152, 111, 152, 0.18) 0 12px, transparent 12px 24px);
}

.gas-qcard__ph .gas-icon { width: 34%; }

.gas-qfeat__body {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: clamp(18px, 3vw, 32px);
}

.gas-qfeat__eyebrow {
	margin: 0;
	font-family: var(--gas-font-pixel);
	font-size: 12px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--gas-green, #7daf9c);
}

.gas-qfeat__title,
.gas-qcard__title {
	margin: 0;
	font-family: var(--gas-font-bold);
	font-weight: 700;
	line-height: 1.25;
	text-wrap: balance;
}

.gas-qfeat__title { font-size: clamp(22px, 2.4vw, 32px); }
.gas-qcard__title { font-size: clamp(17px, 1.4vw, 20px); }

.gas-qfeat__title a,
.gas-qcard__title a {
	color: var(--gas-text) !important;
	text-decoration: none !important;
}

.gas-qfeat__title a:hover,
.gas-qcard__title a:hover { color: var(--gas-accent) !important; }

.gas-qfeat__text,
.gas-qcard__text {
	margin: 0;
	font-family: var(--gas-font-body);
	font-size: 15px;
	line-height: 1.6;
	color: var(--gas-muted);
}

.gas-qfeat__cta { align-self: flex-start; margin-top: auto; }

/* Badges */
.gas-qcard__badges { display: flex; flex-wrap: wrap; gap: 6px; }

.gas-qbadge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 9px 4px 6px;
	border: 2px solid #000;
	font-family: var(--gas-font-pixel);
	font-size: 11px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #000;
	background: var(--gas-yellow, #fcea18);
}

.gas-qbadge .gas-icon { width: 16px; }
.gas-qbadge--purple { background: var(--gas-purple, #986f98); color: #fff; }
.gas-qbadge--green  { background: var(--gas-green, #7daf9c); }
.gas-qbadge--white  { background: #fff; }

/* Datum · XP · Lesezeit */
.gas-qcard__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
	margin: 0;
	font-family: var(--gas-font-pixel);
	font-size: 11px;
	letter-spacing: 0.06em;
	color: var(--gas-muted);
	font-variant-numeric: tabular-nums;
}

.gas-qcard__xp { color: var(--gas-accent); }

/* Filter */
.gas-ql__filters { display: flex; flex-wrap: wrap; gap: 8px; }

.gas-ql__filter {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	background: transparent;
	border: 3px solid var(--gas-line);
	color: var(--gas-text);
	font-family: var(--gas-font-pixel);
	font-size: 12px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	cursor: pointer;
	border-radius: 0;
	transition: border-color 0.15s ease, color 0.15s ease;
}

.gas-ql__filter .gas-icon { width: 20px; }
.gas-ql__filter:hover { border-color: var(--gas-accent); background: transparent; color: var(--gas-text); }

.gas-ql__filter.is-active {
	border-color: var(--gas-accent);
	color: var(--gas-accent);
	background: rgba(252, 234, 24, 0.08);
}

/* Karten */
.gas-ql__grid {
	display: grid;
	grid-template-columns: repeat(var(--gas-ql-cols, 3), minmax(0, 1fr));
	gap: clamp(16px, 2vw, 28px);
}

@media (max-width: 1024px) { .gas-ql__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px)  { .gas-ql__grid { grid-template-columns: 1fr; } }

.gas-qcard {
	display: flex;
	flex-direction: column;
	background: var(--gas-surface);
	border: 3px solid var(--gas-line);
	box-shadow: var(--gas-shadow);
	transition: transform 0.18s ease, border-color 0.18s ease;
}

.gas-qcard[hidden] { display: none !important; }

.gas-qcard:hover {
	transform: translate(-3px, -3px);
	border-color: var(--gas-accent);
}

.gas-qcard__icon {
	position: absolute;
	right: 10px;
	bottom: 10px;
	transition: transform 0.2s steps(3);
}

.gas-qcard__icon .gas-icon { width: 42px; }
.gas-qcard:hover .gas-qcard__icon { transform: translateY(-6px); }

.gas-qcard__body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1 1 auto;
	padding: 16px 18px 18px;
	text-align: left;
}

.gas-qcard__body .gas-qcard__stats { margin-top: auto; padding-top: 6px; }

.gas-ql__more-wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.gas-ql__empty { margin: 0; font-family: var(--gas-font-pixel); font-size: 13px; color: var(--gas-muted); }

/* Quest-Tracker */
.gas-tracker {
	position: sticky;
	top: calc(env(safe-area-inset-top, 0px) + 24px);
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 20px;
	background: var(--gas-dark, #1e202c);
	border: 3px solid var(--gas-line);
	box-shadow: var(--gas-shadow);
	color: #fff;
}

.gas-tracker__h {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-family: var(--gas-font-pixel);
	font-size: 14px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--gas-yellow, #fcea18);
}

.gas-tracker__h .gas-icon { width: 64px; }

.gas-tracker__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; }

.gas-tracker__item { display: flex; gap: 12px; align-items: flex-start; }

.gas-tracker__box {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 3px solid rgba(255, 255, 255, 0.4);
	font-size: 11px;
	line-height: 1;
}

.gas-tracker__item.is-done .gas-tracker__box { background: var(--gas-green, #7daf9c); border-color: var(--gas-green, #7daf9c); color: #000; }
.gas-tracker__item.is-active .gas-tracker__box { background: var(--gas-yellow, #fcea18); border-color: var(--gas-yellow, #fcea18); color: #000; }
.gas-tracker__item.is-done .gas-tracker__title { text-decoration: line-through; opacity: 0.7; }

.gas-tracker__text { display: flex; flex-direction: column; gap: 2px; }
.gas-tracker__title { font-family: var(--gas-font-bold); font-weight: 700; font-size: 15px; }
.gas-tracker__meta { font-family: var(--gas-font-pixel); font-size: 11px; color: rgba(255, 255, 255, 0.7); }

.gas-tracker .gas-countdown { align-items: flex-start; text-align: left; gap: 8px; }
.gas-tracker .gas-countdown__label { font-size: 11px; }
.gas-tracker .gas-countdown { width: 100%; }
.gas-tracker .gas-countdown__units { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; width: 100%; }
.gas-tracker .gas-countdown__unit { min-width: 0; padding: 5px 2px; }
.gas-tracker .gas-countdown__value { font-size: 20px; }
.gas-tracker .gas-countdown__unit-label { font-size: 8px; letter-spacing: 0; }

/* Beitragsseite */
.gas-qhead {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 18px;
	margin: 0 0 24px;
	padding-bottom: 16px;
	border-bottom: 3px solid currentColor;
	--gas-muted: inherit;
	--gas-accent: var(--gas-purple, #986f98);
}

.gas-qnext {
	--gas-accent: var(--gas-yellow, #fcea18);
	--gas-text: #ffffff;
	--gas-muted: rgba(255, 255, 255, 0.72);
	--gas-surface: rgba(255, 255, 255, 0.05);
	--gas-line: rgba(255, 255, 255, 0.28);
	--gas-shadow: 6px 6px 0 rgba(0, 0, 0, 0.55);
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin-top: 48px;
	padding: clamp(18px, 3vw, 32px);
	background: var(--gas-dark, #1e202c);
	color: #fff;
}

.gas-qnext__h {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-family: var(--gas-font-pixel);
	font-size: 16px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--gas-yellow, #fcea18);
}

.gas-qnext__h .gas-icon { width: 34px; }
.gas-qnext__back { margin: 0; }

.gas-quest-page .entry-meta,
.gas-quest-page .posted-by,
.gas-quest-page .byline,
.gas-quest-page .ast-author-meta,
.gas-quest-page .ast-single-author-box,
.gas-quest-page .ast-author-box,
.gas-quest-page .post-navigation,
.gas-quest-page .ast-single-post-navigation { display: none !important; }

a.gas-btn,
a.gas-btn:link,
a.gas-btn:visited { display: inline-flex; align-items: center; gap: 8px; text-decoration: none !important; }
a.gas-btn:hover,
a.gas-btn:focus-visible { color: var(--gas-yellow, #fcea18) !important; background-color: #000 !important; }

@media (prefers-reduced-motion: reduce) {
	.gas-qcard, .gas-qcard__icon, .gas-qfeat__media img, .gas-qcard__media img { transition: none; }
}

.gas-ql [hidden] { display: none !important; }

/* Hauptquest: Bild füllt die volle Höhe */
.gas-qfeat__media { aspect-ratio: auto; min-height: 260px; }
.gas-qfeat__media img { position: absolute; inset: 0; }
@media (max-width: 760px) { .gas-qfeat__media { aspect-ratio: 16 / 10; min-height: 0; } }

/* ------------------------------------------------------------------ */
/* Questlog: helles Schema (weiße Seiten)                              */
/* ------------------------------------------------------------------ */

.gas-ql--light {
	--gas-accent: var(--gas-purple, #986f98);
	--gas-text: var(--gas-dark, #1e202c);
	--gas-muted: rgba(30, 32, 44, 0.72);
	--gas-surface: #ffffff;
	--gas-line: rgba(30, 32, 44, 0.22);
	--gas-shadow: 6px 6px 0 rgba(30, 32, 44, 0.18);
}

/* Hauptquest bleibt ein dunkler Block – mit eigener heller Schrift */
.gas-qfeat {
	--gas-text: #ffffff;
	--gas-muted: rgba(255, 255, 255, 0.75);
	--gas-accent: var(--gas-yellow, #fcea18);
	color: #fff;
}

.gas-ql--light .gas-qcard:hover { border-color: var(--gas-dark, #1e202c); }

/* XP als Chip – lesbar auf hell und dunkel */
.gas-qcard__xp {
	padding: 1px 6px;
	background: var(--gas-yellow, #fcea18);
	color: #000 !important;
	border: 2px solid #000;
}

/* Filter-Reiter */
.gas-ql--light .gas-ql__filter {
	color: var(--gas-dark, #1e202c);
	border-color: rgba(30, 32, 44, 0.25);
	background: #fff;
}

.gas-ql--light .gas-ql__filter:hover {
	color: var(--gas-dark, #1e202c);
	border-color: var(--gas-dark, #1e202c);
	background: #fff;
}

.gas-ql .gas-ql__filter.is-active,
.gas-ql--light .gas-ql__filter.is-active {
	color: #000;
	background: var(--gas-yellow, #fcea18);
	border-color: #000;
}

.gas-ql--light .gas-qcard__title a { color: var(--gas-dark, #1e202c) !important; }
.gas-ql--light .gas-qcard__title a:hover { color: var(--gas-purple, #986f98) !important; }
.gas-ql--light .gas-qcard__ph { background-color: var(--gas-dark, #1e202c); }

/* Theme-Button-Stile (Astra/Elementor) dürfen die Filter nicht überschreiben */
.gas-ql .gas-ql__filter { box-shadow: none !important; text-shadow: none !important; line-height: 1.2 !important; }
.gas-ql--light .gas-ql__filter,
.gas-ql--light .gas-ql__filter:hover,
.gas-ql--light .gas-ql__filter:focus { color: var(--gas-dark, #1e202c) !important; background: #fff !important; }
.gas-ql--dark .gas-ql__filter,
.gas-ql--dark .gas-ql__filter:hover,
.gas-ql--dark .gas-ql__filter:focus { color: #fff !important; background: transparent !important; }
.gas-ql .gas-ql__filter.is-active,
.gas-ql .gas-ql__filter.is-active:hover,
.gas-ql .gas-ql__filter.is-active:focus { color: #000 !important; background: var(--gas-yellow, #fcea18) !important; border-color: #000 !important; }

/* Charaktere im Questlog */
.gas-qpeople { display: flex; flex-direction: column; gap: 18px; margin-top: 16px; padding-top: 28px; border-top: 3px solid var(--gas-line); }
.gas-qpeople__h { display: flex; align-items: center; gap: 10px; margin: 0; font-family: var(--gas-font-pixel); font-size: clamp(18px, 2vw, 26px); letter-spacing: 0.06em; text-transform: uppercase; color: var(--gas-text); }
.gas-qpeople__h .gas-icon { width: 40px; }
.gas-qpeople__panel[hidden] { display: none !important; }
/* Karten auf weißem Grund: Spezialisierung lesbar, Balken bleiben gelb */
.gas-ql--light .gas-qpeople .gas-card__spec,
.gas-ql--light .gas-qpeople .gas-card__links a { color: var(--gas-purple, #986f98) !important; }
.gas-ql--light .gas-qpeople .gas-card:hover { border-color: var(--gas-dark, #1e202c); }
.gas-ql--light .gas-qpeople .gas-attrs__seg.is-on { background: var(--gas-yellow, #fcea18); outline: 1px solid rgba(0, 0, 0, 0.35); }
.gas-ql--light .gas-qpeople .gas-attrs__val { color: var(--gas-dark, #1e202c); }
@media (min-width: 1025px) { .gas-ql--tracker .gas-qpeople .gas-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Spaltenzahl per Klasse (statt Inline-Stil), damit Elementor-Einstellungen für Desktop/Tablet/Mobil greifen */
.gas-ql__grid--cols-1 { --gas-ql-cols: 1; }
.gas-ql__grid--cols-2 { --gas-ql-cols: 2; }
.gas-ql__grid--cols-3 { --gas-ql-cols: 3; }
.gas-ql__grid--cols-4 { --gas-ql-cols: 4; }
.gas-slider__track--cols-1 { --gas-slider-cols: 1; }
.gas-slider__track--cols-2 { --gas-slider-cols: 2; }
.gas-slider__track--cols-3 { --gas-slider-cols: 3; }
.gas-slider__track--cols-4 { --gas-slider-cols: 4; }
.gas-slider__track--cols-5 { --gas-slider-cols: 5; }
.gas-slider__track--cols-6 { --gas-slider-cols: 6; }
.gas-icon-grid { --gas-icon-size: 120px; }
