@keyframes th-pop {
  0% {
    transform: scale(0.3) rotate(-6deg);
    opacity: 0;
  }
  55% {
    transform: scale(1.06) rotate(1.5deg);
    opacity: 1;
  }
  75% {
    transform: scale(0.98) rotate(-0.5deg);
  }
  100% {
    transform: scale(1) rotate(0);
    opacity: 1;
  }
}
@keyframes th-logo-in {
  0% {
    transform: scale(0.4) rotate(-8deg);
    opacity: 0;
  }
  60% {
    transform: scale(1.08) rotate(2deg);
    opacity: 1;
  }
  100% {
    transform: scale(1) rotate(0);
    opacity: 1;
  }
}
@keyframes th-bob {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}
@keyframes th-breathe {
  0%, 100% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(1.015);
  }
}
@keyframes th-go-bob {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}
@keyframes th-pop-float {
  from {
    translate: 0 4px;
  }
  to {
    translate: 0 -8px;
  }
}
@keyframes th-pop-sway {
  from {
    rotate: -4deg;
  }
  to {
    rotate: 4deg;
  }
}
@keyframes th-card-in {
  0% {
    transform: translate(-50%, 160px) scale(0.2) rotate(-14deg);
    opacity: 0;
  }
  60% {
    transform: translate(-50%, -10px) scale(1.05) rotate(2deg);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, 0) scale(1) rotate(0);
    opacity: 1;
  }
}
@keyframes th-card-take {
  0% {
    transform: translate(-50%, 0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(calc(-50% + 420px), 260px) scale(0.15) rotate(25deg);
    opacity: 0;
  }
}
@keyframes th-card-throw {
  0% {
    transform: translate(-50%, 0) scale(1) rotate(0);
    opacity: 1;
  }
  100% {
    transform: translate(calc(-50% - 700px), -120px) scale(0.6) rotate(-140deg);
    opacity: 0;
  }
}
@keyframes th-shine {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes th-flycoin {
  0% {
    transform: translate(0, 0) scale(0.6);
    opacity: 0;
  }
  15% {
    transform: translate(0, -40px) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(var(--dx), var(--dy)) scale(0.5);
    opacity: 0.2;
  }
}
@keyframes th-coinspin {
  from {
    background-position: 0 0;
  }
  to {
    background-position: -240px 0;
  }
}
@keyframes th-flap {
  0%, 49% {
    opacity: 1;
  }
  50%, 100% {
    opacity: 0;
  }
}
@keyframes th-listen {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}
@keyframes th-shake {
  0%, 100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-6px);
  }
  75% {
    transform: translateX(6px);
  }
}
@keyframes th-report-in {
  0% {
    transform: translateY(-40px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes th-unroll {
  0% {
    max-height: 0;
  }
  100% {
    max-height: 380px;
  }
}
@keyframes th-rise {
  0% {
    transform: translateY(16px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
#full-area.treasure-hunter {
  width: 100%;
  height: 100vh;
  position: absolute;
  overflow: hidden;
  background: #1d140b;
  user-select: none;
  font-family: "Fredoka", "Segoe UI", system-ui, sans-serif;
  color: #3a2410;
  letter-spacing: normal;
  line-height: normal;
}
#full-area.treasure-hunter span, #full-area.treasure-hunter b, #full-area.treasure-hunter i, #full-area.treasure-hunter em, #full-area.treasure-hunter p, #full-area.treasure-hunter small, #full-area.treasure-hunter button, #full-area.treasure-hunter div, #full-area.treasure-hunter input, #full-area.treasure-hunter section {
  font-family: inherit;
  letter-spacing: normal;
}
#full-area.treasure-hunter p {
  margin: 0;
  padding: 0;
}
#full-area.treasure-hunter i, #full-area.treasure-hunter em {
  font-style: normal;
}
#full-area.treasure-hunter button {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  padding: 0;
  margin: 0;
  border: none;
  background: none;
  color: inherit;
}
#full-area.treasure-hunter img {
  -webkit-user-drag: none;
}
#full-area.treasure-hunter #game-area {
  position: absolute;
  width: 1280px;
  height: 720px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(1) !important;
}
#full-area.treasure-hunter #gameContainer {
  position: absolute;
  width: 1280px;
  height: 720px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  overflow: hidden;
  background: #1d140b;
}
#full-area.treasure-hunter #th-canvas {
  position: absolute;
  left: 0;
  top: 0;
  width: 1280px;
  height: 720px;
  outline: none;
  display: none;
}
#full-area.treasure-hunter section {
  position: absolute;
  inset: 0;
  display: none;
}
#full-area.treasure-hunter .th-bg {
  position: absolute;
  left: 0;
  top: 0;
  width: 1280px;
  height: 720px;
  object-fit: cover;
}
#full-area.treasure-hunter .th-btn {
  background: #fff5dc;
  border: 4px solid #3a2410;
  border-radius: 14px;
  box-shadow: 0 5px 0 #3a2410;
  font-family: "Lilita One", "Arial Black", Impact, sans-serif;
  font-size: 24px;
  color: #3a2410;
  padding: 10px 22px 9px;
  text-transform: uppercase;
  transition: transform 0.08s ease, box-shadow 0.08s ease, filter 0.15s ease;
}
#full-area.treasure-hunter .th-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}
#full-area.treasure-hunter .th-btn:active {
  transform: translateY(4px);
  box-shadow: 0 1px 0 #3a2410;
}
#full-area.treasure-hunter .th-btn:disabled {
  filter: grayscale(0.7) brightness(0.9);
  opacity: 0.55;
  pointer-events: none;
}
#full-area.treasure-hunter .th-btn-gold {
  background: linear-gradient(#ffe17a, #ffc933 55%, #f0a91e);
}
#full-area.treasure-hunter .th-btn-green {
  background: linear-gradient(#7fe08a, #36b24a);
  color: #fff;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
}
#full-area.treasure-hunter .th-btn-red {
  background: linear-gradient(#ff8a70, #e0452b);
  color: #fff;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
}
#full-area.treasure-hunter .th-btn-blue {
  background: linear-gradient(#7fb7ff, #2f7fe0);
  color: #fff;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
}
#full-area.treasure-hunter .th-btn-small {
  font-size: 18px;
  padding: 8px 14px 7px;
  border-width: 3px;
  box-shadow: 0 4px 0 #3a2410;
}
#full-area.treasure-hunter .th-btn-big {
  font-size: 46px;
  padding: 18px 0 14px;
  width: 250px;
  border-radius: 20px;
}
#full-area.treasure-hunter .th-purse {
  display: flex;
  gap: 14px;
  align-items: center;
}
#full-area.treasure-hunter .th-purse .th-coins {
  position: relative;
  display: flex;
  align-items: center;
  margin-left: 20px;
  padding: 4px 16px 6px 36px;
  background: linear-gradient(#fff5dc, #f3dfae);
  border: 4px solid #3a2410;
  border-radius: 999px;
  box-shadow: 0 4px 0 #3a2410;
}
#full-area.treasure-hunter .th-purse img {
  position: absolute;
  left: -22px;
  top: 50%;
  width: 50px;
  height: 50px;
  margin-top: -25px;
  filter: drop-shadow(0 3px 0 rgba(58, 36, 16, 0.35));
}
#full-area.treasure-hunter .th-purse b {
  font-family: "Lilita One", "Arial Black", Impact, sans-serif;
  font-size: 28px;
  line-height: 1;
  color: #3a2410;
  font-weight: 400;
}
#full-area.treasure-hunter .th-slot {
  position: relative;
  border-radius: 12px;
  border: 3px solid rgba(58, 36, 16, 0.35);
  background: rgba(255, 245, 220, 0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
#full-area.treasure-hunter .th-slot.empty {
  border-style: dashed;
  background: rgba(255, 245, 220, 0.25);
}
#full-area.treasure-hunter .th-slot img {
  width: 70%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}
