.m81330-boss-frame {
  position: absolute;
  left: 0;
  top: 0;
  color: #fff;
  font-family: Tahoma, Arial, sans-serif;
}
.m81330-boss-title {
  position: absolute;
  top: 19px;
  left: 300px;
  width: 400px;
  margin: 0;
  text-align: center;
  font-size: 21px;
  line-height: 28px;
  text-shadow: 0 2px 3px #075273;
}
.m81330-boss-body {
  position: absolute;
  left: 30px;
  right: 30px;
  top: 62px;
  height: 330px;
  display: grid;
  grid-template-columns: 575px 345px;
  gap: 20px;
}
.m81330-boss-left {
  min-width: 0;
}
.m81330-boss-arena {
  height: 198px;
  position: relative;
  overflow: hidden;
  border-radius: 13px;
  border: 3px solid #a1e0f1;
  box-shadow: 0 2px 5px #074d6c99;
  background-size: cover;
  background-position: center 38%;
  background-color: #06557b;
}
.m81330-boss-arena:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #00192ddd, transparent 85%);
  pointer-events: none;
}
.m81330-boss-arena h2 {
  position: absolute;
  z-index: 1;
  left: 20px;
  top: 30px;
  margin: 0;
  font-size: 29px;
  letter-spacing: 1px;
  color: #ffe842;
  text-shadow: 1px 2px 1px #582506;
}
.m81330-boss-defense {
  position: absolute;
  z-index: 1;
  left: 21px;
  top: 81px;
  font-size: 15px;
  background: #00334cb8;
  padding: 7px 10px;
  border-radius: 7px;
}
.m81330-boss-portrait {
  position: absolute;
  right: 5px;
  top: 3px;
  z-index: 1;
  width: 240px;
  height: 186px;
  pointer-events: none;
}
.m81330-boss-portrait img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.m81330-boss-hp {
  height: 28px;
  border: 2px solid #ddedf3;
  position: relative;
  margin-top: 9px;
  background: #173951;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 1px 3px #063c68;
}
.m81330-boss-hp-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: linear-gradient(#f7624a, #b51c12);
  transition: width 0.15s linear;
}
.m81330-boss-hp strong {
  position: relative;
  font-size: 15px;
  line-height: 28px;
  text-shadow: 0 1px 2px #001b30;
}
.m8-shell .m81330-boss-clock {
  margin: 8px 0 0;
  text-align: center;
  color: #fff9aa;
  font-weight: bold;
  font-size: 16px;
}
.m8-shell .m81330-boss-mine {
  font-size: 14px;
  text-align: center;
  margin: 6px 0 0;
}
.m8-shell .m81330-boss-rules {
  font-size: 12px;
  line-height: 17px;
  color: #e6faff;
  margin: 7px 6px 0;
}
.m81330-boss-right {
  border: 3px solid #8bd7ee;
  border-radius: 12px;
  background: #075d87;
  box-shadow: inset 0 0 10px #00334566;
  overflow: hidden;
}
.m81330-boss-right h2 {
  height: 32px;
  margin: 0;
  text-align: center;
  line-height: 32px;
  font-size: 16px;
  color: #ffe763;
  background: #034f79;
}
.m81330-boss-ranking {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 13px;
}
.m81330-boss-ranking th {
  background: #1383ac;
  height: 25px;
  font-size: 12px;
}
.m81330-boss-ranking th:first-child {
  width: 40px;
}
.m81330-boss-ranking th:last-child {
  width: 94px;
}
.m81330-boss-ranking td {
  height: 25px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 6px;
  border-bottom: 1px solid #3697b650;
}
.m81330-boss-ranking td:first-child {
  text-align: center;
}
.m81330-boss-ranking td:last-child {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.m81330-boss-ranking .is-self {
  background: #0caa9a;
  color: #fff6a5;
  font-weight: bold;
}
.m81330-boss-rewards {
  position: absolute;
  left: 35px;
  right: 35px;
  top: 407px;
  height: 96px;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}
.m81330-boss-reward {
  position: relative;
  text-align: center;
  border-radius: 9px;
  border: 1px solid #9dddef;
  background: #0375a2a8;
  padding: 6px;
  box-sizing: border-box;
}
.m81330-boss-reward img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
  margin: 0 auto 4px;
}
.m81330-boss-reward strong {
  position: absolute;
  right: 23px;
  top: 31px;
  font-size: 15px;
  color: #fff2b1;
  text-shadow: 1px 1px #17364f;
}
.m81330-boss-reward small {
  display: block;
  font-size: 11px;
  line-height: 14px;
}
.m81330-boss-reward-message {
  position: absolute;
  left: 35px;
  top: 513px;
  width: 570px;
  font-size: 12px;
  line-height: 18px;
  color: #07506b;
  margin: 0;
}
.m81330-boss-enter {
  position: absolute !important;
  right: 35px;
  top: 530px;
  width: 173px;
  height: 43px;
  background: linear-gradient(#c3f433, #47ab02) !important;
  color: #fff !important;
  border: 2px solid #ebff9d !important;
  font-weight: bold !important;
  font-size: 18px !important;
  text-shadow: 0 2px #36701d;
}
.m81330-boss-bag {
  position: absolute !important;
  right: 220px;
  top: 536px;
  width: 143px;
  height: 34px;
}
.m81330-boss-enter:disabled {
  filter: grayscale(0.8);
  opacity: 0.65;
}
/* Nút "Boss Thế Giới" trên sảnh (.m81330-worldboss-nav) thuộc trang home:
 * features/home/home.css; vị trí trong config/home/home_lobby_layout.json. */
/* M31: no text shadows in the external boss screen (including inherited
 * shell/button labels). Panel/image depth is intentionally unaffected. */
.m8-shell .m81330-boss-frame,
.m8-shell .m81330-boss-frame * {
  text-shadow: none;
}
