/* ═══════════════════════════════════════════════════════════
   Design-Umschalter: Minecraft-Welten — live seit 13.09.2026

   Drei Minecraft-Welten als Ueberschreibung der Marken-Tokens aus style.css:
   Overworld, Nether, End. Umgeschaltet wird ueber html[data-theme], gesetzt
   von js/theme-switch.js — das zeichnet auch die Welt hinter der Seite
   (div.dhworld, dazu im Nether und End ein fester Nebel div.dhfog). Ohne
   data-theme bleibt alles wie bisher.

   ── Warum ueberall :where(...) steht ──
   Die Farbbloecke duerfen :root schlagen, die Bauteil-Regeln duerfen es
   NICHT: "html[data-theme=x] button" ist spezifischer als "button.ghost"
   oder ".tab" aus style.css und faerbt deren Text mit. :where() zaehlt als
   Null, damit gewinnt hier nur die Reihenfolge (diese Datei laedt nach
   style.css) und jede Regel mit eigener Klasse behaelt ihre Farbe.

   Wieder rausnehmen: diese Datei loeschen, js/theme-switch.js loeschen und
   die mit "TEMP: Design-Umschalter" markierten Zeilen in den HTML-Seiten.
   ═══════════════════════════════════════════════════════════ */

/* Pixelschrift fuer Ueberschriften, Reiter und Preise. Wird nur geladen,
   wenn eine Welt sie auch benutzt — im Original bleibt es bei Inter. */
@import url("https://fonts.googleapis.com/css2?family=Pixelify+Sans:wght@500;600;700&display=swap");


/* ═══════════════════════════════════════════ Marken-Tokens ══ */

html[data-theme="overworld"] {
  --bg: #3b3b3b;
  --bg-soft: #232522;
  --surface: #1c1e1b;
  --surface-2: #252824;
  --surface-3: #30342f;
  --border: #3b4037;
  --border-strong: #565c50;
  --text: #ffffff;
  --muted: #d3dacb;
  --faint: #a9b0a1;
  --accent: #74c94f;
  --accent-hover: #95e06b;
  --accent-deep: #3f8a2a;
  --accent-glow: rgb(116 201 79 / .3);
  --success: #7ee35a;
  --warning: #fcd34d;
  --danger: #ff6b6b;
  --radius: 6px;
  --radius-lg: 9px;
  --shadow: 0 4px 18px -6px rgb(0 0 0 / .6);
  --shadow-lg: 0 22px 54px -22px rgb(0 0 0 / .8);

  --glass: rgb(26 29 25 / .8);
  --head-bg: rgb(22 26 21 / .62);
  --on-accent: #0f2a07;
}

html[data-theme="nether"] {
  --bg: #1a0505;
  --bg-soft: #140606;
  --surface: #1c0a0a;
  --surface-2: #261010;
  --surface-3: #341717;
  --border: #3f1b19;
  --border-strong: #5e2723;
  --text: #fff1ea;
  --muted: #dcb0a6;
  --faint: #b38a80;
  --accent: #ff7a1f;
  --accent-hover: #ffa04d;
  --accent-deep: #c2410c;
  --accent-glow: rgb(255 122 31 / .32);
  --success: #4ade80;
  --warning: #ffc35c;
  /* Nicht das uebliche Rot: neben der Lava waere es nur ein zweiter Orangeton. */
  --danger: #ff4d6d;
  --radius: 6px;
  --radius-lg: 9px;
  --shadow: 0 6px 26px -8px rgb(0 0 0 / .7);
  --shadow-lg: 0 28px 70px -22px rgb(0 0 0 / .85);

  --glass: rgb(30 9 8 / .82);
  --head-bg: rgb(24 6 5 / .7);
  --on-accent: #2a0a00;
}