#full-area.treasure-hunter .th-slot span {
  font-family: "Fredoka", "Segoe UI", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.1;
  color: #3a2410;
  text-align: center;
  padding: 0 5px 4px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
#full-area.treasure-hunter .th-slot.r-junk, #full-area.treasure-hunter .th-shelf-card.r-junk {
  border-color: #9a8f80;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.4), 0 3px 0 rgba(58, 36, 16, 0.5);
  background: linear-gradient(rgba(255, 250, 235, 0.95), rgb(226.72, 216.44, 194.24));
}
#full-area.treasure-hunter .th-slot.r-common, #full-area.treasure-hunter .th-shelf-card.r-common {
  border-color: #5dbb4f;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.4), 0 3px 0 rgba(58, 36, 16, 0.5);
  background: linear-gradient(rgba(255, 250, 235, 0.95), rgb(209.64, 228.76, 180.52));
}
#full-area.treasure-hunter .th-slot.r-uncommon, #full-area.treasure-hunter .th-shelf-card.r-uncommon {
  border-color: #3b9de8;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.4), 0 3px 0 rgba(58, 36, 16, 0.5);
  background: linear-gradient(rgba(255, 250, 235, 0.95), rgb(200.12, 220.36, 223.36));
}
#full-area.treasure-hunter .th-slot.r-rare, #full-area.treasure-hunter .th-shelf-card.r-rare {
  border-color: #a35cf0;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.4), 0 3px 0 rgba(58, 36, 16, 0.5);
  background: linear-gradient(rgba(255, 250, 235, 0.95), rgb(229.24, 202.16, 225.6));
}
#full-area.treasure-hunter .th-slot.r-epic, #full-area.treasure-hunter .th-shelf-card.r-epic {
  border-color: #ff8a1f;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.4), 0 3px 0 rgba(58, 36, 16, 0.5);
  background: linear-gradient(rgba(255, 250, 235, 0.95), rgb(255, 215.04, 167.08));
}
#full-area.treasure-hunter .th-slot.r-legendary, #full-area.treasure-hunter .th-shelf-card.r-legendary {
  border-color: #ffd23c;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.4), 0 3px 0 rgba(58, 36, 16, 0.5);
  background: linear-gradient(rgba(255, 250, 235, 0.95), rgb(255, 235.2, 175.2));
}
#full-area.treasure-hunter .th-slot.r-legendary, #full-area.treasure-hunter .th-shelf-card.r-legendary {
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.5), 0 0 14px rgba(255, 210, 60, 0.8), 0 3px 0 rgba(58, 36, 16, 0.5);
}
#full-area.treasure-hunter .th-camp .th-wallet {
  position: absolute;
  left: 20px;
  top: 24px;
}
#full-area.treasure-hunter .th-camp .th-hero {
  position: absolute;
  left: 130px;
  top: -60px;
  width: 380px;
  height: 500px;
}
#full-area.treasure-hunter .th-camp .th-shop-building {
  position: absolute;
  left: 411px;
  top: 103px;
  width: 340px;
  height: 340px;
  transition: transform 0.2s ease;
}
#full-area.treasure-hunter .th-camp .th-shop-building img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scaleX(-1);
  filter: drop-shadow(0 8px 0 rgba(0, 0, 0, 0.22));
}
#full-area.treasure-hunter .th-camp .th-shop-building span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  width: fit-content;
  margin: 0 auto;
  background: linear-gradient(#ffe17a, #ffc933);
  border: 4px solid #3a2410;
  border-radius: 12px;
  box-shadow: 0 4px 0 #3a2410;
  font-family: "Lilita One", "Arial Black", Impact, sans-serif;
  font-size: 30px;
  color: #3a2410;
  padding: 4px 24px 2px;
}
#full-area.treasure-hunter .th-camp .th-shop-building:hover {
  transform: translateY(-4px);
}
#full-area.treasure-hunter .th-camp .th-go {
  position: absolute;
  left: 245px;
  top: 486px;
  width: 300px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 28px;
  line-height: 1;
  padding: 6px 14px 4px;
  animation: th-go-bob 2.6s ease-in-out infinite;
}
#full-area.treasure-hunter .th-camp .th-go img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}
#full-area.treasure-hunter .th-camp .th-go span {
  text-align: center;
}
#full-area.treasure-hunter .th-camp .th-go:hover {
  animation-play-state: paused;
}
#full-area.treasure-hunter .th-camp .th-pack {
  position: absolute;
  left: 790px;
  top: 18px;
  width: 468px;
  height: 612px;
  background: linear-gradient(#f3dfae, #e2c487);
  border: 4px solid #3a2410;
  border-radius: 22px;
  box-shadow: 0 6px 0 #3a2410;
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
}
#full-area.treasure-hunter .th-camp .th-pack-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 4px 10px;
  border-bottom: 3px dashed rgba(58, 36, 16, 0.25);
}
#full-area.treasure-hunter .th-camp .th-pack-head img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
#full-area.treasure-hunter .th-camp .th-pack-head b {
  flex: 1;
  font-family: "Lilita One", "Arial Black", Impact, sans-serif;
  font-size: 30px;
  font-weight: 400;
  color: #3a2410;
}
#full-area.treasure-hunter .th-camp .th-pack-head span {
  font-family: "Lilita One", "Arial Black", Impact, sans-serif;
  font-size: 18px;
  color: #3a2410;
  background: #fff5dc;
  border: 3px solid #3a2410;
  border-radius: 14px;
  padding: 2px 12px 2px;
}
#full-area.treasure-hunter .th-camp .th-bag-scroll {
  position: relative;
  flex: 1;
  min-height: 0;
  margin: 10px -6px 0 0;
  padding: 4px 6px 10px 2px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #6b4a28 rgba(58, 36, 16, 0.12);
}
#full-area.treasure-hunter .th-camp .th-bag-scroll::-webkit-scrollbar {
  width: 10px;
}
#full-area.treasure-hunter .th-camp .th-bag-scroll::-webkit-scrollbar-track {
  background: rgba(58, 36, 16, 0.12);
  border-radius: 6px;
}
#full-area.treasure-hunter .th-camp .th-bag-scroll::-webkit-scrollbar-thumb {
  background: #6b4a28;
  border-radius: 6px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
