/* Game360MainFrame anchors activity chrome to the world rather than its center canvas. */
.m8-lobby-shortcuts {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.m8-lobby-shortcuts-top,
.m8-lobby-shortcuts-right,
.m8-lobby-shortcuts-left {
  position: absolute;
  display: flex;
  align-items: center;
}
.m8-lobby-shortcuts-top {right: 110px; top: 35px; gap: 16px;}
.m8-lobby-shortcuts-right,
.m8-lobby-shortcuts-left {top: 100px; flex-direction: column; gap: 6px;}
.m8-lobby-shortcuts-right {right: 5px;}
.m8-lobby-shortcuts-left {left: 6px;}

.m8-lobby-shortcuts .m8-lobby-shortcut {
  position: relative;
  display: block;
  flex: none;
  width: 50px;
  height: 50px;
  margin: 0;
  padding: 0;
  min-height: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  pointer-events: auto;
}
.m8-lobby-shortcuts .m8-lobby-shortcut:hover {filter: url(#m83-native-highlight);}
.m8-lobby-shortcuts .m8-lobby-shortcut:active {translate: 1px 1px;}
.m8-lobby-shortcut:focus-visible,
.m8-lobby-chat-tab:focus-visible,
.m8-lobby-feature-body button:focus-visible {
  outline: 2px solid #fff3a0;
  outline-offset: 2px;
}
.m8-lobby-shortcut .m8-lobby-shortcut-icon {
  position: absolute !important;
  inset: 0;
  display: block;
  width: 50px;
  height: 50px;
  object-fit: contain;
  pointer-events: none;
}
.m8-lobby-shortcut .m8-lobby-shortcut-caption {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: 0;
  display: block;
  width: auto;
  max-width: 66px;
  height: auto;
  transform: translateX(-50%);
  pointer-events: none;
}
.m8-lobby-shortcuts-right .m8-lobby-shortcut-caption {max-width: 50px;}

.m8-lobby-daily{position:relative;pointer-events:auto}
.m8-lobby-daily-menu{
  position:absolute;z-index:2;top:100%;left:50%;width:272px;height:80px;box-sizing:border-box;
  transform:translateX(-50%);display:flex;gap:3px;padding:13px 8px 0;
  background:url('/rez/zh_CN/gui_summer/controls/main/b39ec5130881195f9f6b29a9f4db1d4e.png') center/100% 100% no-repeat;
}
.m8-lobby-daily-menu[hidden]{display:none}
.m8-lobby-daily-menu .m8-lobby-shortcut{width:61px}
.m8-lobby-daily-menu .m8-lobby-shortcut-icon{left:5px}

.m8-lobby-chat {
  position: absolute;
  z-index: 19;
  left: 6px;
  bottom: 7px;
  display: grid;
  width: 448px;
  gap: 5px;
  color: #fff;
  font: 14px/1.45 Tahoma, sans-serif;
}
.m8-lobby-chat[hidden] {display: none;}
.m8-lobby-chat-warning {display: block; width: min(100%, 448px); height: auto;}
.m8-lobby-chat-panel {
  box-sizing: border-box;
  height: 160px;
  padding: 2px 8px 6px;
  background: center / 100% 100% no-repeat url('/rez/zh_CN/gui_summer/controls/chat/360/dc36ceb1e0d44f8359b07db6e05823a0.png'), #15222bc4;
  border: 1px solid #8d9caa;
  border-radius: 15px;
  overflow: hidden;
}
.m8-lobby-chat-tabs {display: flex; gap: 3px; padding: 0 12px 2px;}
.m8-lobby-chat .m8-lobby-chat-tab {
  height: 25px;
  min-height: 0;
  padding: 0 11px;
  border: 0;
  border-radius: 3px;
  background: #454950;
  color: #fff;
  font: 700 13px/25px Tahoma, sans-serif;
}
.m8-lobby-chat .m8-lobby-chat-tab[aria-pressed="true"] {background: #906220;}
.m8-lobby-chat-log {height: 123px; overflow: auto; padding: 2px 6px; text-shadow: 0 1px #000;}
.m8-lobby-chat-log p {margin: 0 0 3px; overflow-wrap: anywhere;}
.m8-lobby-chat-bar {display: flex; align-items: center; gap: 5px; height: 30px; padding-left: 3px;}
.m8-lobby-chat-channel,
.m8-lobby-chat-input {
  display: inline-block;
  padding: 2px 11px;
  border: 2px solid #d2f2ff;
  border-radius: 14px;
  background: linear-gradient(#4ab9ee,#0677b1);
  font: 700 12px/20px Tahoma, sans-serif;
  text-shadow: 0 1px #135473;
}
.m8-lobby-chat-input {width: 245px;}

.m8-lobby-feature {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font: 16px/1.5 Tahoma, sans-serif;
  color: #fff;
}
.m8-challenge-card,.m8-challenge-self{font:700 14px/1.5 Tahoma,Arial,sans-serif}
.m8-challenge-name,.m8-challenge-tank-name{
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-shadow:0 1px #005585;
}
.m8-challenge-level{color:#ffcb27;text-align:center;text-shadow:0 1px #663d16}
.m8-challenge-tank-name{text-align:center;font-size:12px}
.m8-challenge-empty,.m8-challenge-card-stats,.m8-challenge-self,.m8-challenge-count{text-align:center;white-space:pre-line}
.m8-challenge-count{background:#0b83b8;border-radius:6px}
.m8-challenge-place,.m8-challenge-difficulty{text-align:center}
.m8-challenge-difficulty[data-difficulty=hard],.m8-challenge-reports .lose{color:#ff352a}
.m8-challenge-difficulty[data-difficulty=easy],.m8-challenge-reports .win{color:#7af333}
.m8-challenge-difficulty[data-difficulty=close],.m8-challenge-vip,.m8-challenge-reports b{color:#ffcf28}
.m8-challenge-vip{text-decoration:underline}
.m8-challenge-reports{overflow:auto;scrollbar-width:thin;color:white;font:400 12px/1.35 Tahoma,Arial,sans-serif}
.m8-challenge-status{color:#fff4a1}
.m8-challenge-status:empty{display:none}
.m8-challenge-self p,.m8-challenge-reports p{margin:0}
.m8-challenge-reward{z-index:3}
.m8-challenge-gift{
  padding:0;border:0;min-height:0;background:transparent;box-shadow:none;
}
.m8-challenge-gift img{display:block;width:100%;height:100%;object-fit:contain}
.m8-challenge-countdown{font:700 13px/1.15 Tahoma,Arial,sans-serif;text-align:center}
.m8-challenge-countdown :is(time,span){display:block;margin-top:3px}
.m8-challenge-reward-tip{
  display:none;position:absolute;right:88px;bottom:8px;z-index:3;width:216px;
  padding:5px 10px;border-radius:8px;background:#031b2deb;color:white;
  font:700 13px/1.25 Tahoma,Arial,sans-serif;pointer-events:none;
}
.m8-challenge-reward:is(:hover,:focus-within) .m8-challenge-reward-tip{display:grid;gap:2px}
.m8-challenge-reward-tip>div{display:flex;align-items:center;gap:9px;min-height:52px}
.m8-challenge-reward-tip img{width:48px;height:48px;object-fit:contain}
.m8-challenge-rank-overlay{position:absolute;inset:20px;z-index:9;display:grid;place-items:center;background:#07203988}
.m8-challenge-rank-list{overflow:auto;scrollbar-width:thin}
.m8-challenge-rank-list>div{
  display:grid;grid-template-columns:32px 1fr 84px;gap:8px;padding:5px 9px;margin:2px 0;
  background:#0782b8;border-radius:5px;font:700 13px/1.3 Tahoma,Arial,sans-serif;
}
.m8-challenge-rank-list span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
:is(.m8-challenge,.m8-challenge-result) .m8-challenge-button{
  display:grid;place-items:center;margin:0;padding:0;min-height:0;border:0;
  background-color:transparent;background-position:center;background-repeat:no-repeat;background-size:100% 100%;
  box-shadow:none;color:white;font:700 12px Tahoma,Arial,sans-serif;text-shadow:0 1px 2px #9c4215;
}
.m8-challenge-button img{max-width:100%;max-height:100%;pointer-events:none}
.m8-challenge-button:disabled{cursor:default;opacity:.65}
.m8-challenge-button:focus-visible{outline:2px solid #fff3a0;outline-offset:2px}
.m8-challenge-duel-overlay{
  position:absolute;inset:0;z-index:10;display:grid;place-items:center;background:#02091975;
}
.m8-challenge-duel-overlay.is-result{background:#02091988}
.m8-challenge-duel-stage{
  position:relative;height:510px;overflow:hidden;isolation:isolate;
  background:linear-gradient(180deg,#000e,#000d 65%,#170a03e8);
}
.m8-challenge-duel-fire{
  position:absolute;bottom:0;left:0;width:100%;height:242px;
  transform:scaleY(.8);transform-origin:bottom left;pointer-events:none;
}
.m8-challenge-duel-stage::before{
  content:"";position:absolute;inset:auto 0 0;height:70px;
  background:radial-gradient(ellipse at 50% 125%,#ff923178,transparent 69%);
}
.m8-challenge-duel-side{position:absolute;inset:0 auto 0 0;width:50%;pointer-events:none}
.m8-challenge-duel-side[data-side=opponent]{left:auto;right:0;transform:scaleX(-1)}
.m8-challenge-duel-power{
  position:absolute;top:82px;left:54px;min-width:180px;text-align:center;
  color:#ffde3f;font:1000 46px/1 Arial,sans-serif;font-variant-numeric:tabular-nums;
  text-shadow:0 3px #b76c11,0 4px 6px #000;
}
.m8-challenge-duel-side[data-side=opponent] .m8-challenge-duel-power{transform:scaleX(-1)}
.m8-challenge-duel-character,.m8-challenge-duel-side .m8-portrait,.m8-challenge-duel-pet{
  animation:m8-challenge-enter .42s ease-out both;
}
.m8-challenge-duel-pet.is-attacking{
  animation:m8-challenge-enter .42s ease-out both,m8-challenge-pet .52s ease-in-out var(--pet-attack-delay);
}
.m8-challenge-strike,.m8-challenge-strike-impact{position:absolute;pointer-events:none;opacity:0}
.m8-challenge-strike{
  width:40px;height:6px;margin:-3px 0 0 -40px;border-radius:50%;transform-origin:right center;
  transform:rotate(var(--strike-angle));background:linear-gradient(90deg,transparent,#ffad39,#fffac8);
  box-shadow:0 0 5px #ff9c2e90;animation:m8-challenge-bolt .28s linear both;
}
.m8-challenge-strike.is-pet{background:linear-gradient(90deg,transparent,#ffe450,#fff);height:4px}
.m8-challenge-strike-impact{
  width:47px;height:47px;transform:translate(-50%,-50%);object-fit:contain;
  background:radial-gradient(circle,#fff7a6, #ffa832b0 24%, transparent 68%);
  animation:m8-challenge-impact .44s ease-out both;
}
.m8-challenge-strike-impact.is-pet{width:92px;height:70px;background:none}
.m8-challenge-duel-side .m8-portrait{animation:m8-challenge-tank 4.1s ease-out both}
.m8-challenge-duel-side[data-defeated=true] .m8-portrait{animation-name:m8-challenge-tank-defeated}
@keyframes m8-challenge-enter{from{opacity:0;translate:-65px 0}to{opacity:1;translate:0 0}}
@keyframes m8-challenge-pet{
  0%,100%{translate:0 0}
  42%{translate:22px -5px;filter:brightness(1.45)}
}
@keyframes m8-challenge-bolt{
  0%{opacity:0;translate:0 0}
  15%,90%{opacity:1}
  100%{opacity:0;translate:var(--strike-x) var(--strike-y)}
}
@keyframes m8-challenge-impact{
  0%{opacity:0;scale:.6}
  14%{opacity:1}
  100%{opacity:0;scale:1.15}
}
@keyframes m8-challenge-tank{
  0%{opacity:0;translate:-85px 0}20%,50%{opacity:1;translate:0 0}
  61%{translate:46px 0;filter:brightness(1.6)}75%,100%{translate:0 0}
}
@keyframes m8-challenge-tank-defeated{
  0%{opacity:0;translate:-85px 0}20%,50%{opacity:1;translate:0 0}
  61%{translate:41px 0;filter:brightness(1.75)}83%,100%{opacity:.5;translate:-40px 10px}
}
.m8-challenge-duel-stage button.m8-challenge-duel-skip{
  position:absolute;inset:0;display:flex;justify-content:flex-end;align-items:flex-end;width:100%;
  padding:0 5px;margin:0;border:0;border-radius:0;background:transparent;box-shadow:none;
  color:#70ff19;text-shadow:0 1px 2px #001000;font:700 14px/25px Tahoma,Arial,sans-serif;
}
.m8-challenge-duel-stage button.m8-challenge-duel-skip:focus-visible{outline:0}
.m8-challenge-duel-skip:focus-visible span{outline:2px solid #ffea8c;outline-offset:2px}
.m8-challenge-result-rank,.m8-challenge-result-heading,.m8-challenge-result-prize{
  margin:0;text-align:center;text-shadow:0 1px 1px #16678f;
}
.m8-challenge-result-rank{color:#ffef16;font:700 22px/36px Tahoma,Arial,sans-serif}
.m8-challenge-result-heading,.m8-challenge-result-prize{font:700 13px/20px Tahoma,Arial,sans-serif}
@media(prefers-reduced-motion:reduce){
  .m8-challenge-duel-stage :is(.m8-challenge-duel-character,.m8-portrait,.m8-challenge-duel-pet,.m8-challenge-strike,.m8-challenge-strike-impact){animation:none}
}
.m8-lobby-feature-body {
  position: absolute;
  inset: 55px 48px 28px;
  text-align: center;
}
.m8-lobby-feature-body h2 {
  margin: 0 0 16px;
  color: #fff6a3;
  text-shadow: 0 2px #135473;
}
.m8-lobby-feature-body p {margin: 10px auto;}
.m8-lobby-feature-hero {width: 64px; height: 64px; object-fit: contain;}
.m8-lobby-feature-grid {display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;}
.m8-lobby-feature-body .m8-lobby-feature-card {
  display: grid;
  justify-items: center;
  align-items: start;
  gap: 3px;
  min-height: 105px;
  padding: 5px;
  font: 13px/1.2 Tahoma, sans-serif;
  white-space: normal;
}
.m8-lobby-feature-card .m8-lobby-shortcut-icon {width: 50px; height: 50px; object-fit: contain;}
.m8-lobby-feature-card small {color: #ffe695;}
.m8-lobby-feature-actions {display: flex; justify-content: center; gap: 8px;}
.m8-activity-title{position:absolute;left:50%;top:8px;transform:translateX(-50%);width:154px;height:auto;pointer-events:none}
.m8-lobby-feature .m8-activity-center{inset:0;text-align:left;font:bold 14px/1.25 Tahoma,sans-serif}
.m8-activity-center>.m81-native-panel{position:absolute;top:58px}
.m8-activity-sidebar{left:31px}
.m8-activity-frame{left:250px}
.m8-activity-list{position:absolute;inset:13px 25px 13px 9px;overflow:auto;scrollbar-width:none}
.m8-lobby-feature .m8-activity-choice,.m8-lobby-feature .m8-activity-enter,.m8-lobby-feature .m8-activity-scroll button{
  min-width:0;min-height:0;margin:0;padding:0;border:0;border-radius:0;box-shadow:none;background:transparent
}
.m8-lobby-feature .m8-activity-choice{
  display:block;width:182px;height:76px;color:#fff;font:bold 21px/1 Tahoma,sans-serif;
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-shadow:0 2px 2px #173b69,0 -1px #135478;
  background:url('/rez/zh_CN/gui_summer/controls/public/dfe5f20286db7f1a0862ef41c0a8545a.png') center/100% 100% no-repeat
}
.m8-lobby-feature .m8-activity-choice[aria-pressed=true]{
  background-image:url('/rez/zh_CN/gui_summer/controls/public/f23b4451de4a03b972fd1f41a6ebad54.png');
  text-shadow:0 2px 2px #a53b14,0 -1px #a33e11
}
.m8-activity-scroll{
  position:absolute;top:13px;bottom:13px;right:7px;width:19px;display:flex;flex-direction:column;justify-content:space-between;
  background:url('/rez/zh_CN/gui_summer/controls/gameroom/d2a8bd6f9358218e79760099957aa6df.png') center/100% 100% no-repeat
}
.m8-lobby-feature .m8-activity-scroll button{display:grid;width:19px;height:19px}
.m8-activity-scroll img{width:100%;height:100%;pointer-events:none}
.m8-activity-detail{position:absolute;inset:12px 12px 8px;text-shadow:0 1px 1px #135478}
.m8-activity-info{margin:0 16px}
.m8-activity-field{display:grid;grid-template-columns:62px 1fr;gap:12px;min-height:25px;align-items:start}
.m8-activity-field dt{height:20px;display:grid;justify-items:center;align-items:center}
.m8-activity-field dt img{max-width:100%;max-height:20px}
.m8-activity-field dd{margin:2px 0 0;overflow-wrap:anywhere;white-space:pre-line}
.m8-activity-field:first-child dd{color:#ffe998}
.m8-activity-field:nth-child(4){
  display:block;border-block:1px dashed #69cde5;padding:8px 0 3px
}
.m8-activity-field:nth-child(4) dt{justify-items:start}
.m8-activity-field:nth-child(4) dd{margin:0 14px;max-height:114px;overflow:auto}
.m8-activity-rewards{margin:7px 16px 0}
.m8-activity-rewards-caption{
  display:block;width:43px;font:bold 9px/.95 Tahoma,sans-serif;text-align:center;color:#d3f4ff;
  text-shadow:0 1px 2px #154970,0 -1px #154970
}
.m8-activity-reward-grid{display:flex;gap:8px;flex-wrap:wrap;margin:5px 0 0 20px;max-height:150px;overflow:auto}
.m8-activity-reward{
  position:relative;width:83px;height:77px;display:grid;place-items:center;text-align:center;
  font:bold 12px/13px Tahoma,sans-serif
}
.m8-activity-reward-bg,.m8-activity-reward-quality{position:absolute;inset:0;margin:auto;width:77px;height:77px}
.m8-activity-reward-quality{width:70px;height:70px}
.m8-activity-reward-icon{position:relative;width:68px;height:68px;object-fit:contain}
.m8-activity-reward span{
  position:absolute;bottom:4px;left:0;right:0;padding:0 1px;overflow-wrap:anywhere;
  text-shadow:0 1px 2px #032f50,0 -1px #032f50
}
.m8-lobby-feature .m8-activity-enter{
  position:absolute;bottom:1px;left:50%;transform:translateX(-50%);display:grid;place-items:center;width:102px;height:36px;
  background:url('/rez/zh_CN/gui_summer/controls/public/4a098a388ce4a1b764f3b7b6621ecb21.png') center/100% 100% no-repeat
}
.m8-lobby-feature .m8-activity-enter:enabled{
  background-image:url('/rez/zh_CN/gui_summer/controls/public/705cb2c118c995972dae516ba4939edb.png')
}
.m8-lobby-feature .m8-activity-enter:disabled{opacity:1}
.m8-activity-enter img{width:60px;height:18px;pointer-events:none}