html[data-theme="end"] {
  --bg: #07040d;
  --bg-soft: #0b0714;
  --surface: #120c1c;
  --surface-2: #1a1228;
  --surface-3: #251a38;
  --border: #2c2140;
  --border-strong: #42325e;
  --text: #f6f0ff;
  --muted: #bcaed6;
  --faint: #978ab2;
  --accent: #c77dff;
  --accent-hover: #dcaaff;
  --accent-deep: #7b2cbf;
  --accent-glow: rgb(199 125 255 / .32);
  --success: #4ade80;
  --warning: #e8e39a;
  --danger: #ff6b8b;
  --radius: 6px;
  --radius-lg: 9px;
  --shadow: 0 6px 26px -8px rgb(0 0 0 / .7);
  --shadow-lg: 0 28px 70px -22px rgb(0 0 0 / .85);

  --glass: rgb(17 11 27 / .8);
  --head-bg: rgb(10 6 18 / .68);
  --on-accent: #1c0630;
}


/* ═══════════════════════════════════ Gemeinsam fuer alle Welten ══
   Die Welt liegt HINTER der Seite. Damit Text darauf lesbar bleibt, tragen
   alle Kaesten Milchglas statt voller Flaeche, und freistehender Text den
   harten Minecraft-Schatten (2px schraeg, keine Unschaerfe).
   ════════════════════════════════════════════════════════════ */
:where(html:is([data-theme="overworld"], [data-theme="nether"], [data-theme="end"])) body {
  position: relative; isolation: isolate; background: var(--bg);
}
:where(html:is([data-theme="overworld"], [data-theme="nether"], [data-theme="end"])) header.top {
  background: var(--head-bg);
}
:where(html:is([data-theme="overworld"], [data-theme="nether"], [data-theme="end"])) :is(
  .card, .step, .rev, .faq details, .tabs, .support, .pill, .sold, footer
) {
  background: var(--glass);
  -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px);
}
:where(html:is([data-theme="overworld"], [data-theme="nether"], [data-theme="end"])) .dcpromo {
  background: radial-gradient(120% 140% at 0% 0%, rgb(88 101 242 / .2), transparent 58%), var(--glass);
  -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px);
}
:where(html:is([data-theme="overworld"], [data-theme="nether"], [data-theme="end"])) .card .thumb {
  background: color-mix(in srgb, var(--surface-2) 72%, transparent);
}
/* Kanten wie ein Inventar-Slot: oben links hell, unten rechts dunkel. */
:where(html:is([data-theme="overworld"], [data-theme="nether"], [data-theme="end"])) .card {
  border-color: color-mix(in srgb, var(--accent) 22%, var(--border));
  box-shadow: inset 2px 2px 0 rgb(255 255 255 / .07), inset -2px -2px 0 rgb(0 0 0 / .32),
              0 12px 28px -16px rgb(0 0 0 / .75);
}
:where(html:is([data-theme="overworld"], [data-theme="nether"], [data-theme="end"])) .card::before { display: none; }
:where(html:is([data-theme="overworld"], [data-theme="nether"], [data-theme="end"])) .card:hover {
  border-color: var(--accent);
  box-shadow: inset 2px 2px 0 rgb(255 255 255 / .09), inset -2px -2px 0 rgb(0 0 0 / .32),
              0 18px 40px -20px var(--accent-glow);
}
:where(html:is([data-theme="overworld"], [data-theme="nether"], [data-theme="end"])) .stock-tag {
  background: rgb(0 0 0 / .72);
}
:where(html:is([data-theme="overworld"], [data-theme="nether"], [data-theme="end"])) .menu {
  background: var(--surface);
}
/* Einzeln aufgezaehlt statt in :is(...): :is() nimmt die Spezifitaet seines
   staerksten Glieds — "button" haette dann so viel Gewicht wie ".btn" und
   den Reitern (.tab) und der Waehrungsauswahl ihre helle Schrift genommen. */