#full-area.treasure-hunter .th-camp .th-bag-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
#full-area.treasure-hunter .th-camp .th-bag-grid .th-slot {
  height: 112px;
  justify-content: flex-start;
  padding-top: 8px;
}
#full-area.treasure-hunter .th-camp .th-bag-grid .th-slot img {
  width: 64px;
  height: 64px;
}
#full-area.treasure-hunter .th-camp .th-bag-grid .th-slot span {
  margin-top: 4px;
}
#full-area.treasure-hunter .th-camp .th-bag-grid button.th-slot {
  transition: transform 0.12s ease;
}
#full-area.treasure-hunter .th-camp .th-bag-grid button.th-slot:hover {
  transform: translateY(-3px);
}
#full-area.treasure-hunter .th-camp .th-bag-empty {
  position: absolute;
  left: 0;
  right: 0;
  top: 40%;
  text-align: center;
  font-family: "Patrick Hand", "Comic Sans MS", cursive;
  font-size: 24px;
  color: #6b4a28;
}
#full-area.treasure-hunter .th-camp .th-pack-sub {
  margin-top: 10px;
  padding: 10px 4px 8px;
  border-top: 3px dashed rgba(58, 36, 16, 0.25);
  font-family: "Lilita One", "Arial Black", Impact, sans-serif;
  font-size: 20px;
  color: #3a2410;
}
#full-area.treasure-hunter .th-camp .th-gearbar {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
#full-area.treasure-hunter .th-camp .th-gear {
  height: 82px;
  border: 3px solid #3a2410;
  border-radius: 12px;
  background: #fff5dc;
  box-shadow: 0 3px 0 rgba(58, 36, 16, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
#full-area.treasure-hunter .th-camp .th-gear img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}
#full-area.treasure-hunter .th-camp .th-gear em {
  display: flex;
  gap: 3px;
}
#full-area.treasure-hunter .th-camp .th-gear em i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 2px solid #6b4a28;
  background: transparent;
}
#full-area.treasure-hunter .th-camp .th-gear em i.on {
  background: #ffc933;
  border-color: #c98a12;
}
#full-area.treasure-hunter .th-camp .th-gear.none {
  background: rgba(255, 245, 220, 0.55);
  border-style: dashed;
  box-shadow: none;
}
#full-area.treasure-hunter .th-camp .th-gear.none img {
  filter: grayscale(1);
  opacity: 0.35;
}
#full-area.treasure-hunter .th-hero canvas {
  display: block;
  width: 100%;
  height: 100%;
}
#full-area.treasure-hunter .th-dig {
  pointer-events: none;
}
#full-area.treasure-hunter .th-dig .th-goal {
  position: absolute;
  left: 20px;
  top: 18px;
  background: rgba(255, 245, 220, 0.95);
  border: 4px solid #3a2410;
  border-radius: 16px;
  box-shadow: 0 5px 0 #3a2410;
  padding: 8px 20px 8px 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: opacity 0.3s ease;
}
#full-area.treasure-hunter .th-dig .th-goal-mark {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #f3dfae;
  border: 3px solid #3a2410;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Lilita One", "Arial Black", Impact, sans-serif;
  font-style: normal;
  font-size: 36px;
  line-height: 1;
  color: #e0452b;
}
#full-area.treasure-hunter .th-dig .th-goal-text {
  display: flex;
  flex-direction: column;
}
#full-area.treasure-hunter .th-dig .th-goal-text b, #full-area.treasure-hunter .th-dig .th-goal-text b span {
  font-family: "Lilita One", "Arial Black", Impact, sans-serif;
  font-weight: 400;
  font-size: 40px;
  line-height: 1;
  color: #3a2410;
}
#full-area.treasure-hunter .th-dig .th-goal-text em {
  font-family: "Fredoka", "Segoe UI", system-ui, sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 17px;
  color: #6b4a28;
}
#full-area.treasure-hunter .th-dig .th-goal[data-found=true] .th-goal-text b {
  display: none;
}
#full-area.treasure-hunter .th-dig .th-goal[data-found=true] .th-goal-text em {
  font-family: "Lilita One", "Arial Black", Impact, sans-serif;
  font-weight: 400;
  font-size: 30px;
  color: #3a2410;
}
#full-area.treasure-hunter .th-dig .th-voice {
  position: absolute;
  left: 22px;
  bottom: 88px;
  height: 54px;
  background: rgba(255, 245, 220, 0.95);
  border: 4px solid #3a2410;
  border-radius: 16px;
  box-shadow: 0 4px 0 #3a2410;
  border-width: 3px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px 0 10px;
  transition: opacity 0.3s ease;
}
#full-area.treasure-hunter .th-dig .th-voice-label {
  padding: 4px 9px 3px;
  border-radius: 8px;
  background: #ffc933;
  border: 2px solid #3a2410;
  font-family: "Lilita One", "Arial Black", Impact, sans-serif;
  font-size: 15px;
  line-height: 1.1;
  color: #3a2410;
  transition: transform 0.1s ease, background 0.1s ease;
}
#full-area.treasure-hunter .th-dig .th-voice[data-mode=loud] .th-voice-label {
  background: #6fd06f;
  transform: scale(1.1);
}
#full-area.treasure-hunter .th-dig .th-voice-track {
  position: relative;
  width: 200px;
  height: 22px;
  border: 3px solid #3a2410;
  border-radius: 12px;
  background: rgba(58, 36, 16, 0.16);
  overflow: hidden;
}
#full-area.treasure-hunter .th-dig .th-voice-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: linear-gradient(90deg, #6fd06f, #ffc933 60%, #e0452b) left/194px 100% no-repeat;
}
#full-area.treasure-hunter .th-dig .th-voice-mark {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  margin-left: -2px;
  background: #3a2410;
  opacity: 0;
}
#full-area.treasure-hunter .th-dig .th-callout {
  position: absolute;
  left: 0;
  right: 0;
  top: 150px;
  text-align: center;
  font-family: "Lilita One", "Arial Black", Impact, sans-serif;
  font-size: 54px;
  color: #fff;
  text-shadow: 0 4px 0 #3a2410, 0 0 18px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s ease;
}
#full-area.treasure-hunter .th-dig .th-callout.show {
  opacity: 1;
  animation: th-pop 0.4s ease-out;
}
#full-area.treasure-hunter .th-dig .th-callout.rock {
  color: #ffd0b0;
  font-size: 42px;
  animation: th-shake 0.35s ease-in-out infinite;
}
#full-area.treasure-hunter .th-dig .th-callout small {
  display: block;
  margin-top: 6px;
  font-family: "Lilita One", "Arial Black", Impact, sans-serif;
  font-size: 26px;
  color: #fff;
}
#full-area.treasure-hunter .th-reveal {
  background: radial-gradient(circle at 50% 46%, rgba(255, 220, 120, 0.25), rgba(15, 8, 2, 0.7) 60%);
}
#full-area.treasure-hunter .th-reveal .th-card {
  position: absolute;
  left: 50%;
  top: 58px;
  width: 380px;
  transform: translateX(-50%);
  background: linear-gradient(#fff5dc, #f3dfae);
  border: 4px solid #3a2410;
  border-radius: 24px;
  box-shadow: 0 8px 0 #3a2410;
  display: none;
  flex-direction: column;
  align-items: center;
  padding: 20px 20px 26px;
  text-align: center;
  overflow: hidden;
}
#full-area.treasure-hunter .th-reveal .th-card.show {
  display: flex;
  animation: th-card-in 0.55s cubic-bezier(0.2, 0.9, 0.3, 1.2) both;
}
#full-area.treasure-hunter .th-reveal .th-card.taken {
  animation: th-card-take 0.5s ease-in forwards;
}
#full-area.treasure-hunter .th-reveal .th-card.thrown {
  animation: th-card-throw 0.5s ease-in forwards;
}
#full-area.treasure-hunter .th-reveal .th-card::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 138px;
  width: 360px;
  height: 360px;
  margin: -180px 0 0 -180px;
  background: repeating-conic-gradient(rgba(255, 210, 80, 0.35) 0 10deg, transparent 10deg 20deg);
  border-radius: 50%;
  animation: th-shine 12s linear infinite;
  opacity: 0;
  pointer-events: none;
}
#full-area.treasure-hunter .th-reveal .th-card.r-rare::before, #full-area.treasure-hunter .th-reveal .th-card.r-epic::before, #full-area.treasure-hunter .th-reveal .th-card.r-legendary::before {
  opacity: 1;
}
#full-area.treasure-hunter .th-reveal .th-card.r-legendary {
  box-shadow: 0 8px 0 #3a2410, 0 0 40px rgba(255, 210, 60, 0.9);
}
#full-area.treasure-hunter .th-reveal .th-card.r-junk {
  border-color: rgb(110.8, 94.85, 77.6);
}
#full-area.treasure-hunter .th-reveal .th-card.r-common {
  border-color: rgb(77.25, 119.05, 50.65);
}
#full-area.treasure-hunter .th-reveal .th-card.r-uncommon {
  border-color: rgb(58.55, 102.55, 134.8);
}
#full-area.treasure-hunter .th-reveal .th-card.r-rare {
  border-color: rgb(115.75, 66.8, 139.2);
}
#full-area.treasure-hunter .th-reveal .th-card.r-epic {
  border-color: rgb(166.35, 92.1, 24.25);
}
#full-area.treasure-hunter .th-reveal .th-card.r-legendary {
  border-color: rgb(166.35, 131.7, 40.2);
}
#full-area.treasure-hunter .th-reveal .th-card-img {
  position: relative;
  width: 230px;
  height: 230px;
  object-fit: contain;
  margin: 6px 0 2px;
  filter: drop-shadow(0 8px 6px rgba(0, 0, 0, 0.3));
}
#full-area.treasure-hunter .th-reveal .th-card-name {
  position: relative;
  font-family: "Lilita One", "Arial Black", Impact, sans-serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 1;
}
#full-area.treasure-hunter .th-reveal .th-reveal-actions {
  position: absolute;
  left: 50%;
  top: 484px;
  transform: translateX(-50%);
  display: flex;
  gap: 28px;
}
#full-area.treasure-hunter .th-reveal .th-reveal-actions .th-btn {
  width: 210px;
  font-size: 38px;
  padding: 12px 0 9px;
}
#full-area.treasure-hunter .th-reveal .th-card .th-card-worth {
  margin-top: 14px;
  padding: 6px 22px 4px;
}
#full-area.treasure-hunter .th-reveal .th-card .th-card-worth b {
  font-size: 32px;
}
#full-area.treasure-hunter .th-reveal .th-card.empty .th-card-worth {
  display: none;
}
#full-area.treasure-hunter .th-summary {
  background: radial-gradient(circle at 50% 45%, rgba(15, 8, 2, 0.35), rgba(15, 8, 2, 0.72) 70%);
}
#full-area.treasure-hunter .th-summary .th-summary-stack {
  position: absolute;
  left: 0;
  right: 0;
  top: 104px;
  bottom: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
