/* 浮动快捷操作（静态页无 Vue data-v 属性） */
.home-floating-actions {
  position: fixed;
  right: max(13px, calc((100vw - var(--page-max-width)) / 2 + 13px));
  bottom: calc(var(--bottom-nav-height) + 126px + env(safe-area-inset-bottom, 0px));
  z-index: 101;
  width: 44px;
  height: 44px;
  pointer-events: none;
}
.home-floating-actions__scrim {
  position: fixed;
  inset: 0;
  z-index: 0;
  border: 0;
  background: #0000008f;
  pointer-events: auto;
  cursor: pointer;
}
.home-floating-actions__scrim[hidden] {
  display: none !important;
}
.home-floating-actions__main,
.home-floating-actions__tool {
  position: absolute;
  top: 0;
  right: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
}
.home-floating-actions__main {
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  box-shadow: none;
  transition: filter 0.28s ease;
}
.home-floating-actions__main-icon {
  display: block;
  width: 44px;
  height: 44px;
}
.home-floating-actions__main-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.42s cubic-bezier(0.22, 0.61, 0.36, 1), filter 0.28s ease;
  transform-origin: center;
}
.home-floating-actions__main.is-open .home-floating-actions__main-icon img {
  transform: rotate(180deg);
}
.home-floating-actions__main:hover .home-floating-actions__main-icon img,
.home-floating-actions__main:focus-visible .home-floating-actions__main-icon img {
  filter: brightness(1.04);
}
.home-floating-actions__main:active {
  filter: brightness(0.96);
}
.home-floating-actions__tool,
.home-floating-actions__tool-wrap {
  z-index: 4;
  width: 56px;
  height: 64px;
  opacity: 0;
  transform: translate(0) scale(0.72);
  transition: opacity 0.28s ease, transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1);
  pointer-events: none;
}
.home-floating-actions__tool-wrap {
  position: absolute;
  top: 0;
  right: 0;
}
.home-floating-actions__tool.is-visible,
.home-floating-actions__tool-wrap.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.home-floating-actions__tool--top.is-visible {
  transform: translate(-4px, -118px) scale(1);
}
.home-floating-actions__tool-wrap--reference.is-visible {
  transform: translate(-124px, -10px) scale(1);
}
.home-floating-actions__tool-wrap.is-visible .home-floating-actions__tool--reference {
  opacity: 1;
  transform: translate(0) scale(1);
  pointer-events: auto;
}
.home-floating-actions__tool--notice.is-visible {
  transform: translate(-28px, 82px) scale(1);
}
.home-floating-actions__tool {
  display: block;
  padding: 0;
}
.home-floating-actions__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 10px 22px #00000038;
  transition: transform 0.24s ease, box-shadow 0.24s ease, filter 0.24s ease;
}
.home-floating-actions__icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}
.home-floating-actions__icon--top {
  background: linear-gradient(135deg, #38e28f, #19c777);
}
.home-floating-actions__icon--reference {
  background: linear-gradient(135deg, #ffb35a, #ff8b26);
}
.home-floating-actions__icon--notice {
  background: linear-gradient(135deg, #58c4f4, #2ea8df);
}
.home-floating-actions__tool:hover .home-floating-actions__icon,
.home-floating-actions__tool:focus-visible .home-floating-actions__icon,
.home-floating-actions__tool.is-active .home-floating-actions__icon {
  transform: scale(1.05);
  box-shadow: 0 13px 28px #00000042;
  outline: 0;
}
.home-floating-actions__label {
  position: absolute;
  top: 50%;
  right: calc(100% + 8px);
  min-width: 64px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  text-align: right;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  transform: translateY(-50%);
  white-space: nowrap;
  pointer-events: auto;
}
.home-floating-actions__nav {
  position: fixed;
  left: max(10px, calc((100vw - var(--page-max-width)) / 2 + 10px));
  bottom: calc(var(--bottom-nav-height) + 12px + env(safe-area-inset-bottom, 0px));
  z-index: 102;
  width: min(176px, calc(100vw - 136px));
  max-height: min(30vh, calc(100vh - var(--bottom-nav-height) - 260px));
  padding: 4px 0;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 12px;
  background: linear-gradient(145deg, #edf9ffeb, #c6e6ffd1), #dbf0ffdb;
  box-shadow: 0 16px 34px #0f172a38, inset 0 1px 10px #ffffffb8;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.96);
  transform-origin: left bottom;
  transition: opacity 0.24s ease, visibility 0.24s ease, transform 0.24s cubic-bezier(0.22, 0.61, 0.36, 1);
  pointer-events: none;
}
.home-floating-actions__nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.home-floating-actions.is-nav-open .home-floating-actions__tool--top,
.home-floating-actions.is-nav-open .home-floating-actions__tool-wrap--reference,
.home-floating-actions.is-nav-open .home-floating-actions__tool--notice {
  opacity: 0 !important;
  visibility: hidden;
  transform: translate(0) scale(0.72) !important;
  pointer-events: none !important;
}
.home-floating-actions.is-nav-open .home-floating-actions__main {
  z-index: 6;
}
.home-floating-actions__nav-item {
  display: block;
  width: 100%;
  min-height: 30px;
  padding: 7px 12px 6px;
  border: 0;
  border-bottom: 1px dashed #c5cbd3;
  border-radius: 0;
  background: transparent;
  color: #172033;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.15;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}
.home-floating-actions__nav-item:last-child {
  border-bottom: 0;
}
.home-floating-actions__nav-item:hover,
.home-floating-actions__nav-item:focus-visible,
.home-floating-actions__nav-item:active {
  background: #fff3d6;
  color: #f06900;
  outline: 0;
}
@media (max-width: 480px) {
  .home-floating-actions {
    right: 13px;
    bottom: calc(var(--bottom-nav-height) + 126px + env(safe-area-inset-bottom, 0px));
  }
  .home-floating-actions__label {
    font-size: 16px;
  }
}

.footer-attribute-compare[data-v-e42a1274] {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}
.compare-table[data-v-e42a1274] {
  border: 1px solid #d8ccb4;
  background: #fff;
}
.compare-table__header[data-v-e42a1274] {
  height: 30px;
  line-height: 30px;
  text-align: center;
  background: #f1f1f1;
  color: #000;
  font-size: 18px;
  font-weight: 700;
}
.compare-zodiac-grid[data-v-e42a1274] {
  display: flex;
  flex-wrap: wrap;
}
.compare-zodiac-card[data-v-e42a1274] {
  width: 33.3333%;
  box-sizing: border-box;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 5px 0;
  text-align: center;
  color: #000;
}
.compare-zodiac-card__title[data-v-e42a1274] {
  min-height: 40px;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 16px;
  font-weight: 700;
}
.compare-zodiac-card__icon[data-v-e42a1274] {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
.compare-zodiac-card__numbers[data-v-e42a1274],
.compare-row-item__numbers[data-v-e42a1274] {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 2px;
}
.compare-zodiac-card__numbers[data-v-e42a1274] {
  justify-content: center;
}
.compare-row-list[data-v-e42a1274] {
  background: #fff;
}
.compare-row-item[data-v-e42a1274] {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  border-top: 1px solid #d8ccb4;
}
.compare-row-item[data-v-e42a1274]:first-child {
  border-top: 0;
}
.compare-row-item__label[data-v-e42a1274] {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #d8ccb4;
  font-size: 15px;
  font-weight: 700;
}
.compare-row-item__numbers[data-v-e42a1274] {
  padding: 6px 8px;
}
.number-chip[data-v-e42a1274] {
  display: inline-flex;
  min-width: 21px;
  height: 18px;
  padding: 0 3px;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
  line-height: 18px;
  font-weight: 700;
}
.number-chip--red[data-v-e42a1274] {
  background: red;
}
.number-chip--blue[data-v-e42a1274] {
  background: #1d4ed8;
}
.number-chip--green[data-v-e42a1274] {
  background: #16a34a;
}
.number-chip--neutral[data-v-e42a1274] {
  background: #475569;
}
.compare-attribute-list[data-v-e42a1274] {
  padding: 10px 12px;
}
.compare-attribute-item[data-v-e42a1274] {
  margin: 0;
  padding: 3px 0;
  text-align: left;
  font-size: 17px;
  line-height: 1.9;
  color: #111827;
}
.compare-attribute-item__label[data-v-e42a1274] {
  font-weight: 700;
}
.compare-attribute-item__content--full[data-v-e42a1274] {
  display: inline-block;
  width: 100%;
}
@media (max-width: 640px) {
  .compare-table__header[data-v-e42a1274] {
    font-size: 16px;
  }
  .compare-zodiac-card[data-v-e42a1274] {
    width: 50%;
  }
  .compare-zodiac-card__title[data-v-e42a1274] {
    font-size: 14px;
    gap: 3px;
  }
  .compare-zodiac-card__icon[data-v-e42a1274] {
    width: 32px;
    height: 32px;
  }
  .compare-row-item[data-v-e42a1274] {
    grid-template-columns: 52px 1fr;
  }
  .compare-row-item__label[data-v-e42a1274],
  .compare-attribute-item[data-v-e42a1274] {
    font-size: 16px;
  }
}

/* 对照表静态渲染（无 Vue data-v 属性） */
.footer-attribute-compare {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}
.footer-attribute-compare .compare-table {
  border: 1px solid #d8ccb4;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
}
.footer-attribute-compare .compare-table__header {
  height: 36px;
  line-height: 36px;
  text-align: center;
  background: #f1f1f1;
  color: #000;
  font-size: 18px;
  font-weight: 700;
}
.footer-attribute-compare .compare-zodiac-grid {
  display: flex;
  flex-wrap: wrap;
}
.footer-attribute-compare .compare-zodiac-card {
  width: 33.3333%;
  box-sizing: border-box;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 8px 4px 10px;
  text-align: center;
  color: #000;
  background: #fff;
}
.footer-attribute-compare .compare-zodiac-card__title {
  min-height: 40px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 16px;
  font-weight: 700;
}
.footer-attribute-compare .compare-zodiac-card__icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}
.footer-attribute-compare .compare-zodiac-card__clash {
  color: #666;
  font-size: 13px;
  font-weight: 600;
}
.footer-attribute-compare .compare-zodiac-card__numbers,
.footer-attribute-compare .compare-row-item__numbers {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 3px;
}
.footer-attribute-compare .compare-zodiac-card__numbers {
  justify-content: center;
  padding: 0 4px;
}
.footer-attribute-compare .compare-row-list {
  background: #fff;
}
.footer-attribute-compare .compare-row-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  border-top: 1px solid #d8ccb4;
}
.footer-attribute-compare .compare-row-item:first-child {
  border-top: 0;
}
.footer-attribute-compare .compare-row-item__label {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #d8ccb4;
  font-size: 15px;
  font-weight: 700;
  background: #fafafa;
}
.footer-attribute-compare .compare-row-item__numbers {
  padding: 8px 10px;
}
.footer-attribute-compare .number-chip {
  display: inline-flex;
  min-width: 24px;
  height: 20px;
  padding: 0 4px;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  border-radius: 2px;
}
.footer-attribute-compare .number-chip--red {
  background: #e71607;
}
.footer-attribute-compare .number-chip--blue {
  background: #1d4ed8;
}
.footer-attribute-compare .number-chip--green {
  background: #16a34a;
}
.footer-attribute-compare .compare-attribute-list {
  padding: 12px 14px;
  background: #fff;
}
.footer-attribute-compare .compare-attribute-item {
  margin: 0;
  padding: 4px 0;
  text-align: left;
  font-size: 16px;
  line-height: 1.8;
  color: #111827;
}
.footer-attribute-compare .compare-attribute-item__label {
  font-weight: 700;
}
@media (max-width: 640px) {
  .footer-attribute-compare .compare-table__header {
    font-size: 16px;
  }
  .footer-attribute-compare .compare-zodiac-card {
    width: 50%;
  }
  .footer-attribute-compare .compare-zodiac-card__title {
    font-size: 14px;
    gap: 3px;
  }
  .footer-attribute-compare .compare-zodiac-card__icon {
    width: 30px;
    height: 30px;
  }
  .footer-attribute-compare .compare-row-item {
    grid-template-columns: 52px 1fr;
  }
  .footer-attribute-compare .compare-row-item__label,
  .footer-attribute-compare .compare-attribute-item {
    font-size: 15px;
  }
  .footer-attribute-compare .number-chip {
    min-width: 22px;
    height: 18px;
    font-size: 10px;
  }
}

.home-floating-actions[data-v-e6dfd677] {
  position: fixed;
  right: max(13px, calc((100vw - var(--page-max-width)) / 2 + 13px));
  bottom: calc(
    var(--bottom-nav-height) + 126px + env(safe-area-inset-bottom, 0px)
  );
  z-index: 101;
  width: 44px;
  height: 44px;
  pointer-events: none;
}
.home-floating-actions__scrim[data-v-e6dfd677] {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  border: 0;
  background: #0000008f;
  pointer-events: auto;
}
.home-floating-actions__main[data-v-e6dfd677],
.home-floating-actions__tool[data-v-e6dfd677] {
  position: absolute;
  top: 0;
  right: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
}
.home-floating-actions__main[data-v-e6dfd677] {
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  box-shadow: none;
  transition: filter 0.28s ease;
}
.home-floating-actions__main-icon[data-v-e6dfd677] {
  display: block;
  width: 44px;
  height: 44px;
}
.home-floating-actions__main-icon img[data-v-e6dfd677] {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition:
    transform 0.42s cubic-bezier(0.22, 0.61, 0.36, 1),
    filter 0.28s ease;
  transform-origin: center;
}
.home-floating-actions__main.is-open
  .home-floating-actions__main-icon
  img[data-v-e6dfd677] {
  transform: rotate(180deg);
}
.home-floating-actions__main[data-v-e6dfd677]:hover,
.home-floating-actions__main[data-v-e6dfd677]:focus-visible {
  outline: 0;
}
.home-floating-actions__main:hover
  .home-floating-actions__main-icon
  img[data-v-e6dfd677],
.home-floating-actions__main:focus-visible
  .home-floating-actions__main-icon
  img[data-v-e6dfd677] {
  filter: brightness(1.04);
}
.home-floating-actions__main[data-v-e6dfd677]:active {
  filter: brightness(0.96);
}
.home-floating-actions__tool[data-v-e6dfd677],
.home-floating-actions__tool-wrap[data-v-e6dfd677] {
  z-index: 4;
  width: 56px;
  height: 64px;
  opacity: 0;
  transform: translate(0) scale(0.72);
  transition:
    opacity 0.28s ease,
    transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1);
  pointer-events: none;
}
.home-floating-actions__tool-wrap[data-v-e6dfd677] {
  position: absolute;
  top: 0;
  right: 0;
}
.home-floating-actions__tool.is-visible[data-v-e6dfd677],
.home-floating-actions__tool-wrap.is-visible[data-v-e6dfd677] {
  opacity: 1;
  pointer-events: auto;
}
.home-floating-actions__tool--top.is-visible[data-v-e6dfd677] {
  transform: translate(-4px, -118px) scale(1);
}
.home-floating-actions__tool-wrap--reference.is-visible[data-v-e6dfd677] {
  transform: translate(-124px, -10px) scale(1);
}
.home-floating-actions__tool-wrap.is-visible
  .home-floating-actions__tool--reference[data-v-e6dfd677] {
  opacity: 1;
  transform: translate(0) scale(1);
  pointer-events: auto;
}
.home-floating-actions__tool--notice.is-visible[data-v-e6dfd677] {
  transform: translate(-28px, 82px) scale(1);
}
.home-floating-actions__tool[data-v-e6dfd677] {
  display: block;
  padding: 0;
}
.home-floating-actions__icon[data-v-e6dfd677] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 10px 22px #00000038;
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    filter 0.24s ease;
}
.home-floating-actions__icon svg[data-v-e6dfd677] {
  width: 28px;
  height: 28px;
  fill: currentColor;
}
.home-floating-actions__icon--top[data-v-e6dfd677] {
  background: linear-gradient(135deg, #38e28f, #19c777);
}
.home-floating-actions__icon--reference[data-v-e6dfd677] {
  background: linear-gradient(135deg, #ffb35a, #ff8b26);
}
.home-floating-actions__icon--notice[data-v-e6dfd677] {
  background: linear-gradient(135deg, #58c4f4, #2ea8df);
}
.home-floating-actions__tool:hover
  .home-floating-actions__icon[data-v-e6dfd677],
.home-floating-actions__tool:focus-visible
  .home-floating-actions__icon[data-v-e6dfd677],
.home-floating-actions__tool.is-active
  .home-floating-actions__icon[data-v-e6dfd677] {
  transform: scale(1.05);
  box-shadow: 0 13px 28px #00000042;
  outline: 0;
}
.home-floating-actions__tool:active
  .home-floating-actions__icon[data-v-e6dfd677] {
  transform: scale(0.96);
  filter: brightness(0.96);
}
.home-floating-actions__label[data-v-e6dfd677] {
  position: absolute;
  top: 50%;
  right: calc(100% + 8px);
  min-width: 64px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  text-align: right;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  transform: translateY(-50%);
  white-space: nowrap;
  pointer-events: auto;
}
.home-floating-actions__nav[data-v-e6dfd677] {
  position: fixed;
  left: max(10px, calc((100vw - var(--page-max-width)) / 2 + 10px));
  bottom: calc(
    var(--bottom-nav-height) + 12px + env(safe-area-inset-bottom, 0px)
  );
  z-index: 4;
  width: min(176px, calc(100vw - 136px));
  max-height: min(30vh, calc(100vh - var(--bottom-nav-height) - 260px));
  padding: 4px 0;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 12px;
  background: linear-gradient(145deg, #edf9ffeb, #c6e6ffd1), #dbf0ffdb;
  box-shadow:
    0 16px 34px #0f172a38,
    inset 0 1px 10px #ffffffb8;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.96);
  transform-origin: left bottom;
  transition:
    opacity 0.24s ease,
    visibility 0.24s ease,
    transform 0.24s cubic-bezier(0.22, 0.61, 0.36, 1);
  pointer-events: none;
}
.home-floating-actions__nav.is-open[data-v-e6dfd677] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.home-floating-actions__nav-item[data-v-e6dfd677] {
  display: block;
  width: 100%;
  min-height: 30px;
  padding: 7px 12px 6px;
  border: 0;
  border-bottom: 1px dashed #c5cbd3;
  border-radius: 0;
  background: transparent;
  color: #172033;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.15;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}
.home-floating-actions__nav-item[data-v-e6dfd677]:last-child {
  border-bottom: 0;
}
.home-floating-actions__nav-item[data-v-e6dfd677]:hover,
.home-floating-actions__nav-item[data-v-e6dfd677]:focus-visible,
.home-floating-actions__nav-item[data-v-e6dfd677]:active {
  background: #fff3d6;
  color: #f06900;
  outline: 0;
}
@media (max-width: 480px) {
  .home-floating-actions[data-v-e6dfd677] {
    right: 13px;
    bottom: calc(
      var(--bottom-nav-height) + 126px + env(safe-area-inset-bottom, 0px)
    );
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-floating-actions__main[data-v-e6dfd677],
  .home-floating-actions__tool[data-v-e6dfd677],
  .home-floating-actions__tool-wrap[data-v-e6dfd677],
  .home-floating-actions__nav[data-v-e6dfd677] {
    transition: none;
  }
}
.home-popup-notice-fade-enter-active[data-v-46a32c86],
.home-popup-notice-fade-leave-active[data-v-46a32c86] {
  transition: opacity 0.46s ease;
}
.home-popup-notice-fade-enter-active .home-popup-notice__body[data-v-46a32c86],
.home-popup-notice-fade-leave-active .home-popup-notice__body[data-v-46a32c86] {
  transition:
    opacity 0.46s ease,
    transform 0.46s cubic-bezier(0.22, 1, 0.36, 1);
}
.home-popup-notice-fade-enter-from[data-v-46a32c86],
.home-popup-notice-fade-leave-to[data-v-46a32c86] {
  opacity: 0;
}
.home-popup-notice-fade-enter-from .home-popup-notice__body[data-v-46a32c86],
.home-popup-notice-fade-leave-to .home-popup-notice__body[data-v-46a32c86] {
  opacity: 0;
  transform: translateY(14px) scale(0.96);
}
.home-popup-notice[data-v-46a32c86] {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 999999999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000b3;
  color: #333;
  font-family:
    Microsoft Yahei,
    PingFang SC,
    sans-serif;
}
.home-popup-notice__body[data-v-46a32c86] {
  position: relative;
  width: min(365px, calc(100vw - 50px));
  padding: 0 5px;
  box-sizing: border-box;
  border-radius: 15px;
  font-size: 14px;
}
.home-popup-notice__close[data-v-46a32c86] {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  height: 36px;
  padding: 0 15px;
  border: 0;
  background: transparent;
  color: #c8c9cc;
  font-size: 25px;
  line-height: 36px;
}
.home-popup-notice__panel[data-v-46a32c86] {
  position: relative;
  padding: 39px 0 40px;
  border-radius: 15px;
  background: #fff;
}
.home-popup-notice__badge[data-v-46a32c86] {
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 224px;
  height: 49px;
  margin: auto;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
}
.home-popup-notice__brand[data-v-46a32c86] {
  padding-top: 32px;
}
.home-popup-notice__brand-title[data-v-46a32c86] {
  display: flex;
  justify-content: center;
  padding-bottom: 5px;
}
.home-popup-notice__brand-title span[data-v-46a32c86] {
  display: inline-block;
  width: 26px;
  margin-left: -3px;
  border-radius: 50%;
  background: #ec2712;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 26px;
  text-align: center;
}
.home-popup-notice__brand-title span[data-v-46a32c86]:first-child {
  margin-left: 0;
}
.home-popup-notice__logo[data-v-46a32c86] {
  display: flex;
  justify-content: center;
  height: 50px;
}
.home-popup-notice__logo span[data-v-46a32c86] {
  display: inline-block;
  height: 22px;
  margin-top: 2px;
  padding: 0 8px;
  border-radius: 5px;
  background: #e70000;
  color: #fff;
  font-weight: 700;
  line-height: 22px;
}
.home-popup-notice__table-wrap[data-v-46a32c86] {
  padding: 0 10px;
}
.home-popup-notice__table[data-v-46a32c86] {
  width: 100%;
  border-collapse: collapse;
  color: red;
  font-weight: 700;
}
.home-popup-notice__table tr[data-v-46a32c86] {
  line-height: 18px;
  text-align: center;
}
.home-popup-notice__table td[data-v-46a32c86] {
  min-height: 26px;
  height: 26px;
  border: 1px solid #999;
  color: red;
  font-size: 14px;
  text-align: left;
  word-break: break-all;
}
.home-popup-notice__table thead td[data-v-46a32c86] {
  height: 40px;
  background: #ec2712;
  color: #fff;
  font-size: 18px;
  line-height: 40px;
  text-align: center;
}
.home-popup-notice__popup-title[data-v-46a32c86] {
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}
.home-popup-notice__footer[data-v-46a32c86] {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  text-align: center;
}
.home-popup-notice__footer button[data-v-46a32c86] {
  display: inline-block;
  min-width: 72px;
  height: 30px;
  padding: 0 8px;
  border: 1px solid #f70000;
  border-radius: 6px;
  background: #fff;
  color: #f70000;
  font-size: 14px;
  line-height: 28px;
}
.home-popup-notice__table[data-v-46a32c86] p {
  margin: 0;
}
.home-popup-notice__table[data-v-46a32c86] .ql-size-large {
  font-size: 18px;
}
@media (prefers-reduced-motion: reduce) {
  .home-popup-notice-fade-enter-active[data-v-46a32c86],
  .home-popup-notice-fade-leave-active[data-v-46a32c86],
  .home-popup-notice-fade-enter-active
    .home-popup-notice__body[data-v-46a32c86],
  .home-popup-notice-fade-leave-active
    .home-popup-notice__body[data-v-46a32c86] {
    transition: none;
  }
}

/* 通知公告弹窗（非 Vue scoped） */
.home-popup-notice {
  position: fixed;
  inset: 0;
  z-index: 999999999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
  color: #333;
  font-family: "Microsoft Yahei", "PingFang SC", sans-serif;
}
.home-popup-notice.is-open,
.home-popup-notice:not([hidden]).is-open {
  display: flex;
}
.home-popup-notice[hidden] {
  display: none !important;
}
.home-popup-notice__body {
  position: relative;
  width: min(365px, calc(100vw - 50px));
  padding: 0 5px;
  box-sizing: border-box;
}
.home-popup-notice__close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  height: 36px;
  padding: 0 15px;
  border: 0;
  background: transparent;
  color: #c8c9cc;
  font-size: 25px;
  line-height: 36px;
  cursor: pointer;
}
.home-popup-notice__panel {
  position: relative;
  padding: 39px 0 40px;
  border-radius: 15px;
  background: #fff;
}
.home-popup-notice__badge {
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 224px;
  height: 49px;
  margin: auto;
  background: url("../img/popup.png") center / 100% 100% no-repeat;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.08em;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
}
.home-popup-notice__table-wrap {
  padding: 0 10px;
}
.home-popup-notice__table {
  width: 100%;
  border-collapse: collapse;
  color: #e70000;
  font-weight: 700;
}
.home-popup-notice__table td {
  border: 1px solid #999;
  color: #e70000;
  font-size: 15px;
  text-align: center;
  word-break: keep-all;
  overflow-wrap: normal;
}
.home-popup-notice__table thead td {
  height: 40px;
  background: #ec2712;
  color: #fff;
  font-size: 18px;
  line-height: 40px;
  text-align: center;
  border-color: #ec2712;
}
.home-popup-notice__popup-title {
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}
.home-popup-notice__content-cell {
  padding: 10px 8px 12px !important;
  vertical-align: top;
}
.home-popup-notice__item {
  padding: 8px 4px 10px;
  border-bottom: 1px solid #d0d0d0;
}
.home-popup-notice__item:last-child {
  border-bottom: 0;
  padding-bottom: 4px;
}
.home-popup-notice__item--empty {
  color: #666;
  font-weight: 500;
  padding: 16px 8px;
}
.home-popup-notice__line {
  margin: 0;
  padding: 2px 0;
  color: #e70000;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
  text-align: center;
  white-space: nowrap;
}
.home-popup-notice__line--title {
  display: inline-block;
  margin: 0 auto 2px;
  padding: 2px 8px;
  background: #ffe566;
  white-space: nowrap;
}
.home-popup-notice__line--nums {
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}
.home-popup-notice__footer {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  text-align: center;
}
.home-popup-notice__footer-btn,
.home-popup-notice__footer button {
  display: inline-block;
  min-width: 72px;
  height: 30px;
  padding: 0 8px;
  border: 1px solid #f70000;
  border-radius: 6px;
  background: #fff;
  color: #f70000;
  font-size: 14px;
  line-height: 28px;
  cursor: pointer;
}
html.home-notice-open,
html.home-notice-open body {
  overflow: hidden;
}
.home-section-anchor[data-v-5ffa482b] {
  scroll-margin-top: calc(var(--top-sticky-height) + 12px);
}
:root {
  color-scheme: light;
  font-family:
    Trebuchet MS,
    Segoe UI,
    PingFang SC,
    Hiragino Sans GB,
    sans-serif;
  line-height: 1.5;
  font-weight: 500;
  background: #f5f5f5;
  color: #302720;
  --app-shell-max-width: 720px;
  --page-max-width: var(--app-shell-max-width);
  --history-max-width: var(--app-shell-max-width);
  --panel-bg: #ffffff;
  --panel-border: rgba(214, 164, 54, 0.22);
  --gold: #c69018;
  --gold-strong: #8a5d00;
  --text-muted: #756656;
  --accent: #d44a2f;
  --green: #2f9a5f;
  --blue: #3573d6;
  --red: #d85151;
  --top-sticky-height: 120px;
  --warm-bg: linear-gradient(180deg, #fff7e1 0%, #fff1ca 100%);
  --cool-bg: linear-gradient(180deg, #eef8ff 0%, #dfefff 100%);
  --accent-bg: linear-gradient(180deg, #fff2ef 0%, #ffe0d8 100%);
  --history-ball-red: radial-gradient(circle at 30% 28%, #ffffffeb 0%, #ffffffeb 18%, #fff0 20%), linear-gradient(180deg, #ff5a4d, #e71607 58%, #b81200);
  --history-ball-blue: radial-gradient(circle at 30% 28%, #ffffffeb 0%, #ffffffeb 18%, #fff0 20%), linear-gradient(180deg, #4db3ff, #2389e9 58%, #1565c0);
  --history-ball-green: radial-gradient(circle at 30% 28%, #ffffffeb 0%, #ffffffeb 18%, #fff0 20%), linear-gradient(180deg, #57d957, #1fb61d 58%, #128f12);
  --app-shell-gutter: 10px;
  --bottom-nav-height: 51px;
  --history-ball-size: clamp(34px, 9vw, 46px);
  --hero-banner-ratio: 30 / 9;
  --after-history-ad-ratio: 9 / 1.15;
}
* {
  box-sizing: border-box;
}
html,
body,
#app {
  min-height: 100%;
  margin: 0;
  width: 100%;
}
body {
  min-width: 320px;
  background: transparent;
  overflow-x: hidden;
}
html.home-booting .live-number-row.is-empty {
  color: transparent;
}
html.home-booting .live-number-row.is-empty span {
  visibility: hidden;
}
html.home-booting .home-reference-sections,
html.home-booting .boards-stack,
html.home-booting .home-hero,
html.home-booting .home-fixed-stack,
html.home-booting .home-floating-actions,
html.home-booting .floating-nav-root,
html.official-draw-loading .home-reference-sections {
  display: none !important;
}
/* 切彩种 / 底部资料加载时不隐藏对照表，避免滚到底部看不见 */
html.home-tab-loading .home-reference-sections.is-refreshing,
html.home-bottom-loading .home-reference-sections.is-refreshing {
  opacity: 0.55;
  pointer-events: none;
}
html.home-booting .top-sticky-shell {
  min-height: 100vh;
  background: #f7f8fb;
}
html.home-booting.app-initial-loading .app-shell {
  display: block !important;
  visibility: visible;
  pointer-events: auto;
}
html.app-initial-loading,
html.app-initial-loading body,
html.app-initial-loading #app {
  min-height: 100vh;
  background: #f7f8fb;
}
html.app-initial-loading .app-shell {
  display: none !important;
  visibility: hidden;
  pointer-events: none;
}
.app-initial-loading {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  background: #f7f8fb;
}
html:not(.app-initial-loading) #app-initial-loading {
  display: none !important;
}
.live-number-row-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
}
.official-balls-loading {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.94);
}
.official-balls-loading[hidden] {
  display: none !important;
}
.official-balls-loading--compact {
  gap: 6px;
}
.official-balls-loading--compact .official-loading-spinner {
  width: 26px;
  height: 26px;
  border-width: 3px;
}
.official-balls-loading--compact .official-loading-text {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
}
.hero-balls-row.is-loading,
.lottery-nums.is-loading {
  min-height: calc(var(--history-ball-size) + 22px);
}
.hero-balls-row.is-loading .hero-balls-grid,
.hero-balls-row.is-loading .hero-special-group,
.lottery-nums.is-loading .lottery-nums__ul {
  opacity: 0;
  pointer-events: none;
}
.live-number-row-wrap.is-loading {
  min-height: 42px;
}
.top-mini-result.is-draw-loading {
  position: relative;
  min-height: 48px;
}
.top-mini-result.is-draw-loading .live-issue-box,
.top-mini-result.is-draw-loading .live-number-row-wrap {
  visibility: hidden;
}
.top-mini-result.is-draw-loading .mini-draw-loading,
.top-mini-result.is-draw-loading .official-balls-loading--compact {
  position: absolute;
  inset: 0;
  z-index: 2;
}
.lottery-tai-wan.is-draw-loading .lottery-top,
.lottery-tai-wan.is-draw-loading .lottery-bottom {
  visibility: hidden;
}
.top-mini-result.is-draw-loading .live-issue-text,
.top-mini-result.is-draw-loading .live-lottery-name,
.top-mini-result.is-draw-loading .live-record-link,
.top-mini-result.is-draw-loading .live-record-button {
  visibility: hidden;
}
.mini-draw-loading {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 8px;
}
.mini-draw-loading[hidden] {
  display: none !important;
}
.mini-draw-loading__spinner {
  width: 26px;
  height: 26px;
  border: 3px solid rgba(0, 176, 96, 0.18);
  border-top-color: #00b060;
  border-radius: 50%;
  animation: official-loading-spin 0.75s linear infinite;
  box-sizing: border-box;
}
.mini-draw-loading__text {
  color: #00b060;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.loading-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 8px;
}
.loading-overlay[hidden] {
  display: none !important;
}
.loading-spinner {
  width: 45px;
  height: 45px;
  border: 4px solid rgba(0, 176, 96, 0.18);
  border-top-color: #00b060;
  border-radius: 50%;
  animation: official-loading-spin 0.75s linear infinite;
  box-sizing: border-box;
}
.loading-text {
  color: #00b060;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
}
.official-loading-spinner {
  width: 38px;
  height: 38px;
  border: 3px solid rgba(231, 22, 7, 0.16);
  border-top-color: #e71607;
  border-radius: 50%;
  animation: official-loading-spin 0.75s linear infinite;
}
.official-loading-spinner.is-macau {
  border-color: rgba(35, 137, 233, 0.16);
  border-top-color: #2389e9;
}
.official-loading-text {
  color: #666;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}
@keyframes official-loading-spin {
  to {
    transform: rotate(360deg);
  }
}
button {
  font: inherit;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
.app-shell {
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0 0
    calc(var(--bottom-nav-height) + 28px + env(safe-area-inset-bottom));
  overflow-x: hidden;
  box-sizing: border-box;
}
.app-main,
.page-stack,
.home-page,
.loading-panel {
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 0 auto;
  overflow-x: hidden;
  box-sizing: border-box;
}
.app-main {
  max-width: var(--app-shell-max-width);
}
.page-stack,
.home-page,
.loading-panel {
  max-width: var(--page-max-width);
  padding-inline: var(--app-shell-gutter);
}
.home-page {
  padding-top: var(--top-sticky-height);
  padding-inline: 0;
}
.home-page > :not(.top-sticky-shell):not(.home-hero):not(.home-fixed-stack) {
  margin-inline: var(--app-shell-gutter);
}
.home-fixed-stack {
  display: grid;
  gap: 0;
  margin-inline: 0 !important;
  margin-top: -12px;
}
.panel {
  border: 1px solid var(--panel-border);
  border-radius: 18px;
  background: var(--panel-bg);
  box-shadow: 0 12px 28px #8a5d0014;
}
.eyebrow {
  margin: 0 0 6px;
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
}
.loading-panel,
.placeholder-page,
.reference-slot,
.market-header,
.page-site-tabs,
.market-module {
  padding: 18px;
}
.home-load-state {
  display: grid;
  gap: 8px;
  margin: 16px var(--app-shell-gutter);
  padding: 18px;
  color: var(--text-muted);
}
.home-load-state strong {
  color: #302720;
  font-size: 1rem;
}
.home-load-state__retry {
  width: fit-content;
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  padding: 7px 12px;
  font-weight: 800;
  cursor: pointer;
}
.home-section-background-copy {
  min-height: 28px;
  padding: 6px 12px 10px;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 18px;
  text-align: center;
}
.home-section-load-sentinel {
  height: 1px;
}
.loading-panel,
.placeholder-page,
.empty-copy,
.muted {
  color: var(--text-muted);
}
.top-sticky-shell {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translate(-50%);
  z-index: 30;
  width: min(var(--page-max-width), 100vw);
  background: #fff;
  box-shadow: 0 12px 22px #00000014;
}
.top-brand-strip {
  overflow: hidden;
  min-height: 57px;
  height: 57px;
}
.brand-slot {
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand-slot.primary {
  width: 100%;
  height: 100%;
}
.brand-slot.secondary {
  flex: 0 0 auto;
  gap: 8px;
  justify-content: flex-end;
  padding: 0 10px;
  background: linear-gradient(180deg, #fff9d6, #ffe795);
  border-radius: 8px;
  min-height: 48px;
}
.brand-site-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
}
.brand-site-logo.custom {
  object-fit: fill;
}
.brand-channel-icon {
  width: 30px;
  height: 30px;
  object-fit: cover;
  border-radius: 50%;
  background: #fff;
}
.brand-wordmark,
.brand-copy strong {
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
}
.brand-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.brand-copy span {
  color: #302720a8;
  font-size: 0.68rem;
  font-weight: 700;
}
.brand-slot.secondary .brand-copy strong {
  color: #1f4f17;
  font-size: 0.92rem;
  white-space: nowrap;
}
.top-site-tabs {
  overflow-x: auto;
  overflow-y: hidden;
  background: #fff;
  scrollbar-width: none;
}
.top-site-tabs::-webkit-scrollbar {
  display: none;
}
.top-site-tabs-track {
  display: flex;
  min-width: max-content;
}
.top-site-tabs--equal .top-site-tabs-track {
  min-width: 100%;
}
.top-site-tab {
  flex: 0 0 auto;
  min-width: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 10px;
  border: 0;
  background: #ededed;
  color: #111;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
}
.top-site-tabs--equal .top-site-tab {
  flex: 1 1 0;
  min-width: 0;
  padding-inline: clamp(2px, 1vw, 4px);
  font-size: clamp(0.78rem, 2.9vw, 0.84rem);
}
.top-site-tabs--equal .top-site-tab span {
  overflow: hidden;
  text-overflow: ellipsis;
}
.top-site-tabs--equal .top-site-tab .market-site-name,
.top-site-tabs--equal .top-site-tab .gallery-site-name,
.top-site-tabs--equal .top-site-tab .history-site-name {
  text-overflow: clip;
}
.top-site-tabs--with-date .top-site-tab {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 54px;
  padding-top: 8px;
  padding-bottom: 9px;
}
.top-site-tabs--with-date .top-site-tab__name,
.top-site-tabs--with-date .top-site-tab__date {
  display: block;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}
.top-site-tabs--with-date .top-site-tab__name {
  font-size: clamp(12px, 3.8vw, 15px);
  line-height: 1.15;
}
.top-site-tabs--with-date .top-site-tab__date {
  min-height: 0.9rem;
  color: #222;
  font-size: clamp(10px, 3vw, 12px);
  font-weight: 700;
  line-height: 1.1;
}
.top-site-tab.active {
  background: #fff;
}
.home-page .top-site-tab {
  border-bottom: 3px solid transparent;
  box-sizing: border-box;
}
.home-page .top-site-tab.active[data-site-code="private_1030"] {
  border-bottom-color: #2196f3;
}
.home-page .top-site-tab.active[data-site-code="private_1130"] {
  border-bottom-color: #9c27b0;
}
.home-page .top-site-tab.active[data-site-code="official_macau"] {
  border-bottom-color: #3ea342;
}
.home-page .top-site-tab.active[data-site-code="official_hk"] {
  border-bottom-color: #e53935;
}
.top-site-tab img {
  width: 20px;
  height: 20px;
  object-fit: cover;
  border-radius: 50%;
}
.hk49-sticky-mini {
  background: #fff;
  padding: 4px 8px 6px;
  border-bottom: 1px solid rgba(0, 176, 96, 0.18);
  box-sizing: border-box;
  max-width: 100%;
  overflow: hidden;
}
.hk49-sticky-draw {
  background: #f5f5f5;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  padding-bottom: 4px;
  position: relative;
  z-index: 1;
  margin-top: 8px;
  max-width: 100%;
  overflow: hidden;
}
.hk49-sticky-draw .current-draws {
  margin: 0;
  padding: 0 2px;
}
.current-draws--xxc49 {
  padding: 0 2px !important;
  border-radius: 0;
  background: #f5f5f5;
  overflow: hidden;
  box-sizing: border-box;
  max-width: 100%;
}
.current-draws--xxc49 .iframe-conten {
  position: relative;
  overflow: hidden;
  background: #f5f5f5;
  height: 210px;
  max-width: 100%;
}
.xxc49-embed-frame,
.current-draws--xxc49 #lotterys-iframe,
.current-draws--xxc49 .iframe-box {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 210px;
  margin: 0 auto;
  border: 0;
  background: #f5f5f5;
  position: relative;
  z-index: 1;
}
@media (max-width: 480px) {
  .hk49-sticky-mini {
    padding: 4px 6px 6px;
  }
  .hk49-sticky-mini .live-issue-box {
    width: 94px;
    flex-basis: 94px;
    max-width: 94px;
  }
  .hk49-sticky-mini .live-refresh-cell {
    flex-basis: 34px;
  }
  .hk49-sticky-mini .live-refresh-button,
  .hk49-sticky-mini .live-record-button {
    font-size: 0.68rem;
  }
  .current-draws--xxc49 .iframe-conten,
  .xxc49-embed-frame,
  .current-draws--xxc49 #lotterys-iframe,
  .current-draws--xxc49 .iframe-box {
    height: 196px;
  }
}
/* 与 49tk .t60715-sticky-mini 小窗一致 */
.hk49-sticky-mini .top-mini-result {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 0;
  margin: 0;
  padding: 4px 6px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  background: #fff;
  border: 1px solid #00b060;
  border-radius: 8px;
  box-sizing: border-box;
  overflow: hidden;
}
.hk49-sticky-mini .top-mini-result.is-draw-loading {
  min-height: 48px;
}
.hk49-sticky-mini .top-mini-result.is-draw-loading .live-issue-box,
.hk49-sticky-mini .top-mini-result.is-draw-loading .live-number-row-wrap {
  visibility: hidden;
}
.hk49-sticky-mini .mini-draw-loading {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 8px;
}
.hk49-sticky-mini .mini-draw-loading[hidden] {
  display: none !important;
}
.hk49-sticky-mini .mini-draw-loading__spinner {
  width: 26px;
  height: 26px;
  border: 3px solid rgba(0, 176, 96, 0.18);
  border-top-color: #00b060;
  border-radius: 50%;
  animation: sticky-mini-spin 0.75s linear infinite;
  box-sizing: border-box;
}
.hk49-sticky-mini .mini-draw-loading__text {
  color: #00b060;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
@keyframes sticky-mini-spin {
  to { transform: rotate(360deg); }
}
.hk49-sticky-mini .live-issue-box {
  width: clamp(92px, 12vw, 108px);
  flex: 0 0 clamp(92px, 12vw, 108px);
  min-width: 0;
  max-width: clamp(92px, 12vw, 108px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #111;
  font-weight: 700;
  overflow: hidden;
  box-sizing: border-box;
}
.hk49-sticky-mini .live-lottery-name {
  margin: 0;
  width: 100%;
  max-width: 100%;
  text-align: center;
  font-size: clamp(0.78rem, 1.5vw, 0.9rem);
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
}
.hk49-sticky-mini .live-lottery-name .tab-title-marquee__inner {
  display: inline-block;
  position: relative;
  left: 0;
  white-space: nowrap;
  max-width: none;
}
.hk49-sticky-mini .live-lottery-name.is-marquee {
  overflow: hidden;
}
.hk49-sticky-mini .live-issue-text {
  margin: 0;
  width: 100%;
  max-width: 100%;
  text-align: center;
  font-size: clamp(0.78rem, 1.5vw, 0.9rem);
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #222;
}
.hk49-sticky-mini .live-number-row-wrap {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
}
.hk49-sticky-mini .live-number-row {
  flex: 1;
  display: flex;
  align-items: stretch;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  box-sizing: border-box;
}
.hk49-sticky-mini .live-number-row.is-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 0.88rem;
  border: 1px solid #ddd;
}
.hk49-sticky-mini .live-number-cell {
  flex: 1 1 0;
  display: flex;
  min-width: 0;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  border-left: 1px solid #ddd;
}
.hk49-sticky-mini .live-number-cell:last-child {
  border-right: 1px solid #ddd;
}
.hk49-sticky-mini .live-ball-face {
  width: 100%;
  display: grid;
}
.hk49-sticky-mini .live-ball-face.red .live-ball-number { background: #e71607; }
.hk49-sticky-mini .live-ball-face.blue .live-ball-number { background: #2389e9; }
.hk49-sticky-mini .live-ball-face.green .live-ball-number { background: #1fb61d; }
.hk49-sticky-mini .live-ball-face.blank .live-ball-number {
  background: #ececec;
  color: #222;
}
.hk49-sticky-mini .live-ball-face.blank .live-ball-zodiac {
  background: #f8f8f8;
  color: #333;
  font-size: 0.78rem;
}
.hk49-sticky-mini .live-ball-face.blank.has-status-text .live-ball-number {
  background: #f3f3f3;
  color: #222;
  font-size: 0.82rem;
  font-weight: 800;
}
.hk49-sticky-mini .live-ball-number,
.hk49-sticky-mini .live-ball-zodiac {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
}
.hk49-sticky-mini .live-ball-number { color: #fff; }
.hk49-sticky-mini .live-ball-zodiac {
  background: #fff;
  color: #333;
}
.hk49-sticky-mini .live-refresh-cell {
  flex: 0 0 40px;
  min-width: 0;
  border: 0;
}
.hk49-sticky-mini .live-refresh-stack {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.hk49-sticky-mini .live-refresh-button,
.hk49-sticky-mini .live-record-button {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  background: #ffef3a;
  color: #f30;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
}
.hk49-sticky-mini .live-record-button {
  background: #00b060;
  color: #fff;
  border-top: 1px solid rgba(0, 120, 64, 0.25);
}

.home-hero {
  display: grid;
  gap: 0;
  width: 100%;
}
.hero-banner {
  display: block;
  overflow: hidden;
  border-radius: 0;
  aspect-ratio: var(--hero-banner-ratio);
  position: relative;
}
.hero-banner--carousel {
  aspect-ratio: auto;
  border: 0;
  border-radius: 8px;
  margin: 8px 10px 0;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
}
.hero-banner .banner-swipe {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  width: 100%;
}
.hero-banner .banner-swipe__track {
  display: flex;
  height: 100%;
  transition-property: transform;
  will-change: transform;
}
.hero-banner .banner-swipe__item {
  position: relative;
  flex-shrink: 0;
  width: 100%;
}
.hero-banner .banner-slide--named {
  position: relative;
}
.hero-banner .banner-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: unset;
}
.hero-banner img,
.ad-strip-item img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}
.hero-banner--carousel img.banner-img {
  height: auto;
  object-fit: unset;
}
.hero-banner .banner-swipe__indicators {
  position: absolute;
  bottom: 8px;
  left: 50%;
  display: flex;
  transform: translateX(-50%);
  z-index: 3;
}
.hero-banner .banner-swipe__indicator {
  width: 6px;
  height: 6px;
  border-radius: 100%;
  background-color: #fff;
  opacity: 0.4;
  transition: opacity 0.2s ease;
}
.hero-banner .banner-swipe__indicator:not(:last-child) {
  margin-right: 6px;
}
.hero-banner .banner-swipe__indicator.is-active {
  opacity: 1;
}
.hero-banner__lottery-name {
  position: absolute;
  left: 9%;
  bottom: 20%;
  z-index: 2;
  display: inline-block;
  width: max-content;
  max-width: 58%;
  margin: 0;
  padding: 0;
  border: 0;
  font-family: "SimHei", "Heiti SC", "STHeiti", "Arial Black", sans-serif;
  font-size: clamp(33px, 9.5vw, 66px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0.04em;
  white-space: nowrap;
  pointer-events: none;
  color: transparent;
  -webkit-text-fill-color: transparent;
  background-color: transparent;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-font-smoothing: antialiased;
}
.hero-banner__lottery-name[data-site-code="private_1030"] {
  background-image: linear-gradient(
    180deg,
    #1e6fd4 0%,
    #3a95eb 32%,
    #6dbcf5 68%,
    #b5e4fc 100%
  );
  filter: drop-shadow(0 2px 3px rgba(30, 111, 212, 0.16));
}
.hero-banner__lottery-name[data-site-code="private_1130"] {
  background-image: linear-gradient(
    180deg,
    #6a1b9a 0%,
    #9c27b0 32%,
    #ba68c8 68%,
    #e1bee7 100%
  );
  filter: drop-shadow(0 2px 3px rgba(106, 27, 154, 0.16));
}
.hero-banner__lottery-name[data-site-code="official_macau"] {
  background-image: linear-gradient(
    180deg,
    #1b8a3e 0%,
    #2ecc71 32%,
    #58d68d 68%,
    #a9dfbf 100%
  );
  filter: drop-shadow(0 2px 3px rgba(27, 138, 62, 0.16));
}
.hero-banner__lottery-name[data-site-code="official_hk"] {
  background-image: linear-gradient(
    180deg,
    #b71c1c 0%,
    #e53935 32%,
    #ef5350 68%,
    #ffcdd2 100%
  );
  filter: drop-shadow(0 2px 3px rgba(183, 28, 28, 0.16));
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .hero-banner__lottery-name {
    background-image: none;
    filter: none;
  }
  .hero-banner__lottery-name[data-site-code="private_1030"] {
    -webkit-text-fill-color: #3a95eb;
    color: #3a95eb;
    text-shadow: 0 2px 3px rgba(30, 111, 212, 0.16);
  }
  .hero-banner__lottery-name[data-site-code="private_1130"] {
    -webkit-text-fill-color: #9c27b0;
    color: #9c27b0;
    text-shadow: 0 2px 3px rgba(106, 27, 154, 0.16);
  }
  .hero-banner__lottery-name[data-site-code="official_macau"] {
    -webkit-text-fill-color: #2ecc71;
    color: #2ecc71;
    text-shadow: 0 2px 3px rgba(27, 138, 62, 0.16);
  }
  .hero-banner__lottery-name[data-site-code="official_hk"] {
    -webkit-text-fill-color: #e53935;
    color: #e53935;
    text-shadow: 0 2px 3px rgba(183, 28, 28, 0.16);
  }
}
.hero-banner__lottery-name:empty,
.hero-banner__lottery-name[hidden] {
  display: none;
}
.lottery-tai-wan {
  --history-ball-size: clamp(40px, 11vw, 62px);
  padding: 16px 12px 12px;
  margin: 8px 10px 0;
  background: #ffffff;
  border: 1px solid #00b060;
  border-radius: 8px;
  box-sizing: border-box;
}
.lottery-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding: 0 4px;
}
.shortcut-card strong,
.section-heading,
.board-panel h3 {
  display: block;
  margin: 0;
}
.lottery-issue-title {
  margin: 0;
  min-width: 0;
  max-width: 100%;
  justify-self: start;
  color: #111827;
  font-size: clamp(1.02rem, 3.2vw, 1.18rem);
  font-weight: 900;
  line-height: 1.2;
  overflow: hidden;
  position: relative;
}
.lottery-issue-title__inner {
  display: inline-block;
  position: relative;
  left: 0;
  max-width: none;
  white-space: nowrap;
}
.lottery-countdown {
  margin: 0;
  justify-self: center;
  color: #f33;
  font-size: clamp(0.9rem, 2.8vw, 1.04rem);
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
  text-align: center;
}
.lottery-top-actions {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.lottery-history-link {
  padding: 0;
  background: transparent;
  color: #0a9b2d;
  border-radius: 0;
  font-size: clamp(0.9rem, 2.7vw, 1rem);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.shortcut-card p,
.feature-card span,
.feature-card-body p,
.board-panel-header span,
.gallery-entry span,
.footer-note {
  color: var(--text-muted);
}
.lottery-next-open {
  margin: 12px 0 0;
  width: 100%;
  text-align: center;
  font-size: clamp(0.92rem, 2.8vw, 1rem);
  font-weight: 900;
  line-height: 1.5;
  color: #f33;
}
.lottery-nums {
  position: relative;
  min-height: 100px;
  padding: 15px 10px;
  margin-bottom: 8px;
}
.lottery-nums__ul {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0 10px;
}
.lottery-nums__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 0;
  margin: 0 4px;
}
.plus-sign {
  font-size: 28px;
  font-weight: bold;
  color: #bbb;
  line-height: var(--history-ball-size);
  margin: 0 8px;
  align-self: center;
}
.lottery-num {
  width: var(--history-ball-size);
  height: var(--history-ball-size);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(18px, 5.4vw, 26px);
  font-weight: bold;
  color: #33455f;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
}
.lottery-num i {
  font-style: normal;
  position: relative;
  z-index: 1;
  margin-top: -4px;
  margin-left: 1px;
}
.lottery-num--red {
  background-image: url("../img/ball-red.png");
}
.lottery-num--blue {
  background-image: url("../img/ball-blue.png");
}
.lottery-num--green {
  background-image: url("../img/ball-green.png");
}
.lottery-num--loading,
.lottery-num--none {
  background-image: none;
  background:
    radial-gradient(circle at 30% 28%, #ffffffeb 0, #ffffffeb 18%, #fff0 20%),
    linear-gradient(180deg, #ececec, #c8c8c8 58%, #a8a8a8);
  color: #33455f;
  font-size: clamp(14px, 4vw, 20px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}
.lottery-animal {
  font-size: clamp(12px, 3vw, 16px);
  color: #333;
  font-style: normal;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  line-height: 1.3;
  min-height: 18px;
}
.lottery-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  margin: 0;
}
.marquee-strip {
  overflow: hidden;
  padding: 10px 14px;
  background: linear-gradient(90deg, #ffefbf, #fff7df);
}
.marquee-track {
  display: flex;
  gap: 24px;
  white-space: nowrap;
  color: var(--accent);
  font-weight: 700;
  animation: marquee-slide 18s linear infinite;
}
.shortcut-card {
  display: grid;
  gap: 10px;
  padding: 14px;
}
.shortcut-link {
  padding: 12px 14px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, #e53d2f, #c62d21);
  color: #fff;
  text-align: left;
  font-weight: 700;
  cursor: pointer;
}
.ad-strip,
.feature-grid,
.boards-stack {
  display: grid;
  gap: 12px;
}
.boards-stack {
  gap: 0;
}
.home-page > .boards-stack {
  margin-inline: 0 !important;
}
.boards-stack .footer-note {
  margin: 10px 0 0;
  border-radius: 6px;
  background: #fff;
}
.after-history-ad-stack {
  display: grid;
  gap: 0;
  margin-inline: 0;
}
.ad-strip {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.ad-strip-item {
  overflow: hidden;
  padding: 8px;
}
.ad-slot {
  display: block;
  overflow: hidden;
  padding: 0;
  border-radius: 0;
  text-decoration: none;
}
.after-history-ad-stack .ad-slot + .ad-slot {
  margin-top: 0;
}
.after-history-ad-stack .ad-slot {
  aspect-ratio: var(--after-history-ad-ratio);
}
.home-reference-channel-bar {
  display: block;
  position: relative;
  min-width: 0;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  min-height: 52px;
  padding: 11px 12px 20px;
  border-radius: 6px 6px 0 0;
  background: #ececec url("../img/6495ED.png") no-repeat center top;
  background-size: 100% 100%;
  color: #fff;
  font-size: clamp(1.18rem, 4.5vw, 1.72rem);
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  line-height: 1.2;
  text-align: center;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}
.home-reference-channel-bar .home-chrome-marquee__inner,
.home-history-cta .home-chrome-marquee__inner {
  display: inline-block;
  position: relative;
  left: 0;
  white-space: nowrap;
  max-width: none;
}
.home-reference-channel-bar.is-marquee,
.home-history-cta.is-marquee {
  overflow: hidden;
}
.home-reference-sections {
  width: 100%;
  max-width: none;
  gap: 0;
  margin-top: -12px;
  padding-inline: 0;
}
.home-page > .home-reference-sections {
  margin-inline: 0 !important;
}
.home-reference-sections > .home-reference-channel-bar + #reference-sections-root > .reference-slot:first-child,
.home-reference-sections
  > .home-reference-channel-bar
  + #reference-sections-root
  > .reference-slot:first-child
  > .panel-heading {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.home-fixed-stack > .home-fixed-network-ad {
  border-radius: 0;
  box-shadow: none;
}
.home-reference-sections > .ad-slot,
.home-reference-sections > .home-richtext-block,
.reference-list .ad-slot,
.reference-list .home-richtext-block,
.reference-nml .ad-slot,
.reference-nml .home-richtext-block,
.reference-number-grid .ad-slot,
.reference-number-grid .home-richtext-block {
  border: 0;
  box-shadow: none;
}
.reference-slot {
  display: grid;
  gap: 0;
}
.reference-slot .panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.reference-slot .panel-heading h3,
.reference-slot .panel-heading p {
  margin: 0;
}
.reference-slot .panel-note {
  color: var(--text-muted);
  font-size: 0.82rem;
  text-align: right;
}
.reference-arrange-note {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 10px;
  border-top: 1px solid rgba(0, 255, 51, 0.45);
  background: #fff;
  color: #080808;
  font-size: clamp(0.82rem, 3.4vw, 1rem);
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}
.reference-arrange-note__row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  max-width: 100%;
}
.reference-arrange-note__item {
  display: inline-block;
  white-space: nowrap;
  flex: 0 0 auto;
}
.reference-arrange-note * {
  color: inherit;
}
.reference-arrange-note .reference-arrange-note__label {
  color: #080808;
}
.reference-arrange-note .reference-arrange-note__value {
  color: #080808;
}
.reference-slot--nml_black_green .reference-arrange-note {
  border-right: 1px solid #00ff33;
  border-left: 1px solid #00ff33;
}
.reference-slot--plain_text_list,
.reference-slot--result_line_table,
.reference-slot--number_grid,
.reference-slot--elite_banner_list {
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 6px;
  background: #fff;
  box-shadow: none;
}
.reference-slot--plain_text_list .panel-heading,
.reference-slot--result_line_table .panel-heading,
.reference-slot--number_grid .panel-heading,
.reference-slot--elite_banner_list .panel-heading {
  justify-content: center;
  min-height: 48px;
  padding: 8px 10px;
  border-radius: 6px 6px 0 0;
  background: #ffbf00;
  color: #f00808;
  text-align: center;
}
.reference-slot--plain_text_list .eyebrow,
.reference-slot--plain_text_list .panel-note,
.reference-slot--result_line_table .eyebrow,
.reference-slot--result_line_table .panel-note,
.reference-slot--number_grid .eyebrow,
.reference-slot--number_grid .panel-note,
.reference-slot--elite_banner_list .eyebrow,
.reference-slot--elite_banner_list .panel-note {
  display: none;
}
.reference-slot--plain_text_list .panel-heading h3,
.reference-slot--result_line_table .panel-heading h3,
.reference-slot--number_grid .panel-heading h3,
.reference-slot--elite_banner_list .panel-heading h3 {
  font-size: clamp(1.14rem, 4vw, 1.45rem);
  font-weight: 900;
  line-height: 1.2;
}
.reference-slot--result_line_table .panel-heading,
.reference-slot--elite_banner_list .panel-heading {
  min-height: 46px;
  background: #f24a3d !important;
  color: #fff !important;
}
.reference-slot--number_grid .panel-heading {
  min-height: 44px;
  background: linear-gradient(135deg, #06c, #0052a3) !important;
  color: #fff !important;
}
.reference-slot--number_grid .panel-heading h3 {
  font-size: 1.25rem;
}
.reference-list {
  display: grid;
  gap: 10px;
}
.reference-card {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(214, 164, 54, 0.18);
  border-radius: 8px;
  background: #fff;
}
.reference-card h4,
.reference-card p {
  margin: 0;
}
.reference-card footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.82rem;
}
.reference-plain-list,
.reference-result-table-list,
.reference-elite-list {
  display: grid;
  gap: 0;
}
.reference-plain-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35em;
  min-height: 36px;
  padding: 3px 8px;
  border: 1px solid #d8eadb;
  border-top: 0;
  background: #fff;
  color: #080808;
  font-size: clamp(1rem, 3.5vw, 1.28rem);
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}
.reference-plain-card__issue,
.reference-plain-card__result {
  flex: 0 0 auto;
}
.reference-plain-card__content {
  flex: 0 1 auto;
  min-width: 0;
  color: #080808;
  overflow: hidden;
  text-overflow: ellipsis;
}
.reference-plain-card__result {
  color: #080808;
}
.reference-plain-card__result .gallery-token-text {
  color: #f00808;
}
.reference-plain-card__result .gallery-highlight-token,
.reference-plain-card__result .gallery-highlight-token .reference-result-status {
  background: #fff200;
  color: #f00808;
}
.reference-plain-card__issue {
  color: #080808;
}
.reference-plain-card__content .gallery-token-text {
  color: var(--reference-content-color, #f00808);
}
.gallery-token-text {
  color: var(--reference-content-color, #f00808);
}
.gallery-highlight-token {
  display: inline-block;
  padding: 0 2px;
  border-radius: 2px;
  background: #fff200;
  color: var(--reference-content-color, #f00808);
  font-weight: 900;
  line-height: 1.1;
}
.gallery-token-text .gallery-highlight-token {
  color: var(--reference-content-color, #f00808);
}
.reference-result-table {
  display: grid;
  grid-template-columns: 25% 47% 28%;
  min-height: 58px;
  border-right: 2px solid #9d9d9d;
  border-bottom: 2px solid #9d9d9d;
  border-left: 2px solid #9d9d9d;
  background: #fff;
  color: #080808;
  font-weight: 900;
  line-height: 1.15;
}
.reference-result-table:first-child {
  border-top: 2px solid #9d9d9d;
}
.reference-result-table__issue,
.reference-result-table__data,
.reference-result-table__result {
  box-sizing: border-box;
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  padding: 4px 6px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.reference-result-table__issue,
.reference-result-table__data {
  border-right: 2px solid #9d9d9d;
}
.reference-result-table__issue {
  font-size: clamp(1.04rem, 3.35vw, 1.26rem);
  color: #080808;
}
.reference-result-table__data {
  color: #080808;
  font-size: clamp(1.05rem, 4.8vw, 1.45rem);
}
.reference-result-table__result {
  font-size: clamp(1.04rem, 3.35vw, 1.26rem);
  color: #080808;
}
.reference-result-table__data .gallery-token-text {
  color: #080808;
}
.reference-result-table__data .reference-ds-body,
.reference-result-table__data .reference-ds-body .reference-ds-mark {
  color: #f00808;
}
.reference-result-table__data .reference-ds-body .gallery-highlight-token {
  background: #fff200;
  color: #f00808;
}
.reference-result-table__data--red,
.reference-result-table__data--red .reference-result-data-body,
.reference-result-table__data--red .gallery-token-text {
  color: #f00808;
}
.reference-result-table__data--red .gallery-highlight-token,
.reference-result-table__data--red .reference-result-data-body .gallery-highlight-token {
  background: #fff200;
  color: #f00808;
}
.reference-result-table__result .reference-result-prefix {
  color: #f00808;
}
.reference-result-table__result .reference-result-draw,
.reference-result-table__result .reference-result-status {
  color: #080808;
}
.reference-result-table__result .gallery-highlight-token,
.reference-result-table__result .gallery-highlight-token .reference-result-status {
  background: #fff200;
  color: #f00808;
}
.reference-slot--plain_text_list .reference-arrange-note,
.reference-slot--result_line_table .reference-arrange-note,
.reference-slot--elite_banner_list .reference-arrange-note {
  border-top: 1px solid #d8eadb;
}
@media (max-width: 420px) {
  .reference-result-table__issue,
  .reference-result-table__data,
  .reference-result-table__result {
    padding: 3px 4px;
  }
  .reference-result-table__issue {
    font-size: 0.98rem;
  }
  .reference-result-table__data {
    font-size: 1.16rem;
  }
  .reference-result-table__result {
    font-size: 0.94rem;
  }
}
@media (max-width: 380px) {
  .top-site-tabs--with-date .top-site-tab {
    min-height: 50px;
    padding-top: 7px;
    padding-bottom: 7px;
  }
  .reference-result-table__issue,
  .reference-result-table__data,
  .reference-result-table__result {
    padding: 2px 3px;
  }
  .reference-result-table__issue {
    font-size: 0.92rem;
  }
  .reference-result-table__data {
    font-size: 1.08rem;
  }
  .reference-result-table__result {
    font-size: 0.88rem;
  }
}
.reference-elite-card {
  display: grid;
  gap: 0;
  border-right: 1px solid #ececec;
  border-bottom: 1px solid #ececec;
  border-left: 1px solid #ececec;
  background: #fff;
  overflow: hidden;
}
.reference-elite-card:first-child {
  border-top: 1px solid #ececec;
}
.reference-elite-card__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 10px 12px 8px;
  color: #080808;
  font-size: clamp(1.12rem, 3.9vw, 1.34rem);
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
}
.reference-elite-card__issue {
  color: #080808;
}
.reference-elite-card__result {
  display: inline-flex;
  align-items: baseline;
  color: #080808;
  white-space: nowrap;
}
.reference-elite-card__result .gallery-token-text {
  color: #f00808;
}
.reference-elite-card__result .gallery-highlight-token,
.reference-elite-card__result .gallery-highlight-token .reference-result-status,
.reference-elite-card__result .reference-result-hit-token {
  background: #fff200 !important;
  color: #f00808 !important;
}
.reference-elite-card__result-main {
  color: #080808;
}
.reference-elite-card__body {
  display: block;
  padding: 0 12px 12px;
  color: #080808;
  font-size: clamp(1.14rem, 4.2vw, 1.42rem);
  font-weight: 900;
  line-height: 1.18;
  text-align: center;
  word-break: break-all;
}
.reference-elite-card__body .gallery-token-text {
  color: var(--reference-content-color, #f00808);
}
.reference-number-grid {
  display: grid;
  gap: 0;
  padding: 5px 0;
  background: #fff;
}
.reference-number-grid__item {
  display: grid;
  gap: 0;
  border-right: 1px solid #dddddd;
  border-left: 1px solid #dddddd;
}
.reference-number-grid__slogan {
  padding: 8px 10px;
  border-bottom: 2px solid #0066cc;
  background: linear-gradient(135deg, #e6f2ff, #9cf);
  color: #06c;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}
.reference-number-grid__row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) 104px;
  min-height: 33px;
  border-bottom: 1px solid #dddddd;
  line-height: 1;
}
.reference-number-grid__period,
.reference-number-grid__value,
.reference-number-grid__result {
  display: flex;
  min-width: 0;
  align-items: center;
  padding: 6px;
  overflow: hidden;
  white-space: nowrap;
}
.reference-number-grid__period,
.reference-number-grid__result {
  background: #9cf;
  color: #080808;
  font-size: 1rem;
  font-weight: 700;
}
.reference-number-grid__period {
  border-right: 1px solid #dddddd;
  justify-content: flex-start;
  text-align: left;
}
.reference-number-grid__value {
  justify-content: center;
  border-right: 1px solid #dddddd;
  background: #fff;
  color: #080808;
  font-size: 1.3rem;
  font-weight: 700;
  text-align: center;
}
.reference-number-grid__value .gallery-highlight-token {
  background: #fff200;
  color: #f00808;
}
.reference-number-grid__result {
  justify-content: center;
  text-align: center;
  color: #080808;
}
.reference-number-grid__result .reference-result-prefix,
.reference-number-grid__result .reference-result-draw,
.reference-number-grid__result .reference-result-status {
  color: #080808;
}
.reference-number-grid__result .gallery-highlight-token,
.reference-number-grid__result .gallery-highlight-token .reference-result-status {
  background: #fff200;
  color: #f00808;
}
.reference-slot--left_aligned_multiline_text {
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
}
.reference-left-multiline,
.reference-left-multiline__item {
  display: grid;
  gap: 0;
  background: #fff;
}
.reference-left-multiline__title {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 12px;
  margin: 0;
  padding: 8px 6px;
  background: #4472c4;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
}
.reference-left-multiline__title .gallery-token-text {
  color: #fff;
}
/* 蓝条命中：黄底红字 */
.reference-left-multiline__title .reference-left-multiline__result .gallery-highlight-token {
  background: #fff200;
  color: #f00808;
}
.reference-left-multiline__result,
.reference-left-multiline__slogan {
  display: inline-flex;
  align-items: center;
}
.reference-left-multiline__line {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: flex-start;
  gap: 0.35em;
  padding: 4px 6px;
  border-right: 1px solid #0070c0;
  border-bottom: 1px solid #0070c0;
  border-left: 1px solid #0070c0;
  background: #fff;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.25;
  text-align: left;
  word-break: break-all;
}
.reference-left-multiline__label {
  flex: 0 0 auto;
}
.reference-left-multiline__label,
.reference-left-multiline__value,
.reference-left-multiline__value .gallery-token-text {
  color: #080808;
}
.reference-left-multiline__value {
  min-width: 0;
}
.reference-left-multiline__value .gallery-highlight-token {
  background: #fff200;
  color: #f00808;
}
.reference-three-col-nine {
  display: grid;
  gap: 0;
  background: #ffc;
}
.reference-slot--three_col_nine_xiao_code {
  padding: 0;
  overflow: hidden;
  border-radius: 0;
}
.reference-three-col-nine__item {
  display: grid;
  gap: 0;
  background: #ffc;
}
.reference-three-col-nine__title {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin: 0;
  padding: 7px 6px;
  border: 1px solid #000000;
  border-bottom: 0;
  background: #ffd966;
  color: #000;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
}
.reference-three-col-nine__row {
  display: grid;
  grid-template-columns: 18% minmax(0, 59%) 23%;
  min-height: 44px;
  border: 1px solid #000000;
  border-bottom: 0;
  line-height: 1.1;
}
.reference-three-col-nine__item .reference-three-col-nine__row:last-child {
  border-bottom: 1px solid #000000;
}
.reference-three-col-nine__issue,
.reference-three-col-nine__content,
.reference-three-col-nine__result {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  padding: 5px 4px;
  overflow: hidden;
  text-align: center;
  white-space: nowrap;
  font-size: 20px;
  font-weight: 900;
}
.reference-three-col-nine__issue,
.reference-three-col-nine__result {
  background: #f4b183;
  color: #000;
}
.reference-three-col-nine__issue,
.reference-three-col-nine__content {
  border-right: 1px solid #000000;
}
.reference-three-col-nine__content {
  background: #ffc;
  color: #080808;
}
.reference-three-col-nine__content .gallery-token-text {
  color: #f00808;
}
.reference-three-col-nine__content .gallery-highlight-token {
  color: #f00808;
}
@media (max-width: 420px) {
  .reference-plain-card {
    gap: 0.3em;
    padding-inline: 6px;
  }
  .reference-plain-card__content {
    max-width: calc(100vw - 150px);
  }
  .gallery-highlight-token {
    padding-inline: 1px;
  }
  .reference-number-grid__row {
    grid-template-columns: 86px minmax(0, 1fr) 88px;
  }
  .reference-number-grid__period {
    font-size: 0.9rem;
  }
  .reference-number-grid__result {
    font-size: 0.8rem;
    padding: 5px 2px;
  }
  .reference-number-grid__value {
    font-size: clamp(0.88rem, 3.8vw, 1.1rem);
  }
  .reference-number-grid__slogan {
    padding: 5px 8px;
    font-size: 0.94rem;
  }
  .reference-three-col-nine__title {
    min-height: 40px;
    padding-inline: 4px;
  }
  .reference-three-col-nine__row {
    grid-template-columns: 18% minmax(0, 59%) 23%;
    min-height: 40px;
  }
  .reference-three-col-nine__issue,
  .reference-three-col-nine__content,
  .reference-three-col-nine__result {
    padding-inline: 3px;
  }
}
@media (max-width: 380px) {
  .reference-plain-card {
    gap: 0.24em;
    padding-inline: 4px;
    font-size: 0.94rem;
  }
  .reference-plain-card__content {
    max-width: calc(100vw - 132px);
  }
  .reference-number-grid__row {
    grid-template-columns: 82px minmax(0, 1fr) 84px;
  }
  .reference-number-grid__period {
    font-size: 0.8rem;
  }
  .reference-number-grid__result {
    font-size: 0.74rem;
    padding: 5px 2px;
  }
  .reference-number-grid__value {
    font-size: clamp(0.84rem, 3.5vw, 1.02rem);
  }
  .reference-three-col-nine__row {
    min-height: 36px;
  }
}
.issue-pill {
  color: var(--green);
  font-size: 0.86rem;
  font-weight: 800;
}
.reference-slot--nml_black_green {
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 6px;
  background: #050505;
  box-shadow: none;
}
.reference-slot--nml_black_green .panel-heading {
  justify-content: center;
  min-height: 48px;
  padding: 8px 10px;
  border-radius: 6px 6px 0 0;
  background: #ffbf00;
  color: #f00808;
  text-align: center;
}
.reference-slot--nml_black_green .eyebrow,
.reference-slot--nml_black_green .panel-note {
  display: none;
}
.reference-slot--nml_black_green .panel-heading h3 {
  font-size: clamp(1.18rem, 4.2vw, 1.55rem);
  font-weight: 900;
  line-height: 1.2;
}
.reference-nml {
  display: grid;
  gap: 0;
  border-right: 1px solid #00ff33;
  border-left: 1px solid #00ff33;
  background: #050505;
}
.reference-nml .ad-slot {
  border-top: 1px solid #00ff33;
  border-bottom: 1px solid #00ff33;
  background: #050505;
}
.reference-nml__title {
  padding: 14px 8px 12px;
  border-top: 1px solid #00ff33;
  border-bottom: 1px solid #00ff33;
  background: linear-gradient(180deg, #060606, #121212);
  color: #0f3;
  font-size: clamp(1.18rem, 4vw, 1.55rem);
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-shadow: 0 0 8px rgba(0, 255, 51, 0.32);
}
.reference-nml__item {
  display: grid;
  background: #050505;
  color: #0f3;
  font-weight: 900;
}
.reference-nml__item + .reference-nml__item {
  border-top: 1px solid #00ff33;
}
.reference-nml__headline,
.reference-nml__result {
  padding: 8px 6px;
  color: #0f3;
  font-size: clamp(1.05rem, 3.8vw, 1.32rem);
  line-height: 1.25;
  text-align: center;
}
.reference-nml__headline {
  border-bottom: 1px solid #00ff33;
  color: #00ff33;
}
.reference-nml__result {
  border-top: 1px solid #00ff33;
  color: #00ff33;
}
.reference-nml__result .gallery-highlight-token {
  color: #ff1010;
}
.reference-nml__columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.reference-nml__column + .reference-nml__column {
  border-left: 1px solid #00ff33;
}
.reference-nml__rows {
  display: grid;
  gap: 0;
}
.reference-nml__row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  min-height: 30px;
  padding: 0 5px;
  border-bottom: 1px solid #00ff33;
  line-height: 1.25;
}
.reference-nml__row--dual {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  padding: 0;
}
.reference-nml__pair {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  min-height: 30px;
  padding: 0 5px;
}
.reference-nml__pair + .reference-nml__pair {
  border-left: 1px solid #00ff33;
}
.reference-nml__row:last-child,
.reference-nml__row--dual:last-child {
  border-bottom: 0;
}
.reference-nml__label {
  color: #0f3;
  font-size: clamp(0.95rem, 3.4vw, 1.26rem);
  white-space: nowrap;
}
.reference-nml__value {
  min-width: 0;
  color: #f00808;
  font-size: clamp(0.95rem, 3.4vw, 1.26rem);
  word-break: break-all;
}
.reference-nml__value,
.reference-nml__value .gallery-token-text,
.reference-nml__value .gallery-highlight-token {
  color: #f00808;
}
.ad-slot img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}
.home-richtext-block {
  display: block;
  overflow: hidden;
  margin-inline: 0;
  border-radius: 0;
  text-decoration: none;
}
.home-richtext-block.is-domain {
  border: 0;
  box-shadow: none;
  border-radius: 0;
  background: #ff1e00;
}
.home-site-link-btns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 4px 8px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: linear-gradient(180deg, #fafafa 0%, #efefef 100%);
}
.home-site-link-btns + .home-fixed-network-ad + .home-domain-notice .home-domain-notice__text:first-child,
.home-site-link-btns + .home-domain-notice .home-domain-notice__text:first-child {
  padding-top: 4px;
}
.home-hero .lottery-tai-wan {
  border-bottom: 0;
  padding-bottom: 12px;
}
.home-site-link-btn {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 10px;
  color: #fff;
  font-family:
    "PingFang SC",
    "Microsoft YaHei",
    "Helvetica Neue",
    sans-serif;
  font-size: clamp(0.86rem, 3.5vw, 1rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.14em;
  text-indent: 0.14em;
  text-align: center;
  text-decoration: none;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  -webkit-font-smoothing: antialiased;
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.28),
    0 2px 6px rgba(0, 0, 0, 0.34),
    0 0 1px rgba(0, 0, 0, 0.5);
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.16),
    inset 0 -2px 0 rgba(0, 0, 0, 0.1);
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    filter 0.16s ease,
    text-shadow 0.16s ease;
  -webkit-tap-highlight-color: transparent;
}
.home-site-link-btn:active {
  transform: translateY(1px) scale(0.985);
  filter: brightness(0.97);
}
.home-site-link-btn--syncing {
  opacity: 0.82;
  pointer-events: none;
}
@media (hover: hover) {
  .home-site-link-btn:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
  }
}
.home-site-link-btn--1 {
  background: linear-gradient(180deg, #64b5f6 0%, #2196f3 52%, #1976d2 100%);
  box-shadow:
    0 4px 12px rgba(33, 150, 243, 0.38),
    inset 0 -2px 0 rgba(0, 0, 0, 0.1);
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.26),
    0 2px 8px rgba(13, 71, 161, 0.55),
    0 0 10px rgba(187, 222, 251, 0.42);
}
.home-site-link-btn--2 {
  background: linear-gradient(180deg, #66bb6a 0%, #3ea342 52%, #2e7d32 100%);
  box-shadow:
    0 4px 12px rgba(62, 163, 66, 0.38),
    inset 0 -2px 0 rgba(0, 0, 0, 0.1);
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.26),
    0 2px 8px rgba(27, 94, 32, 0.5),
    0 0 10px rgba(200, 230, 201, 0.38);
}
.home-site-link-btn--3 {
  background: linear-gradient(180deg, #ff6b6b 0%, #e53935 52%, #c62828 100%);
  box-shadow:
    0 4px 12px rgba(229, 57, 53, 0.38),
    inset 0 -2px 0 rgba(0, 0, 0, 0.1);
  text-shadow:
    0 1px 0 rgba(0, 0, 0, 0.26),
    0 2px 8px rgba(183, 28, 28, 0.52),
    0 0 10px rgba(255, 205, 210, 0.38);
}
@media (hover: hover) {
  .home-site-link-btn--1:hover {
    box-shadow:
      0 6px 16px rgba(33, 150, 243, 0.44),
      inset 0 -2px 0 rgba(0, 0, 0, 0.1);
    text-shadow:
      0 1px 0 rgba(0, 0, 0, 0.24),
      0 2px 10px rgba(13, 71, 161, 0.62),
      0 0 14px rgba(187, 222, 251, 0.55);
  }
  .home-site-link-btn--2:hover {
    box-shadow:
      0 6px 16px rgba(62, 163, 66, 0.44),
      inset 0 -2px 0 rgba(0, 0, 0, 0.1);
    text-shadow:
      0 1px 0 rgba(0, 0, 0, 0.24),
      0 2px 10px rgba(27, 94, 32, 0.58),
      0 0 14px rgba(200, 230, 201, 0.48);
  }
  .home-site-link-btn--3:hover {
    box-shadow:
      0 6px 16px rgba(229, 57, 53, 0.44),
      inset 0 -2px 0 rgba(0, 0, 0, 0.1);
    text-shadow:
      0 1px 0 rgba(0, 0, 0, 0.24),
      0 2px 10px rgba(183, 28, 28, 0.6),
      0 0 14px rgba(255, 205, 210, 0.48);
  }
}
@media (max-width: 380px) {
  .home-site-link-btns {
    gap: 5px;
    padding: 4px 6px;
  }
  .home-site-link-btn {
    min-height: 36px;
    padding: 5px 6px;
    border-radius: 8px;
    font-size: clamp(0.8rem, 3.2vw, 0.92rem);
    letter-spacing: 0.12em;
    text-indent: 0.12em;
  }
}
.home-domain-notice .home-richtext-block__content {
  word-break: normal;
  overflow-x: auto;
  scrollbar-width: none;
}
.home-domain-notice .home-richtext-block__content::-webkit-scrollbar {
  display: none;
}
.home-domain-notice__text,
.home-domain-notice [data-domain-text] {
  color: #ffe600;
  font-size: clamp(1.18rem, 4.5vw, 1.72rem);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  padding: 10px 12px;
  white-space: nowrap;
}
.home-domain-notice__text + .home-domain-notice__text {
  padding-top: 10px;
}
.home-promo-notice,
.home-richtext-block.is-promo {
  display: none !important;
}
.home-richtext-block.is-content {
  margin-inline: 0;
  padding: 0;
  border: 1px solid rgba(161, 117, 26, 0.14);
  border-radius: 6px;
  background: linear-gradient(180deg, #fffef8, #fff5d9);
  color: #2b2416;
}
.home-richtext-block__content {
  width: 100%;
  line-height: 1.7;
  overflow-x: auto;
  overflow-y: hidden;
  word-break: break-word;
}
.home-richtext-block.is-content .home-richtext-block__content img {
  display: block;
  max-width: 100% !important;
  width: 100% !important;
  height: auto !important;
  margin: 0;
}
.home-richtext-block.is-content .home-richtext-block__content table {
  width: auto !important;
  max-width: 100% !important;
  margin-inline: auto;
  border-collapse: collapse;
}
.home-richtext-block.is-content .home-richtext-block__content th,
.home-richtext-block.is-content .home-richtext-block__content td {
  min-width: 64px;
  padding: 6px 8px;
  word-break: break-word;
  white-space: normal;
}
.home-richtext-block.is-content .home-richtext-block__content * {
  max-width: 100%;
}
.home-richtext-block__content > :first-child {
  margin-top: 0;
}
.home-richtext-block__content > :last-child {
  margin-bottom: 0;
}
.home-history-cta {
  display: block;
  position: relative;
  margin-inline: 0;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(96, 165, 250, 0.55);
  background: linear-gradient(135deg, #7dd3fc 0%, #3b82f6 42%, #2563eb 72%, #1d4ed8 100%);
  box-shadow:
    0 4px 14px rgba(37, 99, 235, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  color: #fff;
  font-size: clamp(1.18rem, 4.5vw, 1.72rem);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  min-width: 0;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    filter 0.15s ease;
}
.home-history-cta:hover {
  filter: brightness(1.05);
  box-shadow:
    0 6px 18px rgba(37, 99, 235, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
.home-history-cta:active {
  transform: translateY(1px);
}
.section-heading {
  margin: 2px 2px 0;
  color: #8a5d00;
  font-size: 1.05rem;
}
.feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.feature-card {
  display: grid;
  gap: 10px;
  padding: 14px;
}
.feature-card.warm {
  background: var(--warm-bg);
}
.feature-card.cool {
  background: var(--cool-bg);
}
.feature-card.accent {
  background: var(--accent-bg);
}
.feature-card header p,
.feature-card header span {
  margin: 0;
}
.feature-card header p {
  font-weight: 800;
}
.feature-card-body {
  display: grid;
  gap: 8px;
}
.feature-card-body p {
  margin: 0;
  font-size: 0.92rem;
}
.feature-card-body ul,
.board-list {
  margin: 0;
  padding-left: 18px;
}
.feature-card-body li,
.board-list li {
  margin: 0 0 4px;
}
.board-panel,
.gallery-entry,
.footer-note {
  padding: 14px;
}
.app-shell.view-home .market-page,
.app-shell.view-home .gallery-page,
.app-shell.view-home .history-page {
  display: none !important;
}
.app-shell.view-market .home-page,
.app-shell.view-market .home-floating-actions,
.app-shell.view-market .gallery-page,
.app-shell.view-market .history-page {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
.app-shell.view-gallery .home-page,
.app-shell.view-gallery .home-floating-actions,
.app-shell.view-gallery .market-page,
.app-shell.view-gallery .history-page {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
.app-shell.view-history .home-page,
.app-shell.view-history .home-floating-actions,
.app-shell.view-history .market-page,
.app-shell.view-history .gallery-page {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
.app-shell.view-market .market-page {
  display: grid !important;
}
.app-shell.view-gallery .gallery-page {
  display: grid !important;
}
.app-shell.view-history .history-page {
  display: block !important;
}
.app-shell.view-history {
  background: #f5f5f5;
}
.app-shell:not(.view-market) .market-sidebar-inner {
  display: none !important;
}
.app-shell.view-market .app-main,
.app-shell.view-gallery .app-main,
.app-shell.view-history .app-main {
  max-width: var(--app-shell-max-width);
}
.app-shell.view-market,
.app-shell.view-gallery,
.app-shell.view-history {
  padding-top: 0;
}
.market-page {
  --market-topbar-height: 74px;
  --market-tabs-height: 50px;
  --market-sticky-height: calc(
    var(--market-topbar-height) + var(--market-tabs-height)
  );
  padding-top: var(--market-sticky-height);
  padding-inline: 0;
  gap: 0;
  max-width: var(--app-shell-max-width);
}
.market-shell {
  display: grid;
  gap: 0;
  background: #f5f5f5;
}
.market-sticky-shell {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translate(-50%);
  z-index: 35;
  width: min(var(--page-max-width), 100vw);
  background: #fff;
  box-shadow: 0 10px 20px #00000014;
}
.market-topbar {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--market-topbar-height);
  padding: 10px 16px 8px;
  background: linear-gradient(180deg, #44ae47, #3ea342);
  color: #fff;
  text-align: center;
}
.market-topbar h2,
.placeholder-page h2 {
  margin: 0;
}
.market-topbar h2 {
  font-size: clamp(1.35rem, 3.7vw, 1.8rem);
  font-weight: 900;
  letter-spacing: 0.04em;
}
.market-site-tabs .top-site-tabs-track {
  width: 100%;
}
.market-site-tab {
  align-items: center;
  justify-content: center;
  min-height: var(--market-tabs-height);
  min-width: 0;
  padding: 6px 10px;
  background: #f3f3f3;
  font-size: 0.94rem;
  white-space: nowrap;
  overflow: hidden;
  border-bottom: 3px solid transparent;
}
.market-site-tab.active {
  background: #fff;
  color: #3ea342;
  font-weight: 800;
  border-bottom-color: #3ea342;
}
.market-site-name {
  display: block;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}
.market-site-name .history-name-marquee__inner {
  display: inline-block;
  position: relative;
  left: 0;
  white-space: nowrap;
  max-width: none;
}
.market-stage {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 10px;
}
.market-sidebar {
  min-width: 0;
}
.market-sidebar-inner {
  position: fixed;
  top: calc(var(--market-sticky-height) + 10px);
  left: calc(50% - (min(var(--page-max-width), 100vw) / 2) + 10px);
  z-index: 20;
  width: 88px;
  display: grid;
  gap: 0;
  max-height: calc(
    100vh - var(--market-sticky-height) - var(--bottom-nav-height) - 24px -
      env(safe-area-inset-bottom)
  );
  overflow-y: auto;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0 0 14px 14px;
  background: #fff;
}
.market-category-group + .market-category-group {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.market-category-title {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 6px;
  color: #2a2a2a;
  font-size: 0.9rem;
  text-align: center;
}
.market-category-title strong {
  display: inline-block;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
.market-category-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
}
.market-category-toggle:focus-visible {
  outline: 2px solid rgba(81, 179, 87, 0.45);
  outline-offset: 2px;
}
.market-category-toggle-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 12px;
  color: #7d7d7d;
}
.market-category-toggle-icon svg {
  display: block;
  width: 12px;
  height: 12px;
}
.market-category-group.is-collapsed .market-category-item {
  display: none;
}
.market-category-item {
  width: 100%;
  min-height: 46px;
  padding: 8px 6px;
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  background: #fff;
  color: #4f4f4f;
  font-size: 0.88rem;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
}
.market-category-item.active {
  background: #eef8ef;
  color: #51b357;
  box-shadow: inset 3px 0 #51b357;
}
.market-sidebar-empty {
  padding: 16px 10px;
  color: var(--text-muted);
  font-size: 0.82rem;
  text-align: center;
}
.market-feed {
  display: grid;
  gap: 12px;
  min-width: 0;
}
.market-state {
  padding: 22px 18px;
  color: var(--text-muted);
  text-align: center;
}
.market-post-card {
  display: grid;
  gap: 12px;
  padding: 16px 16px 14px;
  border-radius: 18px;
  background: #fff;
  box-shadow:
    0 12px 28px #00000014,
    inset 0 1px #ffffffe6;
}
.market-post-header {
  display: flex;
  align-items: center;
  gap: 14px;
}
.market-avatar {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-size: 1.7rem;
  font-weight: 900;
  box-shadow: inset 0 1px #ffffff3d;
}
.market-post-meta {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.market-post-meta strong {
  color: #262626;
  font-size: 1rem;
  font-weight: 900;
}
.market-post-meta span {
  color: #5f5f5f;
  font-size: 0.9rem;
}
.market-post-tags {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-width: 0;
}
.market-post-tags .tag {
  display: inline-flex;
  box-sizing: border-box;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}
.market-post-tags .tag.issue {
  background: #ffe0df;
  color: #ff4d3e;
  flex: 1 1 auto;
  min-width: 0;
}
.market-post-tags .tag.parent {
  background: #e3efe0;
  color: #5eb86a;
}
.market-post-tags .tag.child {
  background: #fbeccf;
  color: #f4a228;
}
.market-post-content {
  padding: 16px 14px;
  border-radius: 8px;
  background: #f6f6f6;
  color: #1f6bd4;
  font-size: clamp(1.05rem, 2.6vw, 1.28rem);
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: 0.09em;
  text-align: center;
  word-break: normal;
  overflow-wrap: normal;
}
.market-post-content--grouped {
  white-space: pre-line;
  line-height: 1.6;
  word-break: normal;
  overflow-wrap: normal;
}
.market-post-content--single {
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
}
.market-post-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  color: #646464;
  font-size: 0.92rem;
}
span.market-post-like {
  display: none;
}
.market-post-like-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #202020;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    background-color 0.22s ease,
    color 0.22s ease,
    box-shadow 0.22s ease;
}
.market-post-like-button:hover {
  background: #ffa60014;
}
.market-post-like-button.active {
  background: linear-gradient(180deg, #ffb433, #ff9d00);
  color: #fff;
  box-shadow: 0 10px 22px #ff9d003d;
}
.market-post-like-button.bump {
  animation: market-like-pop 0.42s ease;
}
.market-post-like-icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
  flex: 0 0 auto;
  transition:
    fill 0.22s ease,
    stroke 0.22s ease,
    transform 0.22s ease;
}
.market-post-like-button.active .market-post-like-icon {
  fill: currentColor;
}
.market-post-like-button.bump .market-post-like-icon {
  transform: scale(1.12);
}
.market-post-like-count {
  line-height: 1;
}
.market-post-like-burst {
  position: absolute;
  left: 50%;
  bottom: calc(100% - 4px);
  color: #ff9d00;
  font-size: 0.84rem;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
  transform: translate(-50%, 8px);
  animation: market-like-float 0.56s ease forwards;
}
.market-post-source {
  color: #7d6f6f;
}
.market-like-toast {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 80;
  width: min(520px, 100vw - 64px);
  padding: 18px 28px;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffaf1f, #ff9800);
  box-shadow: 0 14px 30px #0000002e;
  color: #3d2200;
  font-size: clamp(1.02rem, 2.2vw, 1.28rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-align: left;
  pointer-events: none;
  transform: translate(-50%, -50%);
  animation: market-like-toast-in 1.6s ease forwards;
}
.market-load-more {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 4px 0 2px;
  color: var(--text-muted);
  font-size: 0.88rem;
}
.market-more-button {
  min-width: 140px;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(63, 149, 67, 0.28);
  border-radius: 999px;
  background: linear-gradient(180deg, #fff, #edf8ef);
  color: #348a3a;
  font-weight: 800;
  cursor: pointer;
}
.gallery-page {
  --gallery-topbar-height: 74px;
  --gallery-tabs-height: 50px;
  --gallery-sticky-height: calc(
    var(--gallery-topbar-height) + var(--gallery-tabs-height)
  );
  padding-top: var(--gallery-sticky-height);
  padding-inline: 0;
  gap: 0;
  max-width: var(--app-shell-max-width);
}
.gallery-shell {
  display: grid;
  gap: 0;
  background: #f5f5f5;
}
.gallery-sticky-shell {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translate(-50%);
  z-index: 35;
  width: min(var(--page-max-width), 100vw);
  background: #fff;
  box-shadow: 0 10px 20px #00000014;
}
.gallery-topbar {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--gallery-topbar-height);
  padding: 10px 16px 8px;
  background: linear-gradient(180deg, #44ae47, #3ea342);
  color: #fff;
  text-align: center;
}
.gallery-topbar h2 {
  margin: 0;
  font-size: clamp(1.35rem, 3.7vw, 1.8rem);
  font-weight: 900;
  letter-spacing: 0.04em;
}
.gallery-site-tabs .top-site-tabs-track {
  width: 100%;
}
.gallery-site-tab {
  align-items: center;
  justify-content: center;
  min-height: var(--gallery-tabs-height);
  min-width: 0;
  padding: 6px 10px;
  background: #f3f3f3;
  font-size: 0.94rem;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  border-bottom: 3px solid transparent;
}
.gallery-site-tab.active {
  background: #fff;
  color: #3ea342;
  border-bottom-color: #3ea342;
}
.gallery-site-name {
  display: block;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  line-height: 1.25;
}
.gallery-site-name .history-name-marquee__inner {
  display: inline-block;
  position: relative;
  left: 0;
  white-space: nowrap;
  max-width: none;
}
.gallery-stage {
  padding: 12px var(--app-shell-gutter) calc(var(--bottom-nav-height) + 16px);
}
.gallery-grid {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.gallery-grid-col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.gallery-card {
  display: block;
  width: 100%;
  margin: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid #eee;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  background: #fff;
  touch-action: manipulation;
}
.gallery-card.is-previewable {
  cursor: zoom-in;
}
.gallery-card.is-previewable:active {
  opacity: 0.92;
}
.gallery-card__media {
  position: relative;
  background: #f5f5f5;
  min-height: 80px;
  display: block;
}
.gallery-card__media.is-empty {
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 0.88rem;
  font-weight: 700;
}
.gallery-card__img {
  display: block;
  width: 100%;
  height: auto;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}
.gallery-card__meta {
  padding: 8px 10px 10px;
  text-align: center;
}
.gallery-card__title {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.4;
  font-weight: 700;
  color: #333;
  word-break: break-all;
}
.gallery-state {
  flex: 1 1 100%;
  width: 100%;
  margin-bottom: 12px;
  padding: 18px;
  text-align: center;
  color: var(--text-muted);
}
.gallery-load-more {
  display: block;
  width: 100%;
  margin: 8px 0 4px;
  text-align: center;
  padding: 4px 0;
}
.gallery-load-sentinel {
  width: 100%;
  height: 24px;
}
.gallery-load-more.is-loading {
  padding: 10px 0 6px;
}
.gallery-load-more__text {
  display: block;
  padding: 8px 0 4px;
  color: var(--text-muted);
  font-size: 0.86rem;
}
body.gallery-lightbox-open {
  overflow: hidden;
}
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.gallery-lightbox[hidden] {
  display: none !important;
}
.gallery-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
}
.gallery-lightbox__panel {
  position: relative;
  z-index: 1;
  width: min(1200px, 96vw);
  max-height: 96vh;
  overflow: auto;
  padding: 20px;
  border-radius: 12px;
  background: #fff;
}
.gallery-lightbox__close {
  position: absolute;
  top: 8px;
  right: 12px;
  z-index: 2;
  border: 0;
  background: none;
  color: #666;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.gallery-lightbox__title {
  margin: 0 32px 12px 0;
  font-size: 1rem;
  line-height: 1.4;
  color: #222;
}
.gallery-lightbox__img-wrap {
  position: relative;
  text-align: center;
  border-radius: 8px;
  background: #f5f5f5;
}
.gallery-lightbox__img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: min(85vh, 900px);
  height: auto;
  margin: 0 auto;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
.gallery-lightbox__img.is-preview {
  image-rendering: auto;
}
.gallery-lightbox__img-wrap.is-loading-full::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(0, 0, 0, 0.12);
  border-top-color: #07c160;
  border-radius: 50%;
  animation: gallery-lightbox-spin 0.7s linear infinite;
  pointer-events: none;
}
@keyframes gallery-lightbox-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (max-width: 480px) {
  .gallery-page {
    --gallery-topbar-height: 68px;
    --gallery-tabs-height: 46px;
  }
  .gallery-site-tab {
    min-height: var(--gallery-tabs-height);
    font-size: 0.88rem;
  }
}
.board-panel.gold {
  background: linear-gradient(180deg, #fff9ea, #fff1cb);
}
.board-panel.green {
  background: linear-gradient(180deg, #f2fff7, #e0f9ea);
}
.board-panel-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
  margin-bottom: 12px;
}
.board-panel-header h3 {
  font-size: 1rem;
}
.gallery-entry {
  border: 0;
  text-align: left;
  background: linear-gradient(180deg, #fff, #fffaf1);
  cursor: pointer;
}
.footer-note {
  font-size: 0.88rem;
  line-height: 1.7;
}
.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(var(--app-shell-max-width), 100vw);
  gap: 0;
  margin: 0 auto;
  padding: 0 0 env(safe-area-inset-bottom);
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: 0 -2px 10px #0000001a;
}
.bottom-nav .nav-item {
  min-height: 51px;
  border-radius: 0;
}
.bottom-nav .nav-item.active {
  background: #fff;
  color: #0c4;
}
.history-page {
  --history-topbar-height: 74px;
  --history-tabs-height: 50px;
  --history-sticky-height: calc(
    var(--history-topbar-height) + var(--history-tabs-height)
  );
  padding-top: var(--history-sticky-height);
  padding-inline: 0;
  gap: 0;
  max-width: var(--app-shell-max-width);
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
.app-shell.view-history,
.app-shell.view-history .history-page,
.app-shell.view-history .history-shell,
.app-shell.view-history .history-list {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}
.app-shell.view-history img {
  -webkit-user-drag: none;
  pointer-events: none;
}
.as-shield {
  display: inline;
  font: inherit;
  color: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  white-space: inherit;
  line-height: inherit;
}
.history-shell {
  display: grid;
  gap: 0;
  background: #f5f5f5;
}
.history-sticky-shell {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translate(-50%);
  z-index: 35;
  width: min(var(--page-max-width), 100vw);
  background: #fff;
  box-shadow: 0 10px 20px #00000014;
}
.history-topbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--history-topbar-height);
  height: var(--history-topbar-height);
  padding: 0 12px;
  background: linear-gradient(180deg, #44ae47, #3ea342);
  color: #fff;
  text-align: center;
  box-sizing: border-box;
}
.history-back-btn {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 5px 8px 5px 4px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
}
.history-back-btn:hover,
.history-back-btn:focus-visible {
  background: rgba(255, 255, 255, 0.28);
  outline: none;
}
.history-back-btn:active {
  transform: translateY(calc(-50% + 1px));
  background: rgba(255, 255, 255, 0.22);
}
.history-back-btn__icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  display: block;
}
.history-back-btn__text {
  letter-spacing: 0.04em;
}
.history-topbar h2 {
  margin: 0;
  font-size: clamp(1.35rem, 3.7vw, 1.8rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.2;
}
.history-site-tabs .top-site-tabs-track {
  width: 100%;
}
.history-site-tab {
  align-items: center;
  justify-content: center;
  min-height: var(--history-tabs-height);
  padding: 6px 10px;
  background: #f3f3f3;
  font-size: 0.94rem;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
}
.history-site-tab.active {
  background: #fff;
  color: #3ea342;
  font-weight: 800;
  border-bottom-color: #3ea342;
}
.history-site-name {
  display: block;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}
.history-site-name .history-name-marquee__inner {
  display: inline-block;
  position: relative;
  left: 0;
  white-space: nowrap;
  max-width: none;
}
.history-stage {
  padding: 0 0 calc(var(--bottom-nav-height) + 16px + env(safe-area-inset-bottom));
}
.history-list {
  margin-top: 0;
  padding: 0;
}
.history-item {
  display: grid;
  gap: 12px;
  padding: 14px 14px 16px;
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
}
.history-item .item-left {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  width: 100%;
}
.history-item .item-right {
  min-width: 0;
  display: block;
}
.item-date {
  flex: 0 0 auto;
  margin: 0;
  color: #999;
  font-size: 12px;
  line-height: 14px;
}
.item-channel-label {
  flex: 1 1 auto;
  min-width: 0;
  color: #333;
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}
.item-channel-label .history-name-marquee__inner {
  display: inline-block;
  position: relative;
  left: 0;
  white-space: nowrap;
  max-width: none;
}
.item-issue {
  flex: 0 0 auto;
  color: #333;
  font-size: 15px;
  font-weight: 700;
  line-height: 18px;
}
.numbers-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(8px, 2vw, 16px);
  width: 100%;
  min-width: 0;
}
.numbers-grid {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(6px, 1.8vw, 12px);
}
.special-number-group {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
  gap: clamp(4px, 1.4vw, 8px);
}
.number-item {
  width: auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.number-circle {
  width: var(--history-ball-size);
  height: var(--history-ball-size);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  border-radius: 50%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
}
.number-text {
  color: #33455f;
  font-size: clamp(18px, 4.8vw, 21px);
  font-weight: 700;
  line-height: 1;
}
.number-info {
  display: flex;
  justify-content: center;
  width: var(--history-ball-size);
}
.info-row {
  color: #5d6980;
  font-size: clamp(11px, 2.9vw, 12px);
  line-height: 1.2;
  font-weight: 500;
  white-space: nowrap;
}
.plus-sign {
  flex: 0 0 auto;
  width: clamp(10px, 3vw, 16px);
  height: var(--history-ball-size);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  color: #bbb;
  font-size: clamp(18px, 4vw, 20px);
  font-weight: 700;
  line-height: 1;
}
.history-wave-red {
  background-image: var(--history-ball-red);
}
.history-wave-blue {
  background-image: var(--history-ball-blue);
}
.history-wave-green {
  background-image: var(--history-ball-green);
}
.history-list .number-circle.history-wave-red {
  background-image: url("../img/ball-red.png");
  background-size: 100% 100%;
}
.history-list .number-circle.history-wave-blue {
  background-image: url("../img/ball-blue.png");
  background-size: 100% 100%;
}
.history-list .number-circle.history-wave-green {
  background-image: url("../img/ball-green.png");
  background-size: 100% 100%;
}
.history-wave-empty {
  background:
    radial-gradient(circle at 30% 28%, #ffffffeb 0, #ffffffeb 18%, #fff0 20%),
    linear-gradient(180deg, #ececec, #c8c8c8 58%, #a8a8a8);
}
.history-loading-copy,
.history-empty-copy {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  color: #8a8a8a;
  font-size: 13px;
}
.history-scroll-sentinel {
  width: 100%;
  height: 1px;
  pointer-events: none;
}
.bottom-nav a.nav-item {
  text-decoration: none;
}
.nav-item {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 2px;
  padding: 4px 8px 3px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #666;
  cursor: pointer;
}
.nav-item.active {
  background: #fff;
  color: #0c4;
}
.nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  color: var(--nav-icon-color, #64b5f6);
}
.nav-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}
.nav-item.active .nav-icon svg {
  width: 28px;
  height: 28px;
}
.nav-label {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.1;
}
.nav-item.active .nav-label {
  font-weight: 900;
}
@media (max-width: 720px) {
  .feature-grid,
  .ad-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .board-panel-header {
    display: grid;
    gap: 6px;
    align-items: start;
  }
}
@media (max-width: 420px) {
  .lottery-tai-wan {
    padding-inline: 12px;
  }
  .lottery-top {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 6px;
  }
  .lottery-issue-title {
    font-size: clamp(0.94rem, 3.9vw, 1rem);
  }
  .lottery-countdown {
    grid-column: auto;
    justify-self: center;
    font-size: clamp(0.82rem, 3.4vw, 0.92rem);
  }
  .lottery-history-link {
    font-size: clamp(0.82rem, 3.4vw, 0.92rem);
  }
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
  .market-like-toast {
    width: calc(100vw - 36px);
    padding: 16px 22px;
    font-size: 1rem;
  }
  .lottery-nums__ul {
    gap: 6px;
  }
  .market-stage {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 8px;
    padding: 8px;
  }
  .market-page {
    --market-topbar-height: 68px;
    --market-tabs-height: 46px;
  }
  .history-page {
    --history-topbar-height: 68px;
    --history-tabs-height: 46px;
  }
  .market-sidebar-inner {
    left: calc(50% - (min(var(--page-max-width), 100vw) / 2) + 8px);
    width: 74px;
    max-height: calc(
      100vh - var(--market-sticky-height) - var(--bottom-nav-height) - 18px -
        env(safe-area-inset-bottom)
    );
  }
  .market-site-tab {
    min-height: var(--market-tabs-height);
    padding-inline: 6px;
    font-size: 0.84rem;
  }
  .history-site-tab {
    min-height: var(--history-tabs-height);
    padding-inline: 6px;
    font-size: 0.84rem;
  }
  .top-site-tabs--equal .top-site-tab {
    font-size: 0.8rem;
  }
  .market-post-card {
    padding-inline: 14px;
  }
  .market-post-header,
  .market-post-footer {
    gap: 10px;
  }
  .history-item {
    padding-inline: 10px;
  }
  .numbers-row {
    gap: 8px;
  }
  .numbers-grid {
    gap: 6px;
  }
  .special-number-group {
    gap: 4px;
  }
}
@media (max-width: 380px) {
  .lottery-tai-wan {
    --history-ball-size: clamp(36px, 10.4vw, 52px);
    padding-inline: 10px;
  }
  .lottery-top {
    gap: 4px;
  }
  .lottery-issue-title {
    font-size: 0.9rem;
  }
  .lottery-countdown,
  .lottery-history-link {
    font-size: 0.78rem;
  }
  .lottery-nums {
    gap: 6px;
    margin-top: 12px;
  }
  .lottery-nums__ul {
    gap: 4px;
  }
  .lottery-nums__item {
    gap: 4px;
  }
  .lottery-num {
    font-size: clamp(16px, 4.8vw, 24px);
  }
  .lottery-num--loading i {
    font-size: clamp(14px, 4.2vw, 20px);
  }
  .lottery-animal {
    font-size: 10px;
  }
  .plus-sign {
    width: clamp(14px, 3.6vw, 22px);
    font-size: clamp(20px, 5.4vw, 34px);
  }
  .hero-banner__lottery-name {
    left: 9%;
    bottom: 20%;
    font-size: clamp(29px, 8.5vw, 56px);
  }
  .reference-result-table__issue,
  .reference-result-table__data,
  .reference-result-table__result {
    padding-inline: 2px;
  }
  .reference-number-grid__period,
  .reference-number-grid__value,
  .reference-number-grid__result {
    padding-inline: 4px;
  }
}
@media (max-width: 370px) {
  .top-site-tabs--with-date .top-site-tab {
    min-height: 48px;
    padding-top: 6px;
    padding-bottom: 6px;
  }
  .top-site-tabs--with-date .top-site-tab__name {
    font-size: 11px;
  }
  .top-site-tabs--with-date .top-site-tab__date {
    font-size: 9px;
  }
  .lottery-tai-wan {
    --history-ball-size: clamp(34px, 10vw, 48px);
    padding-inline: 8px;
  }
  .lottery-issue-title {
    font-size: 0.86rem;
  }
  .lottery-countdown,
  .lottery-history-link {
    font-size: 0.74rem;
  }
  .lottery-nums__ul {
    gap: 3px;
  }
  .lottery-num {
    font-size: clamp(15px, 4.5vw, 22px);
  }
  .lottery-num--loading i {
    font-size: clamp(13px, 4vw, 18px);
  }
  .lottery-animal {
    font-size: 9px;
  }
  .hero-banner__lottery-name {
    left: 9%;
    bottom: 20%;
    max-width: 62%;
    font-size: clamp(29px, 8.5vw, 56px);
  }
  .plus-sign {
    width: clamp(12px, 3.4vw, 20px);
    font-size: clamp(18px, 5vw, 30px);
  }
  .reference-plain-card {
    gap: 0.2em;
    padding-inline: 3px;
    font-size: 0.9rem;
  }
  .reference-plain-card__content {
    max-width: calc(100vw - 124px);
  }
  .reference-result-table__issue {
    font-size: 0.86rem;
  }
  .reference-result-table__data {
    font-size: 1rem;
  }
  .reference-result-table__result {
    font-size: 0.82rem;
  }
  .reference-number-grid__row {
    grid-template-columns: 80px minmax(0, 1fr) 82px;
  }
  .reference-number-grid__period {
    font-size: 0.78rem;
  }
  .reference-number-grid__result {
    font-size: 0.72rem;
    padding: 5px 2px;
  }
  .reference-number-grid__value {
    font-size: clamp(0.82rem, 3.3vw, 1rem);
  }
  .reference-number-grid__period,
  .reference-number-grid__value,
  .reference-number-grid__result {
    padding-inline: 3px;
  }
}

/* 参考资料区 - 移动端统一排版 */
@media (max-width: 640px) {
  .home-reference-sections,
  .reference-slot,
  .reference-plain-list,
  .reference-result-table-list,
  .reference-elite-list,
  .reference-number-grid,
  .reference-left-multiline,
  .reference-three-col-nine,
  .reference-nml {
    max-width: 100%;
    overflow-x: hidden;
  }

  .reference-slot--plain_text_list .panel-heading,
  .reference-slot--result_line_table .panel-heading,
  .reference-slot--number_grid .panel-heading,
  .reference-slot--elite_banner_list .panel-heading {
    min-height: 40px;
    padding: 8px 10px;
  }

  .reference-slot--plain_text_list .panel-heading h3,
  .reference-slot--result_line_table .panel-heading h3,
  .reference-slot--number_grid .panel-heading h3,
  .reference-slot--elite_banner_list .panel-heading h3 {
    font-size: clamp(1rem, 4.2vw, 1.18rem);
  }

  .reference-arrange-note {
    padding: 8px 8px;
    font-size: clamp(0.76rem, 3.2vw, 0.9rem);
    line-height: 1.25;
    gap: 3px;
  }

  .reference-arrange-note__row {
    gap: 10px;
  }

  .reference-arrange-note__item {
    white-space: nowrap;
  }

  .reference-plain-card {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-height: auto;
    padding: 10px 12px;
    white-space: normal;
    line-height: 1.35;
    text-align: center;
  }

  .reference-plain-card__issue,
  .reference-plain-card__result {
    flex: none;
    width: 100%;
  }

  .reference-plain-card__content {
    flex: none;
    width: 100%;
    max-width: none;
    overflow: visible;
    text-overflow: unset;
    white-space: normal;
    word-break: break-word;
  }

  .reference-plain-card__result {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }

  .reference-slot--plain_green .reference-plain-card {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.3em 0.35em;
    width: 100%;
    max-width: 100%;
    min-height: 42px;
    padding: 8px 6px;
    overflow: visible;
    box-sizing: border-box;
    white-space: normal;
    font-size: clamp(0.92rem, 3.8vw, 1.14rem);
    line-height: 1.3;
    text-align: center;
  }

  .reference-slot--plain_green .reference-plain-card__issue,
  .reference-slot--plain_green .reference-plain-card__result {
    flex: 0 0 auto;
    width: auto;
    flex-shrink: 0;
  }

  .reference-slot--plain_green .reference-plain-card__content {
    flex: 0 1 auto;
    width: auto;
    min-width: 0;
    max-width: 100%;
    overflow: visible;
    text-overflow: unset;
    white-space: normal;
    word-break: keep-all;
  }

  .reference-slot--plain_green .reference-plain-card__result {
    flex: 0 0 auto;
    flex-shrink: 0;
    flex-wrap: nowrap;
    font-size: clamp(0.86rem, 3.5vw, 1.04rem);
  }

  .reference-result-table {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "issue result"
      "data data";
    min-height: auto;
  }

  .reference-result-table__issue {
    grid-area: issue;
    border-right: 2px solid #9d9d9d;
    padding: 8px 6px;
    font-size: 0.92rem;
  }

  .reference-result-table__result {
    grid-area: result;
    border-right: none;
    padding: 8px 6px;
    font-size: 0.88rem;
    white-space: normal;
    flex-wrap: wrap;
  }

  .reference-result-table__data {
    grid-area: data;
    grid-column: 1 / -1;
    border-top: 2px solid #9d9d9d;
    border-right: none;
    white-space: normal;
    word-break: break-word;
    overflow: visible;
    text-overflow: unset;
    font-size: 1rem !important;
    line-height: 1.4;
    padding: 10px 8px;
  }

  .reference-elite-card__meta {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0.4em;
    padding: 8px 6px 6px;
    font-size: clamp(0.94rem, 3.6vw, 1.12rem);
    white-space: nowrap;
  }

  .reference-elite-card__result {
    justify-content: center;
    flex-wrap: nowrap;
    white-space: nowrap;
  }

  .reference-elite-card__body {
    padding: 0 10px 10px;
    font-size: clamp(0.92rem, 3.8vw, 1.05rem);
    line-height: 1.45;
    word-break: break-word;
  }

  .reference-slot--pingte_wuxiao_wuma .reference-elite-card__body {
    padding: 0 4px 10px;
    font-size: clamp(0.72rem, calc(0.42rem + 2.2vw), 1.08rem);
    line-height: 1.25;
    white-space: nowrap;
    word-break: keep-all;
    overflow: hidden;
  }

  .reference-number-grid__row {
    grid-template-columns: 84px minmax(0, 1fr) 90px;
    min-height: auto;
  }

  .reference-number-grid__period {
    font-size: 0.82rem;
    padding: 5px 4px;
    white-space: nowrap;
    word-break: keep-all;
    line-height: 1.2;
  }

  .reference-number-grid__result {
    font-size: 0.74rem;
    padding: 5px 2px;
    white-space: nowrap;
    word-break: keep-all;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .reference-number-grid__value {
    font-size: clamp(0.9rem, 4vw, 1.12rem);
    white-space: nowrap;
    word-break: keep-all;
    overflow: hidden;
    line-height: 1.2;
    padding: 5px 2px;
  }

  .reference-number-grid__slogan {
    padding: 6px 8px;
    font-size: 0.88rem;
    line-height: 1.4;
  }

  .reference-left-multiline__title {
    min-height: auto;
    padding: 8px;
    font-size: clamp(0.92rem, 4.2vw, 1.08rem);
    gap: 4px 8px;
  }

  .reference-left-multiline__line {
    min-height: auto;
    padding: 8px;
    font-size: clamp(0.88rem, 3.8vw, 1rem);
    flex-wrap: wrap;
    line-height: 1.35;
  }

  .reference-three-col-nine__title {
    min-height: auto;
    padding: 8px 6px;
    font-size: clamp(0.92rem, 4vw, 1.05rem);
    flex-wrap: wrap;
  }

  .reference-three-col-nine__row {
    grid-template-columns: 22% minmax(0, 1fr) 28%;
    min-height: auto;
  }

  .reference-three-col-nine__issue,
  .reference-three-col-nine__content,
  .reference-three-col-nine__result {
    padding: 6px 4px;
    font-size: 0.88rem;
    white-space: normal;
    word-break: break-word;
    line-height: 1.3;
  }

  .reference-nml__headline,
  .reference-nml__result {
    padding: 8px 6px;
    font-size: 0.92rem;
  }

  .reference-nml__label,
  .reference-nml__value {
    font-size: 0.88rem;
  }

  .reference-nml__row--dual {
    padding: 0;
  }

  .reference-nml__pair {
    padding: 4px 5px;
  }
}

@media (max-width: 480px) {
  .reference-three-col-nine__row {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "issue"
      "content"
      "result";
  }

  .reference-three-col-nine__issue {
    grid-area: issue;
    border-right: none !important;
    border-bottom: 1px solid #000;
  }

  .reference-three-col-nine__content {
    grid-area: content;
    border-right: none !important;
    border-bottom: 1px solid #000;
  }

  .reference-three-col-nine__result {
    grid-area: result;
  }
}

@media (min-width: 560px) {
  .home-page > :not(.top-sticky-shell):not(.home-hero):not(.home-fixed-stack) {
    margin-inline: 14px;
  }
  .history-item {
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
  }
  .history-item .item-left {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px 12px;
  }
  .numbers-row {
    gap: 18px;
  }
}
@keyframes market-like-pop {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}
@keyframes market-like-float {
  0% {
    opacity: 0;
    transform: translate(-50%, 8px) scale(0.9);
  }
  25% {
    opacity: 1;
  }
  to {
    opacity: 0;
    transform: translate(-50%, -16px) scale(1.04);
  }
}
@keyframes market-like-toast-in {
  0% {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 16px));
  }
  12% {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
  82% {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
  to {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 10px));
  }
}
@keyframes marquee-slide {
  0% {
    transform: translate(0);
  }
  to {
    transform: translate(-33%);
  }
}
