/* Funkelwind – loaded only on /funkelwind/ and /en/funkelwind/.
   A painted picture book at dusk: deep forest teal, warm lantern gold, Fenn's turquoise and cream as small accents.
   Built on the shared blocks (journey, creatures, soul, feature cards, release card) like the Gnadenturm and REAL WORLD
   pages, re-coloured and softened: round corners, golden frames, fireflies over the hero. Nothing moves with reduced motion. */

[data-game="funkelwind"] {
  --accent-2: #9fe8da; --cream: #fff3d6; --cream-2: #f5e3bb; --ink: #2a2113; --ink-soft: #5d4b2c;
  --teal: #7fe0cf; --night: rgba(7, 22, 22, .94);
  --gold-frame: linear-gradient(135deg, #ffe6a3 0%, #c8973f 30%, #f7d686 55%, #9a6e2a 80%, #f5c65b 100%);
  --surface: #0f2222; --line: rgba(245, 198, 91, .16); --line-strong: rgba(245, 198, 91, .32);
  --text: #f4eedd; --muted: #a9bdb6;
}

/* A small four-point star leads every eyebrow, like the sparkles around Fenn's wind. */
[data-game="funkelwind"] .eyebrow { display: flex; align-items: center; gap: 10px; letter-spacing: .18em; }
[data-game="funkelwind"] .eyebrow::before { content: "✦"; flex: none; font-size: .95em; letter-spacing: 0; color: var(--accent); text-shadow: 0 0 12px rgba(245, 198, 91, .7); }
[data-game="funkelwind"] .game-hero .eyebrow, [data-game="funkelwind"] .closing__content .eyebrow { justify-content: flex-start; }
[data-game="funkelwind"] .closing__content .eyebrow { justify-content: center; }
[data-game="funkelwind"] .subnav__links a { font-family: var(--display); font-weight: 800; font-size: .98rem; }
[data-game="funkelwind"] .chip { border-color: rgba(245, 198, 91, .3); background: rgba(8, 26, 26, .55); }
[data-game="funkelwind"] .btn--primary { background: linear-gradient(180deg, #ffe08f, #f2b84a); color: #2a1a04; box-shadow: inset 0 1px 0 rgba(255, 250, 225, .7), 0 12px 30px -12px rgba(245, 190, 80, .8); }
[data-game="funkelwind"] .btn--ghost { background: rgba(8, 26, 26, .45); }

/* ---------- Hero: the key art, with fireflies drifting up in two depths over the shade ---------- */
[data-game="funkelwind"] .game-hero::after {
  content: ""; position: absolute; inset: -10% 0; z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255, 226, 140, .95) 0 1.4px, rgba(255, 210, 110, .35) 2.6px, transparent 4px),
    radial-gradient(circle, rgba(170, 255, 230, .7) 0 1.2px, rgba(140, 240, 215, .25) 2.4px, transparent 3.6px);
  background-size: 230px 210px, 340px 300px;
  background-position: 0 0, 110px 60px;
  -webkit-mask-image: radial-gradient(75% 65% at 40% 55%, #000 25%, transparent 80%);
  mask-image: radial-gradient(75% 65% at 40% 55%, #000 25%, transparent 80%);
  opacity: .8; animation: fw-fireflies 70s linear infinite;
}
@keyframes fw-fireflies { from { background-position: 0 0, 110px 60px; } to { background-position: 90px -840px, -60px -1200px; } }
[data-game="funkelwind"] .game-hero__shade {
  background:
    linear-gradient(90deg, rgba(6, 20, 21, .9) 0%, rgba(6, 20, 21, .6) 34%, rgba(6, 20, 21, .05) 66%),
    linear-gradient(0deg, var(--game-bg) 0%, rgba(6, 20, 21, 0) 34%);
}

@media (max-width: 700px) {
  /* On phones the key art is a band at the top, fading into the page, so Fenn's face stays clear of the title. */
  [data-game="funkelwind"] .game-hero { background: var(--game-bg); }
  [data-game="funkelwind"] .game-hero__media {
    bottom: auto; height: 64svh;
    -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%); mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
  }
  [data-game="funkelwind"] .game-hero__shade { background: linear-gradient(180deg, rgba(6, 20, 21, .55) 0%, transparent 18%, transparent 44%, var(--game-bg) 72%); }
  [data-game="funkelwind"] .game-hero__content { padding-top: 50svh; }
}

/* ---------- Intro: the prologue panel in a golden frame ---------- */
[data-game="funkelwind"] .framed { padding: 0; border: 8px solid transparent; border-image: var(--gold-frame) 1; background: #0b1c1c; box-shadow: 0 34px 80px -30px rgba(0, 0, 0, .9); }
[data-game="funkelwind"] .framed::before { content: "✦"; top: -26px; right: -18px; color: var(--accent); text-shadow: 0 0 16px rgba(245, 198, 91, .8); }
[data-game="funkelwind"] .framed figcaption { margin: 0; padding: 10px 12px; background: var(--cream); color: var(--ink-soft); }

/* ---------- Fenn: a warm pool of light behind the figure ---------- */
[data-game="funkelwind"] .character__figure { position: relative; }
[data-game="funkelwind"] .character__figure::before {
  content: ""; position: absolute; inset: 6% -8% 0; z-index: -1; border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 55%, rgba(255, 214, 120, .32), rgba(127, 224, 207, .12) 55%, transparent 72%);
}
[data-game="funkelwind"] .character__figure img { filter: drop-shadow(0 26px 34px rgba(0, 0, 0, .55)); }
@media (prefers-reduced-motion: no-preference) {
  [data-game="funkelwind"] .character__figure img { animation: fw-bob 4.8s ease-in-out infinite alternate; transform-origin: 50% 100%; }
}
@keyframes fw-bob { from { transform: translateY(0) rotate(-.6deg); } to { transform: translateY(-8px) rotate(.6deg); } }

/* ---------- Journey: six worlds, each a painting from the game with its two guardians standing in it ---------- */
[data-game="funkelwind"] .journey { position: relative; }
[data-game="funkelwind"] .journey__head { padding-bottom: clamp(32px, 5vw, 64px); }
[data-game="funkelwind"] .journey__stages { list-style: none; margin: 0; padding: 0; }
[data-game="funkelwind"] .journey__stage {
  position: relative; isolation: isolate; overflow: hidden; display: grid; align-items: center;
  min-height: clamp(560px, 84vh, 860px); padding-block: clamp(72px, 9vw, 120px);
}
[data-game="funkelwind"] .journey__stage + .journey__stage { border-top: 1px solid rgba(245, 198, 91, .2); }
[data-game="funkelwind"] .journey__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
[data-game="funkelwind"] .journey__bg img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos); transform: scale(1.1); transition: transform 2.4s var(--ease); }
[data-game="funkelwind"] .journey__stage:hover .journey__bg img { transform: scale(1.06); }
[data-game="funkelwind"] .journey__stage::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 20, 21, .93) 0%, rgba(6, 20, 21, .74) 36%, rgba(6, 20, 21, .12) 68%, rgba(6, 20, 21, .3) 100%),
    linear-gradient(180deg, var(--game-bg) 0%, transparent 16%, transparent 80%, var(--game-bg) 100%);
}
[data-game="funkelwind"] .journey__stage--flip::before {
  background:
    linear-gradient(270deg, rgba(6, 20, 21, .93) 0%, rgba(6, 20, 21, .74) 36%, rgba(6, 20, 21, .12) 68%, rgba(6, 20, 21, .3) 100%),
    linear-gradient(180deg, var(--game-bg) 0%, transparent 16%, transparent 80%, var(--game-bg) 100%);
}
[data-game="funkelwind"] .journey__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
@media (min-width: 901px) { [data-game="funkelwind"] .journey__stage--flip .journey__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }
[data-game="funkelwind"] .journey__stage--flip .journey__text { order: 2; }
[data-game="funkelwind"] .journey__text { max-width: 580px; }
[data-game="funkelwind"] .journey__num { display: flex; align-items: center; gap: 16px; margin: 0 0 14px; font: 800 .8rem/1.2 var(--label); letter-spacing: .2em; text-transform: uppercase; color: var(--accent-2); }
[data-game="funkelwind"] .journey__numeral {
  display: grid; place-items: center; width: 2.4em; height: 2.4em; border-radius: 50%;
  font: 900 clamp(1.25rem, 1.9vw, 1.6rem)/1 var(--display); letter-spacing: 0; color: #3a2606;
  background: radial-gradient(circle at 35% 30%, #fff6cf, #f5c65b 50%, #b98323 100%);
  box-shadow: 0 0 0 1px rgba(255, 240, 200, .6), 0 0 0 6px rgba(245, 198, 91, .14), 0 8px 30px rgba(245, 190, 80, .45);
}
[data-game="funkelwind"] .journey__text h3 { font-size: clamp(2.3rem, 5vw, 4.4rem); margin: 0 0 20px; text-shadow: 0 6px 36px rgba(0, 0, 0, .9); }
[data-game="funkelwind"] .journey__text p { color: #e7e2d2; margin: 0 0 14px; max-width: 56ch; }
[data-game="funkelwind"] .journey__text p.lead { color: #fbf6e8; font-size: clamp(1.08rem, 1.35vw, 1.22rem); line-height: 1.6; }
[data-game="funkelwind"] .journey__chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 24px 0 0; padding: 0; }
[data-game="funkelwind"] .journey__chips .chip { border-color: rgba(159, 232, 218, .38); background: rgba(6, 22, 22, .6); backdrop-filter: blur(3px); color: var(--accent-2); }
[data-game="funkelwind"] .journey__chips .chip:last-child { border-color: rgba(245, 198, 91, .5); color: var(--accent); }
[data-game="funkelwind"] .journey__figure {
  position: relative; z-index: 0; justify-self: center; align-self: end; margin: 0 0 calc(-.5 * clamp(72px, 9vw, 120px));
  width: min(100%, 760px); display: flex; justify-content: center;
}
[data-game="funkelwind"] .journey__figure::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4%; height: 46%; z-index: -1;
  background: radial-gradient(50% 50% at 50% 70%, rgba(255, 214, 120, .26), rgba(127, 224, 207, .08) 55%, transparent 74%);
}
[data-game="funkelwind"] .journey__figure img {
  display: block; width: auto; max-width: 100%; height: auto; max-height: min(52vh, 460px); object-fit: contain; object-position: 50% 100%;
  filter: drop-shadow(0 0 1px rgba(0, 0, 0, .7)) drop-shadow(0 26px 34px rgba(0, 0, 0, .75));
  transform-origin: 50% 100%;
}
[data-game="funkelwind"] .journey__figure .media-label { right: 0; bottom: -28px; }
[data-game="funkelwind"] .journey__stage > .media-label { right: var(--gutter); bottom: 18px; }
@media (prefers-reduced-motion: no-preference) {
  [data-game="funkelwind"] .journey__figure img { animation: fw-breathe 6s ease-in-out infinite alternate; }
}
@keyframes fw-breathe { from { transform: translateY(0) scale(1); } to { transform: translateY(-6px) scale(1.01); } }
@media (max-width: 900px) {
  /* On narrow screens the painting is a band above the text, the guardians stand at its lower edge. */
  [data-game="funkelwind"] .journey__stage { min-height: 0; padding-block: 64vw 64px; align-items: start; }
  [data-game="funkelwind"] .journey__bg { bottom: auto; height: 76vw; }
  [data-game="funkelwind"] .journey__stage::before, [data-game="funkelwind"] .journey__stage--flip::before {
    background: linear-gradient(180deg, rgba(6, 20, 21, .05) 0, rgba(6, 20, 21, .3) 40vw, var(--game-bg) 76vw);
  }
  [data-game="funkelwind"] .journey__stage > .media-label { top: 12px; bottom: auto; }
  [data-game="funkelwind"] .journey__grid { grid-template-columns: minmax(0, 1fr); }
  [data-game="funkelwind"] .journey__stage--flip .journey__text { order: 0; }
  [data-game="funkelwind"] .journey__figure { position: absolute; top: 30vw; left: 0; right: 0; width: auto; margin: 0 auto; padding-inline: var(--gutter); }
  [data-game="funkelwind"] .journey__figure img { max-height: 34vw; }
  [data-game="funkelwind"] .journey__figure .media-label { display: none; }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    [data-game="funkelwind"] .journey__bg img { animation: fw-drift linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
    [data-game="funkelwind"] .cinematic__image, [data-game="funkelwind"] .closing__image { animation: fw-drift-soft linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
  }
}
@keyframes fw-drift { from { translate: 0 -4%; } to { translate: 0 4%; } }
@keyframes fw-drift-soft { from { transform: scale(1.1) translateY(-3%); } to { transform: scale(1.1) translateY(3%); } }

/* ---------- Creatures: thirty cut-outs, one row per world, the elite at the end of each row in gold ---------- */
[data-game="funkelwind"] .creatures { position: relative; background: radial-gradient(70% 40% at 50% 40%, rgba(127, 224, 207, .07), transparent 70%); }
[data-game="funkelwind"] .creatures__list {
  list-style: none; margin: clamp(10px, 2vw, 24px) 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px);
}
[data-game="funkelwind"] .creature {
  position: relative; text-align: center; padding: 18px 12px 18px; border-radius: var(--radius-sm);
  background: radial-gradient(90% 70% at 50% 34%, rgba(127, 224, 207, .1), rgba(9, 28, 28, .65) 70%);
  border: 1px solid rgba(159, 232, 218, .12);
  transition: transform .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
}
[data-game="funkelwind"] .creature:hover { transform: translateY(-5px); border-color: rgba(245, 198, 91, .35); box-shadow: 0 22px 40px -24px rgba(0, 0, 0, .9), 0 0 36px -18px rgba(245, 198, 91, .5); }
[data-game="funkelwind"] .creature__figure { position: relative; margin: 0 0 12px; height: clamp(110px, 11vw, 150px); display: flex; align-items: flex-end; justify-content: center; }
[data-game="funkelwind"] .creature__figure::before {
  content: ""; position: absolute; left: 18%; right: 18%; bottom: -6px; height: 18px; z-index: -1;
  background: radial-gradient(50% 50% at 50% 50%, rgba(0, 0, 0, .55), transparent 72%);
}
[data-game="funkelwind"] .creature__figure img {
  display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; transform-origin: 50% 100%;
  filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .55)); transition: transform .6s var(--ease);
}
[data-game="funkelwind"] .creature:hover .creature__figure img { transform: scale(1.06) rotate(-2deg); }
[data-game="funkelwind"] .creature__where { margin: 0 0 4px; font: 800 .64rem/1.3 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-2); }
[data-game="funkelwind"] .creature__name { margin: 0 0 6px; font-size: clamp(1.05rem, 1.3vw, 1.25rem); }
[data-game="funkelwind"] .creature__text { margin: 0 auto; max-width: 26ch; color: #cfd8d0; font-size: .9rem; line-height: 1.45; }
[data-game="funkelwind"] .creature--boss { border-color: rgba(245, 198, 91, .3); background: radial-gradient(90% 70% at 50% 34%, rgba(245, 198, 91, .14), rgba(9, 28, 28, .7) 70%); }
[data-game="funkelwind"] .creature--boss .creature__where { color: var(--accent); }
[data-game="funkelwind"] .creature--boss .creature__name { color: #ffe3a0; }
[data-game="funkelwind"] .creature--boss .creature__figure img { filter: drop-shadow(0 0 14px rgba(245, 198, 91, .35)) drop-shadow(0 12px 14px rgba(0, 0, 0, .55)); }
[data-game="funkelwind"] .creatures .btn { margin-top: clamp(28px, 4vw, 44px); }
@media (max-width: 1000px) { [data-game="funkelwind"] .creatures__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  [data-game="funkelwind"] .creatures__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  [data-game="funkelwind"] .creature__figure { height: 26vw; }
}

/* ---------- Three rules: a picture in a golden frame and a word each ---------- */
[data-game="funkelwind"] .soul__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 3vw, 44px); list-style: none; margin: 0; padding: 0; }
[data-game="funkelwind"] .soul__print {
  position: relative; margin: 0 0 22px; border: 7px solid transparent; border-image: var(--gold-frame) 1; background: #0b1c1c; overflow: hidden;
  box-shadow: 0 24px 60px -22px rgba(0, 0, 0, .9); transition: transform .7s var(--ease), box-shadow .7s var(--ease);
}
[data-game="funkelwind"] .soul__item:hover .soul__print { transform: translateY(-6px) rotate(-.4deg); box-shadow: 0 34px 70px -22px rgba(0, 0, 0, .95), 0 0 46px -14px rgba(245, 198, 91, .5); }
[data-game="funkelwind"] .soul__print img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: var(--pos); transition: transform 1.2s var(--ease); }
[data-game="funkelwind"] .soul__item:hover .soul__print img { transform: scale(1.05); }
[data-game="funkelwind"] .soul__word { margin: 0 0 12px; font-size: clamp(1.6rem, 2.4vw, 2.2rem); }
[data-game="funkelwind"] .soul__word::after { content: ""; display: block; width: 56px; height: 3px; margin-top: 10px; border-radius: 3px; background: linear-gradient(90deg, var(--accent), var(--teal)); }
[data-game="funkelwind"] .soul__item p { color: #d6dccf; margin: 0; }
@media (max-width: 1100px) { [data-game="funkelwind"] .soul__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { [data-game="funkelwind"] .soul__list { grid-template-columns: minmax(0, 1fr); max-width: 520px; } }

/* ---------- Feature cards: soft corners, numerals in gold ---------- */
[data-game="funkelwind"] .feature-card figure { border-radius: var(--radius-sm); box-shadow: 0 0 0 1px rgba(245, 198, 91, .3), 0 0 0 6px rgba(8, 26, 26, .9), 0 0 0 7px rgba(245, 198, 91, .16), var(--shadow); }
[data-game="funkelwind"] .feature-card__num { color: color-mix(in srgb, var(--accent) 60%, transparent); }
[data-game="funkelwind"] .feature-card__tag { display: inline-flex; align-items: center; gap: 8px; color: var(--accent-2); }
[data-game="funkelwind"] .feature-card__tag::before { content: "✦"; color: var(--accent); }

/* ---------- Gallery, cinematic, closing ---------- */
[data-game="funkelwind"] .gallery__grid li { border-color: rgba(245, 198, 91, .22); }
[data-game="funkelwind"] .cinematic__shade { background: linear-gradient(90deg, rgba(6, 20, 21, .9) 0%, rgba(6, 20, 21, .55) 40%, rgba(6, 20, 21, 0) 72%), linear-gradient(0deg, var(--game-bg), transparent 30%), linear-gradient(180deg, var(--game-bg), transparent 26%); }
[data-game="funkelwind"] .closing__shade { background: radial-gradient(ellipse at center, rgba(6, 20, 21, .35) 0%, rgba(6, 20, 21, .8) 72%), linear-gradient(180deg, var(--game-bg), transparent 28%); }
@media (max-width: 760px) {
  [data-game="funkelwind"] .cinematic__shade { background: linear-gradient(0deg, rgba(6, 20, 21, .95) 0%, rgba(6, 20, 21, .65) 55%, rgba(6, 20, 21, .2) 100%); }
}

/* ---------- Release card: a page from Fenn's travel book, cream paper and a golden seal ---------- */
[data-game="funkelwind"] .release-card {
  border: 1px solid #d9a94f; color: var(--ink); padding-bottom: 66px;
  background: radial-gradient(120% 90% at 20% 0%, #fffaf0 0%, var(--cream) 45%, var(--cream-2) 100%);
  box-shadow: inset 0 0 0 6px var(--cream), inset 0 0 0 7px rgba(185, 131, 35, .5), 0 40px 80px -30px rgba(0, 0, 0, .9);
}
[data-game="funkelwind"] .release-card::before { display: none; }
[data-game="funkelwind"] .release-card__top { color: #9a6a16; }
[data-game="funkelwind"] .release-card__version { color: var(--ink); }
[data-game="funkelwind"] .release-card__version small { color: var(--ink-soft); }
[data-game="funkelwind"] .release-card h3 { color: #1d6a5f; }
[data-game="funkelwind"] .release-card > p, [data-game="funkelwind"] .release-card__list li { color: #3d3220; }
[data-game="funkelwind"] .release-card__list { border-top-color: rgba(120, 84, 20, .22); }
[data-game="funkelwind"] .release-card__list li::before { background: #2fa391; }
[data-game="funkelwind"] .release-card__list strong { color: var(--ink); }
[data-game="funkelwind"] .release-card__note { color: var(--ink-soft); }
[data-game="funkelwind"] .release-card .chip--accent {
  position: absolute; bottom: -36px; right: 22px;
  display: inline-grid; place-items: center; min-height: 0; width: 96px; height: 96px; padding: 10px; border-radius: 50%; rotate: -9deg;
  border: 0; color: #4a3005; font: 900 .78rem/1.15 var(--display); letter-spacing: .02em; text-align: center; white-space: normal;
  background: radial-gradient(circle at 36% 30%, #fff1bf, #f5c65b 52%, #b98323 100%);
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .25), inset 0 0 0 6px rgba(150, 100, 20, .35), 0 8px 18px rgba(60, 40, 10, .45);
}

/* ---------- Facts, panels, FAQ ---------- */
[data-game="funkelwind"] .facts__list dt { color: var(--accent); }
[data-game="funkelwind"] .panel { background: rgba(14, 36, 36, .78); }
[data-game="funkelwind"] .panel--link h3 { font-family: var(--display); font-weight: 900; font-size: 1.2rem; }
[data-game="funkelwind"] .panel--link:hover { box-shadow: 0 0 40px -16px rgba(245, 198, 91, .45); }
[data-game="funkelwind"] .faq__item summary { font-family: var(--display); font-weight: 800; font-size: 1.2rem; }

/* ---------- Test version: the password dialog as a page from Fenn's travel book at dusk ---------- */
[data-game="funkelwind"] .game-hero__actions { max-width: 820px; }
[data-game="funkelwind"] .download-dialog {
  width: min(480px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto;
  padding: clamp(24px, 5vw, 40px); color: var(--text);
  background: radial-gradient(120% 70% at 50% 0%, #17393a 0%, #0d2222 60%, #0a1b1b 100%);
  border: 1px solid rgba(245, 198, 91, .45); border-radius: var(--radius);
  box-shadow: inset 0 0 0 5px rgba(10, 27, 27, .9), inset 0 0 0 6px rgba(245, 198, 91, .18), 0 30px 100px rgba(0, 0, 0, .75);
}
[data-game="funkelwind"] .download-dialog::backdrop { background: rgba(4, 14, 14, .78); backdrop-filter: blur(6px); }
[data-game="funkelwind"] .download-dialog .eyebrow { color: var(--accent); }
[data-game="funkelwind"] .download-dialog h2 { margin: 14px 0 12px; font: 900 clamp(26px, 5vw, 34px)/1.12 var(--display); color: var(--cream); }
[data-game="funkelwind"] .download-dialog > p { color: #cfd8d0; line-height: 1.55; }
[data-game="funkelwind"] .download-dialog__close {
  position: absolute; top: 10px; right: 10px; width: 44px; height: 44px;
  border: 0; border-radius: 50%; background: transparent; color: var(--accent-2); cursor: pointer; font-size: 1.05rem;
}
[data-game="funkelwind"] .download-dialog__close:hover { background: rgba(159, 232, 218, .12); }
[data-game="funkelwind"] .download-dialog form { margin-top: 22px; }
[data-game="funkelwind"] .download-dialog label { display: block; margin-bottom: 8px; font: 800 .95rem/1.3 var(--display); color: var(--cream); }
[data-game="funkelwind"] .download-dialog input {
  display: block; width: 100%; padding: 13px 16px; border: 1px solid rgba(159, 232, 218, .35);
  border-radius: 14px; background: rgba(4, 16, 16, .8); color: #fff; font: inherit; font-size: 16px;
}
[data-game="funkelwind"] .download-dialog input:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-color: var(--accent); }
[data-game="funkelwind"] .download-dialog input[aria-invalid="true"] { border-color: #f3907f; }
[data-game="funkelwind"] .download-dialog__status { min-height: 1.5em; margin: 12px 0 18px; color: #f7b2a6; font-size: .9rem; line-height: 1.5; }
[data-game="funkelwind"] .download-dialog .btn { width: 100%; justify-content: center; white-space: normal; }
[data-game="funkelwind"] .download-dialog .btn:disabled { opacity: .65; cursor: wait; }
[data-game="funkelwind"] .download-dialog__hint {
  margin-top: 24px; padding: 14px 16px; border: 1px solid rgba(159, 232, 218, .2); border-left: 3px solid var(--teal);
  border-radius: 12px; background: rgba(4, 16, 16, .55); color: #cfd8d0; font-size: .9rem; line-height: 1.5;
}
[data-game="funkelwind"] .download-dialog__hint h3 { margin: 0 0 6px; color: var(--cream); font: 800 .98rem/1.35 var(--display); }
[data-game="funkelwind"] .download-dialog__hint p { margin: 0 0 8px; }
[data-game="funkelwind"] .download-dialog__hint ol { margin: 0; padding-left: 1.4em; }
[data-game="funkelwind"] .download-dialog__hint li + li { margin-top: 2px; }

@media (prefers-reduced-motion: reduce) {
  [data-game="funkelwind"] .game-hero::after { animation: none; }
  [data-game="funkelwind"] .journey__bg img, [data-game="funkelwind"] .soul__print, [data-game="funkelwind"] .creature,
  [data-game="funkelwind"] .creature__figure img { transition: none; }
}