#full-area.treasure-hunter .th-summary .th-report {
  width: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: th-report-in 0.35s ease-out both;
}
#full-area.treasure-hunter .th-summary .th-roll {
  position: relative;
  z-index: 2;
  width: 640px;
  height: 30px;
  border: 3px solid #3a2410;
  border-radius: 15px;
  background: linear-gradient(#5e3719, #a5693a 22%, #d39a5e 42%, #a5693a 70%, #6b3f1d);
  box-shadow: 0 4px 0 rgba(58, 36, 16, 0.55);
}
#full-area.treasure-hunter .th-summary .th-roll::before, #full-area.treasure-hunter .th-summary .th-roll::after {
  content: "";
  position: absolute;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 3px solid #3a2410;
  background: #ffc933;
}
#full-area.treasure-hunter .th-summary .th-roll::before {
  left: -16px;
}
#full-area.treasure-hunter .th-summary .th-roll::after {
  right: -16px;
}
#full-area.treasure-hunter .th-summary .th-report-paper {
  position: relative;
  width: 592px;
  margin: -12px 0;
  padding: 30px 34px;
  border-left: 3px solid #3a2410;
  border-right: 3px solid #3a2410;
  background: linear-gradient(90deg, #e6c98b, #f6e6bd 9%, #fbefcf 50%, #f6e6bd 91%, #e6c98b);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  overflow: hidden;
  animation: th-unroll 0.6s ease-out 0.15s both;
}
#full-area.treasure-hunter .th-summary .th-report-paper > * {
  position: relative;
  animation: th-rise 0.35s ease-out 0.45s both;
}
#full-area.treasure-hunter .th-summary .th-report-path {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
#full-area.treasure-hunter .th-summary .th-report-path path {
  fill: none;
  stroke: rgba(107, 74, 40, 0.28);
  stroke-width: 4;
  stroke-dasharray: 2 12;
  stroke-linecap: round;
}
#full-area.treasure-hunter .th-summary .th-report-mark {
  position: absolute;
  right: 22px;
  bottom: 20px;
  width: 30px;
  height: 30px;
}
#full-area.treasure-hunter .th-summary .th-report-mark path {
  fill: none;
  stroke: rgba(224, 69, 43, 0.6);
  stroke-width: 5;
  stroke-linecap: round;
}
#full-area.treasure-hunter .th-summary .th-report-paper > .th-report-path, #full-area.treasure-hunter .th-summary .th-report-paper > .th-report-mark {
  position: absolute;
  animation: none;
}
#full-area.treasure-hunter .th-summary .th-summary-title {
  font-family: "Lilita One", "Arial Black", Impact, sans-serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 1;
  color: #3a2410;
}
#full-area.treasure-hunter .th-summary .th-summary-sub {
  font-family: "Patrick Hand", "Comic Sans MS", cursive;
  font-size: 26px;
  line-height: 1.1;
  color: #6b4a28;
}
#full-area.treasure-hunter .th-summary .th-summary-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
#full-area.treasure-hunter .th-summary .th-summary-items:empty {
  display: none;
}
#full-area.treasure-hunter .th-summary .th-summary-items .th-slot {
  width: 94px;
  height: 94px;
}
#full-area.treasure-hunter .th-summary .th-summary-items .th-summary-chest {
  width: 150px;
  height: 110px;
  object-fit: contain;
}
#full-area.treasure-hunter .th-summary .th-summary-stats {
  display: flex;
  gap: 12px;
}
#full-area.treasure-hunter .th-summary .th-summary-stats:empty {
  display: none;
}
#full-area.treasure-hunter .th-summary .th-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 16px 4px 6px;
  border: 3px solid #3a2410;
  border-radius: 22px;
  background: #fff5dc;
}
#full-area.treasure-hunter .th-summary .th-stat img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}
#full-area.treasure-hunter .th-summary .th-stat b {
  font-family: "Lilita One", "Arial Black", Impact, sans-serif;
  font-weight: 400;
  font-size: 20px;
  color: #3a2410;
}
#full-area.treasure-hunter .th-summary .th-summary-actions {
  display: flex;
  justify-content: center;
  gap: 24px;
  animation: th-rise 0.35s ease-out 0.6s both;
}
#full-area.treasure-hunter .th-summary .th-summary-actions .th-plank {
  font-size: 26px;
  padding: 12px 30px 9px;
}
#full-area.treasure-hunter .th-plank {
  position: relative;
  font-family: "Lilita One", "Arial Black", Impact, sans-serif;
  font-size: 20px;
  color: #fff3d6;
  text-shadow: 0 2px 0 #3a2410, 0 0 3px #3a2410;
  padding: 9px 22px 7px;
  border: 3px solid #3a2410;
  border-radius: 10px;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.07) 0 2px, rgba(255, 255, 255, 0.03) 2px 7px), linear-gradient(#c88d52, #9a6234);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.28), 0 4px 0 #3a2410;
  transition: transform 0.08s ease, filter 0.15s ease;
  white-space: nowrap;
}
#full-area.treasure-hunter .th-plank::before, #full-area.treasure-hunter .th-plank::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: #ead6a4;
  box-shadow: inset -1px -1px 0 rgba(0, 0, 0, 0.4);
}
#full-area.treasure-hunter .th-plank::before {
  left: 7px;
}
#full-area.treasure-hunter .th-plank::after {
  right: 7px;
}
#full-area.treasure-hunter .th-plank:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}
#full-area.treasure-hunter .th-plank:active {
  transform: translateY(3px);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.28), 0 1px 0 #3a2410;
}
#full-area.treasure-hunter .th-plank:disabled {
  filter: grayscale(0.6) brightness(0.85);
  opacity: 0.55;
  pointer-events: none;
}
#full-area.treasure-hunter .th-plank-big {
  font-size: 44px;
  width: 190px;
  padding: 12px 0 8px;
  border-radius: 14px;
  border-width: 4px;
  box-shadow: inset 0 3px 0 rgba(255, 255, 255, 0.28), 0 6px 0 #3a2410;
}
#full-area.treasure-hunter .th-plank-big::before, #full-area.treasure-hunter .th-plank-big::after {
  width: 9px;
  height: 9px;
  margin-top: -4px;
}
#full-area.treasure-hunter .th-plank-big::before {
  left: 10px;
}
#full-area.treasure-hunter .th-plank-big::after {
  right: 10px;
}
#full-area.treasure-hunter .th-plank-small {
  font-size: 17px;
  padding: 7px 18px 5px;
}
#full-area.treasure-hunter .th-plank-gold {
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.06) 0 2px, rgba(255, 255, 255, 0.04) 2px 7px), linear-gradient(#f2c255, #c48a1c);
}
#full-area.treasure-hunter .th-plank-green {
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.06) 0 2px, rgba(255, 255, 255, 0.04) 2px 7px), linear-gradient(#7cc66a, #3f8a32);
}
#full-area.treasure-hunter .th-plank-red {
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.06) 0 2px, rgba(255, 255, 255, 0.04) 2px 7px), linear-gradient(#e4785c, #ad3c26);
}
#full-area.treasure-hunter .th-plank-white {
  color: #3a2410;
  text-shadow: none;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.04) 0 2px, rgba(255, 255, 255, 0.05) 2px 7px), linear-gradient(#fffaf0, #eadcbd);
}
#full-area.treasure-hunter .th-plank-white::before, #full-area.treasure-hunter .th-plank-white::after {
  background: #a88b5c;
  box-shadow: inset -1px -1px 0 rgba(0, 0, 0, 0.3);
}
#full-area.treasure-hunter .th-shop .th-gus {
  position: absolute;
  left: 540px;
  top: 140px;
  width: 360px;
  height: 340px;
  pointer-events: none;
}
#full-area.treasure-hunter .th-shop .th-shop-hero {
  position: absolute;
  left: 130px;
  top: 180px;
  width: 520px;
  height: 480px;
  pointer-events: none;
}
#full-area.treasure-hunter .th-shop .th-counter-item {
  position: absolute;
  left: 546px;
  top: 366px;
  width: 92px;
  height: 92px;
  object-fit: contain;
  display: none;
  filter: drop-shadow(0 6px 3px rgba(0, 0, 0, 0.35));
  animation: th-pop 0.35s ease-out;
  pointer-events: none;
}
#full-area.treasure-hunter .th-shop .th-chalk {
  position: absolute;
  left: 176px;
  top: 400px;
  width: 156px;
  height: 206px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1px;
  font-family: "Patrick Hand", "Comic Sans MS", cursive;
  color: #f4f2e6;
  text-shadow: 0 0 2px rgba(255, 255, 255, 0.35);
  overflow: hidden;
  pointer-events: none;
}
#full-area.treasure-hunter .th-shop .th-chalk b {
  font-family: inherit;
  font-size: 23px;
  font-weight: 400;
  line-height: 1.05;
  color: #fff6c8;
  border-bottom: 2px dashed rgba(255, 255, 255, 0.45);
  padding-bottom: 3px;
  margin-bottom: 5px;
}
#full-area.treasure-hunter .th-shop .th-chalk span {
  font-family: inherit;
  font-size: 19px;
  line-height: 1.15;
}
#full-area.treasure-hunter .th-shop .th-chalk span.dim {
  font-size: 16px;
  opacity: 0.75;
}
#full-area.treasure-hunter .th-shop .th-chalk em {
  color: #ffe27a;
}
#full-area.treasure-hunter .th-shop .th-chalk span.dots {
  display: flex;
  gap: 7px;
  margin-top: 5px;
}
#full-area.treasure-hunter .th-shop .th-chalk span.dots i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.8);
}
#full-area.treasure-hunter .th-shop .th-chalk span.dots i.on {
  background: rgba(170, 255, 160, 0.85);
}
#full-area.treasure-hunter .th-shop .th-chalk span.dots.warn i.on {
  background: rgba(255, 150, 130, 0.9);
}
#full-area.treasure-hunter .th-shop .th-bubble {
  position: absolute;
  left: 812px;
  bottom: 420px;
  width: 420px;
  min-height: 86px;
  background: #fff5dc;
  border: 3px solid #3a2410;
  border-radius: 18px;
  box-shadow: 0 4px 0 rgba(58, 36, 16, 0.45);
  padding: 9px 18px 11px;
  opacity: 0;
  transform-origin: -16px calc(100% + 30px);
  pointer-events: none;
}
#full-area.treasure-hunter .th-shop .th-bubble.show {
  opacity: 1;
  pointer-events: auto;
}
#full-area.treasure-hunter .th-shop .th-bubble.pop {
  animation: th-pop 0.35s ease-out;
}
#full-area.treasure-hunter .th-shop .th-bubble .th-bubble-tail {
  position: absolute;
  left: -18px;
  bottom: -32px;
  width: 66px;
  height: 35px;
  overflow: visible;
}
#full-area.treasure-hunter .th-shop .th-bubble .th-bubble-tail .fill {
  fill: #fff5dc;
}
#full-area.treasure-hunter .th-shop .th-bubble .th-bubble-tail .line {
  fill: none;
  stroke: #3a2410;
  stroke-width: 3;
  stroke-linejoin: round;
  stroke-linecap: round;
}
#full-area.treasure-hunter .th-shop .th-bubble b {
  display: block;
  font-family: "Lilita One", "Arial Black", Impact, sans-serif;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.15;
  color: #c98a12;
}
#full-area.treasure-hunter .th-shop .th-bubble p {
  font-size: 21px;
  font-weight: 600;
  line-height: 1.2;
}
#full-area.treasure-hunter .th-shop .th-shop-purse {
  position: absolute;
  right: 60px;
  top: 24px;
}
#full-area.treasure-hunter .th-shop .th-leave {
  position: absolute;
  left: 20px;
  top: 20px;
}
#full-area.treasure-hunter .th-shop .th-shop-back {
  position: absolute;
  left: 189px;
  top: 20px;
  display: none;
}
#full-area.treasure-hunter .th-shop .th-choice {
  position: absolute;
  left: 522px;
  top: 500px;
  display: none;
  gap: 32px;
}
#full-area.treasure-hunter .th-shop .th-strip {
  position: absolute;
  left: 360px;
  top: 474px;
  width: 796px;
  height: 170px;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
