/* ==========================================================================
   Landania Wiki – Landania-Stil wie der MineTicker (Schwarz, Grün, Cyan, Futura; Lilita One für Wortmarke und
   Überschriften) mit BlockBande-Haptik: scharfe Kanten, Knöpfe mit Kante unten, die beim Drücken einrasten,
   Klick-Ton. Grundfarben (warmes Grau, hell/dunkel) kommen aus dem Shop-Theme: Umschalter in der Kopfleiste,
   html[data-ln-theme="hell"], gilt für den ganzen Shop.
   ========================================================================== */

@font-face {
	font-family: "Lilita One";
	src: url("fonts/lilita-one.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

.lnw {
	/* Grundfarben aus dem Shop-Theme (hell/dunkel über den Umschalter in der Kopfleiste, assets/css/theme.css) */
	--k-bg: var(--ls-bg, #262624);
	--k-card: var(--ls-card, #30302e);
	--k-card2: var(--ls-card2, #3a3936);
	--k-field: var(--ls-input, #1f1e1d);
	--k-line: var(--ls-line, #3e3e3a);
	--k-line2: var(--ls-line-soft, #353532);
	--k-text: var(--ls-text-body, #e5e3da);
	--k-strong: var(--ls-text, #faf9f5);
	--k-soft: var(--ls-text-soft, #cfccc2);
	--k-muted: var(--ls-text-muted, #a19f97);
	--k-link: var(--ls-blue-fg, #00d4ff);
	--k-link-h: var(--ls-blue, #00d4ff);
	--k-acc: var(--ls-green, #91f022);
	--k-acc-edge: var(--ls-green-dark, #69ac1b);
	--k-acc-text: var(--ls-green-text, #143200);
	--k-acc-fg: var(--ls-green-fg, #91f022);
	--k-cyan: var(--ls-blue, #00d4ff);
	--k-cyan-edge: var(--ls-blue-dark, #0097b6);
	--k-cyan-text: var(--ls-blue-text, #042c36);
	--k-sec: var(--ls-sec, #45443f);
	--k-sec-edge: var(--ls-sec-edge, #1a1918);
	--k-sec-text: var(--ls-text, #faf9f5);
	--k-drop: var(--ls-drop, #1a1918);
	--k-hero-fade: var(--ls-overlay-soft, rgba(38, 38, 36, 0.55));
	--k-cmd: var(--ls-green-fg, #91f022);
	--k-info: var(--ls-blue-fg, #00d4ff);
	--k-ok: var(--ls-green-fg, #91f022);
	--k-warn: var(--ls-yellow-fg, #f5c542);
	--k-err: var(--ls-red-fg, #ff8a8a);
	--w-c-blue: #5cb8ff;
	--w-c-cyan: #00d4ff;
	--w-c-green: #91f022;
	--w-c-orange: #ffad5c;
	--w-c-yellow: #f5c542;
	--w-c-red: #ff8a8a;
	--w-c-purple: #c58cff;
	--k-head: "Lilita One", var(--ls-font, "Futura BT"), system-ui, sans-serif;
	--k-body: var(--ls-font, "Futura BT"), "Trebuchet MS", system-ui, sans-serif;
	--k-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

	display: block;
	padding-top: var(--ls-header-h, 57px);
	background: var(--k-bg);
	color: var(--k-text);
	font: 500 14px/1.5 var(--k-body);
}

html[data-ln-theme="hell"] .lnw {
	--w-c-blue: #1d5fb8;
	--w-c-cyan: #006f97;
	--w-c-green: #2c6e00;
	--w-c-orange: #a85100;
	--w-c-yellow: #8a5d00;
	--w-c-red: #b52f2f;
	--w-c-purple: #6b2fb8;
}

.lnw *, .lnw *::before, .lnw *::after { box-sizing: border-box; }
.lnw a { color: inherit; text-decoration: none; }
.lnw h1, .lnw h2, .lnw h3 { margin: 0; font-family: var(--k-head); font-weight: 400; line-height: 1.1; color: var(--k-strong); letter-spacing: 0.005em; }
.lnw-wrap { width: min(100% - 32px, 1440px); margin-inline: auto; }
.lnw--start .lnw-wrap { width: min(100% - 32px, 1240px); }
.lnw-lab { display: block; color: var(--k-muted); font: 700 11.5px/1.2 var(--k-body); letter-spacing: 0.1em; text-transform: uppercase; }
.lnw-muted { color: var(--k-muted); font-size: 13px; }
.lnw-ln { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: square; stroke-linejoin: miter; }
.lnw-cnt { color: var(--k-muted); font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.lnw-tag { padding: 3px 7px 1px; border: 1px solid var(--k-line); color: var(--k-muted); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.lnw-tag--acc { color: var(--k-acc-fg); border-color: currentColor; }
.lnw-panel { background: var(--k-card); border: 1px solid var(--k-line); padding: 20px; min-width: 0; }
.lnw-panel h2 { font-size: 21px; margin-bottom: 8px; }

/* --- Knopf „Tastenkante“ (wie blockbande.net und MineTicker) ---------------------- */

.lnw-k {
	--c: var(--k-acc);
	--d: var(--k-acc-edge);
	--t: var(--k-acc-text);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	min-height: 36px;
	padding: 3px 16px 0;
	border: 0;
	border-radius: 0;
	background: var(--c);
	color: var(--t) !important;
	font: 700 14px/1 var(--k-body);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	white-space: nowrap;
	cursor: pointer;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 3px 0 var(--d), 0 3px 0 1px #000;
	transition: transform 0.05s, box-shadow 0.05s, filter 0.05s;
	-webkit-tap-highlight-color: transparent;
	user-select: none;
}
.lnw-k:hover { filter: brightness(1.08); }
.lnw-k:active { transform: translateY(3px); box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.2), 0 0 0 1px #000; filter: none; }
.lnw-k:focus-visible { outline: 2px solid var(--k-acc); outline-offset: 4px; }
.lnw-k--sec { --c: var(--k-sec); --d: var(--k-sec-edge); --t: var(--k-sec-text); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 3px 0 var(--d), 0 3px 0 1px #000; }
.lnw-k--cyan { --c: var(--k-cyan); --d: var(--k-cyan-edge); --t: var(--k-cyan-text); }
.lnw-k--sm { min-height: 30px; padding: 3px 11px 0; font-size: 12px; }

/* --- Wortmarke, Umschalter, Suche ------------------------------------------------- */

.lnw-wordmark { display: inline-flex; align-items: center; gap: 12px; font: 400 56px/0.95 var(--k-head); color: var(--k-strong) !important; letter-spacing: 0.01em; }
.lnw-wordmark__icon { width: 46px; height: 46px; flex: none; display: inline-flex; align-items: center; justify-content: center; background: var(--k-acc); color: var(--k-acc-text); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 3px 0 var(--k-acc-edge), 0 3px 0 1px #000; }
.lnw-wordmark__icon .lnw-ln { width: 26px; height: 26px; stroke-width: 2.25; }
.lnw-wordmark--sm { font-size: 30px; gap: 10px; }
.lnw-wordmark--sm .lnw-wordmark__icon { width: 30px; height: 30px; }
.lnw-wordmark--sm .lnw-wordmark__icon .lnw-ln { width: 18px; height: 18px; }

.lnw-switch { display: inline-grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 4px 4px 7px; background: var(--k-field); border: 1px solid var(--k-line); }
.lnw-switch__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 140px; padding: 3px 22px 0; font: 700 17px/1 var(--k-body); text-transform: uppercase; letter-spacing: 0.03em; color: var(--k-soft) !important; transition: transform 0.05s, box-shadow 0.05s, background 0.1s; -webkit-tap-highlight-color: transparent; }
.lnw-switch__btn:hover { color: var(--k-strong) !important; background: var(--k-card2); }
.lnw-switch__btn:active { transform: translateY(3px); }
.lnw-switch__btn[aria-current="page"] { background: var(--k-acc); color: var(--k-acc-text) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 3px 0 var(--k-acc-edge), 0 3px 0 1px #000; }
.lnw-switch--sm { padding: 3px 3px 6px; }
.lnw-switch--sm .lnw-switch__btn { min-height: 34px; min-width: 110px; padding: 3px 16px 0; font-size: 14px; }

.lnw-search { position: relative; flex: 1 1 320px; min-width: 0; }
.lnw-search__field { display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 12px; background: var(--k-field); border: 1px solid var(--k-line); color: var(--k-muted); cursor: text; }
.lnw-search__field:focus-within { border-color: var(--k-acc-edge); }
.lnw-search__field input { flex: 1; min-width: 0; height: 100%; padding: 0; background: transparent; border: 0; outline: 0; box-shadow: none; color: var(--k-strong); font: 500 15px var(--k-body); }
.lnw-search__field input::placeholder { color: var(--k-muted); opacity: 1; }
.lnw-search--big { flex-basis: 480px; }
.lnw-search--big .lnw-search__field { height: 50px; padding: 0 14px; }
.lnw-search--big .lnw-search__field input { font-size: 16px; }
.lnw-kbd { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border: 1px solid var(--k-line); color: var(--k-soft); font: 600 12px var(--k-body); }
.lnw-search__results { position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 4px); margin: 0; padding: 4px; list-style: none; background: var(--k-card); border: 1px solid var(--k-line); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45); max-height: 440px; overflow-y: auto; }
.lnw-search__results a { display: flex; flex-direction: column; gap: 2px; padding: 9px 10px; color: var(--k-text); }
.lnw-search__results a:hover, .lnw-search__results a.is-sel { background: var(--k-card2); }
.lnw-search__results strong { display: flex; align-items: center; gap: 8px; color: var(--k-strong); font-size: 14.5px; }
.lnw-search__results small { color: var(--k-muted); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.lnw-search__results span { color: var(--k-muted); font-size: 12.5px; line-height: 1.4; }
.lnw-search__results .is-empty { padding: 10px; color: var(--k-muted); }

/* --- Startseite ------------------------------------------------------------------- */

.lnw-hero {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 30px 0 26px;
	border-bottom: 1px solid var(--k-line);
	background: var(--k-bg) center top / cover no-repeat;
	background-image: linear-gradient(180deg, var(--k-hero-fade), var(--k-bg) 92%), var(--lnw-hero-img, none);
}
.lnw-hero__top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; }
.lnw-hero__brand { display: flex; flex-direction: column; gap: 6px; }
.lnw-hero__claim { margin: 2px 0 0; font-size: 15px; font-weight: 600; color: var(--k-soft); }
.lnw-hero__tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.lnw-ip { display: flex; align-items: center; gap: 10px; height: 50px; padding: 0 8px 0 12px; background: var(--k-field); border: 1px solid var(--k-line); }
.lnw-ip strong { font-size: 15px; color: var(--k-strong); }
.lnw-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.lnw-chips .lnw-lab { margin-right: 4px; }
.lnw-chip { display: inline-flex; align-items: center; padding: 6px 11px 4px; background: var(--k-card); border: 1px solid var(--k-line); color: var(--k-soft) !important; font-size: 13px; }
.lnw-chip:hover { border-color: var(--k-acc-edge); color: var(--k-strong) !important; }

.lnw-start { display: flex; flex-direction: column; gap: 28px; padding: 28px 0 48px; }
.lnw-note { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 14px 18px; background: var(--k-card); border: 1px solid var(--k-line); color: var(--k-soft) !important; }
.lnw-note:hover { border-color: var(--k-acc-edge); }
.lnw-note__more { margin-left: auto; color: var(--k-link); font-weight: 700; }
.lnw-block { display: flex; flex-direction: column; gap: 14px; }
.lnw-block__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px; }
.lnw-block__head h2 { font-size: 26px; }
.lnw-areas { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.lnw-tile { display: flex; gap: 14px; align-items: flex-start; padding: 16px; background: var(--k-card); border: 1px solid var(--k-line); box-shadow: 0 3px 0 var(--k-drop); min-width: 0; transition: border-color 0.12s, transform 0.05s, box-shadow 0.05s; }
.lnw-tile:hover { border-color: var(--k-acc-edge); }
.lnw-tile:active { transform: translateY(3px); box-shadow: none; }
.lnw-tile__text { display: flex; flex-direction: column; gap: 5px; min-width: 0; flex: 1; }
.lnw-tile__title { font: 400 20px/1.1 var(--k-head); color: var(--k-strong); }
.lnw-tile__sub { color: var(--k-soft); font-size: 13px; line-height: 1.45; }
.lnw-tile__go { display: none; }
/* Icon-Feld: in beiden Modi dunkel mit grünem Icon (wie eine Taste) */
.lnw-ico { width: 44px; height: 44px; flex: none; display: flex; align-items: center; justify-content: center; background: #1f1e1d; border: 1px solid #3e3e3a; color: #91f022; }
.lnw-ico .lnw-ln { width: 22px; height: 22px; }
.lnw-start__row { display: flex; flex-wrap: wrap; gap: 16px; align-items: stretch; }
.lnw-start__row > * { flex: 1 1 340px; }
.lnw-row { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--k-line2); color: var(--k-text); }
.lnw-row:hover { color: var(--k-strong); }
.lnw-row:hover .lnw-row__t { text-decoration: underline; text-underline-offset: 3px; }
.lnw-row__n { width: 18px; font: 400 22px/1 var(--k-head); color: var(--k-acc-fg); }
.lnw-row__t { flex: 1; min-width: 0; }
.lnw-row .lnw-ln { color: var(--k-muted); }
.lnw-herbert { display: flex; flex-direction: column; gap: 10px; }
.lnw-herbert__head { display: flex; align-items: center; gap: 14px; }
.lnw-herbert__head h2 { margin: 0; }
.lnw-herbert__img { display: block; width: 56px; height: 56px; object-fit: cover; border: 1px solid var(--k-line); }
.lnw-herbert--wide .lnw-herbert__img { width: 64px; height: 64px; }
.lnw-herbert p, .lnw-herbert > span { margin: 0; color: var(--k-soft); font-size: 13.5px; }
.lnw-herbert__title { font: 400 18px/1.15 var(--k-head); color: var(--k-strong); }

/* --- Leiste, Raster, Seitenleisten ------------------------------------------------ */

.lnw-bar { background: var(--k-card); border-bottom: 1px solid var(--k-line); }
.lnw-bar__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 14px 0; }
.lnw-layout { display: grid; grid-template-columns: 190px minmax(0, 1fr) 230px; grid-template-areas: "side main aside"; gap: 36px; align-items: start; padding: 26px 0 48px; }
.lnw-side { grid-area: side; position: sticky; top: calc(var(--ls-header-h, 57px) + 12px); }
.lnw-main { grid-area: main; min-width: 0; max-width: 860px; }
.lnw-aside { grid-area: aside; display: flex; flex-direction: column; gap: 16px; position: sticky; top: calc(var(--ls-header-h, 57px) + 12px); }
.lnw-side__box > summary { display: none; }
.lnw-side__nav { display: flex; flex-direction: column; gap: 2px; }
.lnw-side__label { padding: 0 8px 8px; }
.lnw-side__nav a { display: flex; align-items: center; gap: 9px; padding: 7px 8px; border-left: 2px solid transparent; color: var(--k-soft); font-size: 14px; line-height: 1.3; }
.lnw-side__nav a .lnw-ln { color: var(--k-acc-fg); }
.lnw-side__nav a:hover { color: var(--k-strong); background: var(--k-card); }
.lnw-side__nav a.is-active { color: var(--k-strong); background: var(--k-card); border-left-color: var(--k-acc); }
.lnw-side__nav a.lnw-side__back { margin-top: 8px; color: var(--k-muted); font-size: 13px; }

.lnw-crumbline { margin-bottom: 10px; }
.lnw-crumbs { display: flex; flex-wrap: wrap; gap: 6px; color: var(--k-muted); font-size: 13px; }
.lnw-crumbs a:hover { color: var(--k-strong); }
.lnw-back { display: none; }
.lnw-title { font-size: 46px !important; margin: 4px 0 8px !important; }
.lnw-lead { margin: 0 0 20px; color: var(--k-soft); font-size: 15.5px; max-width: 680px; }

.lnw-ahead { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.lnw-ahead h1 { font-size: 44px; }
.lnw-ahead__icon { width: 54px; height: 54px; flex: none; display: flex; align-items: center; justify-content: center; background: var(--k-acc); color: var(--k-acc-text); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 3px 0 var(--k-acc-edge), 0 3px 0 1px #000; }
.lnw-ahead__icon .lnw-ln { width: 30px; height: 30px; stroke-width: 2; }

.lnw-grp { margin: 18px 0; background: var(--k-card); border: 1px solid var(--k-line); scroll-margin-top: calc(var(--ls-header-h, 57px) + 12px); }
.lnw-grp__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--k-line); }
.lnw-grp__head .lnw-ico { width: 36px; height: 36px; }
.lnw-grp__head .lnw-ico .lnw-ln { width: 19px; height: 19px; }
.lnw-grp__head h2 { flex: 1; font-size: 20px; }
.lnw-grp__more { color: var(--k-link) !important; font-weight: 700; font-size: 13px; }
.lnw-grp__desc { margin: 0; padding: 12px 16px 0; color: var(--k-soft); font-size: 13.5px; }
.lnw-grp__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 14px; }
.lnw-card { display: flex; flex-direction: column; gap: 4px; padding: 14px; background: var(--k-card2); border: 1px solid var(--k-line); box-shadow: 0 3px 0 var(--k-drop); min-width: 0; transition: border-color 0.12s, transform 0.05s, box-shadow 0.05s; }
.lnw-card:hover { border-color: var(--k-acc-edge); }
.lnw-card:active { transform: translateY(3px); box-shadow: none; }
.lnw-card__t { font-weight: 700; font-size: 15px; color: var(--k-strong); overflow-wrap: anywhere; }
.lnw-card__d { color: var(--k-muted); font-size: 13px; line-height: 1.45; }

.lnw-toc { display: flex; flex-direction: column; }
.lnw-toc .lnw-lab { padding-bottom: 8px; }
.lnw-toc a { display: block; padding: 5px 0 5px 10px; border-left: 1px solid var(--k-line); color: var(--k-soft); font-size: 13.5px; line-height: 1.35; }
.lnw-toc a.depth-3, .lnw-toc a.depth-4 { padding-left: 20px; font-size: 13px; }
.lnw-toc a:hover { color: var(--k-strong); }
.lnw-toc a.is-current { border-left-color: var(--k-acc); color: var(--k-strong); }
.lnw-toc-m { display: none; }
.lnw-fix { margin: 0; padding: 14px 16px; background: var(--k-card); border: 1px solid var(--k-line); color: var(--k-muted); font-size: 13px; }
.lnw-fix strong { display: block; color: var(--k-strong); font: 400 16px var(--k-head); margin-bottom: 4px; }

.lnw-pager { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--k-line); }
.lnw-pager a { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px; background: var(--k-card); border: 1px solid var(--k-line); box-shadow: 0 3px 0 var(--k-drop); }
.lnw-pager a:hover { border-color: var(--k-acc-edge); }
.lnw-pager small { color: var(--k-muted); font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.lnw-pager span { color: var(--k-strong); font-weight: 700; }
.lnw-pager__next { grid-column: 2; text-align: right; }
.lnw-updated { margin: 14px 0 0; color: var(--k-muted); font-size: 12.5px; }

.lnw-foot { border-top: 1px solid var(--k-line); background: var(--k-card); }
.lnw-foot__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 14px 0; }
.lnw-sound { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; background: transparent; border: 1px solid var(--k-line); border-radius: 0; color: var(--k-muted); cursor: pointer; box-shadow: none; }
.lnw-sound:hover { color: var(--k-strong); }
.lnw-sound .lnw-sound__off { display: none; }
html[data-lnw-klick="aus"] .lnw-sound .lnw-sound__on { display: none; }
html[data-lnw-klick="aus"] .lnw-sound .lnw-sound__off { display: block; }

/* --- Inhalt (aus dem Dashboard, gleiche Bausteine wie im BlockBande-Wiki) ---------- */

.wiki-content { font-size: 16px; line-height: 1.65; color: var(--k-text); overflow-wrap: anywhere; }
.wiki-content > :first-child { margin-top: 0; }
.wiki-content > :last-child { margin-bottom: 0; }
.wiki-content h1, .wiki-content h2, .wiki-content h3, .wiki-content h4, .wiki-content h5, .wiki-content h6 { font-family: var(--k-head); font-weight: 400; line-height: 1.15; color: var(--k-strong); scroll-margin-top: calc(var(--ls-header-h, 57px) + 16px); }
.wiki-content h1 { margin: 32px 0 10px; font-size: 30px; }
.wiki-content h2 { margin: 32px 0 12px; font-size: 28px; }
.wiki-content h3 { margin: 26px 0 8px; font-size: 21px; }
.wiki-content h4, .wiki-content h5, .wiki-content h6 { margin: 20px 0 6px; font-size: 17px; }
.wiki-content p { margin: 0 0 12px; }
.wiki-content strong, .wiki-content b { font-weight: 700; color: var(--k-strong); }
.wiki-content a { color: var(--k-link); font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.wiki-content a:hover { color: var(--k-link-h); }
.wiki-content ul, .wiki-content ol { margin: 0 0 12px; padding-left: 22px; }
.wiki-content li { margin: 4px 0; }
.wiki-content li > p { margin: 2px 0; }
.wiki-content ul > li::marker { color: var(--k-acc-fg); }
.wiki-content ol > li::marker { color: var(--k-acc-fg); font-weight: 700; }
.wiki-content img { max-width: 100%; height: auto; vertical-align: middle; }
/* Kleine Item-Bilder im Text (GitBook „line“, 16–32 px): in Zeilenhöhe und pixelgenau (wiki.js setzt die Klasse) */
.wiki-content img.lnw-px { width: auto; height: 1.5em; image-rendering: pixelated; vertical-align: -0.35em; border: 0; }
.wiki-content figure { margin: 18px 0; }
.wiki-content figure img { border: 1px solid var(--k-line); }
.wiki-content figcaption { margin-top: 6px; font-size: 13px; color: var(--k-muted); text-align: center; }
.wiki-content figcaption:empty { display: none; }
.wiki-content code { padding: 1px 6px; background: var(--k-card2); border: 1px solid var(--k-line); color: var(--k-cmd); font: 600 0.86em var(--k-mono); }
.wiki-content pre { margin: 0 0 14px; padding: 12px 14px; overflow-x: auto; background: var(--k-card2); border: 1px solid var(--k-line); }
.wiki-content pre code { padding: 0; border: 0; background: none; white-space: pre; }
.wiki-content blockquote { margin: 0 0 14px; padding: 2px 16px; border-left: 3px solid var(--k-line); color: var(--k-soft); }
.wiki-content hr { margin: 28px 0; border: 0; border-top: 1px solid var(--k-line); }

.wiki-content table { display: block; width: fit-content; max-width: 100%; overflow-x: auto; margin: 6px 0 14px; border-collapse: collapse; background: var(--k-card); border: 1px solid var(--k-line); font-size: 14.5px; }
.wiki-content th { padding: 9px 12px; text-align: left; vertical-align: bottom; background: var(--k-card2); border-bottom: 1px solid var(--k-line); color: var(--k-muted); font: 700 11.5px var(--k-body); letter-spacing: 0.08em; text-transform: uppercase; }
.wiki-content td { padding: 9px 12px; text-align: left; vertical-align: top; border-top: 1px solid var(--k-line2); line-height: 1.5; }
.wiki-content td:first-child { font-weight: 700; color: var(--k-strong); }
.wiki-content th, .wiki-content td { overflow-wrap: normal; }
.wiki-content td code { display: inline-block; margin: 1px 0; white-space: nowrap; }

.wiki-content mark { background: none; color: inherit; font-weight: 700; }
.wiki-content mark[class*="wiki-c-"] strong, .wiki-content mark[class*="wiki-c-"] b { color: inherit; }
.wiki-content .wiki-c-primary, .wiki-content .wiki-c-blue { color: var(--w-c-blue); }
.wiki-content .wiki-c-info, .wiki-content .wiki-c-cyan { color: var(--w-c-cyan); }
.wiki-content .wiki-c-success, .wiki-content .wiki-c-green { color: var(--w-c-green); }
.wiki-content .wiki-c-warning, .wiki-content .wiki-c-orange { color: var(--w-c-orange); }
.wiki-content .wiki-c-yellow { color: var(--w-c-yellow); }
.wiki-content .wiki-c-danger, .wiki-content .wiki-c-red { color: var(--w-c-red); }
.wiki-content .wiki-c-purple { color: var(--w-c-purple); }

.wiki-content details { margin: 0 0 8px; background: var(--k-card); border: 1px solid var(--k-line); scroll-margin-top: calc(var(--ls-header-h, 57px) + 16px); }
.wiki-content details[open] { border-color: var(--k-acc-edge); }
.wiki-content summary { position: relative; padding: 12px 46px 12px 16px; cursor: pointer; list-style: none; font-size: 15px; font-weight: 700; color: var(--k-strong); }
.wiki-content summary::-webkit-details-marker { display: none; }
.wiki-content summary::after { content: "+"; position: absolute; right: 12px; top: 50%; width: 24px; height: 24px; margin-top: -12px; border: 1px solid var(--k-line); color: var(--k-acc-fg); font: 700 18px/22px var(--k-body); text-align: center; }
.wiki-content details[open] > summary::after { content: "–"; }
.wiki-content details > :not(summary), .wiki-content details > div[class^="wiki-"] { margin-left: 16px; margin-right: 16px; }
.wiki-content details > :last-child { margin-bottom: 14px; }

/* Hinweise (GitBook „hint“): Kante oben in der Hinweisfarbe */
.wiki-content .wiki-hint { position: relative; margin: 6px 0 14px; padding: 12px 14px 12px 42px; background: var(--k-card); border: 1px solid var(--k-line); border-top: 3px solid var(--k-info); font-size: 15px; line-height: 1.55; }
.wiki-content .wiki-hint::before { content: "i"; position: absolute; left: 13px; top: 13px; width: 18px; height: 18px; border: 1.75px solid currentColor; border-radius: 50%; color: var(--k-info); font: 700 11px/15px var(--k-body); text-align: center; }
.wiki-content .wiki-hint > :last-child { margin-bottom: 0; }
.wiki-content .wiki-hint-success { border-top-color: var(--k-ok); }
.wiki-content .wiki-hint-success::before { content: "✓"; color: var(--k-ok); }
.wiki-content .wiki-hint-warning { border-top-color: var(--k-warn); }
.wiki-content .wiki-hint-warning::before { content: "!"; color: var(--k-warn); }
.wiki-content .wiki-hint-danger { border-top-color: var(--k-err); }
.wiki-content .wiki-hint-danger::before { content: "!"; color: var(--k-err); }

/* Reiter: Knöpfe mit Tastenkante (wie im Entwurf) */
.wiki-content .wiki-tabs { margin: 6px 0 14px; }
.wiki-content .wiki-tab { padding: 0; }
.wiki-content .wiki-tabs:not(.is-ready) .wiki-tab { padding: 12px 16px 2px; background: var(--k-card); border: 1px solid var(--k-line); }
.wiki-content .wiki-tabs:not(.is-ready) .wiki-tab + .wiki-tab { border-top: 0; }
.wiki-content .wiki-tabs.is-ready .wiki-tab-title { display: none; }
.wiki-content .wiki-tab-title { font-weight: 700; }
.wiki-content .wiki-tabbar { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 16px; }
.wiki-content .wiki-tabbar button { --c: var(--k-sec); --d: var(--k-sec-edge); display: inline-flex; align-items: center; min-height: 32px; padding: 3px 12px 0; border: 0; border-radius: 0; background: var(--c); color: var(--k-sec-text); font: 700 12px/1 var(--k-body); letter-spacing: 0.04em; text-transform: uppercase; cursor: pointer; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 3px 0 var(--d), 0 3px 0 1px #000; }
.wiki-content .wiki-tabbar button[aria-selected="true"] { background: var(--k-acc); color: var(--k-acc-text); transform: translateY(3px); box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.18), 0 0 0 1px #000; }

.wiki-content .wiki-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 10px; margin: 6px 0 14px; }
.wiki-content .wiki-card { overflow: hidden; background: var(--k-card); border: 1px solid var(--k-line); }
.wiki-content .wiki-card-cover { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: 0; }
.wiki-content .wiki-card-contain .wiki-card-cover { object-fit: contain; background: var(--k-card2); }
.wiki-content .wiki-card-body { padding: 10px 14px; font-size: 14px; }
.wiki-content .wiki-card-body p { margin: 4px 0; }
.wiki-content .wiki-card-body p:first-child { color: var(--k-strong); font-weight: 700; }
.wiki-content .wiki-embed { margin: 6px 0 14px; padding: 12px 14px; border: 1px solid var(--k-line); }
.wiki-content .wiki-video { display: block; width: 100%; aspect-ratio: 16 / 9; margin: 6px 0 14px; border: 1px solid var(--k-line); }

.wiki-content .wiki-tldr { display: flex; gap: 12px; margin: 0 0 18px; padding: 14px 16px; background: var(--k-card); border: 1px solid var(--k-line); border-left: 3px solid var(--k-acc); color: var(--k-strong); }
.wiki-content .wiki-tldr::before { content: "Kurz gesagt"; flex: none; padding-top: 4px; color: var(--k-acc-fg); font-size: 10.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.wiki-content .wiki-tldr > p { margin: 0; }
.wiki-content .wiki-steps ol { counter-reset: lnw-step; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 10px; margin: 6px 0 14px; padding: 0; list-style: none; }
.wiki-content .wiki-steps li { counter-increment: lnw-step; margin: 0; padding: 14px; background: var(--k-card); border: 1px solid var(--k-line); font-size: 14px; line-height: 1.5; }
.wiki-content .wiki-steps li::before { content: counter(lnw-step); display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin-bottom: 8px; background: var(--k-acc); color: var(--k-acc-text); font: 400 16px var(--k-head); box-shadow: 0 3px 0 var(--k-acc-edge); }
.wiki-content .wiki-steps li > p { margin: 0; }
.wiki-content .wiki-example { margin: 6px 0 14px; padding: 14px 16px; background: var(--k-card); border: 1px solid var(--k-line); border-left: 3px solid var(--k-warn); }
.wiki-content .wiki-example > :not(.wiki-example-title) { margin: 6px 0 0; }
.wiki-content .wiki-example .wiki-example-title { margin: 0; font: 400 18px/1.15 var(--k-head); color: var(--k-strong); }
.wiki-content .wiki-cmd { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; margin: 8px 0; padding: 12px 12px 12px 16px; background: var(--k-card); border: 1px solid var(--k-line); }
.wiki-content .wiki-cmd-code { margin: 0; }
.wiki-content .wiki-cmd-code code { padding: 0; border: 0; background: none; font-size: 15px; }
.wiki-content .wiki-cmd-text { flex: 1 1 200px; font-size: 13.5px; line-height: 1.45; }
.wiki-content .wiki-cmd-text > p { margin: 0; }
.wiki-content .wiki-cmd .lnw-k { margin-left: auto; }
.wiki-content .wiki-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 10px; margin: 6px 0 14px; }
.wiki-content .wiki-tile { display: flex; flex-direction: column; gap: 8px; padding: 14px; background: var(--k-card); border: 1px solid var(--k-line); font-size: 14px; line-height: 1.5; }
.wiki-content .wiki-tile > p { margin: 0; }
.wiki-content .wiki-tile .wiki-tile-head { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.wiki-content .wiki-tile .wiki-tile-head strong { font: 400 19px/1.1 var(--k-head); color: var(--k-strong); }
.wiki-content .wiki-tile-icon { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: #1f1e1d; border: 1px solid #3e3e3a; color: #91f022; }
.wiki-content .wiki-ln { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: square; stroke-linejoin: miter; }
.wiki-content .wiki-tile .wiki-tile-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: auto; padding-top: 4px; }
.wiki-content .wiki-tile-foot a { margin-left: auto; font-size: 13px; text-decoration: none; }

/* Steckbrief (Infobox wie in Spiele-Wikis): rechts neben dem Text, auf dem Handy oben in voller Breite */
.wiki-content .wiki-infobox { float: right; clear: right; width: 290px; margin: 4px 0 18px 26px; background: var(--k-card); border: 1px solid var(--k-line); box-shadow: 0 3px 0 var(--k-drop); font-size: 14px; line-height: 1.45; }
.wiki-content .wiki-infobox-title { margin: 0; padding: 10px 14px 8px; background: #1f1e1d; color: #faf9f5; font: 400 19px/1.15 var(--k-head); border-bottom: 3px solid var(--k-acc); }
.wiki-content .wiki-infobox-pic { background: #1f1e1d; }
.wiki-content .wiki-infobox-pic p { margin: 0; }
.wiki-content .wiki-infobox-pic img { display: block; width: 100%; height: auto; border: 0; }
.wiki-content .wiki-infobox-cap { margin: 0; padding: 6px 14px; color: var(--k-muted); font-size: 12px; border-bottom: 1px solid var(--k-line); }
.wiki-content .wiki-infobox-row { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 10px; padding: 8px 14px; border-top: 1px solid var(--k-line2); }
.wiki-content .wiki-infobox-row:first-child { border-top: 0; }
.wiki-content .wiki-infobox-key { margin: 0; color: var(--k-muted); font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding-top: 2px; }
.wiki-content .wiki-infobox-val { color: var(--k-strong); }
.wiki-content .wiki-infobox-val p { margin: 0; }
.wiki-content .wiki-infobox-val a { font-weight: 700; }
/* „Siehe auch“ am Seitenende */
.wiki-content .wiki-see { clear: both; margin: 28px 0 6px; padding: 14px 16px; background: var(--k-card); border: 1px solid var(--k-line); border-left: 3px solid var(--k-acc); }
.wiki-content .wiki-see-title { margin: 0 0 6px; font: 400 18px/1.15 var(--k-head); color: var(--k-strong); }
.wiki-content .wiki-see ul { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; list-style: none; }
.wiki-content .wiki-see li { margin: 0; }
.wiki-content .wiki-see li::before { content: "›"; margin-right: 6px; color: var(--k-acc-fg); font-weight: 700; }

/* Befehle zum Kopieren (wiki.js) */
.wiki-content .lnw-cmd { position: relative; cursor: copy; }
.wiki-content .lnw-cmd:hover { border-color: var(--k-cmd); }
.wiki-content .lnw-cmd.is-copied::after { content: "Kopiert!"; position: absolute; left: 50%; bottom: calc(100% + 6px); transform: translateX(-50%); padding: 3px 8px; background: var(--k-strong); color: var(--k-bg); font: 700 11px var(--k-body); letter-spacing: 0.06em; white-space: nowrap; pointer-events: none; }
.lnw-main > .wiki-content:empty { display: none; }

/* --- Kleinere Bildschirme --------------------------------------------------------- */

@media (max-width: 1199px) {
	.lnw-layout { grid-template-columns: 180px minmax(0, 1fr); grid-template-areas: "side main" "side aside"; gap: 32px; }
	.lnw-aside { position: static; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); align-items: start; }
	.lnw-grp__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1023px) {
	.lnw-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "main" "side" "aside"; gap: 16px; padding-top: 16px; }
	.lnw-side { position: static; }
	.lnw-side__box { background: var(--k-card); border: 1px solid var(--k-line); }
	.lnw-side__box > summary { display: flex; align-items: center; justify-content: space-between; min-height: 46px; padding: 0 14px; cursor: pointer; list-style: none; font-size: 14.5px; font-weight: 700; color: var(--k-strong); }
	.lnw-side__box > summary::-webkit-details-marker { display: none; }
	.lnw-side__box[open] > summary .lnw-ln { transform: rotate(180deg); }
	.lnw-side__nav { padding: 0 6px 8px; }
	.lnw-side__label { display: none; }
	.lnw-toc { display: none; }
	.lnw-toc-m { display: block; margin-bottom: 16px; background: var(--k-card); border: 1px solid var(--k-line); }
	.lnw-toc-m > summary { display: flex; align-items: center; justify-content: space-between; min-height: 46px; padding: 0 14px; cursor: pointer; list-style: none; font-size: 14.5px; font-weight: 700; color: var(--k-strong); }
	.lnw-toc-m > summary::-webkit-details-marker { display: none; }
	.lnw-toc-m[open] > summary .lnw-ln { transform: rotate(180deg); }
	.lnw-toc-m > div { display: flex; flex-direction: column; padding: 0 14px 10px; }
	.lnw-toc-m a { padding: 7px 0 7px 12px; border-left: 1px solid var(--k-line); color: var(--k-soft); font-size: 14px; }
	.lnw-toc-m a.depth-3, .lnw-toc-m a.depth-4 { padding-left: 22px; }
}

@media (max-width: 767px) {
	.lnw-wordmark { font-size: 40px; }
	.lnw-wordmark__icon { width: 36px; height: 36px; }
	.lnw-wordmark--sm { font-size: 26px; }
	.lnw-wordmark--sm .lnw-wordmark__icon { width: 28px; height: 28px; }
	.lnw-switch, .lnw-switch--sm { display: grid; width: 100%; }
	.lnw-switch__btn, .lnw-switch--sm .lnw-switch__btn { min-width: 0; }
	.lnw-search, .lnw-search--big { flex-basis: 100%; }
	.lnw-search__field input { font-size: 16px; }
	.lnw-kbd { display: none; }
	.lnw-hero { padding: 18px 0 18px; gap: 14px; }
	.lnw-hero__claim { font-size: 14px; }
	.lnw-ip { flex: 1 1 100%; }
	.lnw-ip .lnw-k { margin-left: auto; }
	.lnw-chips { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding: 0 16px; scrollbar-width: none; }
	.lnw-chips::-webkit-scrollbar { display: none; }
	.lnw-chips .lnw-lab { display: none; }
	.lnw-chip { flex: none; }
	.lnw-start { gap: 20px; padding: 20px 0 32px; }
	.lnw-note__more { margin-left: 0; }

	/* Bereiche als Liste */
	.lnw-areas { grid-template-columns: minmax(0, 1fr); gap: 0; background: var(--k-card); border: 1px solid var(--k-line); }
	.lnw-tile { align-items: center; gap: 12px; min-height: 64px; padding: 10px 12px 10px 10px; border: 0; border-top: 1px solid var(--k-line2); box-shadow: none; }
	.lnw-tile:first-child { border-top: 0; }
	.lnw-tile__title { font-size: 17px; }
	.lnw-tile__sub { display: none; }
	.lnw-tile__go { display: block; color: var(--k-muted); }
	.lnw-start__row > * { flex-basis: 100%; }

	/* Leiste: Wortmarke + Umschalter, Suche darunter */
	.lnw-bar__inner { gap: 10px; padding: 10px 0 12px; }
	.lnw-bar .lnw-switch { width: auto; flex: 1 1 auto; }
	.lnw-crumbs { display: none; }
	.lnw-back { display: inline-flex; align-items: center; gap: 2px; margin-left: -4px; color: var(--k-muted); font-size: 14px; }
	.lnw-back .lnw-ln { width: 18px; height: 18px; }

	.lnw-ahead h1 { font-size: 32px; }
	.lnw-ahead__icon { width: 44px; height: 44px; }
	.lnw-title { font-size: 32px !important; }
	.lnw-grp__head { padding: 10px 12px; }
	.lnw-grp__head h2 { font-size: 18px; }
	.lnw-grp__cards { grid-template-columns: minmax(0, 1fr); padding: 8px; }
	.lnw-pager { grid-template-columns: minmax(0, 1fr); }
	.lnw-pager__next { grid-column: auto; }
	.lnw-aside { grid-template-columns: minmax(0, 1fr); }

	.wiki-content h2 { font-size: 24px; }
	.wiki-content .wiki-tldr { flex-direction: column; gap: 4px; }
	.wiki-content table.lnw-stack { display: block; width: 100%; overflow: visible; background: none; border: 0; }
	.wiki-content table.lnw-stack thead { display: none; }
	.wiki-content table.lnw-stack tbody { display: flex; flex-direction: column; gap: 8px; }
	.wiki-content table.lnw-stack tr { display: block; padding: 10px 12px 6px; background: var(--k-card); border: 1px solid var(--k-line); }
	.wiki-content table.lnw-stack td { display: grid; grid-template-columns: minmax(84px, 34%) 1fr; gap: 10px; align-items: baseline; padding: 3px 0; border: 0; }
	.wiki-content table.lnw-stack td[data-label]::before { content: attr(data-label); font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--k-muted); }
	.wiki-content table.lnw-stack td:first-child { display: block; padding: 0 0 4px; }
	.wiki-content table.lnw-stack td:first-child::before { display: none; }
	.wiki-content table.lnw-stack td:empty { display: none; }
	.wiki-content table.lnw-stack.lnw-stack-2 td { display: block; }
	.wiki-content table.lnw-stack.lnw-stack-2 td::before { display: none; }
	.wiki-content table:not(.lnw-stack) th, .wiki-content table:not(.lnw-stack) td { padding: 8px 10px; }
	.wiki-content details > :not(summary), .wiki-content details > div[class^="wiki-"] { margin-left: 12px; margin-right: 12px; }
	.wiki-content summary { padding: 12px 44px 12px 12px; }
	.wiki-content .wiki-steps li { position: relative; min-height: 56px; padding: 14px 14px 14px 56px; }
	.wiki-content .wiki-steps li::before { position: absolute; left: 14px; top: 14px; margin: 0; }
	.wiki-content .wiki-cmd .lnw-k { margin-left: 0; }
	.wiki-content .wiki-infobox { float: none; width: auto; margin: 0 0 18px; }
}

/* ==========================================================================
   0.3.0 – Look der neuen Website-Seiten (Startseite, Jobs, App): Bühne mit Render-Bild und Glas-Kasten,
   Bildkarten auf Farbflächen, harte schwarze Schatten, Chips mit Kante, Gewinne als Bild-Raster.
   ========================================================================== */

/* --- Bühne (Startseite eines Modus) ------------------------------------------------ */
.lnw-stage { padding: 22px 0 8px; }
.lnw-banner {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 460px;
	padding: clamp(18px, 3vw, 36px) clamp(18px, 3vw, 36px) 118px;
	background: #000 var(--lnw-bg) center / cover no-repeat;
	border: 1px solid #000;
	box-shadow: 0 5px 0 #000, 0 24px 60px rgba(0, 0, 0, 0.45);
}
.lnw-banner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 10, 9, 0.62), rgba(10, 10, 9, 0.12) 65%, transparent); pointer-events: none; }
.lnw-banner__panel {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 12px;
	width: min(100%, 620px);
	padding: 24px 26px;
	background: rgba(18, 17, 15, 0.62);
	border: 1px solid rgba(255, 255, 255, 0.14);
	box-shadow: 0 4px 0 rgba(0, 0, 0, 0.6);
	backdrop-filter: blur(10px) saturate(1.2);
	-webkit-backdrop-filter: blur(10px) saturate(1.2);
	color: #e5e3da;
}
.lnw-lab--light { color: #cfccc2 !important; }
.lnw-banner__title { margin: 0 !important; font: 400 clamp(44px, 6vw, 72px)/0.95 var(--k-head) !important; color: #fff !important; text-shadow: 0 4px 0 rgba(0, 0, 0, 0.45); }
.lnw-banner__text { margin: 0; font-size: 15.5px; font-weight: 600; line-height: 1.55; color: #e5e3da; }
.lnw-banner .lnw-search { flex: none; margin-top: 4px; }
.lnw-banner .lnw-search__field { background: rgba(10, 10, 9, 0.7); border-color: rgba(255, 255, 255, 0.2); color: #fff; }
.lnw-banner .lnw-search__field input { color: #fff; }
.lnw-banner .lnw-search__field input::placeholder { color: rgba(255, 255, 255, 0.6); }
.lnw-banner__cut {
	position: absolute;
	z-index: 1;
	right: clamp(10px, 5vw, 70px);
	bottom: 70px;
	width: auto;
	height: min(76%, 360px);
	max-width: 40%;
	object-fit: contain;
	filter: drop-shadow(0 26px 30px rgba(0, 0, 0, 0.55));
	animation: lnw-bob 5s ease-in-out 1s infinite;
}
.lnw-banner__cut--citybuild { height: min(70%, 320px); }
@keyframes lnw-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }

.lnw-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.lnw-tags li { padding: 5px 11px 3px; background: var(--k-acc); color: var(--k-acc-text); font: 700 12.5px/1 var(--k-body); letter-spacing: 0.05em; text-transform: uppercase; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 3px 0 var(--k-acc-edge), 0 3px 0 1px #000; }
.lnw-banner--realms .lnw-tags li { background: var(--k-cyan); color: var(--k-cyan-text); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 3px 0 var(--k-cyan-edge), 0 3px 0 1px #000; }

/* Modus wählen als Bild-Knöpfe unten in der Bühne (wie die Vorschaubilder der Startseite) */
.lnw-thumbs { position: absolute; z-index: 3; left: clamp(18px, 3vw, 36px); bottom: 18px; display: flex; gap: 12px; }
.lnw-thumb { position: relative; display: block; width: 150px; height: 82px; border: 2px solid rgba(255, 255, 255, 0.25); background: #000; overflow: hidden; box-shadow: 0 4px 0 rgba(0, 0, 0, 0.7); transition: transform 0.08s, border-color 0.15s, box-shadow 0.08s; }
.lnw-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0.65; transition: opacity 0.15s, transform 0.3s; }
.lnw-thumb span { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 8px 6px; background: linear-gradient(transparent, rgba(0, 0, 0, 0.85)); color: #fff; font: 700 12px/1.1 var(--k-body); letter-spacing: 0.05em; text-transform: uppercase; }
.lnw-thumb:hover img { opacity: 1; transform: scale(1.06); }
.lnw-thumb:active { transform: translateY(3px); box-shadow: none; }
.lnw-thumb.is-active { border-color: var(--k-acc); box-shadow: 0 4px 0 var(--k-acc-edge), 0 4px 0 2px #000; transform: translateY(-4px); }
.lnw-thumb.is-active img { opacity: 1; }
.lnw-thumb:focus-visible { outline: 2px solid var(--k-acc); outline-offset: 3px; }

.lnw-stage .lnw-chips { margin-top: 22px; }
.lnw-chip { box-shadow: 0 3px 0 var(--k-drop); transition: transform 0.08s, box-shadow 0.08s; }
.lnw-chip:hover { transform: translateY(-2px); box-shadow: 0 5px 0 var(--k-drop); }
.lnw-stage .lnw-ip { margin-left: auto; height: 40px; }

/* --- Farbflächen mit Item-Bild ------------------------------------------------------ */
.lnw-art { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; border: 1px solid #000; }
.lnw-art img { display: block; width: 58%; height: auto; max-height: 82%; object-fit: contain; image-rendering: pixelated; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.45)); transition: transform 0.35s ease; }
.lnw-art--green { background: radial-gradient(circle at 30% 30%, #c4ff6b, #74c418 55%, #3f7d0c); }
.lnw-art--cyan { background: radial-gradient(circle at 70% 25%, #5fe8ff, #00a9cf 55%, #00728d); }
.lnw-art--purple { background: radial-gradient(circle at 50% 30%, #c58cff, #7d3dd6 55%, #45207a); }
.lnw-art--gold { background: radial-gradient(circle at 50% 30%, #ffe27a, #f2a516 55%, #a65e06); }
.lnw-art--dark { background: radial-gradient(circle at 50% 30%, #4a4844, #1a1918 70%); }

/* Bereiche als Bildkarten */
.lnw-areas { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.lnw-acard { display: flex; flex-direction: column; min-width: 0; background: var(--k-card); border: 1px solid #000; box-shadow: 0 4px 0 #000; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.lnw-acard .lnw-art { aspect-ratio: 16 / 9; border: 0; border-bottom: 1px solid #000; }
.lnw-acard:hover { transform: translateY(-4px); box-shadow: 0 8px 0 #000, 0 18px 30px rgba(0, 0, 0, 0.35); }
.lnw-acard:hover .lnw-art img { transform: translateY(-4px) scale(1.06) rotate(-2deg); }
.lnw-acard:active { transform: translateY(2px); box-shadow: 0 2px 0 #000; }
.lnw-acard__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; }
.lnw-acard__title { font: 400 22px/1.1 var(--k-head); color: var(--k-strong); }
.lnw-acard__sub { color: var(--k-muted); font-size: 13.5px; line-height: 1.45; }

/* Kopf von Bereichs- und Artikelseiten */
.lnw-ahead { align-items: stretch; gap: 20px; margin: 4px 0 22px; padding: 0; background: var(--k-card); border: 1px solid #000; box-shadow: 0 4px 0 #000; }
.lnw-ahead > div { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 18px 20px 18px 0; min-width: 0; }
.lnw-ahead__art { flex: none; width: 150px; min-height: 130px; border: 0; border-right: 1px solid #000; }
.lnw-ahead__art img { width: 64%; }
.lnw-ahead h1, .lnw-ahead .lnw-title { margin: 0 !important; font-size: clamp(32px, 4vw, 46px) !important; line-height: 1 !important; }
.lnw-ahead .lnw-lead { margin: 2px 0 0; }
.lnw-grp__head .lnw-art--sm { width: 40px; height: 40px; flex: none; box-shadow: 0 3px 0 #000; }
.lnw-grp__head .lnw-art--sm img { width: 74%; filter: none; }
.lnw-card { box-shadow: 0 3px 0 var(--k-drop); transition: transform 0.15s, box-shadow 0.15s; }
.lnw-card:hover { transform: translateY(-2px); box-shadow: 0 5px 0 #000; }

/* --- Inhalt ------------------------------------------------------------------------- */
.wiki-content h2 { position: relative; padding-left: 16px; font-size: 30px !important; }
.wiki-content h2::before { content: ""; position: absolute; left: 0; top: 0.12em; bottom: 0.18em; width: 6px; background: var(--k-acc); box-shadow: 0 3px 0 var(--k-acc-edge); }
.wiki-content .wiki-tldr { border: 1px solid #000; border-left: 6px solid var(--k-acc); box-shadow: 0 4px 0 #000; font-size: 16px; font-weight: 600; }
.wiki-content .wiki-steps li { border: 1px solid #000; box-shadow: 0 4px 0 #000; transition: transform 0.15s; }
.wiki-content .wiki-steps li:hover { transform: translateY(-3px); }
.wiki-content .wiki-steps li::before { width: 34px; height: 34px; font-size: 20px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 3px 0 var(--k-acc-edge), 0 3px 0 1px #000; }
.wiki-content .wiki-infobox { border: 1px solid #000; box-shadow: 0 5px 0 #000, 0 18px 30px rgba(0, 0, 0, 0.25); }
.wiki-content .wiki-infobox-title { background: var(--k-acc); color: var(--k-acc-text) !important; border-bottom: 1px solid #000; }
.wiki-content .wiki-infobox-pic { background: radial-gradient(circle at 50% 30%, #4a4844, #1a1918 75%); border-bottom: 1px solid #000; }
.wiki-content .wiki-cmd { border: 1px solid #000; box-shadow: 0 3px 0 #000; }
.wiki-content table { border: 1px solid #000; box-shadow: 0 4px 0 #000; }
.wiki-content th { background: var(--k-card2); color: var(--k-strong); font-family: var(--k-head); font-weight: 400; font-size: 16px; letter-spacing: 0.01em; }
.wiki-content figure img { border: 1px solid #000; box-shadow: 0 4px 0 #000; }
.wiki-content .wiki-see { border: 1px solid #000; border-left: 6px solid var(--k-cyan); box-shadow: 0 4px 0 #000; }
.wiki-content .wiki-see ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 10px; margin: 8px 0 0; padding: 0; list-style: none; }
.wiki-content .wiki-see li { margin: 0; }
.wiki-content .wiki-see li a { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 100%; padding: 10px 12px; background: var(--k-field); border: 1px solid var(--k-line); color: var(--k-strong) !important; font-weight: 700; text-decoration: none !important; box-shadow: 0 3px 0 var(--k-drop); transition: transform 0.08s, box-shadow 0.08s, border-color 0.15s; }
.wiki-content .wiki-see li a::after { content: "›"; color: var(--k-cyan); font-size: 20px; line-height: 1; }
.wiki-content .wiki-see li a:hover { transform: translateY(-2px); border-color: var(--k-cyan-edge); box-shadow: 0 5px 0 #000; }
.wiki-content details { border: 1px solid #000 !important; box-shadow: 0 3px 0 #000; }

/* Kisten-Gewinne: Bild-Raster je Seltenheit, Farben wie die Glasscheiben im Spiel */
.wiki-content .wiki-loot { --loot: #3c6cff; --loot-t: #fff; margin: 18px 0 22px; }
.wiki-content .wiki-loot-exklusiv { --loot: #ffd21f; --loot-t: #3a2c00; }
.wiki-content .wiki-loot-legendaer { --loot: #ff3b3b; --loot-t: #fff; }
.wiki-content .wiki-loot-episch { --loot: #ff6fd8; --loot-t: #3d0030; }
.wiki-content .wiki-loot-ungewoehnlich { --loot: #a855f7; --loot-t: #fff; }
.wiki-content .wiki-loot-gewoehnlich { --loot: #3c6cff; --loot-t: #fff; }
.wiki-content .wiki-loot-title { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 12px !important; padding: 7px 12px 5px; background: var(--loot); color: var(--loot-t) !important; font: 400 20px/1 var(--k-head); text-transform: uppercase; letter-spacing: 0.02em; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 3px 0 rgba(0, 0, 0, 0.35), 0 3px 0 1px #000; }
.wiki-content .wiki-loot-count { padding: 2px 7px 1px; background: rgba(0, 0, 0, 0.25); font: 700 13px/1.2 var(--k-body); }
.wiki-content .wiki-loot ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 148px), 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.wiki-content .wiki-loot li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 0; padding: 14px 10px 12px; background: var(--k-card); border: 1px solid #000; border-top: 4px solid var(--loot); box-shadow: 0 3px 0 #000; text-align: center; font-size: 13.5px; font-weight: 700; line-height: 1.3; color: var(--k-strong); transition: transform 0.15s, box-shadow 0.15s; }
.wiki-content .wiki-loot li:hover { transform: translateY(-3px); box-shadow: 0 6px 0 #000; }
.wiki-content .wiki-loot li img { display: block; width: 56px; height: 56px; margin: 0; object-fit: contain; image-rendering: pixelated; border: 0 !important; box-shadow: none !important; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, 0.4)); }
.wiki-content .wiki-loot li p { margin: 0; display: contents; }

@media (max-width: 900px) {
	.lnw-banner { flex-direction: column; align-items: stretch; min-height: 0; padding: 16px 16px 112px; }
	.lnw-banner__cut { position: relative; right: auto; bottom: auto; order: -1; width: min(52%, 240px); height: auto; max-width: none; margin: 0 auto -10px; animation: none; }
	.lnw-banner__panel { padding: 18px; }
	.lnw-thumbs { left: 16px; right: 16px; }
	.lnw-thumb { flex: 1 1 0; width: auto; }
	.lnw-stage .lnw-ip { margin-left: 0; }
	.lnw-ahead__art { width: 96px; min-height: 96px; }
	.lnw-ahead > div { padding: 14px 14px 14px 0; }
}
@media (max-width: 520px) {
	.lnw-ahead { flex-direction: column; gap: 0; }
	.lnw-ahead__art { width: 100%; min-height: 0; aspect-ratio: 16 / 7; border-right: 0; border-bottom: 1px solid #000; }
	.lnw-ahead__art img { width: auto; height: 78%; }
	.lnw-ahead > div { padding: 14px 16px 16px; }
	.wiki-content .wiki-loot ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
	.lnw-banner__cut { animation: none; }
	.lnw-acard, .lnw-acard .lnw-art img, .lnw-thumb, .wiki-content .wiki-loot li, .wiki-content .wiki-steps li { transition: none; }
}
/* Blöcke neben dem Steckbrief (float) nicht darunter schieben */
.wiki-content .wiki-hint, .wiki-content .wiki-tldr, .wiki-content .wiki-steps, .wiki-content .wiki-cmd, .wiki-content .wiki-example, .wiki-content .wiki-tiles { display: flow-root; }
.wiki-content .wiki-see li::before { content: none; }
.wiki-content .wiki-see li > p { margin: 0; height: 100%; }
.wiki-content .wiki-infobox-pic img { image-rendering: pixelated; }
@media (max-width: 767px) { .wiki-content .wiki-infobox-pic img { max-width: 220px; margin-inline: auto; } }
.lnw-acard__sub { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Gemeinsamer Teil „Allgemein“ auf den Startseiten */
.lnw-block--shared { margin-top: 34px; }
.lnw-shared { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 12px; }
.lnw-scard { display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 10px; background: var(--k-card); border: 1px solid #000; box-shadow: 0 3px 0 #000; color: var(--k-strong) !important; font-weight: 700; transition: transform 0.15s, box-shadow 0.15s; }
.lnw-scard:hover { transform: translateY(-2px); box-shadow: 0 5px 0 #000; }
.lnw-scard .lnw-art--sm { width: 44px; height: 44px; flex: none; }
.lnw-scard .lnw-art--sm img { width: 76%; filter: none; }

/* Kompakter Kopf der Startseiten (Florian 31.10.2026: kein großes Banner, Umschalter groß und sichtbar) */
.lnw-top { position: relative; background: #12110f var(--lnw-bg) center 40% / cover no-repeat; border-bottom: 1px solid #000; box-shadow: 0 4px 0 #000; }
.lnw-top::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 12, 10, 0.92), rgba(12, 12, 10, 0.78) 60%, rgba(12, 12, 10, 0.55)); pointer-events: none; }
.lnw-top__inner { position: relative; display: flex; flex-direction: column; gap: 14px; padding-block: 22px 18px; }
.lnw-top__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 24px; }
.lnw-top__brand { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.lnw-top__title { margin: 0 !important; font: 400 clamp(36px, 4.4vw, 50px)/1 var(--k-head) !important; color: #fff !important; text-shadow: 0 3px 0 rgba(0, 0, 0, 0.5); }
.lnw-top__claim { margin: 0; color: #e5e3da; font-size: 15px; font-weight: 600; }
.lnw-top .lnw-switch { padding: 5px 5px 8px; background: rgba(10, 10, 9, 0.75); border-color: rgba(255, 255, 255, 0.18); }
.lnw-top .lnw-switch__btn { min-height: 52px; min-width: 170px; font-size: 19px; color: #e5e3da !important; }
.lnw-top .lnw-switch__btn:hover { background: rgba(255, 255, 255, 0.08); color: #fff !important; }
.lnw-top .lnw-switch__btn[aria-current="page"] { color: var(--k-acc-text) !important; }
.lnw-top--realms .lnw-switch__btn[aria-current="page"] { background: var(--k-cyan); color: var(--k-cyan-text) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 3px 0 var(--k-cyan-edge), 0 3px 0 1px #000; }
.lnw-top__tools { display: flex; flex-wrap: wrap; gap: 10px; }
.lnw-top__tools .lnw-search { flex: 1 1 420px; }
.lnw-top .lnw-search__field { background: rgba(10, 10, 9, 0.75); border-color: rgba(255, 255, 255, 0.2); }
.lnw-top .lnw-search__field input { color: #fff; }
.lnw-top .lnw-search__field input::placeholder { color: rgba(255, 255, 255, 0.6); }
.lnw-top .lnw-ip { background: rgba(10, 10, 9, 0.75); border-color: rgba(255, 255, 255, 0.2); color: #e5e3da; }
.lnw-top .lnw-ip strong { color: #fff; }
.lnw-top .lnw-chip { background: rgba(10, 10, 9, 0.6); border-color: rgba(255, 255, 255, 0.18); color: #e5e3da !important; }
.lnw-top .lnw-chip:hover { color: #fff !important; border-color: var(--k-acc); }
.lnw-start { padding-top: 26px; }
@media (max-width: 767px) {
	.lnw-top__inner { padding-block: 16px 14px; }
	.lnw-top .lnw-switch { width: 100%; }
	.lnw-top .lnw-switch__btn { min-width: 0; min-height: 48px; font-size: 17px; }
	.lnw-top__tools .lnw-search { flex-basis: 100%; }
}
.lnw-acard .lnw-art { aspect-ratio: 16 / 7; }
