@charset "utf-8";

* { box-sizing: border-box; }
html, body, main, section, aside, h1, h2, p, ol { margin: 0; padding: 0; }
html { overflow-x: auto; background: #000; }
body {
  min-width: 1500px;
  color: #d9ffff;
  background: #000;
  font: 16px/1.5 "Microsoft YaHei", "\5FAE\8F6F\96C5\9ED1", Arial, sans-serif;
}
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
ol { list-style: none; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.page { min-width: 1500px; overflow: hidden; }
.section { position: relative; min-width: 1500px; overflow: hidden; }
.section-hero { height: 960px; }
.section-activity { height: 1640px; }
.section-background { position: absolute; z-index: 0; top: 0; left: 50%; display: block; width: 1920px; margin-left: -960px; pointer-events: none; }
.section-hero .section-background { height: 960px; }
.section-activity .section-background { height: 1640px; }
/* 头图左上角“新热血英豪”logo 热区：锚定方式与 .section-background 一致，
   对应 1920×960 头图中的 (200,0)-(700,240)，点击后新窗口打开官网。 */
.hero-logo-link { position: absolute; z-index: 2; top: 0; left: 50%; display: block; width: 500px; height: 240px; margin-left: -760px; cursor: pointer; }
.inner { position: relative; z-index: 1; width: 1500px; height: 100%; margin: 0 auto; }
.hero-actions { position: absolute; z-index: 2; top: 28px; right: 64px; display: flex; align-items: center; justify-content: center; width: 300px; height: 52px; border: 2px solid #123556; border-radius: 30px; color: #fff; font-size: 18px; background: rgba(9, 40, 62, .88); box-shadow: inset 0 0 0 2px #3d7d9b, 0 0 0 1px rgba(61, 125, 155, .72); }
.hero-action { display: inline-flex; align-items: center; justify-content: center; height: 100%; border: 0; color: #fff; background: transparent; font-size: 18px; line-height: 1; text-shadow: 0 1px 3px rgba(0, 0, 0, .72); cursor: pointer; }
.hero-action:hover, .hero-action:focus-visible { color: #d9fbff; text-shadow: 0 0 7px rgba(150, 240, 255, .9); outline: none; }
.hero-login, .hero-nickname { width: 105px; padding: 0 8px; }
.hero-nickname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero-logout { width: 64px; padding: 0; }
.hero-home { width: 108px; }
.hero-action-divider { color: rgba(235, 252, 255, .94); font-size: 27px; font-weight: 300; line-height: 1; }

.progress-area { position: absolute; top: 265px; left: 36px; width: 1036px; height: 530px; }
.summon-summary { display: flex; align-items: center; justify-content: space-between; width: 975px; margin: 55px auto 0; color: #45eaf4; font-size: 16px; white-space: nowrap; text-shadow: 0 1px 3px #060018; }
.summon-summary strong { font-weight: normal; color: #8bfbff; }
.summon-summary .accent { color: #ff5af1; font-size: 20px; font-weight: bold; }
.summon-fill { position: absolute; top: 120px; left: 28px; width: 983px; height: 24px; padding: 4px; border-radius: 12px; }
.summon-fill i { display: block; width: 0; height: 100%; border-radius: 8px; background: linear-gradient(90deg, #4bbaff, #a73cff 60%, #e431e7); box-shadow: 0 0 9px #eb56ff; transition: width .35s ease; }
.reward-list { position: absolute; top: 158px; left: 0; display: flex; width: 1031px; justify-content: space-between; }
.reward-item { width: 149px; text-align: center; }
.reward-item img { display: block; width: 149px; height: 222px; }
.reward-item-edge { position: relative; }
.reward-split { position: relative; width: 149px; height: 222px; }
.reward-split-top, .reward-split-bottom { position: absolute; left: 0; display: block; width: 149px; overflow: hidden; }
.reward-split-top { top: 0; z-index: 1; height: 100px; }
.reward-split-bottom { top: 100px; height: 122px; }
.reward-split-top img { position: absolute; top: 0; left: 0; }
.reward-split-bottom img { position: absolute; top: -100px; left: 0; }
/* 各档位指示器对齐进度条可见填充区域的对应位置：五档填充宽度为 0/26/50/75/100%（见 js/index.js 的 SUMMON_TIER_PERCENT），
   填充区起点 32px、可用宽度 975px、指示器中心为卡片中心 74.5px，卡片左边界 0/220.5/441/661.5/882px，
   left 偏移 = 32 + 975 × 档位百分比 − 74.5 − 卡片左边界；奖励卡片本体保持原位。 */
.reward-item-start .reward-split-top { left: -42.5px; }
.reward-item-step-1 .reward-split-top { left: -9.5px; }
.reward-item-step-3 .reward-split-top { left: 4px; }
.reward-item-step-6 .reward-split-top { left: 27.25px; }
.reward-item-end .reward-split-top { left: 50.5px; }
.reward-item button { width: 98px; height: 38px; margin-top: 12px; border: 3px solid white; border-radius: 30px; color: #063353; background: #6ee9ff; font-size: 18px; font-weight: bold; cursor: pointer; }
.reward-item button:hover, .reward-item button:focus { filter: brightness(1.1); transform: translateY(-1px); }
.reward-item.is-locked button { color: #777; background: linear-gradient(#d5d5d5, #8e8e8e); box-shadow: inset 0 -2px 0 #666; cursor: default; }
.reward-item.is-claimed button { color: #7e5a80; background: linear-gradient(#e4d8e4, #a891aa); box-shadow: inset 0 -2px 0 #806d80; cursor: default; }
.next-reward { position: absolute; top: 450px; left: 30px; color: #b7f7ff; font-size: 16px; }
.next-reward strong { color: #ff56f1; font-size: 18px; }

.energy-area { position: absolute; top: 802px; left: 27px; width: 1039px; height: 445px; }
.lottery-remain { position: absolute; top: 110px; right: 11px; color: #d4fbff; font-size: 16px; }
.lottery-remain strong { color: #ff4ee8; font-size: 19px; }
.energy-meter { position: absolute; top: 145px; left: 0; width: 1039px; height: 154px; background: url('../images/energy-frame.png') center / 1039px 154px no-repeat; }
.energy-meter i { position: absolute; top: 64px; left: 63px; display: block; width: 0; max-width: 892px; height: 23px; border-radius: 20px; background: linear-gradient(90deg, #32e7ff, #40d6ff 52%, #a843ff); box-shadow: 0 0 11px #2fddff; transition: width .35s ease; }
.energy-state { position: absolute; top: 319px; left: 10px; display: flex; justify-content: space-between; width: 1017px; color: #77edf7; font-size: 16px; }
.energy-state strong { color: #fa40eb; font-size: 20px; }
.image-button { display: block; padding: 0; border: 0; background: transparent; cursor: pointer; }
.image-button img { display: block; width: 100%; height: 100%; }
.lottery-button { position: absolute; top: 378px; left: 252px; width: 520px; height: 105px; }
.image-button:hover { filter: brightness(1.12); transform: translateY(-2px); }
.image-button:active { transform: translateY(0); }

.side-column { position: absolute; top: 150px; left: 1098px; width: 377px; }
.team-panel, .rank-panel { position: relative; width: 377px; }
.team-panel { height: 571px; }
.team-panel.has-team { height: 582px; }
.rank-panel { height: 680px; margin-top: 57px; }
.side-panel-background { position: absolute; top: 0; left: 0; display: block; width: 377px; height: auto; pointer-events: none; }
.team-actions { position: absolute; z-index: 1; top: 164px; left: 0; display: flex; flex-direction: column; align-items: center; gap: 26px; width: 100%; }
.team-action-button { position: relative; width: 196px; height: 63px; }
.team-action-button span { position: absolute; z-index: 1; inset: 0; display: grid; place-items: center; color: #fff; font-size: 20px; font-weight: 400; line-height: 1; text-shadow: 0 1px 3px rgba(117, 24, 116, .75); pointer-events: none; }
.team-name { position: absolute; z-index: 1; top: 103px; left: 54px; width: 275px; height: 24px; overflow: hidden; color: #82e1f3; font-size: 18px; line-height: 24px; text-align: center; text-overflow: ellipsis; white-space: nowrap; text-shadow: 0 1px 3px rgba(0, 0, 0, .72); }
.team-list { position: absolute; top: 126px; left: 54px; display: flex; flex-direction: column; width: 275px; max-height: 274px; overflow-x: hidden; overflow-y: auto; padding-left: 7px; padding-right: 8px; scrollbar-gutter: stable; }
.team-list { scrollbar-width: thin; scrollbar-color: #54e4ff rgba(26, 11, 53, .7); }
.team-list::-webkit-scrollbar { width: 4px; }
.team-list::-webkit-scrollbar-track { background: rgba(26, 11, 53, .7); border-radius: 999px; }
.team-list::-webkit-scrollbar-thumb { border-radius: 999px; background: linear-gradient(180deg, #54e4ff, #a843ff); box-shadow: 0 0 6px rgba(84, 228, 255, .65); }
.team-list::-webkit-scrollbar-thumb:hover { background: #54e4ff; }
.team-list li, .rank-list li { display: flex; align-items: center; height: 52px; color: #fff; font-size: 20px; }
.team-list li { flex: 0 0 52px; }
.team-list b, .rank-list b { display: grid; flex: 0 0 auto; width: 30px; height: 30px; margin-left: -7px; margin-right: 16px; place-items: center; border: 1px solid #c6c0bd; border-radius: 10px; color: #fff; background: linear-gradient(145deg, #6b6563 0%, #77716e 52%, #8d8782 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), 0 1px 2px rgba(255, 255, 255, .2); font-size: 22px; font-style: normal; line-height: 1; text-shadow: 0 1px 1px rgba(0, 0, 0, .18); }
.team-list li:nth-child(-n+3) b, .rank-list li:nth-child(-n+3) b { border-color: #e3dccc; background: linear-gradient(145deg, #ffb33e 0%, #ff7833 46%, #ff6530 100%); box-shadow: inset 0 0 0 1px rgba(255, 241, 193, .48), 0 1px 3px rgba(255, 161, 65, .4); }
.team-list span, .team-list em, .rank-list span, .rank-list em { overflow: hidden; color: #fff; font-size: 20px; text-overflow: ellipsis; white-space: nowrap; }
.team-list li { min-width: 0; }
.team-list span { min-width: 0; flex: 1 1 auto; }
/* 成员贡献能量：接口 Team.Members[].Contribution，单位为百分比 */
.team-list em { flex: 0 0 auto; margin-left: 8px; color: #fff; font-size: 16px; font-style: normal; }
.team-list .team-empty-row { justify-content: center; }
.team-list .team-empty-row span { flex: 0 0 auto; color: rgba(255, 255, 255, .78); }
.team-code { position: absolute; top: 417px; left: 58px; width: 267px; color: #72eefa; }
.team-code strong { display: block; color: #d9b1ff; font-size: 26px; line-height: 1.1; text-shadow: 0 0 6px rgba(214, 164, 255, .9); font-weight: 400; }
.team-code-label { display: inline-block; margin-top: 13px; color: #fff; font-size: 16px; line-height: 1.1; white-space: nowrap; }
.team-code-label em { margin-left: 0; color: #f2faff; font-family: Consolas, monospace; font-size: 18px; font-style: normal; letter-spacing: 1px; line-height: 1.2; }
.team-code button { display: block; width: 88px; height: 42px; margin: 0 0 0 auto; margin-right: 13px; border: 2px solid #7bf1ff; border-radius: 55px; color: #d9ffff; background: rgba(49, 135, 198, .6); font-size: 22px; cursor: pointer; }
.rank-list { position: absolute; top: 109px; left: 57px; width: 253px; }
.rank-list span { flex: 1; }
.rank-list em { flex: 0 0 auto; font-style: normal; }
.rule-button { position: absolute; top: 1349px; left: 264px; width: 550px; height: 128px; }

/* 右侧双二维码（fixed，滚动时保持可见）—— 搬自 Pro2026/23st；
   z-index 取 5，低于活动规则浮层 6 与弹窗遮罩 10/11/20，避免压在弹窗之上。 */
.qcode {
  position: fixed;
  z-index: 5;
  top: 50%;
  right: 20px;
  width: 228px;
  height: 484px;
  margin-top: -242px;
  background: url(https://static.web.sdo.com/bfo/pic/pro2026/07hd/qcode.jpg) no-repeat center;
}

.dialog-mask { position: fixed; z-index: 10; inset: 0; background: rgba(0, 0, 0, .78); }
.global-dialog { position: fixed; z-index: 11; top: 50%; left: 50%; width: 569px; height: 357px; padding: 0; transform: translate(-50%, -50%); border: 0; color: #fff; background: url('../images/dialog-background.png') center / 569px 357px no-repeat; }
.global-dialog h2 { position: absolute; top: 57px; left: 0; width: 100%; margin: 0; color: #54e4ff; font-size: 30px; font-weight: 400; line-height: 1.2; text-align: center; text-shadow: 0 0 8px rgba(41, 216, 255, .65); }
.dialog-body { position: absolute; top: 126px; left: 61px; width: 447px; margin: 0; color: #fff; font-size: 20px; line-height: 1.6; text-align: left; white-space: pre-line; }
.dialog-message .dialog-body { text-align: center; }
.dialog-field { position: absolute; top: 126px; left: 61px; display: flex; align-items: center; width: 441px; height: 38px; }
.dialog-field-label { flex: 0 0 101px; color: #fff; font-size: 20px; line-height: 1; }
.dialog-input { flex: 1 1 auto; width: 340px; height: 32px; padding: 0 8px; border: 1px solid #c8d5de; outline: 0; color: #fff; background: transparent; font: inherit; font-size: 20px; }
.dialog-variant-create .dialog-input { border-width: 0 0 1px; padding-left: 0; }
.dialog-hint { position: absolute; top: 168px; left: 162px; width: 385px; margin: 0; color: rgba(221, 215, 231, .72); font-size: 16px; line-height: 1.4; white-space: nowrap; }
.dialog-prompt .dialog-body { display: none; }
.dialog-actions { position: absolute; top: 245px; left: 0; display: flex; justify-content: center; gap: 42px; width: 100%; }
.dialog-button { width: 116px; height: 40px; padding: 0; border: 2px solid #e2faff; border-radius: 55px; color: #082b36; background: linear-gradient(#bceef5, #79cfdf); box-shadow: inset 0 0 3px rgba(255, 255, 255, .9), 0 0 5px rgba(184, 245, 255, .42); font-size: 20px; font-weight: 700; line-height: 1; cursor: pointer; }
.dialog-cancel { border-color: #d9e5e7; color: #172b31; background: linear-gradient(#d8e0e1, #a0b0b2); box-shadow: inset 0 0 3px rgba(255, 255, 255, .85); }
.dialog-button:hover { filter: brightness(1.08); }
.dialog-close { display: none; }
.dialog-rules .dialog-body { top: 113px; left: 63px; width: 443px; font-size: 16px; line-height: 1.8; }
.dialog-reward-body { top: 123px; left: 0; width: 100%; font-size: 20px; line-height: 1.4; text-align: center; }
.dialog-reward-body span, .dialog-reward-body strong { display: block; }
.dialog-reward-body strong { margin-top: 21px; color: #fff1a4; font-size: 22px; font-weight: 400; text-shadow: 0 0 6px rgba(255, 230, 126, .45); }

/* 活动规则点击浮层（1200 x 420，不含下方小箭头） */
.rules-popup {
  position: absolute;
  z-index: 6;
  top: 892px;
  left: -42px;
  width: 1200px;
  height: 420px;
  padding: 24px 46px;
  border: 1px solid rgba(206, 212, 219, .8);
  border-radius: 6px;
  color: #eaf6ff;
  background: rgba(8, 6, 18, .94);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .55);
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .16s ease, visibility .16s ease;
  pointer-events: none;
}
.rules-popup::after {
  content: '';
  position: absolute;
  top: calc(100% - 18px);
  left: 50%;
  width: 36px;
  height: 36px;
  margin-left: -18px;
  box-sizing: border-box;
  /* 填充三角内部，遮住浮层底边从透明区域透出的横线 */
  background: rgba(8, 6, 18, .94);
  border-right: 1px solid rgba(206, 212, 219, .8);
  border-bottom: 1px solid rgba(206, 212, 219, .8);
  transform: rotate(45deg);
}
.rules-popup.is-visible { opacity: 1; visibility: visible; pointer-events: auto; }

.rules-list { margin: 0; padding: 0; width: 100%; list-style: none; color: #f2f9ff; font-size: 17px; line-height: 1.66; }
.rules-list li { position: relative; margin: 0 0 11px; padding-left: 24px; }
.rules-list li:last-child { margin-bottom: 0; }
.rules-list li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 9px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #45e3ff;
  box-shadow: 0 0 6px rgba(69, 227, 255, .9);
}
.probability-link { display: inline; padding: 0; border: 0; color: #55aaf5; background: transparent; font: inherit; text-decoration: underline; cursor: pointer; }
.probability-link:hover, .probability-link:focus-visible { color: #9cd5ff; outline: none; }
.probability-mask { position: fixed; z-index: 20; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, .72); }
.probability-popup { position: relative; width: 570px; padding: 38px 42px 42px; border: 1px solid #a9d9ff; border-radius: 8px; background: rgba(7, 19, 34, .98); box-shadow: 0 10px 32px rgba(0, 0, 0, .65); }
.probability-close { position: absolute; top: 7px; right: 13px; width: 28px; height: 28px; padding: 0; border: 0; color: #d9f8ff; background: transparent; font-size: 26px; line-height: 1; cursor: pointer; }
.probability-close:hover, .probability-close:focus-visible { color: #fff; outline: none; }
.probability-table { width: 100%; border-collapse: collapse; color: #111; background: #fff; font-size: 18px; line-height: 1.2; }
.probability-table caption, .probability-table td { border: 1px solid #111; }
.probability-table caption { padding: 4px 8px; color: #111; background: #fff; font-size: 20px; }
.probability-table td { padding: 4px 8px; }
.probability-table td:last-child { width: 115px; text-align: right; white-space: nowrap; }
.rules-list li strong { font-weight: 700; }