#full-area.treasure-hunter .th-shop .th-tabs {
  display: flex;
  gap: 5px;
}
#full-area.treasure-hunter .th-shop .th-tabs:empty {
  display: none;
}
#full-area.treasure-hunter .th-shop .th-tab {
  font-family: "Lilita One", "Arial Black", Impact, sans-serif;
  font-size: 14px;
  color: #fff3d6;
  text-shadow: 0 1px 0 #3a2410;
  padding: 4px 9px 2px;
  border-radius: 8px;
  border: 2px solid #3a2410;
  background: linear-gradient(#a8703c, #7d4f26);
}
#full-area.treasure-hunter .th-shop .th-tab.on {
  background: linear-gradient(#f2c255, #c48a1c);
  transform: translateY(-2px);
  box-shadow: 0 2px 0 #3a2410;
}
#full-area.treasure-hunter .th-shop .th-shelf-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
#full-area.treasure-hunter .th-shop .th-shelf[data-pages=one] .th-arrow {
  display: none;
}
#full-area.treasure-hunter .th-shop .th-shelf {
  top: 458px;
  height: auto;
  gap: 0;
}
#full-area.treasure-hunter .th-shop .th-shelf .th-tabs {
  position: relative;
  z-index: 1;
  margin-bottom: -3px;
  gap: 4px;
}
#full-area.treasure-hunter .th-shop .th-shelf .th-tab {
  border-width: 3px;
  border-bottom: none;
  border-radius: 10px 10px 0 0;
  padding: 5px 12px 4px;
}
#full-area.treasure-hunter .th-shop .th-shelf .th-tab.on {
  transform: none;
  box-shadow: none;
  padding-top: 7px;
}
#full-area.treasure-hunter .th-shop .th-shelf .th-shelf-row {
  padding: 9px 12px;
  border: 3px solid #3a2410;
  border-radius: 14px;
  background: radial-gradient(ellipse at 50% 35%, #44805a, #2b5638 78%);
  box-shadow: inset 0 0 0 5px #a8703c, inset 0 0 0 7px rgba(58, 36, 16, 0.55), 0 5px 0 #3a2410;
}
#full-area.treasure-hunter .th-shop .th-arrow {
  width: 38px;
  height: 58px;
  border-radius: 10px;
  border: 3px solid #3a2410;
  background: linear-gradient(#c88d52, #9a6234);
  box-shadow: 0 3px 0 #3a2410;
  display: flex;
  align-items: center;
  justify-content: center;
}
#full-area.treasure-hunter .th-shop .th-arrow svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #fff3d6;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#full-area.treasure-hunter .th-shop .th-arrow:disabled {
  opacity: 0.35;
  pointer-events: none;
}
#full-area.treasure-hunter .th-shop .th-shelf-grid {
  display: flex;
  gap: 8px;
}
#full-area.treasure-hunter .th-shop .th-shelf-card {
  position: relative;
  width: 104px;
  height: 132px;
  border-radius: 10px;
  border: 3px solid #3a2410;
  background: linear-gradient(#fff8e2, #f0dcaa);
  box-shadow: 0 4px 0 rgba(42, 24, 10, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 4px 5px;
  gap: 2px;
  text-align: center;
  transition: transform 0.1s ease;
}
#full-area.treasure-hunter .th-shop .th-shelf-card:hover {
  transform: translateY(-4px);
}
#full-area.treasure-hunter .th-shop .th-shelf-card img {
  width: 68px;
  height: 68px;
  object-fit: contain;
}
#full-area.treasure-hunter .th-shop .th-shelf-card b {
  font-family: "Lilita One", "Arial Black", Impact, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.05;
  max-height: 28px;
  overflow: hidden;
}
#full-area.treasure-hunter .th-shop .th-shelf-card em {
  margin-top: auto;
  font-size: 12px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 8px;
  background: rgba(58, 36, 16, 0.1);
  white-space: nowrap;
}
#full-area.treasure-hunter .th-shop .th-shelf-card em.bad {
  background: rgba(224, 69, 43, 0.2);
  color: #9a2412;
}
#full-area.treasure-hunter .th-shop .th-shelf-card.banned {
  opacity: 0.55;
}
#full-area.treasure-hunter .th-shop .th-shelf-card.gear {
  width: 128px;
}
#full-area.treasure-hunter .th-shop .th-shelf-card.gear img {
  width: 76px;
  height: 76px;
}
#full-area.treasure-hunter .th-shop .th-shelf-card.gear em {
  font-family: "Lilita One", "Arial Black", Impact, sans-serif;
  font-size: 15px;
  font-weight: 400;
  background: linear-gradient(#ffe17a, #ffc933);
  border: 2px solid #3a2410;
  padding: 2px 8px 0;
}
#full-area.treasure-hunter .th-shop .th-shelf-card.owned {
  opacity: 0.65;
}
#full-area.treasure-hunter .th-shop .th-shelf-card.owned em {
  background: rgba(54, 178, 74, 0.3);
}
#full-area.treasure-hunter .th-shop .th-shelf-card.pricey em {
  background: linear-gradient(#ffb7a6, #f08a70);
}
#full-area.treasure-hunter .th-shop .th-shelf-card.r-junk {
  border-color: rgb(115.6, 100.2, 83.2);
  box-shadow: inset 0 5px 0 #9a8f80, 0 4px 0 rgba(42, 24, 10, 0.85);
}
#full-area.treasure-hunter .th-shop .th-shelf-card.r-common {
  border-color: rgb(79, 126.6, 53.8);
  box-shadow: inset 0 5px 0 #5dbb4f, 0 4px 0 rgba(42, 24, 10, 0.85);
}
#full-area.treasure-hunter .th-shop .th-shelf-card.r-uncommon {
  border-color: rgb(58.6, 108.6, 145.6);
  box-shadow: inset 0 5px 0 #3b9de8, 0 4px 0 rgba(42, 24, 10, 0.85);
}
#full-area.treasure-hunter .th-shop .th-shelf-card.r-rare {
  border-color: rgb(121, 69.6, 150.4);
  box-shadow: inset 0 5px 0 #a35cf0, 0 4px 0 rgba(42, 24, 10, 0.85);
}
#full-area.treasure-hunter .th-shop .th-shelf-card.r-epic {
  border-color: rgb(176.2, 97.2, 25);
  box-shadow: inset 0 5px 0 #ff8a1f, 0 4px 0 rgba(42, 24, 10, 0.85);
}
#full-area.treasure-hunter .th-shop .th-shelf-card.r-legendary {
  border-color: rgb(176.2, 140.4, 42.4);
  box-shadow: inset 0 5px 0 #ffd23c, 0 4px 0 rgba(42, 24, 10, 0.85);
}
#full-area.treasure-hunter .th-shop .th-shelf-card.r-legendary {
  box-shadow: inset 0 5px 0 #ffd23c, 0 0 12px rgba(255, 210, 60, 0.85), 0 4px 0 rgba(42, 24, 10, 0.85);
}
#full-area.treasure-hunter .th-shop .th-deal {
  height: auto;
  gap: 12px;
  padding: 17px 19px 18px;
  border: 3px solid #3a2410;
  border-radius: 14px;
  background: radial-gradient(ellipse at 50% 35%, #44805a, #2b5638 78%);
  box-shadow: inset 0 0 0 5px #a8703c, inset 0 0 0 7px rgba(58, 36, 16, 0.55), 0 5px 0 #3a2410;
}
#full-area.treasure-hunter .th-shop .th-say {
  display: flex;
  gap: 10px;
  align-items: center;
  width: 100%;
}
#full-area.treasure-hunter .th-shop .th-say-mic {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 3px solid #3a2410;
  background: #fff5dc;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
