@font-face {
  font-family: Bangers;
  src: url("bangers-latin-400-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

html[data-mode="k"]:not(.easy) {
  --sans: Bangers, system-ui, sans-serif;
  --display: var(--sans);
  --mono: var(--sans);
}
html[data-mode="k"]:not(.easy) body {
  font-family: var(--sans);
  font-synthesis: none;
  letter-spacing: .025em;
}
html[data-mode="k"]:not(.easy) :is(button,input,textarea,select,option,.q,.nb,.hint,.top .hbtn) {
  font-family: var(--sans);
  letter-spacing: .035em;
}
html[data-mode="k"]:not(.easy) :is(.scr > .hint,.card .t,.buddy .bubble,label,.nb) { font-size: 1.14rem; }
html[data-mode="k"]:not(.hc):not(.dark) {
  --bg: #fff;
  --ink: #17232c;
  --mut: #415265;
}

html[data-mode="k"] .scr .say { display: none; }
html[data-mode="k"] .q { padding: 0; border: 0; background: transparent; box-shadow: none; }
html:is([data-mode="start"],[data-mode="k"]) #cAud .card,
html[data-mode="k"] .scr .cards .card {
  min-height: 0;
  padding: .65rem;
  border: 0;
  background: transparent !important;
  box-shadow: none;
  transform: none;
}
html:is([data-mode="start"],[data-mode="k"]) #cAud .card .e,
html[data-mode="k"] .scr .cards .card .e { transform: none; }
html[data-mode="k"] .scr .cards .card .ico { filter: none; }
html:is([data-mode="start"],[data-mode="k"]) #cAud .card[aria-checked="true"],
html[data-mode="k"] .scr .cards .card:is([aria-checked="true"],[aria-pressed="true"]) {
  background: transparent;
  box-shadow: none;
}
html[data-mode="k"] .scr .cards .card:focus-visible { outline-offset: 4px !important; }

html[data-mode="k"] .scr :is(#cGroup,#cSpecies) {
  justify-items: center;
  gap: clamp(.9rem,3vw,1.65rem);
  margin-top: 1.25rem;
}
@media (min-width:760px) {
  html[data-mode="k"]:not(.fs-xl) #cGroup { grid-template-columns: repeat(4,minmax(0,1fr)); }
}
html[data-mode="k"] .scr :is(#cGroup,#cSpecies) .card {
  width: min(100%,13rem);
  align-self: start;
  padding: .2rem;
  border-radius: .55rem;
}
html[data-mode="k"] .scr :is(#cGroup,#cSpecies) .card :is(.e,.ico) {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}
html[data-mode="k"] #cGroup .card small {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
html[data-mode="k"] .scr :is(#cGroup,#cSpecies) .card .e {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
}
html[data-mode="k"] #cSpecies .card:has(img[src*="art-unbekannt"]) .ico { width: 55%; }
html[data-mode="k"] .scr :is(#cGroup,#cSpecies) .card[aria-checked="true"] .e {
  border-radius: 50%;
  outline: 2px solid var(--priB);
  outline-offset: 2px;
}
html[data-mode="k"] .scr :is(#cGroup,#cSpecies) .card .t { font-size: clamp(1.15rem,2.1vw,1.55rem); }
html[data-mode="k"] .scr :is(#cGroup,#cSpecies) .card[aria-checked="true"]::after {
  top: 0;
  right: 0;
  width: clamp(1.55rem,4vw,2rem);
  height: clamp(1.55rem,4vw,2rem);
}

html[data-mode="k"] .scr :is(#cLage,#cAlive) { gap: .75rem 1.1rem; }
@media (min-width:760px) {
  html[data-mode="k"]:not(.fs-xl) .scr #cLage { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
html[data-mode="k"] .scr :is(#cLage,#cAlive) .card,
html[data-mode="k"] .scr #manyBtn {
  min-height: 55px;
  text-align: left;
  padding: .45rem 2rem .45rem .25rem;
  gap: .65rem;
}
html[data-mode="k"] .scr :is(#cLage,#cAlive) .card .ico,
html[data-mode="k"] .scr #manyBtn .ico { width: clamp(3.25rem,9vw,5.4rem); }
html[data-mode="k"] .scr :is(#cSym,#cDan) .card {
  min-height: 0;
  padding: .5rem 1rem;
}
html[data-mode="k"] .scr :is(#cSym,#cDan) .card .ico { width: clamp(4rem,10vw,6rem); }
html[data-mode="k"] .scr :is(#cLage,#cAlive,#cSym,#cDan) .card::after,
html[data-mode="k"] .scr #manyBtn::after {
  width: 1.55rem;
  height: 1.55rem;
  top: .48rem;
  right: .35rem;
}

html[data-mode="k"] .scr :is(.owl,.sum button,.tips li,.consent,.ticket) {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding-inline: 0;
}
html[data-mode="k"] .scr .owl .o,
html[data-mode="k"] .scr :is(.tips .e,.sum .e,.big-e) { display: none; }
html[data-mode="k"] .scr .owl.red { color: var(--ink); border-inline-start: 3px solid var(--red); padding-inline-start: .65rem; }
html[data-mode="k"] .scr .sum button {
  min-height: 48px;
  border-radius: 0;
  border-bottom: 1px solid var(--line);
}
html[data-mode="k"] .scr .ticket, html[data-mode="k"] .scr .ticket .lbl { color: var(--ink); }
html[data-mode="k"] .scr .ticket button { color: var(--pri); border-color: var(--line); }
html[data-mode="k"] :is(.nb,.big) { box-shadow: none; }
html[data-mode="k"] .buddy.closed .owlbtn { width: 81px; height: 81px; }
@media (max-width:640px) {
  html[data-mode="k"] .qh .q { font-size: clamp(1.45rem,6.2vw,2.4rem); }
}
@media (prefers-reduced-motion: reduce) {
  html[data-mode="k"] .scr { animation: none; }
}

html[data-mode="k"] .scr .pill label {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
html[data-mode="k"] .scr .pill input {
  position: static;
  opacity: 1;
  accent-color: var(--pri);
}
html[data-mode="k"] .scr .pill label span {
  padding: .25rem .5rem .25rem 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

@media (min-width:1260px) {
  html[data-mode="k"]:not(.fs-l):not(.fs-xl) .buddy {
    left: max(.6rem,calc(50% - 42rem));
    width: min(14rem,calc((100vw - 54rem)/2 - 1.35rem));
  }
  html[data-mode="k"]:not(.fs-l):not(.fs-xl) .buddy :is(.bubble,.owlbtn) { max-width: 100%; }
}

/* Farben aus Kleine Tierretter-Helden als Akzente, ohne Flächen hinter Fragen. */
html[data-step] { --step-color: #33669b; --step-tint: #e4f0ff; }
html:is([data-step="2"],[data-step="9"]) { --step-color: #467f3a; --step-tint: #e6f3df; }
html:is([data-step="3"],[data-step="10"]) { --step-color: #a95821; --step-tint: #ffebd4; }
html[data-step="4"] { --step-color: #ad466c; --step-tint: #fae3eb; }
html[data-step="5"] { --step-color: #66529a; --step-tint: #eee8fc; }
html[data-step="6"] { --step-color: #2f7771; --step-tint: #e0f4ef; }
html[data-step="7"] { --step-color: #4b5b8c; --step-tint: #e8edfb; }
html[data-step="8"] { --step-color: #a84431; --step-tint: #fce5de; }
html[data-step="11"] { --step-color: #966005; --step-tint: #fff0c8; }
html[data-step]:not(.hc):not(.dark) .top { border-bottom: 4px solid var(--step-color); }
html[data-step]:not(.hc):not(.dark) .paws span { background: var(--step-tint); }
html[data-step]:not(.hc):not(.dark) .paws span.on { background: var(--step-color); }
html[data-step]:not(.hc):not(.dark) .prog .meta b { color: var(--step-color); }
html[data-mode="k"]:not(.hc):not(.dark) .nb.go { background: var(--step-color); }
.hof-invite { margin: 1.2rem 0; border-block: 2px solid var(--line); padding: .75rem 0; text-align: left; }
.hof-invite h3 { margin: 0; font-size: clamp(1.25rem,4vw,1.8rem); line-height: 1.14; }
.hof-invite p { margin: .5rem 0; }
.hof-invite .acts { justify-content: flex-start; }

/* Kulissen und Szenenfarben aus der Kleinehelden-Seite. */
html[data-mode="k"] { --szene: #6992bf; --boden: #33669b; --szene-text: #141414; }
html[data-mode="k"][data-step="2"] { --szene: #7fae6e; --boden: #4d8a47; --szene-text: #141414; }
html[data-mode="k"][data-step="3"] { --szene: #e9a15b; --boden: #c47933; --szene-text: #141414; }
html[data-mode="k"][data-step="4"] { --szene: #d98aa0; --boden: #b45f79; --szene-text: #141414; }
html[data-mode="k"][data-step="5"] { --szene: #9b8ac4; --boden: #6c5aa4; --szene-text: #141414; }
html[data-mode="k"][data-step="6"] { --szene: #5fa8a3; --boden: #357f7a; --szene-text: #141414; }
html[data-mode="k"][data-step="7"] { --szene: #4b5b8c; --boden: #2e3b67; --szene-text: #fffdf3; }
html[data-mode="k"][data-step="8"] { --szene: #e2765f; --boden: #b8513b; --szene-text: #141414; }
html[data-mode="k"][data-step="9"] { --szene: #5f9fd1; --boden: #3b78ad; --szene-text: #141414; }
html[data-mode="k"][data-step="10"] { --szene: #e98fb2; --boden: #c4648c; --szene-text: #141414; }
html[data-mode="k"][data-step="11"] { --szene: #f0a83c; --boden: #c97f17; --szene-text: #141414; }
.helden-szene { display: none; }
html[data-mode="k"]:not(.hc):not(.dark) body { isolation: isolate; }
html[data-mode="k"]:not(.hc):not(.dark) .helden-szene {
  display: block;
  position: fixed;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background-color: var(--szene);
  transition: background-color .8s cubic-bezier(.22,1,.36,1);
}
.helden-strahlen,
.helden-raster { position: absolute; inset: 0; }
.helden-strahlen {
  background: repeating-conic-gradient(from 0deg at 50% 62%,rgba(255,255,255,.13) 0deg 7deg,transparent 7deg 18deg);
  mask: radial-gradient(circle at 50% 62%,#000 0,#000 30%,transparent 72%);
  animation: helden-drehen 80s linear infinite;
}
@keyframes helden-drehen { to { transform: rotate(360deg); } }
.helden-raster {
  background: radial-gradient(rgba(0,0,0,.16) 1.6px,transparent 1.9px) 0 0/14px 14px;
  mask: linear-gradient(180deg,#000,transparent 45%);
}
.helden-boden { position: absolute; left: 0; right: 0; bottom: 0; height: 22vh; }
.helden-boden svg { display: block; width: 100%; height: 100%; overflow: visible; }
.helden-boden path {
  fill: var(--boden);
  stroke: #141414;
  stroke-width: 6;
  vector-effect: non-scaling-stroke;
  transition: fill .8s cubic-bezier(.22,1,.36,1);
}
html[data-mode="k"]:not(.hc):not(.dark) :is(main,.prog .meta,.prog .meta b,.q,.hint,.f small,.species-filter,#speciesFilterStatus,.card small,.scr .owl.red,.scr .ticket,.scr .ticket .lbl,.scr .ticket button,.sum .k,.sum .ed) {
  color: var(--szene-text);
}
html[data-mode="k"]:not(.hc):not(.dark) main a:not(.a-red,.a-wa,.a-gh,.call) { color: var(--szene-text); }
html[data-mode="k"]:not(.hc):not(.dark) .top {
  background: var(--szene);
  border-bottom-color: #141414;
}
html[data-mode="k"]:not(.hc):not(.dark) .top :is(.brand,.brand small,.hbtn,.langsel) { color: var(--szene-text); }
html[data-mode="k"]:not(.hc):not(.dark) :is(.top .hbtn,.top .langsel) { border-color: currentColor; }
html[data-mode="k"]:not(.hc):not(.dark) .top .langsel option { color: #141414; }
html[data-mode="k"]:not(.hc):not(.dark) .navbar {
  background: transparent;
  border: 0;
  pointer-events: none;
}
html[data-mode="k"]:not(.hc):not(.dark) .navbar button {
  pointer-events: auto;
  background: #ffe14d;
  color: #141414;
  border: 3px solid #141414;
  border-radius: .35rem;
  box-shadow: 4px 4px 0 #141414;
}
html[data-mode="k"]:not(.hc):not(.dark) .prog .paws span { border: 1px solid #141414; }
html[data-mode="k"]:not(.hc):not(.dark) .prog .paws span.on { background: #ffe14d; }
html[data-mode="k"]:not(.hc):not(.dark) .scr :is(#cGroup,#cSpecies) .card[aria-checked="true"] .e {
  outline: 3px solid #141414;
  box-shadow: 0 0 0 6px #ffe14d;
}
html[data-mode="k"]:not(.hc):not(.dark) .in-t { color: #17232c; }
@media (prefers-reduced-motion: reduce) {
  .helden-strahlen { animation: none; }
  .helden-szene,.helden-boden path { transition: none !important; }
}

/* Die Bedienelemente folgen dem Aufbau der Kleinehelden-Comic-Szenen. */
.top .helden-brand,
#heldenCounter,
#speciesSearchToggle { display: none; }
html[data-mode="k"] .top .helden-brand { display: block; white-space: normal; font-size: clamp(1rem,2.3vw,1.6rem); line-height: 1; }
html[data-mode="k"] .top .brand :is(.standard-brand,small) { display: none; }
html[data-mode="k"]:not(.hc):not(.dark) .top .helden-brand { color: #141414; }
html[data-mode="k"][data-step="7"]:not(.hc):not(.dark) .top .helden-brand { color: #fffdf3; }
html[data-mode="k"] .qh { display: block; }
html[data-mode="k"] .scr .q {
  margin: 0 auto;
  text-align: center;
  text-wrap: balance;
  max-width: 23ch;
  font-size: clamp(2rem,5vw,4.25rem);
  line-height: 1.02;
}
html[data-mode="k"] .scr > .hint {
  max-width: 49ch;
  text-align: center;
  margin: .75rem auto 0;
  text-wrap: pretty;
}
html[data-mode="k"] main { padding-top: clamp(1.4rem,5.5vh,3.75rem); }
html[data-mode="k"] .scr [data-th="safe1"] { text-align: center; margin-inline: auto; max-width: 48ch; }
html[data-mode="k"] .scr #cGroup { margin-top: clamp(1.75rem,5vh,4.25rem); }
html[data-mode="k"] .scr #cSpecies { margin-top: clamp(1.5rem,4vh,2.7rem); }
html[data-mode="k"] .scr #speciesFilterGroup { text-align: center; margin-top: 1.2rem; }
html[data-mode="k"] #speciesSearchToggle {
  display: inline-block;
  min-height: 44px;
  padding: .2rem .45rem;
  color: inherit;
  background: none;
  border: 0;
  text-decoration: underline;
  text-underline-offset: .2em;
  cursor: pointer;
}
html[data-mode="k"] #speciesSearchToggle[aria-expanded="false"] + #speciesSearchBody { display: none; }
html[data-mode="k"] #speciesSearchBody { max-width: 27rem; margin: .4rem auto 0; text-align: left; }
html[data-mode="k"] #speciesSearchBody label { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
@media (min-width:760px) {
  html[data-mode="k"]:not(.fs-xl) #cSpecies { grid-template-columns: repeat(4,minmax(0,1fr)); }
}

html[data-mode="k"]:not(.hc):not(.dark) .prog {
  width: auto;
  height: 0;
  padding: 0;
  margin: 0;
}
html[data-mode="k"]:not(.hc):not(.dark) .prog :is(.paws,.meta) {
  position: absolute;
  width: 1px;
  height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
}
html[data-mode="k"]:not(.hc):not(.dark) #heldenCounter {
  position: fixed;
  z-index: 31;
  left: 50%;
  bottom: calc(.65rem + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: 4.8rem;
  height: 4.8rem;
  display: grid;
  place-items: center;
  color: #141414;
  background: #ffe14d;
  font-size: 1.7rem;
  clip-path: polygon(50% 0,61% 18%,82% 9%,80% 31%,100% 38%,85% 54%,97% 73%,75% 76%,70% 98%,52% 85%,33% 99%,27% 77%,4% 76%,15% 56%,0 39%,20% 31%,17% 9%,39% 18%);
  pointer-events: none;
}
html[data-mode="k"]:not(.hc):not(.dark) #navbar .in { justify-content: space-between; max-width: 37rem; }
html[data-mode="k"]:not(.hc):not(.dark) #navbar .nb {
  flex: none;
  position: relative;
  width: 3.45rem;
  min-width: 3.45rem;
  min-height: 3.45rem;
  padding: 0;
  border: 4px solid #141414;
  border-radius: 50% !important;
  background: #fffdf3;
  color: #141414;
}
html[data-mode="k"]:not(.hc):not(.dark) #navbar .nb > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
html[data-mode="k"]:not(.hc):not(.dark) #navbar .nb::before {
  content: "";
  display: block;
  width: 64%;
  aspect-ratio: 1;
  margin: auto;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23141414' d='M9.5 3.5 20 12 9.5 20.5v-5.2H4V8.7h5.5z'/%3E%3C/svg%3E");
}
html[data-mode="k"]:not(.hc):not(.dark) #navbar #back::before { transform: scaleX(-1); }
html[data-mode="k"]:not(.hc):not(.dark) #navbar #next[data-skip] .nav-label {
  left: 50%;
  bottom: 100%;
  width: max-content;
  height: auto;
  clip-path: none;
  transform: translateX(-50%);
  color: #fffdf3;
  background: #141414;
  padding-inline: .3rem;
}
@media (min-width:1180px) {
  html[data-mode="k"]:not(.hc):not(.dark):not(.fs-xl) #navbar {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
  }
  html[data-mode="k"]:not(.hc):not(.dark):not(.fs-xl) #navbar .in { max-width: none; }
  html[data-mode="k"]:not(.hc):not(.dark):not(.fs-xl) #navbar .nb { width: 4rem; min-height: 4rem; }
  html[data-mode="k"]:not(.hc):not(.dark):not(.fs-xl) .buddy.closed { z-index: 35; top: auto; bottom: 1.1rem; left: 1rem; }
}
@media (min-width:760px) {
  html[data-mode="k"]:not(.fs-xl) .scr #cSpecies { gap: 1.25rem .75rem; }
}