:where(html:is([data-theme="overworld"], [data-theme="nether"], [data-theme="end"])) button,
:where(html:is([data-theme="overworld"], [data-theme="nether"], [data-theme="end"])) .btn,
:where(html:is([data-theme="overworld"], [data-theme="nether"], [data-theme="end"])) .cart-count,
:where(html:is([data-theme="overworld"], [data-theme="nether"], [data-theme="end"])) .avatar,
:where(html:is([data-theme="overworld"], [data-theme="nether"], [data-theme="end"])) .menu-av {
  color: var(--on-accent);
}
:where(html:is([data-theme="overworld"], [data-theme="nether"], [data-theme="end"])) button,
:where(html:is([data-theme="overworld"], [data-theme="nether"], [data-theme="end"])) .btn,
:where(html:is([data-theme="overworld"], [data-theme="nether"], [data-theme="end"])) .btn-primary {
  border-radius: 4px;
}
:where(html:is([data-theme="overworld"], [data-theme="nether"], [data-theme="end"])) .btn-primary {
  color: var(--on-accent); box-shadow: inset 0 -3px 0 rgb(0 0 0 / .25);
}
:where(html:is([data-theme="overworld"], [data-theme="nether"], [data-theme="end"])) .btn-primary:hover {
  color: var(--on-accent);
}
:where(html:is([data-theme="overworld"], [data-theme="nether"], [data-theme="end"])) :is(
  .brand, .hero h1, .band h2, .support h2, .tab, .card h3, .top nav a, .eyebrow,
  .step b, .foot-col b, .btn-primary, .faq summary, .dcpromo-body b
) {
  font-family: "Pixelify Sans", "Inter", ui-sans-serif, system-ui, sans-serif;
}
/* Preise NICHT in Pixelschrift: dort sah die 6 aus wie ein b und die 5 wie
   ein S — "$0.026" und "$0.05" waren auf dem iPad nicht zu lesen (13.09.2026).
   Normale Schrift, gleich breite Ziffern, kraeftig; der harte Schatten haelt
   den Minecraft-Ton ohne die Ziffern zu verformen. */
:where(html:is([data-theme="overworld"], [data-theme="nether"], [data-theme="end"])) .price {
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  font-variant-numeric: tabular-nums lining-nums;
  font-weight: 800;
  text-shadow: 1px 1px 0 rgb(0 0 0 / .45);
}
:where(html:is([data-theme="overworld"], [data-theme="nether"], [data-theme="end"])) .hero h1 {
  font-size: clamp(36px, 5.2vw, 60px); font-weight: 700; letter-spacing: 0;
  text-shadow: 3px 3px 0 rgb(0 0 0 / .5);
}
/* "Hub" ist per background-clip ausgeschnitten — ein text-shadow schiene
   durch die durchsichtigen Buchstaben. Der Schatten kommt als Filter. */
:where(html:is([data-theme="overworld"], [data-theme="nether"], [data-theme="end"])) .hero h1 .mark {
  text-shadow: none; filter: drop-shadow(3px 3px 0 rgb(0 0 0 / .5));
}
:where(html:is([data-theme="overworld"], [data-theme="nether"], [data-theme="end"])) :is(
  .hero p, .eyebrow, .band h2, .support h2
) { text-shadow: 2px 2px 0 rgb(0 0 0 / .5); }
:where(html:is([data-theme="overworld"], [data-theme="nether"], [data-theme="end"])) .band h2 {
  font-size: 24px; letter-spacing: 0;
}
:where(html:is([data-theme="overworld"], [data-theme="nether"], [data-theme="end"])) .eyebrow {
  letter-spacing: .16em;
}
:where(html:is([data-theme="overworld"], [data-theme="nether"], [data-theme="end"])) .price {
  font-size: 21px; letter-spacing: 0;
}


/* ═══════════════════════════════════════════ Die Welt dahinter ══ */
.dhworld {
  position: absolute; inset: 0; z-index: -2;
  overflow: hidden; pointer-events: none;
  --ground: 440px;
}
.dhworld > * { position: absolute; }
.dhworld svg { display: block; }
.dhfog { position: fixed; inset: 0; z-index: -1; pointer-events: none; }

/* Laufen, am Ende kurz stehen, umdrehen, zuruecklaufen. Die Richtung dreht
   ein eigenes Element — sonst wuerde die Spiegelung die Bewegung mitdrehen. */