#full-area.treasure-hunter .th-shop .th-say-mic svg {
  width: 24px;
  height: 24px;
  fill: #3a2410;
  stroke: #3a2410;
}
#full-area.treasure-hunter .th-shop .th-input {
  flex: 1;
  height: 46px;
  border-radius: 12px;
  border: 3px solid #3a2410;
  background: #fff5dc;
  font-size: 21px;
  font-weight: 600;
  color: #3a2410;
  padding: 0 14px;
  outline: none;
  user-select: text;
}
#full-area.treasure-hunter .th-shop .th-input::placeholder {
  color: rgba(58, 36, 16, 0.42);
}
#full-area.treasure-hunter .th-shop .th-input:focus {
  box-shadow: 0 0 0 3px rgba(255, 201, 51, 0.7);
}
#full-area.treasure-hunter .th-shop .th-deal-actions {
  display: flex;
  gap: 10px;
  width: 100%;
}
#full-area.treasure-hunter .th-shop .th-deal-actions .th-plank {
  flex: 1;
}
#full-area.treasure-hunter .th-shop .th-deal-actions #th-deal-yes {
  flex: 1.5;
}
#full-area.treasure-hunter[data-listening=true] .th-shop .th-say-mic::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 3px solid #36b24a;
  animation: th-listen 1.2s ease-out infinite;
}
#full-area.treasure-hunter[data-talking=true] .th-shop .th-say-mic {
  opacity: 0.45;
}
#full-area.treasure-hunter .th-flycoin {
  position: absolute;
  width: 40px;
  height: 40px;
  z-index: 30;
  pointer-events: none;
  background: url("/media/games/treasure-hunter/images/ui/coin-spin-gold.png") 0 0/240px 40px no-repeat;
  animation: th-flycoin 1.2s cubic-bezier(0.4, 0, 0.6, 1) forwards, th-coinspin 0.48s steps(6) infinite;
}
#full-area.treasure-hunter .th-pop {
  background: rgba(15, 8, 2, 0.55);
  z-index: 20;
}
#full-area.treasure-hunter .th-pop.show {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 70px;
}
#full-area.treasure-hunter .th-pop .th-pop-card {
  position: relative;
  width: 400px;
  background: linear-gradient(#fff5dc, #f3dfae);
  border: 4px solid #3a2410;
  border-radius: 24px;
  box-shadow: 0 8px 0 #3a2410;
  padding: 16px 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  animation: th-pop 0.35s ease-out;
}
#full-area.treasure-hunter .th-pop .th-pop-card img {
  width: 200px;
  height: 200px;
  margin: 6px 0 2px;
  object-fit: contain;
  animation: th-pop-float 1.7s ease-in-out infinite alternate, th-pop-sway 2.6s ease-in-out infinite alternate;
}
#full-area.treasure-hunter .th-pop .th-pop-card > b {
  font-family: "Lilita One", "Arial Black", Impact, sans-serif;
  font-size: 32px;
  font-weight: 400;
}
#full-area.treasure-hunter .th-pop .th-pop-actions {
  display: flex;
  gap: 14px;
  margin-top: 10px;
}
#full-area.treasure-hunter .th-gear-pop .th-pop-card {
  width: 440px;
}
#full-area.treasure-hunter .th-gear-pop .th-pop-card img {
  width: 120px;
  height: 120px;
}
#full-area.treasure-hunter .th-gear-pop .th-card-rarity {
  background: #6b4a28;
}
#full-area.treasure-hunter .th-gear-pop .th-gear-what {
  font-size: 17px;
  font-weight: 600;
  color: #6b4a28;
  margin-top: -2px;
}
#full-area.treasure-hunter .th-gear-pop .th-gear-stats {
  width: 100%;
  margin-top: 8px;
  padding: 4px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
  border: 3px solid rgba(58, 36, 16, 0.18);
}
#full-area.treasure-hunter .th-gear-pop .th-gear-row {
  display: grid;
  grid-template-columns: 1fr 86px 22px 86px;
  align-items: center;
  gap: 6px;
  padding: 7px 0;
  text-align: left;
  border-top: 2px dashed rgba(58, 36, 16, 0.18);
}
#full-area.treasure-hunter .th-gear-pop .th-gear-row:first-child {
  border-top: none;
}
#full-area.treasure-hunter .th-gear-pop .th-gear-row span {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.15;
  color: #3a2410;
}
#full-area.treasure-hunter .th-gear-pop .th-gear-row em, #full-area.treasure-hunter .th-gear-pop .th-gear-row b {
  font-family: "Lilita One", "Arial Black", Impact, sans-serif;
  font-size: 19px;
  font-weight: 400;
  text-align: center;
  white-space: nowrap;
}
#full-area.treasure-hunter .th-gear-pop .th-gear-row em {
  color: #6b4a28;
}
#full-area.treasure-hunter .th-gear-pop .th-gear-row b {
  color: #2e8a3a;
}
#full-area.treasure-hunter .th-gear-pop .th-gear-row svg {
  display: block;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #6b4a28;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
