@font-face {
  font-family: "NanumGothicBold";
  src: url("/source_20240722/font/NanumGothicBold.ttf") format("truetype");
  font-display: swap;
}

body {
  background: #000000;
  font-family: "NanumGothicBold", sans-serif;
}

/* Scaling belongs to the iframe host, including browsers with legacy UA tweaks. */
.rin-embedded body.game-ready #div_body {
  left: 0 !important;
  top: 0 !important;
  transform: none !important;
}
#rin-stage-result {
  position: fixed;
  z-index: 999995;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(440px, 80vw);
  padding: 24px;
  border: 2px solid #e1c56c;
  border-radius: 12px;
  background: #17263af2;
  color: white;
  font: 16px/1.5 Arial, sans-serif;
  text-align: center;
}
#rin-stage-result[hidden] {
  display: none;
}
#rin-stage-result h2 {
  margin: 0 0 12px;
  font-size: 28px;
  color: #ffe7a0;
}
#rin-stage-result p {
  margin: 0 0 18px;
}
#rin-stage-result button {
  padding: 8px 18px;
  border-radius: 5px;
  cursor: pointer;
}
body:not(.game-ready) #div_body,
body:not(.game-ready) #SafeZone {
  display: none;
}
#local-status {
  position: fixed;
  z-index: 999999;
  right: 8px;
  bottom: 5px;
  font: 12px/1.4 Arial, sans-serif;
  color: #ecf6ff;
  background: #000000dd;
  padding: 4px 9px;
  border-radius: 4px;
  pointer-events: none;
}
#anchor {
  position: fixed;
  left: -10000px;
}

/* ID local dài vẫn nằm gọn trong khung tên của menu gốc. */
#Txt_MM_top_name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#local-attendance-claim {
  position: absolute;
  left: 430px;
  top: 579px;
  width: 190px;
  height: 71px;
  border: 0;
  border-radius: 12px;
  background-color: transparent;
  background-size: 100% 100%;
  color: white;
  font: inherit;
  font-size: 22rem;
  cursor: pointer;
}

#local-attendance-claim:disabled {
  opacity: 0.65;
  cursor: default;
}

#rin-stage-recovery {
  position: fixed;
  z-index: 999998;
  left: 16px;
  top: 168px;
  padding: 10px 14px;
  border: 1px solid #64748b;
  border-radius: 5px;
  color: white;
  background: #182b40;
  font: 14px Arial, sans-serif;
}
#rin-stage-recovery[hidden] {
  display: none;
}
#rin-stage-recovery button {
  margin-left: 12px;
  padding: 5px 10px;
}
#rin-stage-result-note {
  position: absolute;
  left: 16px;
  top: 10px;
  width: 320px;
  margin: 0;
  color: #ffe7a0;
  font-size: 16rem;
  text-align: center;
}
