@font-face {
  font-family: KopatelHuntDisplay;
  src: url('display.woff2') format('woff2');
  font-display: swap;
  font-weight: 400;
}
@font-face {
  font-family: KopatelHuntGame;
  src: url('gui.woff2') format('woff2');
  font-display: swap;
  font-weight: 400;
}
.kfh,
.kfh * {
  box-sizing: border-box;
}
aside.kfh {
  position: relative;
  isolation: isolate;
  container-type: inline-size;
  display: block;
  width: 100%;
  max-width: 720px;
  min-width: 0;
  margin: 0 auto 22px;
  padding: 0;
  border: 1px solid #293b33;
  border-radius: 15px;
  overflow: hidden;
  background: #111f1d;
  color: #fff6d9;
  box-shadow: 0 6px 22px #16324b26;
  text-align: left;
  font-family: 'Segoe UI', Arial, sans-serif;
  line-height: 1.25;
}
.kfh .kfh-scene {
  position: relative;
  isolation: isolate;
  padding: 20px 26px 15px;
  min-height: 214px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-image:
    linear-gradient(
      90deg,
      #051919f7 0%,
      #071c1de8 30%,
      #08202296 49%,
      #061b1712 68%,
      transparent 82%
    ),
    url('mine.webp');
  background-size: cover;
  background-position:
    center,
    center 52%;
  overflow: hidden;
}
.kfh .kfh-brand {
  margin: 0 0 12px;
  font:
    400 12px/1.1 KopatelHuntGame,
    monospace;
  letter-spacing: 0.06em;
  color: #ffeed1;
  text-shadow: 0 1px 3px #08201b;
}
.kfh h2.kfh-title {
  font:
    400 clamp(34px, 6.8cqw, 51px)/0.95 KopatelHuntDisplay,
    'Arial Black',
    sans-serif;
  letter-spacing: -0.027em;
  text-transform: none;
  margin: 0;
  padding: 0;
  color: #fff7e5;
  text-shadow: 0 2px 7px #10211d80;
}
.kfh .kfh-title span,
.kfh .kfh-title strong {
  display: block;
  font: inherit;
}
.kfh .kfh-title strong {
  color: #ffda85;
  margin-top: 5px;
}
.kfh .kfh-rule {
  color: #f1ede0;
  padding: 0;
  margin: 12px 0 0;
  font:
    600 13px/1.3 'Segoe UI',
    Arial,
    sans-serif;
  max-width: 60%;
}
.kfh .kfh-chests {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 4px;
  top: 16px;
  right: 16px;
  padding: 6px 8px;
  border: 1px solid #f6d39855;
  border-radius: 4px;
  background: #17231fd9;
}
.kfh .kfh-chests i {
  position: relative;
  display: block;
  width: 13px;
  height: 10px;
  border: 1px solid #412e1d;
  border-radius: 2px 2px 1px 1px;
  background: linear-gradient(
    to bottom,
    #ffd790 0 18%,
    #bc823f 18% 42%,
    #563c28 42% 55%,
    #b17b40 55% 100%
  );
  box-shadow:
    inset 2px 0 #7e582f,
    inset -2px 0 #7e582f;
}
.kfh .kfh-chests i:after {
  content: '';
  position: absolute;
  top: 3px;
  left: 4px;
  width: 3px;
  height: 4px;
  background: #ffe3a4;
}
.kfh .kfh-chests i[data-gone] {
  filter: grayscale(1);
  opacity: 0.29;
}
.kfh .kfh-strip {
  display: flex;
  align-items: center;
  gap: clamp(15px, 3.2cqw, 28px);
  padding: 14px 22px 15px 25px;
  min-height: 80px;
  background: linear-gradient(105deg, #122c2c, #122624 75%, #18302b);
  border-top: 1px solid #e7bf763d;
}
.kfh .kfh-stat {
  display: grid;
  align-content: center;
  gap: 4px;
  white-space: nowrap;
}
.kfh .kfh-label {
  font:
    600 12px/1.1 'Segoe UI',
    Arial,
    sans-serif;
  color: #c9d4c8;
}
.kfh .kfh-stat strong {
  font:
    400 clamp(18px, 3.4cqw, 27px)/1 KopatelHuntDisplay,
    Arial,
    sans-serif;
  letter-spacing: -0.02em;
}
.kfh .kfh-time strong {
  color: #ffe7aa;
}
aside.kfh .kfh-title [data-hunt-title] {
  color: #fff5d8 !important;
  text-shadow: 0 2px 3px #101917;
}
.kfh .kfh-land strong {
  color: #c6eacc;
}
.kfh a.kfh-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 45px;
  min-width: 122px;
  margin: 0 0 0 auto;
  text-decoration: none !important;
  color: #302510 !important;
  padding: 0 16px;
  border: 1px solid #563d1d;
  border-radius: 4px;
  background-color: #efb953;
  box-shadow:
    inset 0 2px #ffe8a8,
    inset 0 -3px #a97629;
  font:
    400 19px/1 KopatelHuntDisplay,
    Arial,
    sans-serif;
  white-space: nowrap;
  cursor: pointer;
}
.kfh .kfh-play span {
  font:
    700 21px/1 'Segoe UI',
    Arial,
    sans-serif;
}
.kfh[data-status='active'] .kfh-play {
  animation: kfh-lamp 1.7s ease-in-out infinite alternate;
}
@keyframes kfh-lamp {
  to {
    background-color: #ffdd87;
    box-shadow:
      inset 0 2px #fff0cd,
      inset 0 -3px #b38c3d,
      0 0 14px 1px #dfa85972;
  }
}
.kfh a.kfh-play:focus-visible {
  outline: 3px solid #fef7db;
  outline-offset: 3px;
}
.kfh[data-status='expired'] .kfh-title strong,
.kfh[data-status='found'] .kfh-title strong,
.kfh[data-status='unknown'] .kfh-title strong {
  color: #d0e6d6;
}
@container (max-width:539px) {
  .kfh .kfh-scene {
    min-height: 193px;
    padding: 18px 17px 15px;
    background-position:
      center,
      61% 52%;
    background-image:
      linear-gradient(90deg, #051919f2, #061c1be0 27%, #10272170 65%, transparent), url('mine.webp');
  }
  .kfh .kfh-brand {
    font-size: 10px;
    margin-bottom: 14px;
  }
  .kfh .kfh-rule {
    font-size: 12px;
    max-width: 71%;
    margin-top: 10px;
  }
  .kfh .kfh-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 12px;
    padding: 13px 15px 14px;
  }
  .kfh .kfh-stat {
    white-space: normal;
    gap: 4px;
  }
  .kfh .kfh-stat strong {
    font-size: 22px;
  }
  .kfh .kfh-label {
    font-size: 11px;
  }
  .kfh a.kfh-play {
    grid-column: 1/-1;
    width: 100%;
    margin: 0;
    min-height: 42px;
    font-size: 17px;
  }
  .kfh .kfh-chests {
    right: 9px;
    top: 9px;
    gap: 3px;
    padding: 5px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .kfh[data-status='active'] .kfh-play {
    animation: none;
  }
}
body.mcf-azure aside.kfh .kfh-scene h2.kfh-title,
body.mcf-azure aside.kfh .kfh-title > span,
body.mcf-azure aside.kfh .kfh-title > strong {
  font-family: KopatelHuntDisplay, 'Arial Black', sans-serif !important;
  font-weight: 400 !important;
}
@container (min-width:540px) {
  .kfh .kfh-scene {
    min-height: 218px;
  }
}

aside.kfh[hidden]{display:none!important}.kfh [data-hunt-time]{font-variant-numeric:tabular-nums;white-space:nowrap}.kfh .kfh-rules{position:absolute;right:15px;bottom:12px;color:#fff5db!important;background:#15221fe6;border-radius:3px;padding:4px 7px;font:600 11px/1.25 system-ui;text-decoration:underline}.kfh .kfh-rules:focus-visible{outline:2px solid #ffdf80}