#full-area.treasure-hunter .th-gear-pop .th-gear-row.head {
  padding: 4px 0 2px;
}
#full-area.treasure-hunter .th-gear-pop .th-gear-row.head em, #full-area.treasure-hunter .th-gear-pop .th-gear-row.head b {
  font-family: "Fredoka", "Segoe UI", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: #6b4a28;
}
#full-area.treasure-hunter .th-gear-pop .th-gear-row.solo {
  grid-template-columns: 1fr auto;
}
#full-area.treasure-hunter .th-gear-pop .th-gear-row.solo b {
  color: #3a2410;
}
#full-area.treasure-hunter .th-gear-pop .th-pop-actions .th-btn {
  min-width: 150px;
}
#full-area.treasure-hunter .th-card-rarity {
  font-family: "Lilita One", "Arial Black", Impact, sans-serif;
  font-size: 20px;
  color: #fff;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.4);
  padding: 3px 16px 1px;
  border-radius: 20px;
  border: 3px solid #3a2410;
}
#full-area.treasure-hunter .th-card-worth {
  position: relative;
  margin-top: 8px;
  background: linear-gradient(#ffe9a0, #ffc933);
  border: 4px solid #3a2410;
  border-radius: 14px;
  box-shadow: 0 4px 0 #3a2410;
  border-width: 3px;
  padding: 4px 18px 2px;
  display: flex;
  flex-direction: column;
}
#full-area.treasure-hunter .th-card-worth small {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}
#full-area.treasure-hunter .th-card-worth b {
  font-family: "Lilita One", "Arial Black", Impact, sans-serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.05;
}
#full-area.treasure-hunter[data-state=shop] .th-toast {
  top: 84px;
}
#full-area.treasure-hunter .th-toast {
  position: absolute;
  left: 50%;
  top: 22px;
  transform: translateX(-50%) translateY(-120px);
  opacity: 0;
  background: linear-gradient(#ffe9a0, #ffc933);
  border: 4px solid #3a2410;
  border-radius: 18px;
  box-shadow: 0 5px 0 #3a2410;
  padding: 8px 22px 6px;
  font-family: "Lilita One", "Arial Black", Impact, sans-serif;
  font-size: 26px;
  transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.2), opacity 0.25s ease;
  z-index: 26;
  pointer-events: none;
  white-space: nowrap;
}
#full-area.treasure-hunter .th-toast.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
#full-area.treasure-hunter[data-state=camp] .th-toast {
  left: 592px;
  width: max-content;
  max-width: 360px;
  white-space: normal;
  text-align: center;
  font-size: 22px;
  line-height: 1.1;
}
#full-area.treasure-hunter .th-logo-intro {
  background: #1d140b url("/media/games/treasure-hunter/images/bg/camp.jpg") 0 0/1280px 720px no-repeat;
  z-index: 40;
}
#full-area.treasure-hunter .th-logo-intro img {
  position: absolute;
  left: 50%;
  top: 325px;
  width: 760px;
  margin: -267px 0 0 -380px;
  animation: th-logo-in 0.7s ease-out both, th-bob 2.4s ease-in-out 0.7s infinite;
}
#full-area.treasure-hunter .th-error {
  background: rgba(15, 8, 2, 0.8);
  z-index: 50;
}
#full-area.treasure-hunter .th-error .th-error-card {
  position: absolute;
  left: 50%;
  top: 220px;
  transform: translateX(-50%);
  background: #fff5dc;
  border: 4px solid #3a2410;
  border-radius: 20px;
  box-shadow: 0 6px 0 #3a2410;
  padding: 24px 34px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
}
#full-area.treasure-hunter .th-error .th-error-card b {
  font-family: "Lilita One", "Arial Black", Impact, sans-serif;
  font-size: 34px;
  font-weight: 400;
}
#full-area.treasure-hunter .th-error .th-error-card span {
  font-size: 20px;
}
#full-area.treasure-hunter[data-state=loading] .th-logo-intro, #full-area.treasure-hunter[data-state=intro] .th-logo-intro {
  display: block;
}
#full-area.treasure-hunter[data-state=error] .th-error {
  display: block;
}
#full-area.treasure-hunter[data-state=camp] .th-camp {
  display: block;
}
#full-area.treasure-hunter[data-state=dig] #th-canvas, #full-area.treasure-hunter[data-state=reveal] #th-canvas, #full-area.treasure-hunter[data-state=summary] #th-canvas {
  display: block;
}
#full-area.treasure-hunter[data-state=dig] .th-dig {
  display: block;
}
#full-area.treasure-hunter[data-state=reveal] .th-reveal {
  display: block;
}
#full-area.treasure-hunter[data-state=summary] .th-summary {
  display: block;
}
#full-area.treasure-hunter[data-state=shop] .th-shop {
  display: block;
}
#full-area.treasure-hunter[data-dig=travel] .th-dig .th-voice {
  opacity: 0.4;
}
#full-area.treasure-hunter[data-dig=found] .th-dig .th-voice {
  opacity: 0.4;
}
#full-area.treasure-hunter[data-reveal=card] .th-reveal .th-reveal-actions {
  display: flex;
}
#full-area.treasure-hunter[data-reveal=empty] .th-reveal .th-reveal-actions {
  display: none;
}
#full-area.treasure-hunter[data-shop=choice] .th-shop .th-choice {
  display: flex;
}
#full-area.treasure-hunter[data-shop=sell] .th-shop .th-shelf, #full-area.treasure-hunter[data-shop=buy] .th-shop .th-shelf {
  display: flex;
}
#full-area.treasure-hunter[data-shop=sell] .th-shop .th-shop-back, #full-area.treasure-hunter[data-shop=buy] .th-shop .th-shop-back, #full-area.treasure-hunter[data-shop=deal] .th-shop .th-shop-back {
  display: block;
}
#full-area.treasure-hunter[data-shop=deal] .th-shop .th-deal {
  display: flex;
}
#full-area.treasure-hunter[data-shop=deal] .th-shop .th-counter-item {
  display: block;
}
#full-area.treasure-hunter[data-shopmode=buy] .th-shop .th-strip {
  left: 572px;
  width: 584px;
}
