* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
}
body {
  font-family:
    "Consolas",
    "Lucida Console",
    monospace;
  color: #e8eee4;
  user-select: none;
  -webkit-user-select: none;
}
canvas#game {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  display: block;
  cursor: crosshair;
}
#hud {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 5;
}
.hidden {
  display: none !important;
}
#cross {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 22px;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  display: none;
}
body.locked #cross {
  display: block;
}
body:not(.locked) #minring,
body:not(.locked) #minx {
  display: none;
}
#cross::before,
#cross::after {
  content: "";
  position: absolute;
  background: #fff;
}
#cross::before {
  left: 50%;
  top: 2px;
  bottom: 2px;
  width: 2px;
  transform: translateX(-50%);
}
#cross::after {
  top: 50%;
  left: 2px;
  right: 2px;
  height: 2px;
  transform: translateY(-50%);
}
#debug {
  position: absolute;
  left: 10px;
  top: 8px;
  font-size: 12px;
  line-height: 1.5;
  color: #fff;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, .9);
  white-space: pre;
}
#hotbar {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: flex;
  gap: 5px;
  padding: 6px;
  background: rgba(8, 12, 10, .52);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .45);
}
.slot {
  width: 44px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, .16);
  border-radius: 7px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, .06),
      rgba(0, 0, 0, .42));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition:
    transform .08s ease,
    border-color .1s,
    box-shadow .1s;
}
.slot canvas {
  width: 32px;
  height: 32px;
  image-rendering: pixelated;
}
@keyframes slotPlopp {
  0% {
    transform: scale(1);
  }
  38% {
    transform: scale(1.34);
  }
  70% {
    transform: scale(0.94);
  }
  100% {
    transform: scale(1);
  }
}
.slot canvas.plopp {
  animation: slotPlopp .26s cubic-bezier(.24, .9, .32, 1);
  transform-origin: 50% 50%;
}
@media (prefers-reduced-motion: reduce) {
  .slot canvas.plopp {
    animation: none;
  }
}
.slot .num {
  position: absolute;
  left: 3px;
  top: 1px;
  font-size: 10px;
  color: rgba(255, 255, 255, .55);
}
.slot.sel {
  border-color: #fff;
  transform: translateY(-4px);
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, .5),
    0 6px 16px rgba(0, 0, 0, .5),
    0 0 18px rgba(164, 224, 127, .35);
  background:
    linear-gradient(
      180deg,
      rgba(120, 190, 90, .35),
      rgba(30, 48, 22, .75));
}
#itemname {
  position: absolute;
  right: 24px;
  bottom: 118px;
  text-align: right;
  font-size: 15px;
  letter-spacing: 1px;
  color: #dff5cf;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, .9);
  opacity: 0;
  transition: opacity .5s ease .8s;
}
#itemname.show {
  opacity: 1;
  transition: opacity .08s ease;
}
#watertint {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at center,
      rgba(30, 90, 170, .16),
      rgba(12, 42, 110, .38));
  opacity: 0;
  transition: opacity .18s;
}
#watertint.on {
  opacity: 1;
}
#hungerdunst {
  position: absolute;
  inset: -6%;
  --dunst: 0;
  opacity: var(--dunst);
  background:
    radial-gradient(
      ellipse 62% 58% at 50% 50%,
      rgba(0, 0, 0, 0) 52%,
      rgba(24, 10, 6, .42) 82%,
      rgba(14, 5, 3, .72) 100%);
  transition: opacity .45s ease;
  pointer-events: none;
  animation: dunstWanken 7.5s ease-in-out infinite;
}
@keyframes dunstWanken {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  30% {
    transform: translate(0.8%, -0.6%) scale(1.015);
  }
  65% {
    transform: translate(-0.7%, 0.7%) scale(1.008);
  }
}
#toast {
  position: absolute;
  left: 50%;
  bottom: 110px;
  transform: translateX(-50%) translateY(8px);
  background: rgba(10, 16, 12, .88);
  border: 1px solid rgba(255, 255, 255, .25);
  padding: 7px 16px;
  border-radius: 5px;
  font-size: 13px;
  letter-spacing: .5px;
  opacity: 0;
  transition: all .25s ease;
}
#toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
#syslast {
  position: absolute;
  left: 50%;
  top: 14px;
  transform: translateX(-50%) translateY(-6px);
  width: max-content;
  max-width: min(560px, 90vw);
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: center;
  background: rgba(10, 16, 12, .78);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 7px;
  padding: 7px 16px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity .45s ease,
    transform .45s ease,
    visibility 0s linear .45s;
  pointer-events: none;
}
#syslast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  transition:
    opacity .45s ease,
    transform .45s ease,
    visibility 0s;
}
#syslast .sl-kopf {
  font-size: 13px;
  letter-spacing: .5px;
  color: #e8e2c8;
}
#syslast .sl-satz {
  font-size: 11.5px;
  line-height: 1.35;
  color: rgba(230, 236, 225, .66);
}
#fs-tip {
  display: none;
  margin: 5px 0 0;
  text-align: left;
  font-size: 11.5px;
  line-height: 1.45;
  color: rgba(230, 236, 225, .58);
}
#fs-tip.show {
  display: block;
}
@media (max-width: 620px) {
  #syslast {
    padding: 5px 10px;
    top: 8px;
  }
  #syslast .sl-kopf {
    font-size: 11.5px;
    letter-spacing: .2px;
  }
  #syslast .sl-satz {
    font-size: 10px;
  }
}
#loading {
  position: absolute;
  left: 50%;
  top: 18%;
  transform: translateX(-50%);
  font-size: 15px;
  letter-spacing: 2px;
  color: #cfe8bd;
  text-shadow: 1px 1px 0 #000;
  animation: pulse 1.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% {
    opacity: .45;
  }
  50% {
    opacity: 1;
  }
}
#overlay,
#pause {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 10, 8, .66);
  backdrop-filter: blur(3px);
}
.panel {
  background: rgba(12, 17, 13, .92);
  border: 2px solid rgba(255, 255, 255, .14);
  border-radius: 10px;
  padding: 26px 34px;
  text-align: center;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .6);
  max-width: 520px;
}
h1 {
  font-size: 46px;
  letter-spacing: 6px;
  font-weight: 900;
  text-shadow: 0 3px 0 #23301c, 0 6px 0 rgba(0, 0, 0, .55);
  margin-bottom: 6px;
}
h1 span:first-child {
  color: #e6ecdf;
}
h1 span.g {
  color: #86c95d;
}
.sub {
  color: #9fb394;
  margin-bottom: 22px;
  font-size: 13px;
  letter-spacing: 1px;
}
h2 {
  font-size: 24px;
  letter-spacing: 4px;
  margin-bottom: 18px;
}
.btn {
  pointer-events: auto;
  display: block;
  width: 100%;
  margin: 8px 0;
  padding: 11px 18px;
  font-family: inherit;
  font-size: 15px;
  letter-spacing: 2px;
  color: #f2f6ee;
  background: linear-gradient(#3c5631, #29401f);
  border: 2px solid rgba(255, 255, 255, .22);
  border-radius: 6px;
  cursor: pointer;
  transition: filter .1s, transform .05s;
}
.btn:hover {
  filter: brightness(1.22);
}
.btn:active {
  transform: translateY(1px);
}
.btn.big {
  font-size: 19px;
  padding: 14px;
  animation: glow 2s ease-in-out infinite;
}
@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 0 rgba(134, 201, 93, .0);
  }
  50% {
    box-shadow: 0 0 22px rgba(134, 201, 93, .45);
  }
}
.btn.small {
  display: inline-block;
  width: auto;
  padding: 8px 14px;
  font-size: 13px;
  margin: 4px;
}
.btn.warn {
  background: linear-gradient(#5a3428, #401f14);
}
.btn.lang-on {
  border-color: #8fd45e;
  box-shadow: 0 0 0 1px #6aaa40 inset, 0 0 10px rgba(106, 170, 64, .5);
}
.row {
  margin-top: 6px;
}
.label {
  display: inline-block;
  min-width: 130px;
  font-size: 13px;
  color: #cfe0c2;
  vertical-align: middle;
}
.controls {
  margin-top: 22px;
}
.controls table {
  margin: 0 auto;
  border-collapse: collapse;
  font-size: 12.5px;
}
.controls td {
  padding: 3px 12px;
  text-align: left;
}
.controls td:first-child {
  color: #a9e07f;
  text-align: right;
}
.controls td:last-child {
  color: #b9c4b0;
}
.hint {
  margin-top: 18px;
  font-size: 11px;
  color: #77876c;
  letter-spacing: 1px;
}
.seedline {
  margin-top: 14px;
  font-size: 11px;
  color: #77876c;
}
.worlds {
  margin-top: 20px;
  text-align: left;
}
.worlds h4 {
  letter-spacing: 2px;
  color: #9fb394;
  margin-bottom: 8px;
  font-size: 13px;
}
.btn.cyber {
  background:
    linear-gradient(
      120deg,
      #2a1450,
      #0e2a55);
  border-color: rgba(120, 220, 255, .45);
}
.btn.xmas {
  background:
    linear-gradient(
      120deg,
      #7a1f24,
      #1f5c33);
  border-color: rgba(255, 230, 150, .5);
}
#inv {
  position: fixed;
  inset: 0;
  z-index: 9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 18px 92px;
  background: rgba(6, 10, 8, .55);
  backdrop-filter: blur(2px);
}
.inv-panel {
  width: min(880px, 94vw);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(
      165deg,
      rgba(24, 34, 26, .97),
      rgba(9, 13, 10, .97));
  border: 1px solid rgba(160, 220, 130, .35);
  border-radius: 14px;
  padding: 20px 24px;
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .65), 0 0 40px rgba(134, 201, 93, .12) inset;
  backdrop-filter: blur(6px);
}
.inv-panel h3 {
  letter-spacing: 3px;
  margin-bottom: 10px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .6);
}
.inv-hint {
  font-size: 11px;
  color: #8fa08a;
  margin-bottom: 12px;
}
#inv-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 12px;
}
.inv-tab {
  padding: 7px 16px;
  border: 1px solid rgba(255, 255, 255, .18);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, .07),
      rgba(0, 0, 0, .25));
  color: #d7e6d8;
  border-radius: 20px;
  cursor: pointer;
  font-size: 13px;
  user-select: none;
  transition:
    transform .08s ease,
    border-color .08s ease,
    background .08s ease;
}
.inv-tab:hover {
  border-color: #b5e896;
  transform: translateY(-1px);
}
.inv-tab.on {
  background:
    linear-gradient(
      180deg,
      #4f9c33,
      #356e21);
  border-color: #a4e07f;
  color: #fff;
  box-shadow: 0 0 12px rgba(134, 201, 93, .45);
}
#inv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(58px, 1fr));
  gap: 8px;
  flex: 1 1 auto;
  min-height: 0;
  align-content: start;
  overflow-y: auto;
  padding: 4px 6px 4px 2px;
}
#inv-grid::-webkit-scrollbar {
  width: 8px;
}
#inv-grid::-webkit-scrollbar-thumb {
  background: rgba(134, 201, 93, .35);
  border-radius: 4px;
}
#inv-grid::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, .3);
  border-radius: 4px;
}
#travel {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 4px 6px 4px 2px;
  align-content: start;
}
#travel::-webkit-scrollbar {
  width: 8px;
}
#travel::-webkit-scrollbar-thumb {
  background: rgba(134, 201, 93, .35);
  border-radius: 4px;
}
#travel::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, .3);
  border-radius: 4px;
}
.tv-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 9px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, .05),
      rgba(0, 0, 0, .32));
  cursor: pointer;
  user-select: none;
  transition:
    transform .07s ease,
    border-color .07s ease,
    box-shadow .07s ease;
}
.tv-row:hover {
  border-color: #cfe9b8;
  transform: translateX(2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .5), 0 0 10px rgba(134, 201, 93, .28);
}
.tv-dot {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  border-radius: 3px;
  box-shadow: 0 0 8px currentColor, inset 0 0 0 1px rgba(0, 0, 0, .35);
}
.tv-name {
  flex: 0 0 auto;
  font-size: 14px;
  color: #eaf5e2;
  letter-spacing: .6px;
}
.tv-hint {
  flex: 1 1 auto;
  font-size: 11px;
  color: #8fa08a;
  letter-spacing: .3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tv-go {
  flex: 0 0 auto;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 14px;
  border: 1px solid rgba(164, 224, 127, .45);
  color: #b5e896;
  background: rgba(79, 156, 51, .16);
}
.tv-row:hover .tv-go {
  background:
    linear-gradient(
      180deg,
      #4f9c33,
      #356e21);
  border-color: #a4e07f;
  color: #fff;
}
.tv-none {
  font-size: 12px;
  color: #8fa08a;
  padding: 10px 4px;
}
.inv-item {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, .06),
      rgba(0, 0, 0, .4));
  border: 2px solid rgba(255, 255, 255, .14);
  border-radius: 7px;
  cursor: grab;
  transition:
    transform .07s ease,
    border-color .07s ease,
    box-shadow .07s ease;
}
.inv-item:hover {
  border-color: #cfe9b8;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .5), 0 0 10px rgba(134, 201, 93, .35);
}
#inv-name {
  flex: 0 0 auto;
  margin-top: 10px;
  min-height: 22px;
  text-align: center;
  font-size: 15px;
  letter-spacing: 1px;
  color: #eaf5e2;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .8);
}
.inv-ghost {
  position: fixed;
  z-index: 99;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
body.inv-open #hud {
  z-index: 12;
}
body.inv-open #debug,
body.inv-open #itemname {
  display: none;
}
body.inv-open #hotbar {
  pointer-events: auto;
  opacity: 1;
}
body.inv-open #hotbar .slot {
  cursor: pointer;
  background: rgba(10, 16, 10, .92);
}
.inv-item.picked {
  border-color: #86c95d !important;
  box-shadow: 0 0 14px rgba(134, 201, 93, .65);
}
.slot.drop-target {
  border-color: #86c95d !important;
  box-shadow: 0 0 0 3px rgba(134, 201, 93, .4);
}
#wanted {
  position: fixed;
  top: 14px;
  right: 18px;
  z-index: 15;
  font-size: 30px;
  letter-spacing: 6px;
  color: #ffd75e;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .85), 0 0 18px rgba(255, 180, 40, .55);
  pointer-events: none;
  animation: wantedPulse 1s ease-in-out infinite;
}
@keyframes wantedPulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: .55;
  }
}
#minring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  opacity: 0;
  transition: opacity .12s;
  -webkit-mask:
    radial-gradient(
      circle,
      transparent 55%,
      #000 56%);
  mask:
    radial-gradient(
      circle,
      transparent 55%,
      #000 56%);
}
#minring.on {
  opacity: .9;
}
#minx {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translate(17px, -34px);
  border-radius: 50%;
  background: rgba(10, 12, 16, .62);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .5);
  opacity: 0;
  transition: opacity .1s;
  pointer-events: none;
}
#minx.on {
  opacity: 1;
}
#minx::before,
#minx::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 3px;
  margin: -1.5px 0 0 -8px;
  border-radius: 1px;
  background: #ff4b4b;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .8), 0 0 7px rgba(255, 50, 50, .6);
}
#minx::before {
  transform: rotate(45deg);
}
#minx::after {
  transform: rotate(-45deg);
}
[data-stil=glatt] {
  --heart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 14.3C8 14.3 1.5 9.9 1.5 5.9 1.5 3.7 3.2 2.2 5.1 2.2 6.4 2.2 7.4 2.9 8 3.9 8.6 2.9 9.6 2.2 10.9 2.2 12.8 2.2 14.5 3.7 14.5 5.9 14.5 9.9 8 14.3 8 14.3Z'/%3E%3C/svg%3E");
  --drop: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M8 1.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13zM5.9 4.2a1.8 1.8 0 1 1 0 3.6 1.8 1.8 0 0 1 0-3.6z'/%3E%3C/svg%3E");
  --food: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 5.5C7.1 4.3 5.1 3.9 3.7 4.9 1.9 6.2 1.6 8.9 2.7 11.1 3.6 12.9 5 14.2 6.2 14.6 6.9 14.9 7.5 14.7 8 14.4 8.5 14.7 9.1 14.9 9.8 14.6 11 14.2 12.4 12.9 13.3 11.1 14.4 8.9 14.1 6.2 12.3 4.9 10.9 3.9 8.9 4.3 8 5.5Z'/%3E%3Cpath d='M7.2 5.1C7.1 3.4 7.5 2.1 8.4 1.1L9.6 1.9C8.9 2.7 8.5 3.8 8.6 5.1Z'/%3E%3Cpath d='M9 4.4C9.4 2.9 10.9 1.9 12.7 2 12.7 3.6 11.2 4.7 9.3 4.6Z'/%3E%3C/svg%3E");
}
[data-stil=pixel] {
  --heart: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 2h4v2h2V2h4v2h2v4H13v2H11v2H9v2H7V12H5V10H3V8H1V4h2z'/%3E%3C/svg%3E");
  --drop: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4 2h8v2h2v8h-2v2H4v-2H2V4h2zM4 5h2v2H4z'/%3E%3C/svg%3E");
  --food: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 5h6v2h2v2h2v2h-2v2h-2v2H5v-2H3v-2H1V9h2V7h2z'/%3E%3Cpath d='M7 2h2v4H7z'/%3E%3Cpath d='M9 3h2v2H9zM11 2h2v2h-2z'/%3E%3C/svg%3E");
}
#vitals {
  --dash: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5.6 2.6H15L13.4 5.2H4z'/%3E%3Cpath d='M2.6 6.7H13L11.4 9.3H1z'/%3E%3Cpath d='M7.6 10.8H14.6L13 13.4H6z'/%3E%3C/svg%3E");
  --cup: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 1.5h12l-1.6 13H3.6z'/%3E%3Cpath d='M3.1 5.6h9.8l-.35 2.8H3.45z' fill='none'/%3E%3C/svg%3E");
  --flake: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cg%3E%3Crect x='6.9' y='0.8' width='2.2' height='14.4' rx='1.1'/%3E%3Crect x='6.9' y='0.8' width='2.2' height='14.4' rx='1.1' transform='rotate(60 8 8)'/%3E%3Crect x='6.9' y='0.8' width='2.2' height='14.4' rx='1.1' transform='rotate(-60 8 8)'/%3E%3C/g%3E%3C/svg%3E");
  position: absolute;
  left: 20px;
  bottom: 154px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .55));
  transform-origin: left center;
}
.vdefs {
  position: absolute;
  width: 0;
  height: 0;
}
.vring {
  position: relative;
  width: 32px;
  height: 32px;
  opacity: 0;
  transform: translateY(7px) scale(.86);
  transition: opacity .28s ease, transform .28s ease;
  pointer-events: none;
}
.vring.on {
  opacity: 1;
  transform: none;
}
.vdial {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.vdial-disc {
  fill: rgba(6, 10, 8, .78);
  stroke: rgba(255, 255, 255, .2);
  stroke-width: 1;
}
.vdial-track {
  fill: none;
  stroke: rgba(255, 255, 255, .13);
  stroke-width: 4.5;
}
.vdial-fill {
  fill: none;
  stroke-width: 4.5;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset .2s ease;
}
.hp .vdial-fill {
  stroke: url(#g-hp);
}
.air .vdial-fill {
  stroke: url(#g-air);
}
.food .vdial-fill {
  stroke: url(#g-food);
}
.stam .vdial-fill {
  stroke: url(#g-stam);
}
.thirst .vdial-fill {
  stroke: url(#g-thirst);
}
.cold .vdial-fill {
  stroke: url(#g-cold);
}
.food .vdial-fill {
  transition: stroke-dashoffset .6s cubic-bezier(.22, .75, .3, 1);
}
#vitals.fed .food .vdial-fill {
  filter: brightness(1.5) drop-shadow(0 0 5px rgba(186, 255, 150, .75));
  transition: stroke-dashoffset .6s cubic-bezier(.22, .75, .3, 1), filter .25s ease;
}
.vico {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 15px;
  height: 15px;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}
.vico.heart {
  -webkit-mask-image: var(--heart);
  mask-image: var(--heart);
  background:
    radial-gradient(
      circle at 32% 26%,
      rgba(255, 255, 255, .55),
      rgba(255, 255, 255, 0) 45%),
    linear-gradient(
      180deg,
      #ff6b6b,
      #c9241f);
}
.vico.drop {
  -webkit-mask-image: var(--drop);
  mask-image: var(--drop);
  background:
    linear-gradient(
      180deg,
      #e2f6ff,
      #3f9fe0);
}
.vico.food {
  -webkit-mask-image: var(--food);
  mask-image: var(--food);
  background:
    radial-gradient(
      circle at 34% 24%,
      rgba(255, 255, 255, .5),
      rgba(255, 255, 255, 0) 50%),
    linear-gradient(
      180deg,
      #ffd25e,
      #c9422a);
}
.vico.dash {
  -webkit-mask-image: var(--dash);
  mask-image: var(--dash);
  background:
    linear-gradient(
      180deg,
      #ede1ff,
      #8250e6);
}
.vico.cup {
  -webkit-mask-image: var(--cup);
  mask-image: var(--cup);
  background:
    radial-gradient(
      circle at 32% 22%,
      rgba(255, 255, 255, .5),
      rgba(255, 255, 255, 0) 50%),
    linear-gradient(
      180deg,
      #b6f7ec,
      #109c8b);
}
.vico.flake {
  -webkit-mask-image: var(--flake);
  mask-image: var(--flake);
  background:
    linear-gradient(
      180deg,
      #ffffff,
      #9dc2e6);
}
.vring.vr-knapp .vdial-fill {
  stroke: url(#g-warn);
  animation: hpLow .9s ease-in-out infinite;
}
.vring.vr-alarm .vdial-fill,
.vring.vr-kritisch .vdial-fill {
  stroke: url(#g-warn);
}
.vring.vr-alarm .vdial-track,
.vring.vr-kritisch .vdial-track {
  stroke: rgba(224, 90, 36, .42);
}
.vring.vr-alarm .vdial-disc,
.vring.vr-kritisch .vdial-disc {
  stroke: rgba(255, 150, 90, .5);
}
.vring.vr-alarm .vico,
.vring.vr-kritisch .vico {
  background:
    linear-gradient(
      180deg,
      #ffcfa6,
      #e05a24);
}
.vring.vr-alarm .vdial-disc {
  animation: vrAlarmScheibe .40s ease-in-out 4;
}
.vring.vr-alarm .vdial-fill {
  animation: vrAlarmHell .40s ease-in-out 4;
}
.vring.vr-alarm .vico {
  animation: vrAlarmHell .40s ease-in-out 4;
}
.vring.vr-alarm {
  animation: vrAlarmHof .40s ease-in-out 4, vrAlarmGross .40s ease-in-out 4;
}
@keyframes vrAlarmScheibe {
  0%, 100% {
    fill: rgba(6, 10, 8, .78);
  }
  45% {
    fill: rgba(214, 38, 24, .95);
  }
}
@keyframes vrAlarmHell {
  0%, 100% {
    filter: brightness(1);
  }
  45% {
    filter: brightness(2.1);
  }
}
@keyframes vrAlarmHof {
  0%, 100% {
    filter: none;
  }
  45% {
    filter: drop-shadow(0 0 7px rgba(255, 70, 40, .9));
  }
}
@keyframes vrAlarmGross {
  0%, 100% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.26);
  }
}
.vring.vr-kritisch .vdial-disc {
  animation: vrMahnung 6.5s ease-in-out infinite;
}
@keyframes vrMahnung {
  0%, 86%, 100% {
    fill: rgba(6, 10, 8, .78);
  }
  89% {
    fill: rgba(188, 44, 28, .8);
  }
  92% {
    fill: rgba(6, 10, 8, .78);
  }
  95% {
    fill: rgba(188, 44, 28, .8);
  }
  98% {
    fill: rgba(6, 10, 8, .78);
  }
}
#vitals.vr-alarm {
  animation: vitalsAlarmHof .40s ease-in-out 4;
}
@keyframes vitalsAlarmHof {
  0%, 100% {
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .55));
    transform: scale(1);
  }
  45% {
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .55)) drop-shadow(0 0 24px rgba(255, 42, 26, 1)) drop-shadow(0 0 50px rgba(255, 42, 26, .6));
    transform: scale(1.09);
  }
}
#vitals.vr-kritisch {
  animation: vitalsMahnungHof 6.5s ease-in-out infinite;
}
@keyframes vitalsMahnungHof {
  0%, 86%, 100% {
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .55));
  }
  89% {
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .55)) drop-shadow(0 0 16px rgba(255, 42, 26, .55));
  }
  92% {
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .55));
  }
  95% {
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .55)) drop-shadow(0 0 16px rgba(255, 42, 26, .55));
  }
  98% {
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .55));
  }
}
#vitals.drank .thirst .vdial-fill {
  filter: brightness(1.5) drop-shadow(0 0 5px rgba(150, 255, 240, .8));
  transition: stroke-dashoffset .45s cubic-bezier(.22, .75, .3, 1), filter .25s ease;
}
.thirst .vdial-fill {
  transition: stroke-dashoffset .45s cubic-bezier(.22, .75, .3, 1);
}
@keyframes hpLow {
  0%, 100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.45);
  }
}
#kaelte {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.6s ease;
  background:
    radial-gradient(
      ellipse 78% 72% at 50% 50%,
      rgba(150, 205, 255, 0) 58%,
      rgba(150, 205, 255, .16) 84%,
      rgba(120, 180, 240, .30) 100%);
}
#kaelte.on {
  opacity: 1;
  animation: kaelteEin 1.6s ease forwards, kaelteAtem 9s ease-in-out 1.6s infinite;
}
@keyframes kaelteEin {
  from {
    opacity: 0;
  }
  to {
    opacity: .78;
  }
}
@keyframes kaelteAtem {
  0%, 100% {
    opacity: .78;
  }
  50% {
    opacity: 1;
  }
}
#vitals.hit {
  animation: vitalsHit .34s ease;
}
@keyframes vitalsHit {
  0% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  60% {
    transform: translateX(4px);
  }
  100% {
    transform: translateX(0);
  }
}
#pickup {
  position: absolute;
  right: 24px;
  bottom: 144px;
  text-align: right;
  font-size: 13px;
  color: #d8ffd8;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, .9);
  opacity: 0;
}
#pickup.pop {
  animation: pickupPop 1.1s ease forwards;
}
@keyframes pickupPop {
  0% {
    opacity: 0;
    transform: translateY(6px);
  }
  15% {
    opacity: 1;
    transform: translateY(0);
  }
  75% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-10px);
  }
}
.slot.empty canvas {
  filter: grayscale(1) brightness(.45);
}
.slot .cnt {
  position: absolute;
  right: 2px;
  bottom: 0;
  font-size: 11px;
  font-weight: bold;
  color: #fff;
  text-shadow: 1px 1px 0 #000;
}
.slot .cnt.zero {
  color: #ff8080;
}
.inv-item {
  position: relative;
}
.inv-item .inv-cnt {
  position: absolute;
  right: 3px;
  bottom: 2px;
  font-size: 11px;
  font-weight: bold;
  color: #fff;
  text-shadow: 1px 1px 0 #000;
  pointer-events: none;
}
#death {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(
      ellipse at center,
      rgba(90, 0, 0, .35),
      rgba(20, 0, 0, .78));
  backdrop-filter: blur(2px);
}
.death-panel h2 {
  color: #ffb3b3;
}
.inv-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.inv-head h3 {
  margin-bottom: 0;
}
.inv-sub {
  font-size: 11px;
  color: #8fa08a;
  letter-spacing: .4px;
  text-align: right;
}
#craft {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1 1 auto;
  min-height: 0;
}
.craft-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, .06),
      rgba(0, 0, 0, .26));
  border: 1px solid rgba(160, 220, 130, .18);
  border-radius: 10px;
}
.craft-search {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 1 1 200px;
  min-width: 150px;
  padding: 6px 10px;
  background: rgba(0, 0, 0, .42);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  transition: border-color .12s, box-shadow .12s;
}
.craft-search:focus-within {
  border-color: #86c95d;
  box-shadow: 0 0 0 2px rgba(134, 201, 93, .22);
}
.craft-ico {
  color: #86c95d;
  font-size: 17px;
  line-height: 1;
}
.craft-search input {
  flex: 1;
  min-width: 0;
  background: none;
  border: 0;
  outline: none;
  color: #eaf5e2;
  font-family: inherit;
  font-size: 13px;
}
.craft-search input::placeholder {
  color: #6f8168;
}
.craft-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.craft-chip {
  font-family: inherit;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 20px;
  color: #cfe0c2;
  cursor: pointer;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, .06),
      rgba(0, 0, 0, .3));
  border: 1px solid rgba(255, 255, 255, .16);
  transition:
    border-color .1s,
    color .1s,
    background .1s,
    transform .07s;
}
.craft-chip:hover {
  border-color: #b5e896;
  color: #fff;
  transform: translateY(-1px);
}
.craft-chip.on {
  background:
    linear-gradient(
      180deg,
      #4f9c33,
      #356e21);
  border-color: #a4e07f;
  color: #fff;
  box-shadow: 0 0 12px rgba(134, 201, 93, .35);
}
.craft-chip.only {
  margin-left: 4px;
  border-style: dashed;
}
.craft-chip.only.on {
  border-style: solid;
}
.craft-count {
  margin-left: auto;
  font-size: 12px;
  color: #8fa08a;
  white-space: nowrap;
}
.craft-count.good {
  color: #a4e07f;
}
.craft-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 10px;
  flex: 1 1 auto;
  min-height: 0;
  align-content: start;
  overflow-y: auto;
  padding: 2px 6px 2px 2px;
}
.craft-list::-webkit-scrollbar {
  width: 8px;
}
.craft-list::-webkit-scrollbar-thumb {
  background: rgba(134, 201, 93, .35);
  border-radius: 4px;
}
.craft-list::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, .3);
  border-radius: 4px;
}
.rcard {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  align-items: center;
  align-self: start;
  gap: 12px;
  padding: 10px 12px;
  text-align: left;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .12);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, .05),
      rgba(0, 0, 0, .32));
  cursor: pointer;
  transition:
    transform .08s ease,
    border-color .12s,
    box-shadow .12s,
    opacity .12s;
}
.rcard.ready {
  border-color: rgba(134, 201, 93, .5);
}
.rcard.ready:hover {
  transform: translateY(-2px);
  border-color: #a4e07f;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .45), 0 0 16px rgba(134, 201, 93, .22);
}
.rcard.chain {
  border-color: rgba(233, 192, 105, .4);
}
.rcard.chain:hover {
  transform: translateY(-2px);
  border-color: #e9c069;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .45), 0 0 16px rgba(233, 192, 105, .2);
}
.rcard.locked {
  opacity: .6;
  cursor: default;
}
.rcard.locked:hover {
  opacity: .82;
}
.r-icon {
  position: relative;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background:
    radial-gradient(
      circle at 50% 32%,
      rgba(255, 255, 255, .11),
      rgba(0, 0, 0, .42));
  border: 1px solid rgba(255, 255, 255, .12);
}
.rcard.ready .r-icon {
  border-color: rgba(164, 224, 127, .45);
}
.r-icon canvas {
  image-rendering: pixelated;
}
.rcard.locked .r-icon canvas {
  filter: grayscale(.7) brightness(.8);
}
.r-qty {
  position: absolute;
  right: 3px;
  bottom: 1px;
  font-size: 12px;
  font-weight: bold;
  color: #fff;
  text-shadow: 1px 1px 0 #000;
}
.r-body {
  min-width: 0;
}
.r-head {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.r-head b {
  font-size: 14px;
  letter-spacing: .5px;
  color: #eaf5e2;
}
.r-max {
  font-size: 11px;
  color: #a4e07f;
}
.r-tag {
  font-size: 10px;
  color: #e9c069;
  letter-spacing: .5px;
  border: 1px solid rgba(233, 192, 105, .4);
  border-radius: 10px;
  padding: 1px 7px;
}
.r-hint {
  margin-top: 3px;
  font-size: 11px;
  color: #8fa08a;
}
.r-ings {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}
.ing {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px 2px 3px;
  font-size: 11px;
  border-radius: 12px;
  background: rgba(0, 0, 0, .35);
  border: 1px solid rgba(255, 255, 255, .12);
  color: #c9d6c2;
  transition: border-color .1s, color .1s;
}
.ing canvas {
  width: 18px;
  height: 18px;
  image-rendering: pixelated;
}
.ing-num {
  font-weight: bold;
}
.ing.ok {
  border-color: rgba(134, 201, 93, .45);
  color: #d7f0c8;
}
.ing.ok .ing-num {
  color: #9fe89f;
}
.ing.miss {
  border-color: rgba(255, 120, 120, .35);
}
.ing.miss .ing-num {
  color: #ff9c9c;
}
.ing.miss canvas {
  filter: grayscale(.75) brightness(.75);
}
.ing.linked {
  cursor: pointer;
}
.ing.linked:hover {
  border-color: #ffd08a;
  color: #fff;
}
.ing.linked:hover canvas {
  filter: none;
}
.r-chain {
  margin-top: 7px;
  font-size: 11px;
  color: #e9c069;
}
.r-missing {
  margin-top: 7px;
  font-size: 11px;
  color: #cf9a9a;
}
.r-bar {
  margin-top: 8px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .09);
  overflow: hidden;
}
.r-bar i {
  display: block;
  height: 100%;
  background:
    linear-gradient(
      90deg,
      #4f9c33,
      #a4e07f);
  transition: width .25s ease;
}
.rcard.ready .r-bar {
  opacity: .3;
}
.r-act {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: stretch;
}
.btn.craft-go {
  width: auto;
  margin: 0;
  padding: 9px 13px;
  font-size: 12.5px;
  letter-spacing: .5px;
  min-width: 92px;
}
.btn.craft-go:disabled {
  opacity: .4;
  cursor: not-allowed;
  filter: grayscale(.7);
}
.btn.craft-go:disabled:hover {
  filter: grayscale(.7);
}
.rcard.chain .btn.craft-go {
  background: linear-gradient(#6a5327, #433315);
  border-color: rgba(233, 192, 105, .5);
}
.btn.craft-max {
  width: auto;
  margin: 0;
  padding: 5px 10px;
  font-size: 11px;
  letter-spacing: 1px;
  background: linear-gradient(#33482a, #1f2d18);
}
@keyframes craftPop {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(164, 224, 127, 0);
  }
  35% {
    transform: scale(1.03);
    box-shadow: 0 0 26px rgba(164, 224, 127, .5);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(164, 224, 127, 0);
  }
}
.rcard.did {
  animation: craftPop .45s ease;
  border-color: #a4e07f;
}
@keyframes craftNope {
  0%, 100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-4px);
  }
  75% {
    transform: translateX(4px);
  }
}
.rcard.nope {
  animation: craftNope .22s ease;
}
.craft-empty {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 12px;
  color: #77876c;
  padding: 24px 6px;
}
.craft-foot {
  font-size: 11px;
  color: #77876c;
  letter-spacing: .3px;
}
.craft-foot b {
  color: #a4e07f;
  font-weight: normal;
}
@media (max-width: 760px) {
  .craft-list {
    grid-template-columns: 1fr;
    max-height: 46vh;
  }
  .rcard {
    grid-template-columns: 50px minmax(0, 1fr);
  }
  .r-act {
    grid-column: 1 / -1;
    flex-direction: row;
  }
  .btn.craft-go {
    flex: 1;
  }
}
.craft-list.more {
  -webkit-mask-image:
    linear-gradient(
      180deg,
      #000 calc(100% - 28px),
      transparent);
  mask-image:
    linear-gradient(
      180deg,
      #000 calc(100% - 28px),
      transparent);
}
@media (max-width: 900px) {
  #vitals {
    left: 14px;
    bottom: 118px;
    gap: 8px;
  }
  .vring {
    width: 28px;
    height: 28px;
  }
  #hotbar {
    right: 14px;
    bottom: 14px;
    gap: 4px;
    padding: 5px;
  }
  .slot {
    width: 38px;
    height: 38px;
  }
  .slot canvas {
    width: 28px;
    height: 28px;
  }
  #itemname {
    bottom: 102px;
    font-size: 13px;
  }
  #pickup {
    bottom: 126px;
  }
}
#startmenu {
  position: absolute;
  inset: 0;
  pointer-events: auto;
}
.sm-screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3.4vh, 40px);
  padding: clamp(16px, 4vh, 44px) clamp(14px, 4vw, 48px);
  overflow-y: auto;
}
.sm-screen.list {
  justify-content: flex-start;
}
.sm-top {
  text-align: center;
}
.sm-top h1 {
  font-size: clamp(34px, 6vw, 58px);
  margin-bottom: 4px;
}
.sm-top .sub {
  margin-bottom: 0;
}
.sm-tiles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(10px, 2vw, 26px);
}
.sm-tile {
  pointer-events: auto;
  position: relative;
  width: clamp(158px, min(24vw, 33vh), 300px);
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  font-family: inherit;
  color: #eef4e8;
  background:
    linear-gradient(
      160deg,
      rgba(60, 86, 49, .92),
      rgba(24, 36, 18, .94));
  border: 2px solid rgba(255, 255, 255, .22);
  border-radius: 2px;
  cursor: pointer;
  transition:
    transform .08s ease,
    border-color .12s,
    box-shadow .12s,
    filter .12s;
}
.sm-tile:hover:not(:disabled),
.sm-tile:focus-visible:not(:disabled) {
  transform: translateY(-4px);
  border-color: #8fd45e;
  box-shadow:
    0 0 0 1px rgba(143, 212, 94, .5) inset,
    0 14px 34px rgba(0, 0, 0, .55),
    0 0 26px rgba(134, 201, 93, .35);
  outline: none;
}
.sm-tile:active:not(:disabled) {
  transform: translateY(0);
}
.sm-ico {
  width: clamp(42px, 6vw, 68px);
  height: clamp(42px, 6vw, 68px);
  fill: #a4e07f;
}
.sm-ico.stroke {
  fill: none;
  stroke: #a4e07f;
  stroke-width: 2.4;
}
.sm-name {
  font-size: clamp(17px, 2.1vw, 25px);
  letter-spacing: 3px;
  font-weight: bold;
}
.sm-desc {
  font-size: clamp(10px, 1vw, 12px);
  line-height: 1.5;
  color: #9fb394;
  letter-spacing: .6px;
  text-align: center;
  max-width: 88%;
}
.sm-tile.t-survival {
  background:
    linear-gradient(
      160deg,
      rgba(96, 58, 36, .92),
      rgba(38, 20, 12, .94));
}
.sm-tile.t-survival .sm-ico {
  fill: #f0a06a;
}
.sm-tile.t-survival:hover,
.sm-tile.t-survival:focus-visible {
  border-color: #f0a06a;
  box-shadow:
    0 0 0 1px rgba(240, 160, 106, .5) inset,
    0 14px 34px rgba(0, 0, 0, .55),
    0 0 26px rgba(220, 130, 70, .35);
}
.sm-tile.t-online {
  background:
    linear-gradient(
      160deg,
      rgba(30, 44, 66, .9),
      rgba(14, 20, 30, .94));
  cursor: not-allowed;
  opacity: .5;
}
.sm-tile.t-online .sm-ico.stroke {
  stroke: #7fb0d8;
}
.sm-controls {
  font-size: 12px;
  color: #9fb394;
  text-align: center;
}
.sm-controls summary {
  cursor: pointer;
  letter-spacing: 2px;
  padding: 4px 10px;
  list-style: none;
}
.sm-controls summary::-webkit-details-marker {
  display: none;
}
.sm-controls summary::before {
  content: "\25b8  ";
}
.sm-controls[open] summary::before {
  content: "\25be  ";
}
.sm-controls summary:hover {
  color: #cfe0c2;
}
.sm-controls .controls {
  margin-top: 10px;
}
#startmenu .hint {
  margin-top: 0;
}
.sm-pane {
  width: min(720px, 94vw);
  margin: 0 auto;
}
.sm-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 2px solid rgba(255, 255, 255, .14);
}
.sm-bar h2 {
  margin: 0;
  font-size: clamp(20px, 3vw, 30px);
  letter-spacing: 5px;
}
.sm-flat {
  pointer-events: auto;
  font-family: inherit;
  font-size: 14px;
  letter-spacing: 1.5px;
  color: #cfe0c2;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, .2);
  border-radius: 2px;
  padding: 8px 16px;
  cursor: pointer;
  transition:
    filter .1s,
    border-color .12s,
    color .12s;
}
.sm-flat:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, .45);
}
.sm-flat.new {
  color: #a4e07f;
  border-color: rgba(143, 212, 94, .5);
}
.sm-flat.new:hover {
  color: #fff;
  background: rgba(106, 170, 64, .28);
  border-color: #8fd45e;
}
#startmenu.sm-surv .sm-flat.new {
  color: #f0a06a;
  border-color: rgba(240, 160, 106, .5);
}
#startmenu.sm-surv .sm-flat.new:hover {
  background: rgba(170, 96, 48, .3);
  border-color: #f0a06a;
}
.sm-list {
  max-height: 54vh;
  overflow-y: auto;
  padding-right: 2px;
}
.sm-world {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 8px;
  background: rgba(255, 255, 255, .05);
  border: 2px solid rgba(255, 255, 255, .14);
  border-radius: 2px;
  cursor: pointer;
  transition:
    background .12s,
    border-color .12s,
    transform .06s;
}
.sm-world:hover,
.sm-world:focus-visible {
  background: rgba(134, 201, 93, .16);
  border-color: #8fd45e;
  outline: none;
}
#startmenu.sm-surv .sm-world:hover,
#startmenu.sm-surv .sm-world:focus-visible {
  background: rgba(240, 160, 106, .16);
  border-color: #f0a06a;
}
.sm-world:active {
  transform: translateY(1px);
}
.sm-world.cur {
  border-left-width: 6px;
}
.sw-shot {
  flex: 0 0 auto;
  position: relative;
  display: block;
  width: 96px;
  height: 54px;
  border-radius: 2px;
  overflow: hidden;
  background: rgba(0, 0, 0, .34);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .10);
}
.sw-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sw-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(8, 12, 8, .40),
      rgba(8, 12, 8, 0) 60%);
  pointer-events: none;
}
.sw-shot.blank {
  background:
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, .035) 0 6px,
      rgba(255, 255, 255, 0) 6px 12px),
    rgba(0, 0, 0, .34);
}
.sm-world:hover .sw-shot {
  box-shadow: inset 0 0 0 1px rgba(143, 212, 94, .45);
}
#startmenu.sm-surv .sm-world:hover .sw-shot {
  box-shadow: inset 0 0 0 1px rgba(240, 160, 106, .45);
}
.sw-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.sw-name {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  font-size: 16px;
  letter-spacing: 1px;
  color: #eef4e8;
}
.sw-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sw-edit {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  padding: 0;
  color: #8fa384;
  background: transparent;
  border: 0;
  border-radius: 2px;
  opacity: .45;
  cursor: pointer;
  transition: opacity .12s, color .12s;
}
.sw-edit svg {
  width: 12px;
  height: 12px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sm-world:hover .sw-edit {
  opacity: .85;
}
.sw-edit:hover,
.sw-edit:focus-visible {
  opacity: 1;
  color: #fff;
  outline: none;
}
.sw-name-in {
  flex: 1 1 auto;
  min-width: 0;
  font-family: inherit;
  font-size: 16px;
  letter-spacing: 1px;
  color: #eef4e8;
  background: rgba(0, 0, 0, .38);
  border: 1px solid rgba(143, 212, 94, .65);
  border-radius: 2px;
  padding: 0 5px;
  margin: -1px 0;
  outline: none;
}
#startmenu.sm-surv .sw-name-in {
  border-color: rgba(240, 160, 106, .65);
}
.sw-meta {
  font-size: 11px;
  color: #7d8f74;
  letter-spacing: .5px;
}
.sw-go {
  font-size: 15px;
  color: #86c95d;
  opacity: .35;
  transition: opacity .12s;
}
.sm-world:hover .sw-go {
  opacity: 1;
}
#startmenu.sm-surv .sw-go {
  color: #f0a06a;
}
.sw-del {
  pointer-events: auto;
  font-family: inherit;
  font-size: 12px;
  color: #b98d80;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 2px;
  padding: 5px 9px;
  cursor: pointer;
}
.sw-del:hover {
  color: #fff;
  background: rgba(140, 50, 40, .55);
  border-color: rgba(255, 140, 120, .5);
}
.sw-del.armed {
  color: #ffd0c4;
  background: rgba(140, 50, 40, .7);
  border-color: rgba(255, 140, 120, .7);
}
.sm-empty {
  padding: 34px 10px;
  text-align: center;
  font-size: 13px;
  color: #77876c;
  letter-spacing: 1px;
  border: 2px dashed rgba(255, 255, 255, .12);
  border-radius: 2px;
}
.sm-bar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.sm-bico {
  width: 13px;
  height: 13px;
  vertical-align: -2px;
  margin-right: 5px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sw-out {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  color: #8fa384;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 2px;
  padding: 5px 9px;
  cursor: pointer;
}
.sw-out svg {
  width: 13px;
  height: 13px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sw-out:hover {
  color: #fff;
  background: rgba(106, 170, 64, .32);
  border-color: rgba(143, 212, 94, .5);
}
#startmenu.sm-surv .sw-out:hover {
  background: rgba(170, 96, 48, .32);
  border-color: rgba(240, 160, 106, .5);
}
.sw-out.done {
  color: #a4e07f;
  border-color: rgba(143, 212, 94, .5);
}
.sw-pin {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  color: #8fa384;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 2px;
  padding: 5px 9px;
  cursor: pointer;
}
.sw-pin svg {
  width: 13px;
  height: 13px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: rotate(38deg);
  transition: transform .12s;
}
.sw-pin.on {
  color: #a4e07f;
  border-color: rgba(143, 212, 94, .5);
  background: rgba(106, 170, 64, .18);
}
.sw-pin.on svg {
  transform: none;
}
#startmenu.sm-surv .sw-pin.on {
  color: #f0a06a;
  border-color: rgba(240, 160, 106, .5);
  background: rgba(170, 96, 48, .18);
}
.sw-pin:hover {
  color: #fff;
  background: rgba(106, 170, 64, .32);
  border-color: rgba(143, 212, 94, .5);
}
#startmenu.sm-surv .sw-pin:hover {
  background: rgba(170, 96, 48, .32);
  border-color: rgba(240, 160, 106, .5);
}
.sm-world.pinned {
  box-shadow: inset 3px 0 0 rgba(143, 212, 94, .5);
}
#startmenu.sm-surv .sm-world.pinned {
  box-shadow: inset 3px 0 0 rgba(240, 160, 106, .5);
}
.sm-note {
  min-height: 18px;
  margin-top: 10px;
  font-size: 12px;
  color: #a4e07f;
  letter-spacing: .5px;
  text-align: center;
}
.sm-note.bad {
  color: #f0a06a;
}
.sm-tip {
  margin: 6px 0 0;
  text-align: center;
  font-size: 11px;
  line-height: 1.6;
  color: #6d7d64;
  letter-spacing: .5px;
}
@media (max-width: 620px) {
  .sm-screen {
    justify-content: flex-start;
  }
  .sm-tiles {
    flex-direction: column;
    align-items: center;
  }
  .sm-tile {
    width: min(80vw, 300px);
    aspect-ratio: 2.6 / 1;
    gap: 4px;
    padding: 10px 16px;
  }
  .sm-ico {
    width: 30px;
    height: 30px;
  }
  .sm-name {
    font-size: 18px;
  }
  .sm-desc {
    font-size: 10.5px;
  }
  .sm-controls {
    display: none;
  }
  .sm-world {
    padding: 10px 12px;
    gap: 10px;
  }
  .sw-shot {
    width: 72px;
    height: 41px;
  }
  .sm-bar {
    gap: 6px;
  }
  .sm-flat {
    padding: 8px 10px;
  }
  #sm-import span {
    display: none;
  }
  .sm-bico {
    margin-right: 0;
  }
  .sw-go {
    display: none;
  }
  .sw-out,
  .sw-del,
  .sw-pin {
    padding: 5px 7px;
  }
  .sw-edit {
    opacity: .7;
  }
}
@media (max-width: 350px) {
  .sm-bar h2 {
    font-size: 17px;
    letter-spacing: 1px;
  }
}
#pause .panel {
  width: min(560px, 92vw);
  max-width: none;
  padding: clamp(20px, 4vh, 32px) clamp(20px, 4vw, 36px);
  background: rgba(10, 15, 11, .94);
  border: 2px solid rgba(255, 255, 255, .14);
  border-radius: 2px;
}
#pause h2 {
  font-size: clamp(20px, 3vw, 30px);
  letter-spacing: 5px;
  margin: 0 0 18px;
  padding-bottom: 14px;
  border-bottom: 2px solid rgba(255, 255, 255, .14);
}
#pause .btn {
  color: #cfe0c2;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, .2);
  border-radius: 2px;
  font-size: 14px;
  letter-spacing: 1.5px;
  padding: 12px 16px;
  transition:
    color .12s,
    background .12s,
    border-color .12s,
    transform .06s;
}
#pause .btn:hover {
  filter: none;
  color: #fff;
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .45);
}
#pause .btn:active {
  transform: translateY(1px);
}
#pause .pfoot {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 2px solid rgba(255, 255, 255, .14);
}
#pause .pfoot .pbtn {
  flex: 1;
  width: auto;
  margin: 0;
  padding: 15px 8px;
  font-size: 14px;
  letter-spacing: 1.5px;
  color: #cfe0c2;
  background: rgba(255, 255, 255, .06);
  border: 2px solid rgba(255, 255, 255, .16);
  border-radius: 2px;
}
#pause .pfoot .pbtn:hover {
  color: #fff;
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .4);
}
#pause .pfoot .pbtn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}
#pause.resuming .pfoot .pbtn.primary {
  animation: pulse .7s ease-in-out infinite;
}
#pause .pfoot .pbtn.primary {
  color: #101c0a;
  font-weight: bold;
  background: #a4e07f;
  border-color: #a4e07f;
}
#pause .pfoot .pbtn.primary:hover {
  color: #101c0a;
  background: #c2f0a2;
  border-color: #c2f0a2;
}
body.survival #pause .pfoot .pbtn.primary {
  color: #2a1408;
  background: #f0a06a;
  border-color: #f0a06a;
}
body.survival #pause .pfoot .pbtn.primary:hover {
  color: #2a1408;
  background: #ffc199;
  border-color: #ffc199;
}
#pause .btn.warn {
  color: #b98d80;
  border-color: rgba(255, 140, 120, .3);
}
#pause .btn.warn:hover {
  color: #fff;
  background: rgba(140, 50, 40, .55);
  border-color: rgba(255, 140, 120, .5);
}
#pause .btn.lang-on {
  color: #a4e07f;
  border-color: #8fd45e;
  box-shadow: 0 0 0 1px rgba(143, 212, 94, .3) inset;
}
body.survival #pause .btn.lang-on {
  color: #f0a06a;
  border-color: #f0a06a;
  box-shadow: 0 0 0 1px rgba(240, 160, 106, .3) inset;
}
#pause .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}
#pause .row:has(> .hidden:only-child) {
  display: none;
}
#pause .btn.small {
  margin: 0;
  padding: 9px 14px;
  font-size: 13px;
}
#pause .label {
  min-width: 0;
  color: #9fb394;
  font-size: 13px;
  letter-spacing: 1px;
}
#pause .seedline {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 2px solid rgba(255, 255, 255, .1);
  font-size: 11px;
  color: #7d8f74;
  letter-spacing: .5px;
}
#pause .prow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  text-align: left;
}
#pause .plabel {
  flex: none;
  width: 132px;
  font-size: 13px;
  letter-spacing: 1px;
  color: #cfe0c2;
}
#pause .pstep {
  flex: none;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 17px;
  line-height: 1;
  color: #cfe0c2;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  cursor: pointer;
  transition:
    color .12s,
    background .12s,
    border-color .12s,
    transform .06s;
}
#pause .pstep:hover {
  color: #fff;
  border-color: #fff;
  background: rgba(255, 255, 255, .12);
}
#pause .pstep:active {
  transform: translateY(1px);
}
#pause .pbar {
  flex: 1;
  min-width: 0;
  display: flex;
  gap: 3px;
  height: 26px;
}
#pause .pseg {
  flex: 1;
  min-width: 0;
  padding: 0;
  background: rgba(255, 255, 255, .14);
  border: none;
  border-radius: 1px;
  cursor: pointer;
  transition: background .12s, transform .06s;
}
#pause .pseg:first-child {
  border-radius: 2px 0 0 2px;
}
#pause .pseg:last-child {
  border-radius: 0 2px 2px 0;
}
#pause .pseg:hover {
  background: rgba(255, 255, 255, .4);
}
#pause .pseg.on {
  background: #a4e07f;
}
#pause .pseg.on:hover {
  background: #c2f0a2;
}
body.survival #pause .pseg.on {
  background: #f0a06a;
}
body.survival #pause .pseg.on:hover {
  background: #ffc199;
}
#pause .pval {
  flex: none;
  width: 44px;
  font-size: 13px;
  color: #9fb394;
  text-align: right;
}
#pause .parrow {
  flex: none;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 22px;
  line-height: 1;
  color: #9fb394;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color .12s, transform .06s;
}
#pause .parrow:hover {
  color: #fff;
}
#pause .parrow:active {
  transform: translateY(1px);
}
#pause .pchoice {
  flex: 1;
  min-width: 0;
  text-align: center;
  font-size: 14px;
  letter-spacing: 1px;
  color: #a4e07f;
}
body.survival #pause .pchoice {
  color: #f0a06a;
}
#pause .prow.locked .pstep,
#pause .prow.locked .pbar {
  opacity: .35;
  pointer-events: none;
}
#pause .prow.locked .plabel {
  color: #8a9a82;
}
@media (max-width: 560px) {
  #pause .plabel {
    width: 92px;
    font-size: 12px;
  }
  #pause .pval {
    width: 38px;
    font-size: 12px;
  }
  #pause .prow {
    gap: 7px;
  }
  #pause .pfoot {
    gap: 6px;
  }
  #pause .pfoot .pbtn {
    padding: 13px 4px;
    font-size: 12px;
    letter-spacing: .5px;
  }
}
#prompt {
  position: absolute;
  left: 50%;
  top: 54%;
  transform: translate(-50%, -108%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 10px 16px;
  background: rgba(8, 12, 10, .72);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .5);
  pointer-events: none;
  animation: promptIn .12s ease;
}
@keyframes promptIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
#prompt .p-title {
  font-size: 13px;
  letter-spacing: 1px;
  color: #eaf5e2;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .8);
}
#prompt .p-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #cfe0c2;
}
#prompt .p-key {
  min-width: 22px;
  padding: 2px 7px;
  font-weight: bold;
  font-size: 12px;
  color: #0d140c;
  background:
    linear-gradient(
      180deg,
      #cdeeae,
      #8fc96a);
  border-radius: 5px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .45);
  text-align: center;
}
#prompt .p-gain {
  color: #8fa08a;
  font-size: 11px;
}
#prompt .feuer-bar {
  position: relative;
  width: 132px;
  height: 6px;
  background: rgba(255, 255, 255, .14);
  border-radius: 3px;
  overflow: hidden;
}
#prompt .feuer-bar i {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background:
    linear-gradient(
      180deg,
      #ffc46a,
      #d2761f);
}
#prompt .feuer-gar i {
  background:
    linear-gradient(
      180deg,
      #cdeeae,
      #6fbf49);
}
#prompt .feuer-verkohlt i {
  background:
    linear-gradient(
      180deg,
      #7a7570,
      #3a3634);
}
#prompt .feuer-bar b {
  position: absolute;
  top: -2px;
  bottom: -2px;
  width: 2px;
  margin-left: -1px;
  background: #fff;
  box-shadow: 0 0 4px rgba(255, 255, 255, .8);
}
#handaktion {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 6px 9px;
  pointer-events: none;
  background: rgba(8, 12, 10, .46);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 8px;
  animation: handIn .16s ease;
}
@keyframes handIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
body.inv-open #handaktion,
body.melde-offen #handaktion {
  display: none;
}
.ha-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: .5px;
  color: #bcd0ae;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, .8);
  white-space: nowrap;
}
.ha-key {
  padding: 1px 4px;
  font-size: 10px;
  letter-spacing: 1px;
  color: #dcecd0;
  background: rgba(255, 255, 255, .13);
  border-radius: 2px;
  text-shadow: none;
}
.ha-tun {
  color: #dcecd0;
}
.ha-hint {
  color: #8fa08a;
  font-size: 10px;
  letter-spacing: 1px;
}
@media (max-width: 900px) {
  #handaktion {
    right: 14px;
    padding: 5px 7px;
  }
  .ha-row {
    font-size: 10px;
    letter-spacing: .3px;
    gap: 5px;
  }
}
#minimap {
  position: absolute;
  left: 20px;
  bottom: 20px;
  width: 200px;
  height: 120px;
  padding: 4px;
  background: rgba(8, 12, 10, .52);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .45);
  pointer-events: none;
}
#minimap canvas {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 6px;
  background: #161a18;
}
body.inv-open #minimap {
  display: none;
}
@media (max-width: 900px) {
  #minimap {
    left: 14px;
    bottom: 14px;
    width: 150px;
    height: 90px;
    padding: 3px;
  }
}
#speech {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
#speech .bubble {
  --tail: 50%;
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: 0 0;
  max-width: 260px;
  padding: 7px 12px 8px;
  background: rgba(10, 15, 13, .86);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 11px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .55);
  font-size: 16px;
  line-height: 1.3;
  color: #f2f8ee;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .95);
  text-align: center;
  white-space: normal;
  overflow-wrap: break-word;
  opacity: 0;
  pointer-events: none;
}
#speech .bubble::before,
#speech .bubble::after {
  content: "";
  position: absolute;
  left: var(--tail);
  border: 8px solid transparent;
  border-bottom: 0;
}
#speech .bubble::before {
  bottom: -9px;
  margin-left: -8px;
  border-top-color: rgba(255, 255, 255, .22);
}
#speech .bubble::after {
  bottom: -7px;
  margin-left: -8px;
  border-top-color: rgba(10, 15, 13, .86);
}
#speech .bubble.cop {
  background: rgba(12, 22, 44, .88);
  border-color: rgba(130, 180, 255, .45);
  color: #dfeaff;
  letter-spacing: .4px;
}
#speech .bubble.cop::before {
  border-top-color: rgba(130, 180, 255, .45);
}
#speech .bubble.cop::after {
  border-top-color: rgba(12, 22, 44, .88);
}
@media (max-width: 900px) {
  #speech .bubble {
    max-width: 200px;
    font-size: 14px;
    padding: 6px 10px 7px;
  }
}
#melden {
  position: fixed;
  inset: 0;
  z-index: 14;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(6, 10, 8, .62);
  backdrop-filter: blur(3px);
  animation: md-fade .16s ease-out;
}
body.melde-offen #pause {
  display: none;
}
@keyframes md-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes md-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.md-box {
  --ac: #a4e07f;
  --ac-dim: rgba(164,224,127,.55);
  width: min(620px, 94vw);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  text-align: left;
  background: rgba(10, 15, 11, .95);
  border: 2px solid rgba(255, 255, 255, .14);
  border-radius: 2px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .65);
  animation: md-rise .18s ease-out;
}
.md-box.k-bug {
  --ac: #f0a06a;
  --ac-dim: rgba(240,160,106,.55);
}
.md-head {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: clamp(15px, 3vh, 22px) clamp(16px, 3vw, 26px) 14px;
  border-bottom: 2px solid rgba(255, 255, 255, .14);
}
.md-titles {
  flex: 1 1 auto;
  min-width: 0;
}
.md-head h2 {
  font-size: clamp(17px, 2.5vw, 25px);
  letter-spacing: 5px;
  margin: 0;
}
.md-sub {
  margin-top: 9px;
  font-size: 12.5px;
  line-height: 1.4;
  letter-spacing: .8px;
  color: var(--ac);
  transition: color .15s;
}
.md-x,
.inv-x {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  font-family: inherit;
  font-size: 21px;
  line-height: 1;
  color: #8b9c84;
  background: none;
  border: 2px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition:
    color .12s,
    background .12s,
    border-color .12s;
}
.md-x:hover,
.inv-x:hover {
  color: #fff;
  background: rgba(255, 255, 255, .09);
  border-color: rgba(255, 255, 255, .3);
}
.md-x:focus-visible,
.inv-x:focus-visible {
  outline: 2px solid #a4e07f;
  outline-offset: 2px;
}
.md-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 15px clamp(16px, 3vw, 26px) 2px;
}
.md-body::-webkit-scrollbar {
  width: 8px;
}
.md-body::-webkit-scrollbar-thumb {
  background: rgba(134, 201, 93, .3);
  border-radius: 4px;
}
.md-body::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, .3);
}
.md-ways {
  display: flex;
  gap: 11px;
}
.md-way {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  padding: 15px 12px 13px;
  font-family: inherit;
  color: #eef4e8;
  background:
    linear-gradient(
      160deg,
      rgba(60, 86, 49, .9),
      rgba(24, 36, 18, .94));
  border: 2px solid rgba(255, 255, 255, .2);
  border-radius: 2px;
  cursor: pointer;
  transition:
    transform .07s ease,
    border-color .12s,
    box-shadow .12s,
    opacity .12s;
}
.md-way.w-bug {
  background:
    linear-gradient(
      160deg,
      rgba(96, 58, 36, .9),
      rgba(38, 20, 12, .94));
}
.md-way:hover,
.md-way:focus-visible {
  transform: translateY(-3px);
  border-color: #8fd45e;
  box-shadow: 0 0 0 1px rgba(143, 212, 94, .45) inset, 0 10px 24px rgba(0, 0, 0, .5);
  outline: none;
}
.md-way.w-bug:hover,
.md-way.w-bug:focus-visible {
  border-color: #f0a06a;
  box-shadow: 0 0 0 1px rgba(240, 160, 106, .45) inset, 0 10px 24px rgba(0, 0, 0, .5);
}
.md-way:active {
  transform: translateY(0);
}
.md-ways.chosen .md-way {
  opacity: .42;
}
.md-ways.chosen .md-way:hover {
  opacity: .8;
}
.md-ways.chosen .md-way.on {
  opacity: 1;
}
.md-way.on {
  border-color: #8fd45e;
  box-shadow: 0 0 0 1px rgba(143, 212, 94, .5) inset, 0 0 22px rgba(134, 201, 93, .3);
}
.md-way.w-bug.on {
  border-color: #f0a06a;
  box-shadow: 0 0 0 1px rgba(240, 160, 106, .5) inset, 0 0 22px rgba(220, 130, 70, .3);
}
.md-ico {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  color: #a4e07f;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.md-way.w-bug .md-ico {
  color: #f0a06a;
}
.md-dash path {
  stroke-dasharray: 5 3.4;
}
.md-spark {
  fill: currentColor;
  stroke: none;
}
.md-crack {
  stroke-width: 2.4;
}
.md-way-txt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  min-width: 0;
}
.md-way-name {
  font-size: 16px;
  letter-spacing: 3px;
  font-weight: bold;
}
.md-way-desc {
  font-size: 11px;
  line-height: 1.5;
  color: #9fb394;
  text-align: center;
}
@keyframes md-shake {
  0%, 100% {
    transform: translateX(0);
  }
  18% {
    transform: translateX(-6px);
  }
  38% {
    transform: translateX(6px);
  }
  60% {
    transform: translateX(-3px);
  }
  82% {
    transform: translateX(3px);
  }
}
.md-ways.nudge,
.md-text.nudge {
  animation: md-shake .36s ease-in-out;
}
.md-aim {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 14px;
  min-height: 44px;
  padding: 8px 10px;
  font-size: 12.5px;
  letter-spacing: .5px;
  background: rgba(255, 255, 255, .045);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 2px;
}
.md-aim.empty {
  background: none;
  border-style: dashed;
  border-color: rgba(255, 255, 255, .15);
}
.md-aim canvas {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  image-rendering: pixelated;
}
.md-aim-label {
  flex: 0 0 auto;
  color: #8b9c84;
}
.md-aim-name {
  flex: 0 1 auto;
  color: #eaf5e2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.md-aim-pos {
  flex: 0 0 auto;
  font-size: 11px;
  color: #6f8068;
}
.md-aim-hint {
  color: #9fb394;
  line-height: 1.4;
}
.md-aim-x {
  flex: 0 0 auto;
  margin-left: auto;
  width: 24px;
  height: 24px;
  font-family: inherit;
  font-size: 15px;
  line-height: 1;
  color: #7d8f74;
  background: none;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition:
    color .12s,
    border-color .12s,
    background .12s;
}
.md-aim-x:hover {
  color: #fff;
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .28);
}
.md-box.from-menu .md-aim {
  display: none;
}
.md-text {
  display: block;
  width: 100%;
  margin-top: 12px;
  min-height: 118px;
  padding: 11px 13px;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.6;
  color: #eaf5e2;
  background: rgba(0, 0, 0, .35);
  border: 2px solid rgba(255, 255, 255, .14);
  border-radius: 2px;
  outline: none;
  resize: vertical;
  user-select: text;
  -webkit-user-select: text;
}
.md-text::placeholder {
  color: #6c7d66;
}
.md-text:focus {
  border-color: var(--ac-dim);
  box-shadow: 0 0 0 1px var(--ac-dim) inset;
}
.md-ctx {
  margin: 9px 0 14px;
  font-size: 11px;
  line-height: 1.5;
  color: #6f8068;
  letter-spacing: .4px;
}
.md-foot {
  flex: 0 0 auto;
  padding: 12px clamp(16px, 3vw, 26px) clamp(13px, 2.4vh, 18px);
  border-top: 2px solid rgba(255, 255, 255, .14);
}
.md-acts {
  display: flex;
  gap: 10px;
}
.md-btn {
  flex: 1 1 0;
  padding: 13px 10px;
  font-family: inherit;
  font-size: 14px;
  letter-spacing: 1.5px;
  color: #cfe0c2;
  background: rgba(255, 255, 255, .06);
  border: 2px solid rgba(255, 255, 255, .16);
  border-radius: 2px;
  cursor: pointer;
  transition:
    color .12s,
    background .12s,
    border-color .12s,
    transform .06s;
}
.md-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .4);
}
.md-btn:active {
  transform: translateY(1px);
}
.md-send {
  color: #101c0a;
  font-weight: bold;
  background: var(--ac);
  border-color: var(--ac);
}
.md-send:hover {
  color: #101c0a;
  background: var(--ac);
  border-color: var(--ac);
  filter: brightness(1.14);
}
.md-send.off {
  color: #8b9c84;
  font-weight: normal;
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .14);
}
.md-send.off:hover {
  color: #cfe0c2;
  background: rgba(255, 255, 255, .09);
  border-color: rgba(255, 255, 255, .24);
  filter: none;
}
.md-send.busy {
  cursor: wait;
}
.md-done {
  display: none;
  padding: clamp(18px, 4vh, 28px) clamp(16px, 3vw, 26px);
}
.md-box.done .md-body,
.md-box.done .md-foot {
  display: none;
}
.md-box.done .md-done {
  display: block;
  animation: md-rise .18s ease-out;
}
.md-done h3 {
  font-size: 17px;
  letter-spacing: 3px;
  margin-bottom: 12px;
  color: var(--ac);
}
.md-done p {
  font-size: 13px;
  line-height: 1.65;
  color: #b9c4b0;
  margin-bottom: 18px;
}
.md-done .md-btn {
  width: 100%;
  flex: none;
}
@media (max-width: 700px) {
  .md-head h2 {
    letter-spacing: 3px;
  }
  .md-ways {
    flex-direction: column;
    gap: 9px;
  }
  .md-way {
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 11px 13px;
  }
  .md-way-txt {
    align-items: flex-start;
  }
  .md-way-desc {
    text-align: left;
  }
  .md-ico {
    width: 34px;
    height: 34px;
  }
  .md-text {
    min-height: 92px;
  }
  .md-acts {
    flex-direction: column-reverse;
  }
}
#pause .md-call {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  margin: 22px 0 0;
  padding: 15px 17px;
  font-family: inherit;
  text-align: left;
  color: #e6f5d9;
  background:
    linear-gradient(
      150deg,
      rgba(74, 120, 46, .34),
      rgba(20, 34, 16, .34));
  border: 2px solid rgba(143, 212, 94, .45);
  border-radius: 2px;
  cursor: pointer;
  transition:
    background .13s,
    border-color .13s,
    box-shadow .13s,
    transform .06s;
}
#pause .md-call:hover,
#pause .md-call:focus-visible {
  background:
    linear-gradient(
      150deg,
      rgba(96, 152, 58, .5),
      rgba(28, 46, 20, .45));
  border-color: #8fd45e;
  box-shadow: 0 0 24px rgba(134, 201, 93, .24);
  outline: none;
}
#pause .md-call:active {
  transform: translateY(1px);
}
.md-call-ico {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  color: #a4e07f;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.md-call-txt {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.md-call-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.md-call-name {
  font-size: 15px;
  letter-spacing: 2.5px;
  font-weight: bold;
  color: #cdf0a8;
}
.md-call-line {
  font-size: 12px;
  line-height: 1.45;
  color: #a9bd9c;
}
.md-call-key {
  flex: 0 0 auto;
  padding: 3px 8px;
  font-size: 11px;
  letter-spacing: 1px;
  color: #9fb394;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 2px;
}
#pause .md-call:hover .md-call-key {
  color: #cdf0a8;
  border-color: rgba(143, 212, 94, .5);
}
body.survival #pause .md-call {
  background:
    linear-gradient(
      150deg,
      rgba(126, 74, 38, .34),
      rgba(36, 22, 14, .34));
  border-color: rgba(240, 160, 106, .45);
}
body.survival #pause .md-call:hover,
body.survival #pause .md-call:focus-visible {
  background:
    linear-gradient(
      150deg,
      rgba(158, 94, 46, .5),
      rgba(50, 30, 18, .45));
  border-color: #f0a06a;
  box-shadow: 0 0 24px rgba(220, 130, 70, .24);
}
body.survival #pause .md-call:hover .md-call-key {
  color: #f5c9a4;
  border-color: rgba(240, 160, 106, .5);
}
body.survival .md-call-ico {
  color: #f0a06a;
}
body.survival .md-call-name {
  color: #f5c9a4;
}
@media (max-width: 700px) {
  #pause .md-call {
    gap: 11px;
    padding: 11px 12px;
  }
  .md-call-ico {
    width: 30px;
    height: 30px;
  }
  .md-call-name {
    font-size: 13px;
    letter-spacing: 1.5px;
  }
  .md-call-line {
    font-size: 11px;
  }
  .md-call-key {
    display: none;
  }
}
#sm-modes .md-call {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(420px, 94vw);
  margin: 0;
  padding: 13px 16px;
  font-family: inherit;
  text-align: left;
  color: #e6f5d9;
  background:
    linear-gradient(
      150deg,
      rgba(74, 120, 46, .34),
      rgba(20, 34, 16, .34));
  border: 2px solid rgba(143, 212, 94, .45);
  border-radius: 2px;
  cursor: pointer;
  transition:
    background .13s,
    border-color .13s,
    box-shadow .13s,
    transform .06s;
}
#sm-modes .md-call:hover,
#sm-modes .md-call:focus-visible {
  background:
    linear-gradient(
      150deg,
      rgba(96, 152, 58, .5),
      rgba(28, 46, 20, .45));
  border-color: #8fd45e;
  box-shadow: 0 0 24px rgba(134, 201, 93, .24);
  outline: none;
}
#sm-modes .md-call:active {
  transform: translateY(1px);
}
#sm-modes .md-call:hover .md-call-key {
  color: #cdf0a8;
  border-color: rgba(143, 212, 94, .5);
}
#md-mark {
  position: absolute;
  right: 18px;
  top: 14px;
  display: none;
  align-items: center;
  gap: 7px;
  padding: 4px 8px 4px 7px;
  pointer-events: none;
  font-size: 11px;
  letter-spacing: 2px;
  color: #bcd0ae;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, .8);
  background: rgba(8, 12, 10, .46);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 8px;
}
body.locked #md-mark {
  display: flex;
}
body.inv-open #md-mark,
body.melde-offen #md-mark {
  display: none;
}
.md-mark-ico {
  width: 15px;
  height: 15px;
  color: #96d46e;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.4;
  stroke-linejoin: round;
  stroke-linecap: round;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .9));
}
.md-mark-ico .md-dash path {
  stroke-dasharray: 11 6;
}
.md-mark-key {
  padding: 1px 4px;
  font-size: 10px;
  letter-spacing: 1px;
  color: #dcecd0;
  background: rgba(255, 255, 255, .13);
  border-radius: 2px;
  text-shadow: none;
}
.md-mark-ico .md-spark {
  opacity: .5;
  animation: md-glint 14s ease-in-out infinite;
}
@keyframes md-glint {
  0%, 92%, 100% {
    opacity: .5;
  }
  95% {
    opacity: 1;
  }
}
body.survival .md-mark-ico {
  color: #f0a06a;
}
#hud:has(> #wanted:not(.hidden)) #md-mark {
  top: 62px;
}
@media (max-width: 900px) {
  #md-mark {
    right: 14px;
    top: 10px;
    font-size: 10px;
    letter-spacing: 1.5px;
    gap: 5px;
  }
  .md-mark-ico {
    width: 13px;
    height: 13px;
  }
}
#bp {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 6;
}
.bp-svg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.bp-under {
  fill: none;
  stroke: #000;
  stroke-width: 7;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .5;
}
.bp-over {
  fill: none;
  stroke-width: 3.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  animation: bp-blink 1.1s ease-in-out infinite;
}
@keyframes bp-blink {
  0%, 38% {
    stroke: #ffffff;
    stroke-width: 3.4;
  }
  50%, 88% {
    stroke: #a4e07f;
    stroke-width: 2.4;
  }
  100% {
    stroke: #ffffff;
    stroke-width: 3.4;
  }
}
body.survival .bp-over {
  animation-name: bp-blink-surv;
}
@keyframes bp-blink-surv {
  0%, 38% {
    stroke: #ffffff;
    stroke-width: 3.4;
  }
  50%, 88% {
    stroke: #f0a06a;
    stroke-width: 2.4;
  }
  100% {
    stroke: #ffffff;
    stroke-width: 3.4;
  }
}
.bp-bar {
  position: absolute;
  left: 50%;
  bottom: 92px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 13px;
  max-width: 92vw;
  padding: 7px 14px;
  font-size: 12px;
  letter-spacing: 1px;
  color: #cfe0c2;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, .8);
  background: rgba(8, 12, 10, .66);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  white-space: nowrap;
}
.bp-was {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.bp-was canvas {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  image-rendering: pixelated;
}
.bp-name {
  font-size: 13px;
  color: #eaf5e2;
  overflow: hidden;
  text-overflow: ellipsis;
}
.bp-pos {
  flex: 0 0 auto;
  font-size: 11px;
  color: #8b9c84;
  letter-spacing: .5px;
}
.bp-hint {
  color: #9fb394;
}
.bp-trenn {
  flex: 0 0 auto;
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, .2);
}
#bp .bp-hint {
  display: none;
}
#bp.bp-leer .bp-hint {
  display: inline;
}
#bp.bp-leer .bp-name,
#bp.bp-leer .bp-pos {
  display: none;
}
#bp.bp-leer .bp-take {
  opacity: .3;
}
.bp-acts {
  display: flex;
  align-items: center;
  gap: 5px;
}
.bp-act {
  color: #9fb394;
}
.bp-key {
  padding: 1px 5px;
  font-size: 11px;
  letter-spacing: 1px;
  color: #eaf5e2;
  background: rgba(255, 255, 255, .14);
  border-radius: 2px;
  text-shadow: none;
}
body.bp-zielen #md-mark {
  display: none;
}
body.bp-zielen #minimap,
body.bp-zielen #hotbar {
  opacity: .32;
  transition: opacity .2s;
}
@media (max-width: 700px) {
  .bp-bar {
    font-size: 11px;
    gap: 7px;
    padding: 6px 9px;
  }
  .bp-name {
    font-size: 12px;
  }
  .bp-act {
    display: none;
  }
}
.md-aim {
  flex-wrap: wrap;
}
.md-pick {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 6px 12px;
  font-family: inherit;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--ac);
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--ac-dim);
  border-radius: 2px;
  cursor: pointer;
  transition:
    color .12s,
    background .12s,
    border-color .12s,
    transform .06s;
}
.md-pick:hover,
.md-pick:focus-visible {
  color: #101c0a;
  background: var(--ac);
  border-color: var(--ac);
  outline: none;
}
.md-box.k-bug .md-pick:hover,
.md-box.k-bug .md-pick:focus-visible {
  color: #2a1408;
}
.md-pick:active {
  transform: translateY(1px);
}
.md-pick.short {
  padding: 5px;
}
.md-aim .md-pick.short + .md-aim-x {
  margin-left: 0;
}
.md-pick-ico {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.md-pick-dot {
  fill: currentColor;
  stroke: none;
}
.md-pick-txt {
  white-space: nowrap;
}
.md-aim-warn {
  flex: 1 0 100%;
  margin-top: 2px;
  font-size: 11.5px;
  line-height: 1.4;
  color: #f0c07a;
}
.md-aim.nudge {
  animation: md-shake .36s ease-in-out;
}
#inv.dual {
  display: block;
  padding: 0;
}
#inv.dual .inv-panel {
  position: absolute;
  width: auto;
  max-height: none;
}
#inv.dual #inv-tabs {
  display: none;
}
#invbag {
  position: absolute;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(
      165deg,
      rgba(24, 34, 26, .97),
      rgba(9, 13, 10, .97));
  border: 1px solid rgba(160, 220, 130, .35);
  border-radius: 14px;
  padding: 9px 11px 11px;
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .65), 0 0 40px rgba(134, 201, 93, .12) inset;
  backdrop-filter: blur(6px);
}
#invbag.hidden {
  display: none;
}
.bag-head {
  flex: 0 0 auto;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 7px;
}
.bag-title {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #cfe0c2;
}
.bag-count {
  font-size: 11px;
  color: #8fa08a;
  white-space: nowrap;
}
#invbag #inv-grid {
  padding: 2px 5px 2px 2px;
}
#invbag #inv-name {
  flex: 0 0 auto;
  margin-top: 7px;
  min-height: 17px;
  font-size: 12.5px;
  letter-spacing: .6px;
}
.found-none {
  grid-column: 1 / -1;
  padding: 14px 8px;
  text-align: center;
  font-size: 11.5px;
  line-height: 1.55;
  color: #8fa08a;
}
.craft-list {
  grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
  gap: 7px;
}
.craft-hover {
  min-height: 17px;
  margin: -4px 2px -6px;
  font-size: 12px;
  letter-spacing: .5px;
  color: #cfe9b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rcard.zu {
  grid-template-columns: 1fr;
  justify-items: stretch;
  gap: 0;
  padding: 4px;
}
.rcard.zu .r-icon {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
}
.rcard.zu .r-qty {
  right: 4px;
  bottom: 2px;
}
.rcard.zu:hover {
  transform: translateY(-2px);
  border-color: #cfe9b8;
}
.rcard.locked.zu {
  opacity: .48;
}
.rcard.locked.zu:hover {
  opacity: .9;
  cursor: pointer;
}
.rcard.auf {
  grid-column: 1 / -1;
  cursor: default;
}
.rcard.auf:hover {
  transform: none;
}
@media (max-width: 760px) {
  .craft-list {
    grid-template-columns: repeat(auto-fill, minmax(56px, 1fr));
  }
  .rcard.auf {
    grid-template-columns: 50px minmax(0, 1fr);
  }
  .rcard.auf .r-act {
    grid-column: 1 / -1;
    flex-direction: row;
  }
  .rcard.auf .btn.craft-go {
    flex: 1;
  }
}
.inv-item.zieht,
.slot.zieht {
  opacity: .35;
  filter: grayscale(.6);
}
#invbag.drop-on {
  border-color: #a4e07f;
  box-shadow:
    0 18px 60px rgba(0, 0, 0, .65),
    0 0 0 2px rgba(134, 201, 93, .35),
    0 0 30px rgba(134, 201, 93, .25);
}
.slot.drop-target {
  border-color: #86c95d !important;
  box-shadow: 0 0 0 3px rgba(134, 201, 93, .4), 0 0 16px rgba(134, 201, 93, .35);
}
body.survival.inv-open #hotbar .slot:not(.empty) {
  cursor: grab;
}
body.survival.inv-open #hotbar .slot:not(.empty):active {
  cursor: grabbing;
}
body.survival.inv-open #invbag .inv-item:active {
  cursor: grabbing;
}
.inv-head #inv-sub {
  flex: 1 1 auto;
}
.inv-head .inv-x {
  align-self: center;
  margin-top: -4px;
  margin-left: 8px;
}
#rucksack {
  position: absolute;
  right: 20px;
  bottom: 86px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px 4px 7px;
  font-family: inherit;
  font-size: 11px;
  letter-spacing: 2px;
  color: #bcd0ae;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, .8);
  background: rgba(8, 12, 10, .46);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: 8px;
  pointer-events: auto;
  cursor: pointer;
  transition:
    color .12s,
    border-color .12s,
    background .12s;
}
#rucksack:hover,
#rucksack:focus-visible {
  color: #eaf5e2;
  border-color: rgba(164, 224, 127, .5);
  background: rgba(14, 22, 14, .7);
  outline: none;
}
#rucksack:active {
  transform: translateY(1px);
}
body.inv-open #rucksack,
body.melde-offen #rucksack {
  display: none;
}
.rk-ico {
  width: 15px;
  height: 15px;
  color: #96d46e;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.4;
  stroke-linejoin: round;
  stroke-linecap: round;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .9));
}
body.survival .rk-ico {
  color: #f0a06a;
}
.rk-key {
  padding: 1px 4px;
  font-size: 10px;
  letter-spacing: 1px;
  color: #dcecd0;
  background: rgba(255, 255, 255, .13);
  border-radius: 2px;
  text-shadow: none;
}
@media (max-width: 900px) {
  #rucksack {
    right: 14px;
    bottom: 72px;
    font-size: 10px;
    letter-spacing: 1.5px;
    gap: 5px;
  }
  .rk-ico {
    width: 13px;
    height: 13px;
  }
}