@keyframes dh-walk {
  0%   { transform: translateX(var(--a)); }
  46%  { transform: translateX(var(--b)); }
  50%  { transform: translateX(var(--b)); }
  96%  { transform: translateX(var(--a)); }
  100% { transform: translateX(var(--a)); }
}
@keyframes dh-flip {
  0%, 47.99%   { transform: scaleX(1); }
  48%, 97.99%  { transform: scaleX(-1); }
  98%, 100%    { transform: scaleX(1); }
}
.dhworld .dh-flip { animation: dh-flip var(--dur) linear var(--delay) infinite; }
/* Zwei Einzelbilder im Wechsel: Beine beim Schaf, Fluegel beim Drachen. */
@keyframes dh-frame-a { 0%, 49.9% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes dh-frame-b { 0%, 49.9% { opacity: 0; } 50%, 100% { opacity: 1; } }
@keyframes dh-bob { from { transform: translateY(-10px); } to { transform: translateY(12px); } }
.dhworld .fl-a { animation: dh-frame-a var(--frame, 1s) linear infinite; }
.dhworld .fl-b { animation: dh-frame-b var(--frame, 1s) linear infinite; }


/* ── Overworld ─────────────────────────────────────────────── */
.ow-sky {
  left: 0; right: 0; top: 0; height: calc(var(--ground) + 4px);
  background: linear-gradient(180deg, #4f8fe6 0%, #6ea9f0 45%, #a7d3fb 100%);
}
.ow-sun {
  top: 84px; right: 11vw; width: 72px; height: 72px;
  background: #fffbe0;
  box-shadow: 0 0 0 8px rgb(255 245 180 / .45), 0 0 80px 26px rgb(255 240 160 / .55);
}
.ow-cloud {
  left: 0; top: var(--y); opacity: .9;
  animation: dh-drift var(--dur) linear var(--delay) infinite;
}
.ow-cloud-dim { opacity: .6; }
@keyframes dh-drift {
  from { transform: translateX(-260px); }
  to   { transform: translateX(calc(100vw + 40px)); }
}
.ow-grass  { left: 0; right: 0; top: var(--ground); height: 48px; background-size: 48px 48px; }
.ow-dirt   { left: 0; right: 0; top: calc(var(--ground) + 48px); height: 96px; background-size: 48px 48px; }
.ow-stone  {
  left: 0; right: 0; top: calc(var(--ground) + 144px); bottom: 0;
  background-size: 336px 240px, 528px 432px, 48px 48px;
}
.ow-deep   { left: 0; right: 0; bottom: 48px; height: 384px; background-size: 432px 336px, 48px 48px; }
.ow-bedrock { left: 0; right: 0; bottom: 0; height: 48px; background-size: 48px 48px; }
/* Je tiefer, desto dunkler — wie in einer Hoehle ohne Fackeln. */
.ow-shade {
  left: 0; right: 0; top: calc(var(--ground) + 48px); bottom: 0;
  background: linear-gradient(180deg, rgb(0 0 0 / .05), rgb(0 0 0 / .28) 520px, rgb(0 0 0 / .45));
}
/* Haus und Baum stehen im freien Rand neben dem Inhalt (1120px breit). */
.ow-house { top: calc(var(--ground) - 108px); left: max(1.5vw, calc(50% - 560px - 200px)); }
.ow-tree  { top: calc(var(--ground) - 132px); right: max(1.5vw, calc(50% - 560px - 160px)); }
.ow-sheep {
  left: 0; top: calc(var(--ground) - 51px); --frame: .5s;
  animation: dh-walk var(--dur) linear var(--delay) infinite;
}
/* Ein weicher Fleck unter dem Schaf — ohne ihn schwebt es ueber dem Gras. */
.ow-sheep::after {
  content: ""; position: absolute; left: 6px; right: 6px; bottom: -3px; height: 6px;
  border-radius: 50%; background: rgb(0 0 0 / .22);
}

/* Freistehender Text sitzt auf hellem Himmel: weiss mit hartem Schatten. */
:where(html[data-theme="overworld"]) .hero p { color: #f4f8ff; }
:where(html[data-theme="overworld"]) .eyebrow { color: #fff59a; }
:where(html[data-theme="overworld"]) .top nav a.active {
  background: color-mix(in srgb, var(--accent) 20%, transparent); color: var(--accent-hover);
}


/* ── Nether ────────────────────────────────────────────────── */
.nw-sky {
  left: 0; right: 0; top: 0; height: calc(var(--ground) + 4px);
  background: linear-gradient(180deg, #1a0303 0%, #3a0908 40%, #6e1a0c 82%, #a8380f 100%);
}
.nw-ridge { left: 0; right: 0; background-repeat: repeat-x; background-position: left bottom; }
.nw-far  { top: calc(var(--ground) - 300px); height: 300px; background-size: 1200px 240px; opacity: .95; }
.nw-near { top: calc(var(--ground) - 190px); height: 190px; background-size: 960px 190px; }
.nw-lavafall {
  top: calc(var(--ground) - 170px); height: 176px; width: 48px;
  right: max(4vw, calc(50% - 560px - 130px));
  background-size: 48px 48px;
  box-shadow: 0 0 46px 12px rgb(255 120 20 / .35);
  animation: dh-fall 1.4s linear infinite;
}
@keyframes dh-fall { to { background-position: 0 48px; } }
.nw-glow {
  left: 0; right: 0; top: calc(var(--ground) - 200px); height: 200px;
  background: linear-gradient(180deg, transparent, rgb(255 110 20 / .3));
}
.nw-lava {
  left: 0; right: 0; top: var(--ground); height: 96px; background-size: 48px 48px;
  box-shadow: 0 -3px 0 #ffcf4a, 0 -18px 40px rgb(255 140 30 / .5);
  animation: dh-lava 10s linear infinite, dh-glut 2.8s ease-in-out infinite alternate;
}
@keyframes dh-lava { to { background-position: 96px 0; } }
@keyframes dh-glut { from { filter: brightness(1); } to { filter: brightness(1.2); } }
.nw-rack {
  left: 0; right: 0; top: calc(var(--ground) + 96px); bottom: 0;
  background-size: 432px 336px, 48px 48px;
}
.nw-shade {
  left: 0; right: 0; top: calc(var(--ground) + 96px); bottom: 0;
  background: linear-gradient(180deg, rgb(255 90 20 / .12), rgb(0 0 0 / .3) 360px, rgb(0 0 0 / .5));
}
.nw-bedrock { left: 0; right: 0; bottom: 0; height: 48px; background-size: 48px 48px; }
.nw-ghast {
  top: 96px; right: max(2vw, calc(50% - 560px - 150px));
  opacity: .95; --frame: 1.2s; animation: dh-bob 6s ease-in-out infinite alternate;
}
.nw-ember {
  left: var(--x); top: calc(var(--ground) - 4px); width: 4px; height: 4px;
  background: #ffb347; box-shadow: 0 0 6px #ff7a1f; opacity: 0;
  animation: dh-ember var(--dur) linear var(--delay) infinite;
}
@keyframes dh-ember {
  0%   { transform: translate(0, 0); opacity: 0; }
  12%  { opacity: 1; }
  100% { transform: translate(var(--dx), calc(var(--rise) * -1)); opacity: 0; }
}
/* Der rote Nebel liegt fest vor der Welt und hinter dem Inhalt — er zieht
   langsam, damit der Hintergrund nie ganz stillsteht. */
.dhfog-nether {
  background:
    radial-gradient(60% 45% at 20% 30%, rgb(210 40 25 / .22), transparent 70%),
    radial-gradient(55% 40% at 80% 70%, rgb(170 25 20 / .24), transparent 70%),
    linear-gradient(180deg, rgb(120 15 10 / .14), rgb(90 10 8 / .22));
  background-size: 200% 200%, 200% 200%, 100% 100%;
  animation: dh-fog 36s ease-in-out infinite alternate;
}
@keyframes dh-fog {
  from { background-position: 0% 0%, 100% 100%, 0 0; }
  to   { background-position: 100% 60%, 0% 30%, 0 0; }
}
:where(html[data-theme="nether"]) .eyebrow { color: #ffc86b; }
:where(html[data-theme="nether"]) .hero-art {
  filter: drop-shadow(0 18px 34px rgb(0 0 0 / .6)) drop-shadow(0 0 44px rgb(255 106 31 / .45));
}


/* ── End ───────────────────────────────────────────────────── */
.en-sky {
  inset: 0;
  background:
    radial-gradient(1300px 560px at 50% calc(var(--ground) - 140px), rgb(96 46 150 / .38), transparent 70%),
    linear-gradient(180deg, #140b25 0px, #1d1033 calc(var(--ground) - 100px), #0d0718 calc(var(--ground) + 420px), #050309 100%);
}
.en-stars { inset: 0; background-size: 420px 420px; }
.en-twinkle { background-size: 560px 560px; animation: dh-twinkle 4.5s ease-in-out infinite alternate; }
@keyframes dh-twinkle { from { opacity: .15; } to { opacity: 1; } }
.en-void {
  left: 0; right: 0; bottom: 0; height: 720px;
  background: radial-gradient(90% 70% at 50% 115%, rgb(110 36 170 / .38), transparent 70%);
}
.en-island { top: calc(var(--ground) - 30px); left: 50%; transform: translateX(-50%); }
.en-pillar {
  top: calc(var(--ground) - var(--h) + 12px); left: calc(50% + var(--x) - 42px);
}
.en-crystal {
  position: absolute; left: 50%; top: -54px; width: 28px; height: 28px; margin-left: -14px;
  background: linear-gradient(135deg, #ffd6f6, #e25fd2 55%, #8e2bb5);
  border: 2px solid rgb(255 255 255 / .6);
  box-shadow: 0 0 24px 8px rgb(230 110 230 / .5);
  animation: dh-crystal 3.2s ease-in-out infinite alternate;
}
@keyframes dh-crystal {
  from { transform: translateY(-4px) rotate(45deg); }
  to   { transform: translateY(8px) rotate(225deg); }
}
.en-enderman {
  top: calc(var(--ground) - 126px); left: calc(50% + var(--x));
  filter: drop-shadow(0 0 1px rgb(214 160 255 / .45)) drop-shadow(0 0 10px rgb(160 80 230 / .25));
}
.en-tp, .en-dust {
  left: var(--x); width: 4px; height: 4px; opacity: 0;
  background: #d59bff; box-shadow: 0 0 8px #b45cff;
  animation: dh-dust var(--dur) linear var(--delay) infinite;
}
.en-tp { top: calc(var(--ground) - var(--y)); --dy: -46px; }
.en-dust { top: calc(var(--ground) + var(--y)); }
@keyframes dh-dust {
  0%   { transform: translateY(0); opacity: 0; }
  15%  { opacity: .9; }
  100% { transform: translateY(var(--dy)); opacity: 0; }
}
.en-dragon {
  left: 0; top: 78px; --a: -300px; --b: calc(100vw + 20px);
  animation: dh-walk var(--dur) linear var(--delay) infinite;
}
.en-bob { position: relative; animation: dh-bob 3.4s ease-in-out infinite alternate; }
.en-dragon svg {
  filter: drop-shadow(0 0 1px rgb(214 160 255 / .6)) drop-shadow(0 0 18px rgb(160 80 230 / .4));
}
.en-dragon { --frame: 1s; }
.en-chunk {
  left: var(--x); top: calc(var(--ground) + var(--y));
  animation: dh-bob 7s ease-in-out var(--delay) infinite alternate;
}
.dhfog-end {
  background:
    radial-gradient(50% 40% at 15% 60%, rgb(120 50 190 / .12), transparent 70%),
    radial-gradient(45% 35% at 85% 25%, rgb(90 40 160 / .12), transparent 70%);
  background-size: 200% 200%;
  animation: dh-fog 44s ease-in-out infinite alternate;
}
:where(html[data-theme="end"]) .eyebrow { color: #e8e39a; }
:where(html[data-theme="end"]) .hero-art {
  filter: drop-shadow(0 18px 34px rgb(0 0 0 / .6)) drop-shadow(0 0 44px rgb(199 125 255 / .4));
}


/* ── Admin-Panel ─────────────────────────────────────────────
   Tabellen, Filter und Reiter brauchen ruhigen Grund. Die Szene bleibt oben
   ueber den Kennzahlen stehen, darunter liegt ein dunkler Schleier ueber
   Stein/Netherrack/Void — die Welt ist noch zu ahnen, liest sich aber nicht
   mehr gegen die Schrift.                                                   */
.dhworld-panel::after {
  content: ""; position: absolute; left: 0; right: 0;
  top: calc(var(--ground) + 44px); bottom: 0;
  background: linear-gradient(180deg, rgb(0 0 0 / .42), rgb(0 0 0 / .62) 260px);
}
/* Ueber den Kennzahlen bleiben im Panel nur rund 80px — zu wenig fuer Haus,
   Baum, Schafe, Endermen, Pfeiler oder die Endinsel. Die wurden abgeschnitten
   und standen hinter "Admin Panel" und dem Zeitraum-Waehler. Im Panel bleiben
   deshalb nur Himmel, Bodenschicht und Gestein. */
.dhworld-panel :is(
  .ow-house, .ow-tree, .ow-sheep,
  .nw-lavafall, .nw-ghast,
  .en-island, .en-pillar, .en-enderman, .en-tp, .en-dragon, .en-fall
) { display: none; }
:where(html:is([data-theme="overworld"], [data-theme="nether"], [data-theme="end"])) body.admin .ap-reiter {
  background: var(--glass);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid var(--border-strong); border-radius: 9px;
  padding: 0 6px;
  box-shadow: 0 10px 26px -14px rgb(0 0 0 / .8);
}
:where(html:is([data-theme="overworld"], [data-theme="nether"], [data-theme="end"])) body.admin .ap-reiter .nav {
  color: var(--muted);
}
:where(html:is([data-theme="overworld"], [data-theme="nether"], [data-theme="end"])) body.admin .ap-reiter .nav:hover,
:where(html:is([data-theme="overworld"], [data-theme="nether"], [data-theme="end"])) body.admin .ap-reiter .nav.active {
  color: var(--text);
}
:where(html:is([data-theme="overworld"], [data-theme="nether"], [data-theme="end"])) body.admin :is(
  .ap-kopf h1, .ap-unter, .ap-zeitraum, .page-head h2, .page-head .sub, .main h2
) { text-shadow: 0 2px 0 rgb(0 0 0 / .55), 0 0 12px rgb(0 0 0 / .45); }
:where(html:is([data-theme="overworld"], [data-theme="nether"], [data-theme="end"])) body.admin :is(.page-head .sub, .ap-unter) {
  color: var(--muted);
}
/* "Time period" steht im Overworld vor einer weissen Wolke — in --faint war
   es dort kaum zu sehen. */
:where(html:is([data-theme="overworld"], [data-theme="nether"], [data-theme="end"])) body.admin .ap-zeitraum {
  color: var(--text);
}
:where(html:is([data-theme="overworld"], [data-theme="nether"], [data-theme="end"])) body.admin .kpi {
  background: var(--glass);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}


/* ── Hero-Logo nur im Original ──────────────────────────────
   In den Welten steht rechts im Kopf schon die Szene (Sonne, Ghast, Pfeiler)
   — das grosse DonutHub-Logo davor war doppelt. Im Original bleibt es, dort
   ist die rechte Haelfte sonst leer (13.09.2026). Ohne Bild faellt
   .hero:has(.hero-art) nicht weg, der Text behaelt aber seine Breite.       */
:where(html:is([data-theme="overworld"], [data-theme="nether"], [data-theme="end"])) .hero-art {
  display: none;
}


/* ── Schmale Fenster ─────────────────────────────────────────
   Unter 1180px gibt es keinen freien Rand mehr; Haus, Baum, Ghast und die
   aeusseren Pfeiler lagen dann mitten hinter dem Text. */
@media (max-width: 1180px) {
  .ow-house, .ow-tree, .nw-ghast, .nw-lavafall { display: none; }
}
@media (max-width: 700px) {
  .en-pillar, .en-enderman, .en-tp { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .dhworld *, .dhfog { animation: none !important; }
}


/* ═══════════════════════════════════════════════════════════
   Admin-Panel und Konto-Seiten.

   admin.css arbeitet mit denselben Tokens wie style.css, deshalb faerbt
   sich das Panel von allein mit. Nur eine Stelle dort haelt das Gold
   fest verdrahtet: die eigene Sprechblase im Kundenchat.
   ═══════════════════════════════════════════════════════════ */
:where(html[data-theme]) .chat-zeile.uns .chat-blase {
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border-color: color-mix(in srgb, var(--accent) 30%, transparent);
}


/* ═══════════════════════════════════════════════════════════
   Der Umschalter selbst.

   Bewusst in eigener, fester Farbe statt in der des Ladens: Er gehoert
   nicht zum Laden, er steht nur waehrend der Entscheidung daneben.
   ═══════════════════════════════════════════════════════════ */
.dhtheme {
  position: fixed; right: 18px; bottom: 18px; z-index: 200;
  font: 13px/1.5 "Inter", ui-sans-serif, system-ui, sans-serif;
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
}
.dhtheme-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 15px; border-radius: 999px; cursor: pointer;
  background: #16151c; color: #f4f2f7;
  border: 1px solid #333040;
  box-shadow: 0 10px 30px -10px rgb(0 0 0 / .6);
  font: inherit; font-weight: 600;
}
.dhtheme-btn:hover { background: #1e1c26; }
.dhtheme-swatch {
  width: 13px; height: 13px; border-radius: 4px; flex: none;
  box-shadow: 0 0 0 1px rgb(255 255 255 / .18) inset;
}
.dhtheme-panel {
  width: 268px; padding: 8px;
  background: #16151c; color: #f4f2f7;
  border: 1px solid #333040; border-radius: 16px;
  box-shadow: 0 24px 60px -20px rgb(0 0 0 / .75);
  display: flex; flex-direction: column; gap: 3px;
  animation: dhthemeAuf .13s ease-out;
}
@keyframes dhthemeAuf {
  from { opacity: 0; transform: translateY(6px) scale(.98); }
  to   { opacity: 1; transform: none; }
}
.dhtheme-head {
  padding: 8px 10px 9px; margin-bottom: 3px;
  border-bottom: 1px solid #2a2734;
}
.dhtheme-head b { display: block; font-size: 13px; font-weight: 650; }
.dhtheme-head span { display: block; color: #9a93a6; font-size: 11.5px; }
.dhtheme-opt {
  display: flex; align-items: center; gap: 11px; width: 100%; text-align: left;
  padding: 9px 10px; border: 0; border-radius: 11px; cursor: pointer;
  background: none; color: #f4f2f7; font: inherit;
}
.dhtheme-opt:hover { background: #201e2a; }
.dhtheme-opt.on { background: #262233; box-shadow: inset 0 0 0 1px #3b3550; }
.dhtheme-dots { display: flex; flex: none; }
.dhtheme-dots i {
  width: 15px; height: 15px; border-radius: 50%; margin-left: -5px;
  box-shadow: 0 0 0 1.5px #16151c;
}
.dhtheme-dots i:first-child { margin-left: 0; }
.dhtheme-name { min-width: 0; }
.dhtheme-name b { display: block; font-size: 13px; font-weight: 600; }
.dhtheme-name span { display: block; color: #9a93a6; font-size: 11.5px; }
.dhtheme-tick { margin-left: auto; color: #f59e0b; opacity: 0; font-size: 13px; }
.dhtheme-opt.on .dhtheme-tick { opacity: 1; }
.dhtheme-foot {
  padding: 8px 10px 4px; margin-top: 3px; border-top: 1px solid #2a2734;
  color: #7c7589; font-size: 11px;
}
/* Warenkorb, Kasse oder Produktansicht offen: Umschalter weg. Er lag unten
   rechts genau ueber dem Checkout-Knopf (19.09.2026). */
body:has(.drawer.open, .overlay.open) .dhtheme { display: none; }
@media (max-width: 700px) {
  .dhtheme { right: 12px; bottom: 12px; }
  .dhtheme-panel { width: min(268px, calc(100vw - 24px)); }
}
