:root {
  --am-red: #b60009;
  --am-red-dark: #760006;
  --am-gold: #f3c35b;
  --am-gold-soft: #fff2bd;
  --am-ivory: #fff9ef;
  --am-line: #e3b0a5;
  --am-navy: #111827;
  --am-text: #251516;
  --am-display-font: "Microsoft YaHei UI", "Microsoft YaHei", SimHei, "PingFang SC", Arial, sans-serif;
  --am-display-stroke: .72px #151515;
  --am-display-shadow:
    0 1px 0 #111,
    1px 0 0 rgba(0, 0, 0, .72),
    -1px 0 0 rgba(0, 0, 0, .72),
    0 -1px 0 rgba(0, 0, 0, .64),
    0 2px 3px rgba(0, 0, 0, .34);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #e6e6e6;
}

body.am-home-page {
  min-height: 100%;
  margin: 0;
  padding: 0;
  color: var(--am-text);
  background: #e6e6e6;
  font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
}

body.am-home-page a {
  text-decoration: none;
}

.am-tabs a,
.am-lottery-issue,
.am-ball-tag,
.am-gold-text,
.am-gold-action,
.am-vip-action,
.am-claim-title,
.am-claim-action,
.am-panel-title,
.am-table-title,
.am-section-title,
.am-ziliao-ad-text,
.am-ziliao-ad-action,
.am-history-head h2,
.am-history-kicker,
.am-menu-grid a,
.am-bottom-text {
  font-family: var(--am-display-font);
  font-weight: 900;
  letter-spacing: 0;
  -webkit-text-stroke: var(--am-display-stroke);
  paint-order: stroke fill;
  text-shadow: var(--am-display-shadow);
}

.am-home {
  width: 100%;
  max-width: 640px;
  min-height: 100vh;
  margin: 0 auto;
  background: linear-gradient(180deg, #fff8ec 0, #fffaf3 100%);
  border-left: 1px solid #d8d8d8;
  border-right: 1px solid #d8d8d8;
  overflow: hidden;
}

.am-hero {
  position: relative;
  background:
    url("/assets/ai-generated/am-header-skin.webp") center/100% 100% no-repeat,
    linear-gradient(180deg, #b8000b 0, #940006 45%, #720004 100%);
  color: #fff;
  border-bottom: 2px solid #d09a2b;
  box-shadow: inset 0 -1px 0 rgba(80, 0, 0, .55);
}

.am-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 70px;
  padding: 8px 14px 8px;
  border-bottom: 1px solid rgba(255, 235, 170, .72);
  box-shadow: inset 0 -1px 0 rgba(80, 0, 0, .38);
}

.am-brand {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 9px;
}

.am-brand-full-logo {
  display: block;
  width: 244px;
  max-width: 100%;
  height: auto;
  flex: 0 1 auto;
}

.am-brand-mark {
  display: block;
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  border: 2px solid #f8d885;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, .35), 0 0 0 1px rgba(96, 0, 0, .5);
}

.am-brand-name {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  color: #ffe7a0;
  text-shadow: 0 2px 0 rgba(0, 0, 0, .35);
}

.am-brand-name strong {
  font-size: 31px;
  line-height: 1;
  font-weight: 900;
  white-space: nowrap;
}

.am-brand-name span {
  font-size: 16px;
  font-weight: 800;
  color: #fff6d4;
  white-space: nowrap;
}

.am-main-action,
.am-gold-action,
.am-vip-action,
.am-claim-action,
.am-bottom-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 34px;
  border-radius: 8px;
  font-weight: 900;
  white-space: nowrap;
}

.am-main-action {
  position: relative;
  min-width: 98px;
  min-height: 32px;
  padding: 0 11px;
  overflow: hidden;
  border: 1px solid rgba(255, 226, 133, .78);
  border-radius: 999px;
  color: #fff1b8;
  font-family: var(--am-display-font);
  font-size: 14px;
  background:
    linear-gradient(90deg, rgba(255, 231, 142, .16), transparent 28%, transparent 72%, rgba(255, 231, 142, .14)),
    linear-gradient(180deg, #d90014 0, #a4000b 58%, #760005 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 218, 135, .36),
    inset 0 -1px 0 rgba(70, 0, 0, .48),
    0 1px 0 rgba(0, 0, 0, .2);
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(60, 0, 0, .75);
  -webkit-text-stroke: 0;
  paint-order: normal;
}

.am-main-action::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 999px;
  background: #ffe278;
  box-shadow: 0 0 0 2px rgba(255, 238, 171, .18), 0 0 8px rgba(255, 226, 120, .65);
}

.am-main-action:hover {
  color: #fffbe3;
  background:
    linear-gradient(90deg, rgba(255, 231, 142, .22), transparent 28%, transparent 72%, rgba(255, 231, 142, .2)),
    linear-gradient(180deg, #ef0015 0, #b9000d 58%, #850006 100%);
}

.am-balls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 8px 9px 9px;
}

.am-lottery-issue {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 100%;
  min-width: 0;
  height: 20px;
  margin: -1px 0 1px;
  color: #fff4b2;
  font-size: 14px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .48);
}

.am-lottery-issue::before,
.am-lottery-issue::after {
  content: "";
  display: block;
  width: 38px;
  height: 1px;
  margin: 0 8px;
  background: linear-gradient(90deg, transparent 0, rgba(255, 225, 128, .9) 50%, transparent 100%);
}

.am-ball {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  min-width: 0;
  padding: 5px 2px 4px;
  border: 2px solid #d0a455;
  border-radius: 999px;
  color: #9d0007;
  background:
    radial-gradient(circle at 48% 23%, #fff 0, #fff 38%, #fff7e4 58%, #efd68d 82%, #c68d31 100%);
  box-shadow: inset 0 2px 2px rgba(255, 255, 255, .98), inset 0 -2px 4px rgba(124, 72, 0, .18), 0 1px 0 rgba(0, 0, 0, .32);
}

.am-special-ball {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  min-width: 61px;
  flex: 0 0 61px;
}

.am-ball-tag {
  display: inline-block;
  color: #fff1a4;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  white-space: nowrap;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .45);
}

.am-ball b {
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .75);
}

.am-ball span {
  font-size: 10px;
  font-weight: 900;
  color: #5b0808;
}

.am-ball.is-special {
  width: 47px;
  height: 47px;
  flex-basis: 47px;
  border-color: #ba7f20;
  background:
    radial-gradient(circle at 50% 20%, #fff7b7 0, #ffe56c 45%, #e0ac3d 75%, #b86f12 100%);
}

.am-ball.is-special span {
  color: #8c3e00;
}

.am-tabs {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 230, 170, .55);
  background: linear-gradient(180deg, #9e0009 0, #770004 100%);
  border-bottom: 1px solid #5d0002;
}

.am-tabs a {
  min-width: 0;
  padding: 11px 0;
  border-right: 1px solid rgba(255, 210, 125, .55);
  color: #ffe9b4;
  text-align: center;
  font-size: 17px;
  line-height: 1;
  font-weight: 800;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .42);
}

.am-tabs a:first-child {
  background: rgba(255, 218, 112, .12);
}

.am-tabs a:last-child {
  border-right: 0;
}

.am-gold-band,
.am-recruit-band,
.am-wechat-band,
.am-vip-band,
.am-claim-band,
.am-public-lanes-card,
.am-top-ziliao-card,
.am-home > .am-ziliao-img-ad,
.am-table-wrap,
.am-ziliao-detail,
.am-ziliao-section,
.am-menu-grid {
  margin: 7px 9px 0;
}

.am-gold-band {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 7px 9px;
  overflow: hidden;
  border: 1px solid #c88523;
  border-radius: 6px;
  color: #990008;
  background: linear-gradient(180deg, #fff4b2 0, #f7cf62 34%, #e5a43a 72%, #b96d13 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .82), inset 0 -2px 0 rgba(126, 64, 0, .38), 0 1px 0 rgba(113, 34, 0, .18);
}

.am-gold-band::before,
.am-recruit-band::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: url("/assets/ai-generated/am-gold-strip-skin-v2.webp") center 46% / 100% 168px no-repeat;
  opacity: .22;
  pointer-events: none;
}

.am-gold-band > *,
.am-recruit-band > * {
  position: relative;
  z-index: 1;
}

.am-gold-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
}

.am-gold-icon img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.am-gold-text {
  flex: 1 1 auto;
  min-width: 0;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
  font-size: clamp(14px, 4vw, 21px);
  line-height: 1;
  font-weight: 900;
}

.am-gold-action {
  min-width: 112px;
  padding: 0 12px;
  border: 1px solid #a76d15;
  color: #6f1200;
  font-size: 16px;
  background: linear-gradient(180deg, #fff6c9 0, #d89c34 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 1px 0 rgba(0, 0, 0, .12);
}

.am-card-grid,
.am-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  margin: 7px 9px 0;
}

.am-panel,
.am-feature-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--am-line);
  border-radius: 7px;
  background: #fffdf9;
  box-shadow: 0 1px 0 rgba(180, 0, 0, .08), inset 0 1px 0 rgba(255, 255, 255, .85);
}

.am-panel-title {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 33px;
  padding: 6px 8px;
  color: #fff;
  text-align: center;
  font-size: 17px;
  line-height: 21px;
  font-weight: 900;
  background:
    url("/assets/ai-generated/am-red-title-skin.webp") center/100% 100% no-repeat,
    linear-gradient(180deg, #de0014 0, #b8000c 46%, #910006 100%);
  box-shadow: inset 0 1px 0 rgba(255, 190, 190, .38), inset 0 -1px 0 rgba(90, 0, 0, .4);
  text-shadow: 0 1px 0 rgba(0, 0, 0, .35);
}

.am-title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border-radius: 50%;
  color: #9d0008;
  background: radial-gradient(circle at 50% 32%, #fffdf1 0, #ffe6a2 100%);
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 1px 0 rgba(90, 0, 0, .25);
}

.am-panel-body {
  padding: 9px 10px;
  color: #2b1d1d;
  font-size: 15px;
  line-height: 1.55;
  font-weight: 700;
}

.am-panel-body p {
  margin: 0;
  overflow-wrap: anywhere;
}

.am-panel-body p + p {
  margin-top: 3px;
}

.am-public-ad-list {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.am-public-ad {
  display: block;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dca99b;
  border-radius: 5px;
  background: #fffdf9;
  line-height: 0;
  box-shadow: 0 1px 0 rgba(180, 0, 0, .08), inset 0 1px 0 rgba(255, 255, 255, .85);
}

.am-public-ad img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border: 0;
}

.am-public-ad img[data-am-lazy-src],
.am-ziliao-img-ad img[data-am-lazy-src] {
  aspect-ratio: 25 / 3;
  background:
    linear-gradient(90deg, rgba(255, 231, 142, .16), transparent 30%, transparent 70%, rgba(255, 231, 142, .14)),
    linear-gradient(180deg, #fff8e8 0, #f5dfb4 100%);
}

.am-sanqi-line {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 2px 8px;
  align-items: center;
  min-width: 0;
  padding: 3px 0;
}

.am-sanqi-line + .am-sanqi-line {
  margin-top: 3px;
  border-top: 1px dashed #efd1c5;
}

.am-sanqi-line b {
  color: #a00009;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 900;
  white-space: nowrap;
}

.am-sanqi-line span {
  min-width: 0;
  color: #2b1d1d;
  overflow-wrap: anywhere;
}

.am-sanqi-line em {
  grid-column: 2;
  color: #765000;
  font-size: 12px;
  line-height: 1.25;
  font-style: normal;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.am-ds-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 5px 8px;
  min-width: 0;
  padding: 5px 0;
}

.am-ds-row + .am-ds-row {
  border-top: 1px dashed #efd1c5;
}

.am-ds-issue {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid #e4b8a9;
  border-radius: 5px;
  color: #a00009;
  background: #fff2d6;
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
  white-space: nowrap;
}

.am-ds-lines {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.am-ds-lines p {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 4px;
  align-items: center;
}

.am-ds-label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  border-radius: 4px;
  color: #fff;
  background: linear-gradient(180deg, #cf0011 0, #970007 100%);
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
}

.am-ds-nums {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 2px;
  min-width: 0;
}

.am-ds-nums i {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 20px;
  border-radius: 3px;
  color: #301919;
  background: #fff7e7;
  font-size: 11px;
  line-height: 1;
  font-style: normal;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.am-ds-open {
  grid-column: 2;
  justify-self: start;
  color: #765000;
  font-size: 12px;
  line-height: 1.15;
  font-style: normal;
  font-weight: 900;
}

.am-yq-list {
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #ecd0c5;
  background: #fffdf9;
}

.am-yq-row {
  min-width: 0;
  padding: 7px 6px 8px;
  text-align: center;
  background: #fffdf9;
}

.am-yq-row + .am-yq-row {
  border-top: 1px solid #ecd0c5;
}

.am-yq-head {
  margin: 0 0 3px;
  color: #001dff;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.am-yq-head b {
  color: #ff00ff;
  font-weight: 900;
}

.am-yq-line {
  margin: 0;
  color: #171111;
  font-size: 13px;
  line-height: 1.28;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.am-yq-line + .am-yq-line {
  margin-top: 1px;
}

.am-feature-body {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 76px;
  padding: 7px 8px 8px;
  background:
    linear-gradient(180deg, rgba(255, 253, 249, .94) 0, rgba(255, 249, 239, .96) 100%),
    radial-gradient(circle at 10% 0, rgba(255, 224, 150, .3), transparent 38%);
}

.am-feature-icon {
  display: block;
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.am-feature-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 2px;
  color: #311515;
  text-align: left;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 800;
}

.am-feature-copy strong {
  display: block;
  color: #a4000b;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 900;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.am-feature-copy span {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.am-feature-copy em {
  align-self: flex-start;
  margin-top: 2px;
  padding: 2px 7px;
  border-radius: 4px;
  color: #7d0c00;
  background: #ffe57b;
  font-style: normal;
  font-weight: 900;
}

.am-highlight {
  display: inline-block;
  margin-top: 5px;
  padding: 2px 8px;
  border-radius: 5px;
  color: #7d0c00;
  background: #ffe57b;
  font-weight: 900;
}

.am-mini-row {
  display: grid;
  grid-template-columns: 52px 1fr 42px;
  gap: 4px;
  align-items: center;
  min-height: 23px;
}

.am-mini-row b {
  color: #6f0007;
}

.am-recruit-band {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 45px;
  padding: 8px 10px;
  overflow: hidden;
  border: 1px solid #c88725;
  border-radius: 6px;
  color: #8f0007;
  background: linear-gradient(180deg, #ffeca4 0, #efc04d 48%, #c87918 100%);
  font-size: 21px;
  line-height: 1;
  font-weight: 900;
  text-shadow: 0 1px 0 rgba(255, 248, 208, .7);
}

.am-recruit-icon {
  font-size: 25px;
  line-height: 1;
}

.am-recruit-img {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
}

.am-recruit-img img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.am-wechat-band {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 8px 12px;
  border: 1px solid #980008;
  border-radius: 6px;
  color: #fff4a6;
  background: linear-gradient(180deg, #d90012 0, #ad0009 54%, #8e0006 100%);
  box-shadow: inset 0 1px 0 rgba(255, 180, 180, .35), inset 0 -1px 0 rgba(90, 0, 0, .45);
}

.am-wechat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 42px;
  flex: 0 0 64px;
}

.am-wechat-mark {
  display: block;
  width: 64px;
  height: 42px;
  object-fit: contain;
}

.am-wechat-text {
  flex: 1 1 auto;
  min-width: 0;
  text-align: center;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 900;
}

.am-slot-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 42px;
  flex: 0 0 64px;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #e10000;
  background: transparent;
  font-size: 19px;
  font-weight: 900;
  box-shadow: none;
}

.am-slot-badge img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.am-pair-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  margin: 7px 9px 0;
}

.am-pair-layout .am-table-wrap,
.am-pair-layout .am-panel {
  margin: 0;
}

.am-pair-mini .am-panel-body {
  padding-top: 10px;
}

.am-claim-band {
  overflow: hidden;
  border: 1px solid var(--am-line);
  border-radius: 7px;
  background: #fffdf9;
}

.am-claim-title {
  padding: 7px 10px 2px;
  color: #b20010;
  text-align: center;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 900;
}

.am-claim-body {
  display: grid;
  grid-template-columns: 68px repeat(3, minmax(0, 1fr)) 76px;
  gap: 7px;
  align-items: stretch;
  padding: 8px 10px 10px;
}

.am-gift-box {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 6px;
  border: 1px solid #e7c1b9;
  background: linear-gradient(180deg, #fff7d9 0, #ffe0ae 100%);
}

.am-gift-box img {
  display: block;
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 5px;
}

.am-claim-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 1px solid #e7c1b9;
  border-radius: 6px;
  color: #361f1f;
  background: #fffaf0;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 800;
  text-align: center;
}

.am-claim-item strong {
  color: #a00009;
  font-size: 15px;
}

.am-claim-action {
  min-height: 52px;
  padding: 0 8px;
  color: #fff;
  text-align: center;
  font-size: 16px;
  line-height: 1.1;
  background: linear-gradient(180deg, #ef2424 0, #a70008 100%);
}

.am-vip-band {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 9px 12px;
  border: 1px solid #2d3d5a;
  border-radius: 6px;
  color: #ffe38a;
  background:
    linear-gradient(90deg, rgba(255, 212, 97, .08), transparent 20%, transparent 80%, rgba(255, 212, 97, .08)),
    linear-gradient(180deg, #172337 0, #091421 52%, #050b14 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), inset 0 -1px 0 rgba(0, 0, 0, .42);
}

.am-vip-crown {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
}

.am-vip-crown img {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.am-vip-text {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 24px;
  line-height: 1.1;
  font-weight: 900;
}

.am-vip-text::before {
  content: "★";
  flex: 0 0 auto;
  color: #ffd868;
  font-size: 34px;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .5);
}

.am-vip-action {
  min-width: 110px;
  padding: 0 12px;
  color: #3e2400;
  font-size: 16px;
  background: linear-gradient(180deg, #fff4bd 0, #d7a23d 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 1px 0 rgba(0, 0, 0, .2);
}

.am-table-wrap {
  overflow: hidden;
  border: 1px solid #dca99b;
  border-radius: 6px;
  background: #fffdf9;
}

.am-table-title {
  padding: 5px 8px;
  color: #fff;
  text-align: center;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 900;
  background:
    url("/assets/ai-generated/am-red-title-skin.webp") center/100% 100% no-repeat,
    linear-gradient(180deg, #c90010 0, #900006 100%);
}

.am-table-title.is-navy {
  color: #ffe28b;
  background: linear-gradient(180deg, #172337 0, #07101e 100%);
}

.am-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.28;
  font-weight: 700;
}

.am-table th,
.am-table td {
  padding: 5px 4px;
  border: 1px solid #ecd0c5;
  text-align: center;
  vertical-align: middle;
}

.am-table th {
  color: #770007;
  background: #fff0d2;
  font-weight: 900;
}

.am-number-line {
  word-spacing: 4px;
}

.am-section-title {
  position: relative;
  overflow: hidden;
  padding: 8px 10px;
  border: 1px solid #b87a1b;
  border-radius: 6px 6px 0 0;
  color: #fff4b2;
  text-align: center;
  font-size: 20px;
  line-height: 1.15;
  font-weight: 900;
  background:
    url("/assets/ai-generated/am-red-title-skin.webp") center/100% 100% no-repeat,
    linear-gradient(180deg, #d00012 0, #9b0008 55%, #720004 100%);
  box-shadow: inset 0 1px 0 rgba(255, 196, 130, .45);
  text-shadow: 0 1px 0 rgba(0, 0, 0, .42);
}

.am-ziliao-list {
  display: grid;
  gap: 8px;
  padding-top: 7px;
}

.am-ziliao-top-single .am-ziliao-list,
.am-ziliao-inline-list .am-ziliao-list {
  padding-top: 0;
}

.am-ziliao-img-ad {
  display: block;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dca99b;
  border-radius: 6px;
  background: #fffdf9;
  line-height: 0;
  box-shadow: 0 1px 0 rgba(180, 0, 0, .08), inset 0 1px 0 rgba(255, 255, 255, .85);
}

.am-ziliao-img-ad img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border: 0;
}

.am-ziliao-list > .am-ziliao-img-ad {
  margin: 0;
}

.am-ziliao-ad {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 46px;
  padding: 7px 9px;
  overflow: hidden;
  border: 1px solid #c88725;
  border-radius: 6px;
  color: #8f0007;
  text-decoration: none;
  background:
    url("/assets/ai-generated/am-gold-strip-skin-v2.webp") center 50% / 100% 150px no-repeat,
    linear-gradient(180deg, #fff0a8 0, #efc04d 50%, #c87918 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .72), inset 0 -1px 0 rgba(120, 57, 0, .32), 0 1px 0 rgba(120, 0, 0, .08);
}

.am-ziliao-ad-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 32px;
}

.am-ziliao-ad-icon img {
  display: block;
  width: 34px;
  height: 32px;
  object-fit: contain;
}

.am-ziliao-ad-text {
  min-width: 0;
  text-align: center;
  font-size: 18px;
  line-height: 1.16;
  font-weight: 900;
  text-shadow: 0 1px 0 rgba(255, 248, 208, .72);
  overflow-wrap: anywhere;
}

.am-ziliao-ad-action {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(101, 20, 0, .32);
  border-radius: 6px;
  color: #6f1200;
  background: linear-gradient(180deg, #fff7cd 0, #d69b33 100%);
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75);
}

.am-ziliao-ad-wechat {
  border-color: #980008;
  color: #fff4a6;
  background: linear-gradient(180deg, #dc0012 0, #ad0009 54%, #8e0006 100%);
  box-shadow: inset 0 1px 0 rgba(255, 180, 180, .35), inset 0 -1px 0 rgba(90, 0, 0, .45);
}

.am-ziliao-ad-wechat .am-ziliao-ad-text {
  text-shadow: 0 1px 0 rgba(70, 0, 0, .42);
}

.am-ziliao-ad-wechat .am-ziliao-ad-action {
  color: #9b0008;
  background: linear-gradient(180deg, #fff7c5 0, #f0ca52 100%);
}

.am-ziliao-ad-vip {
  border-color: #2d3d5a;
  color: #ffe38a;
  background:
    linear-gradient(90deg, rgba(255, 212, 97, .08), transparent 20%, transparent 80%, rgba(255, 212, 97, .08)),
    linear-gradient(180deg, #172337 0, #091421 52%, #050b14 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), inset 0 -1px 0 rgba(0, 0, 0, .42);
}

.am-ziliao-ad-vip .am-ziliao-ad-action {
  color: #221400;
  background: linear-gradient(180deg, #ffe88b 0, #c78a24 100%);
}

.am-ziliao-ad-gold .am-ziliao-ad-icon img {
  width: 28px;
  height: 28px;
}

.am-ziliao-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #dca99b;
  border-radius: 7px;
  background: #fffdf9;
  box-shadow: 0 1px 0 rgba(180, 0, 0, .08), inset 0 1px 0 rgba(255, 255, 255, .85);
}

.am-ziliao-card .am-panel-title {
  min-height: 32px;
  font-size: 16px;
}

.am-ziliao-content {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: 6px;
  color: #2f1717;
  background:
    linear-gradient(180deg, rgba(255, 253, 249, .96) 0, rgba(255, 248, 238, .98) 100%),
    radial-gradient(circle at 12% 0, rgba(255, 224, 150, .24), transparent 36%);
  font-size: 13px;
  line-height: 1.34;
  font-weight: 700;
}

.am-ziliao-content table {
  width: 100% !important;
  max-width: 100%;
  margin: 0 0 6px;
  border: 0 !important;
  border-collapse: collapse !important;
  table-layout: fixed;
  background: #fffdf9 !important;
}

.am-ziliao-content table:last-child {
  margin-bottom: 0;
}

.am-ziliao-content tbody,
.am-ziliao-content tr {
  max-width: 100%;
}

.am-ziliao-content th,
.am-ziliao-content td {
  min-width: 0;
  padding: 5px 4px !important;
  border: 1px solid #ecd0c5 !important;
  color: #321717;
  background: #fffdf9 !important;
  text-align: center !important;
  vertical-align: middle !important;
  font-size: 13px;
  line-height: 1.32;
  font-weight: 800;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.am-ziliao-card[data-ziliao-key="1"] .am-ziliao-content table {
  table-layout: fixed;
}

.am-ziliao-card[data-ziliao-key="1"] .am-ziliao-content tr > td:first-child:not([colspan]) {
  width: 48% !important;
}

.am-ziliao-card[data-ziliao-key="1"] .am-ziliao-content tr > td:nth-child(2):not([colspan]) {
  width: 52% !important;
}

.am-ziliao-card[data-ziliao-key="1"] .am-ziliao-content td:not([colspan]) {
  padding-left: 7px !important;
  padding-right: 7px !important;
  text-align: left !important;
  font-variant-numeric: tabular-nums;
}

.am-ziliao-card[data-ziliao-key="1"] .am-ziliao-content tr > td:first-child:not([colspan]) > font:first-child {
  display: inline-block;
  min-width: 70px;
  margin-right: 4px;
  text-align: right;
}

.am-ziliao-card[data-ziliao-key="1"] .am-ziliao-content tr > td:nth-child(2):not([colspan]) > font:first-child {
  display: inline-block;
  min-width: 38px;
  margin-right: 4px;
  text-align: right;
}

.am-ziliao-content th {
  color: #770007;
  background: #fff0d2 !important;
  font-weight: 900;
}

.am-ziliao-content tr:nth-child(even) td {
  background: #fff8ed !important;
}

.am-ziliao-content font {
  font-size: inherit;
}

.am-ziliao-content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.am-ziliao-mark {
  display: inline-block;
  padding: 0 2px;
  border-radius: 2px;
  color: #850008;
  background: #ffe86c;
  font-weight: 900;
}

.am-ziliao-down {
  margin: 6px 0 4px;
}

.am-ziliao-list > .am-ziliao-down {
  margin: 0;
}

.am-ziliao-down a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 32px;
  padding: 6px 10px;
  border: 1px solid #a30810;
  border-radius: 6px;
  color: #fff6cb;
  background:
    linear-gradient(90deg, rgba(255, 231, 142, .18), transparent 20%, transparent 80%, rgba(255, 231, 142, .16)),
    linear-gradient(180deg, #df0012 0, #b0000b 54%, #850006 100%);
  font-family: var(--am-display-font);
  font-size: 14px;
  line-height: 1.22;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(70, 0, 0, .72);
  box-shadow:
    inset 0 1px 0 rgba(255, 214, 143, .42),
    inset 0 -1px 0 rgba(70, 0, 0, .5),
    0 1px 0 rgba(130, 0, 0, .08);
}

.am-ziliao-down a::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 999px;
  background: #ffe27c;
  box-shadow: 0 0 0 2px rgba(255, 244, 189, .2), 0 0 8px rgba(255, 226, 124, .62);
}

.am-ziliao-down a:hover {
  color: #fffbe6;
  background:
    linear-gradient(90deg, rgba(255, 231, 142, .22), transparent 20%, transparent 80%, rgba(255, 231, 142, .2)),
    linear-gradient(180deg, #f00014 0, #bd000d 54%, #900007 100%);
}

.am-attribute-card {
  margin-top: 8px;
}

.am-attribute-frame-wrap {
  width: 100%;
  overflow: hidden;
  padding: 6px;
  background:
    linear-gradient(180deg, rgba(255, 253, 249, .96) 0, rgba(255, 248, 238, .98) 100%),
    radial-gradient(circle at 12% 0, rgba(255, 224, 150, .24), transparent 36%);
}

.am-attribute-frame {
  display: block;
  width: 100%;
  min-height: 900px;
  height: 1575px;
  overflow: hidden;
  border: 0;
  border-radius: 4px;
  background: #fff;
}

.am-history-link {
  cursor: pointer;
}

.am-history-link:hover {
  border-color: #c88422;
  box-shadow: 0 1px 0 rgba(180, 0, 0, .08), inset 0 1px 0 rgba(255, 255, 255, .85), 0 0 0 1px rgba(243, 195, 91, .42);
}

.am-history-link:focus-visible {
  outline: 2px solid #f3c35b;
  outline-offset: 2px;
}

.am-history-modal[hidden] {
  display: none;
}

.am-history-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.am-history-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(31, 6, 7, .68);
}

.am-history-dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(680px, 100%);
  max-height: calc(100vh - 40px);
  overflow: hidden;
  border: 1px solid #d7a341;
  border-radius: 8px;
  background: #fff8ec;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .38);
}

.am-history-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  color: #fff4b2;
  background:
    url("/assets/ai-generated/am-red-title-skin.webp") center/100% 100% no-repeat,
    linear-gradient(180deg, #d00012 0, #980007 58%, #740004 100%);
  box-shadow: inset 0 -1px 0 rgba(80, 0, 0, .42);
}

.am-history-head h2 {
  margin: 1px 0 0;
  color: #fff;
  font-size: 20px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .38);
}

.am-history-kicker {
  display: block;
  color: #ffe08a;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
}

.am-history-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 1px solid rgba(255, 236, 160, .84);
  border-radius: 7px;
  color: #780006;
  background: linear-gradient(180deg, #fff5bd 0, #e4ad43 100%);
  font-size: 24px;
  line-height: 1;
  font-weight: 900;
  cursor: pointer;
}

.am-history-body {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 9px;
  background:
    linear-gradient(180deg, rgba(255, 253, 249, .96) 0, rgba(255, 248, 238, .98) 100%),
    radial-gradient(circle at 12% 0, rgba(255, 224, 150, .24), transparent 36%);
}

.am-history-list {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.am-history-list li {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e5c6bc;
  border-radius: 7px;
  background: #fffdf9;
}

.am-history-row,
.am-history-row-link {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 8px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.am-history-row:hover .am-history-lines,
.am-history-row-link:hover .am-history-lines {
  background: #fff7e8;
}

.am-history-row-link:focus-visible {
  outline: 2px solid #f3c35b;
  outline-offset: -2px;
}

.am-history-issue {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 6px 4px;
  color: #8d0007;
  background: linear-gradient(180deg, #fff0c9 0, #f5d47e 100%);
  text-align: center;
  font-weight: 900;
}

.am-history-issue b {
  font-size: 16px;
  line-height: 1.1;
}

.am-history-issue span {
  margin-top: 2px;
  color: #785008;
  font-size: 10px;
  line-height: 1;
}

.am-history-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  margin-top: 5px;
  padding: 0 7px;
  border: 1px solid #d4a84b;
  border-radius: 999px;
  color: #7b0006 !important;
  background: linear-gradient(180deg, #fff6c8 0, #e5b24b 100%);
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  white-space: nowrap;
}

.am-history-lines {
  min-width: 0;
  padding: 6px 8px;
  color: #321717;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 800;
}

.am-history-lines p {
  margin: 0;
  overflow-wrap: anywhere;
}

.am-history-lines p + p {
  margin-top: 3px;
  padding-top: 3px;
  border-top: 1px dashed #ecd0c5;
}

.am-history-empty {
  padding: 20px 10px;
  color: #8a0007;
  text-align: center;
  font-size: 15px;
  font-weight: 900;
}

.am-detail-card {
  overflow: hidden;
  border: 1px solid var(--am-line);
  border-radius: 7px;
  background: #fffdf9;
  box-shadow: 0 1px 0 rgba(180, 0, 0, .08), inset 0 1px 0 rgba(255, 255, 255, .85);
}

.am-detail-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 38px;
  padding: 6px 8px;
  border-bottom: 1px solid #efd1c5;
  color: #8a0007;
  background: linear-gradient(180deg, #fff8e6 0, #ffecc5 100%);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 900;
}

.am-detail-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid #c88725;
  border-radius: 5px;
  color: #7a0900;
  background: linear-gradient(180deg, #fff5bd 0, #e0a33a 100%);
  font-weight: 900;
  white-space: nowrap;
}

.am-detail-body {
  padding: 8px;
}

.am-detail-empty {
  padding: 24px 10px;
  color: #8a0007;
  text-align: center;
  font-size: 16px;
  font-weight: 900;
}

body.am-history-open {
  overflow: hidden;
}

.am-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid #8a7550;
  border-radius: 6px;
  background: linear-gradient(180deg, #111a2a 0, #07101e 100%);
  box-shadow: inset 0 1px 0 rgba(255, 226, 142, .16);
}

.am-menu-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 50px;
  padding: 7px 4px;
  border-right: 1px solid rgba(157, 132, 82, .72);
  border-bottom: 1px solid rgba(157, 132, 82, .72);
  color: #f6da83;
  text-align: center;
  font-size: 15px;
  line-height: 1.1;
  font-weight: 900;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .5);
}

.am-menu-grid a:nth-child(3n) {
  border-right: 0;
}

.am-menu-grid a:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.am-menu-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  color: #ffd96d;
  font-size: 21px;
  line-height: 1;
  text-align: center;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .45);
}

.am-menu-icon img {
  display: block;
  width: 23px;
  height: 23px;
  object-fit: contain;
}

.am-footer {
  margin-top: 8px;
  padding: 8px 8px 9px;
  color: #d7dbe3;
  background: #111827;
  text-align: center;
  font-size: 10px;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.am-bottom-cta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% - 54px);
  max-width: 500px;
  margin: 10px auto 12px;
  min-height: 38px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, #019f29 0, #00831f 52%, #007019 100%);
  box-shadow:
    0 12px 25px rgba(0, 0, 0, .2),
    inset 0 1px 0 rgba(255, 255, 255, .32),
    inset 0 -2px 0 rgba(0, 73, 17, .48);
}

.am-bottom-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #fff;
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", SimHei, "PingFang SC", Arial, sans-serif;
  font-size: 20px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
  -webkit-text-stroke: .8px #151515;
  paint-order: stroke fill;
  text-shadow:
    0 1px 0 #111,
    1px 0 0 rgba(0, 0, 0, .68),
    -1px 0 0 rgba(0, 0, 0, .68),
    0 -1px 0 rgba(0, 0, 0, .62),
    0 2px 3px rgba(0, 0, 0, .35);
}

.am-bottom-text img {
  display: none;
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  object-fit: contain;
}

.am-right-float-ad {
  position: fixed;
  right: 8px;
  top: 280px;
  z-index: 600;
  display: block;
  width: 118px;
  text-align: center;
  line-height: 0;
}

.am-right-float-ad img {
  display: block;
  width: 96px;
  height: auto;
  margin: 0 auto 8px;
  border: 0;
}

.am-right-float-close {
  position: fixed;
  right: 8px;
  top: 264px;
  z-index: 601;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #fff;
  background: #f20202;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
  cursor: pointer;
}

.am-bottom-action {
  display: none;
  min-width: 128px;
  padding: 0 16px;
  color: #7b0900;
  font-size: 18px;
  background: linear-gradient(180deg, #fff2b1 0, #e0ae47 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .82), 0 1px 0 rgba(0, 0, 0, .22);
}

@media (min-width: 461px) {
  .am-hero-top {
    min-height: 72px;
    padding: 6px 28px 6px;
  }

  .am-brand-full-logo {
    width: 244px;
  }

  .am-brand-mark {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .am-brand-name strong {
    font-size: 28px;
  }

  .am-brand-name span {
    font-size: 15px;
  }

  .am-balls {
    min-height: 38px;
    padding: 6px 26px 7px;
    gap: 14px;
    border-top: 1px solid rgba(255, 227, 153, .45);
    border-bottom: 1px solid rgba(85, 0, 0, .7);
  }

  .am-lottery-issue {
    height: 18px;
    margin: 0 0 -1px;
    font-size: 13px;
  }

  .am-lottery-issue::before,
  .am-lottery-issue::after {
    width: 28px;
    margin: 0 7px;
  }

  .am-ball {
    flex-direction: row;
    gap: 2px;
    width: auto;
    height: 25px;
    min-width: 64px;
    flex: 0 0 64px;
    padding: 0 8px;
    border-width: 1px;
    border-color: #d0c5b5;
    color: #151515;
    background:
      linear-gradient(180deg, #fff 0, #f7f7f7 54%, #dedede 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 1px 0 rgba(0, 0, 0, .28);
  }

  .am-ball b {
    color: #111;
    font-size: 16px;
    line-height: 1;
  }

  .am-ball span {
    color: #111;
    font-size: 13px;
    line-height: 1;
  }

  .am-special-ball {
    justify-content: center;
    gap: 2px;
    min-width: 90px;
    height: 25px;
    flex: 0 0 90px;
    padding: 0 7px;
    border: 1px solid #b87a1a;
    border-radius: 999px;
    background: linear-gradient(180deg, #fff0a1 0, #e7bb48 55%, #c17e19 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75), 0 1px 0 rgba(0, 0, 0, .28);
  }

  .am-special-ball .am-ball {
    width: auto;
    height: auto;
    min-width: 0;
    flex: 0 0 auto;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .am-ball-tag {
    color: #6d1500;
    font-size: 13px;
    text-shadow: 0 1px 0 rgba(255, 244, 171, .65);
  }

  .am-tabs a {
    padding: 10px 0;
  }
}

@media screen {
  body.am-home-page {
    padding-bottom: 0;
  }

  .am-home {
    border-left: 0;
    border-right: 0;
  }

  .am-hero-top {
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 6px;
    padding-bottom: 6px;
    gap: 8px;
    min-height: 68px;
  }

  .am-brand-full-logo {
    width: 218px;
  }

  .am-brand-mark {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    border: 2px solid #f8d885;
    background: #fff;
  }

  .am-brand-mark-desktop {
    display: block;
  }

  .am-brand-name {
    flex-direction: row;
    align-items: baseline;
    gap: 6px;
  }

  .am-brand-name strong {
    font-size: 26px;
    line-height: 1;
  }

  .am-brand-name span {
    margin-left: 0;
    font-size: 12px;
    line-height: 1;
  }

  .am-main-action {
    min-width: 92px;
    min-height: 30px;
    padding: 0 8px;
    font-size: 13px;
  }

  .am-balls {
    min-height: 38px;
    gap: 4px;
    padding: 6px 6px 7px;
    border-top: 1px solid rgba(255, 227, 153, .45);
    border-bottom: 1px solid rgba(85, 0, 0, .7);
  }

  .am-lottery-issue {
    height: 17px;
    margin: 0 0 -1px;
    font-size: 12px;
  }

  .am-lottery-issue::before,
  .am-lottery-issue::after {
    width: 18px;
    margin: 0 5px;
  }

  .am-ball {
    flex-direction: row;
    gap: 1px;
    width: auto;
    height: 25px;
    min-width: 0;
    flex: 1 1 0;
    padding: 0 2px;
    border-width: 1px;
    border-color: #d0c5b5;
    color: #151515;
    background: linear-gradient(180deg, #fff 0, #f7f7f7 54%, #dedede 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 1px 0 rgba(0, 0, 0, .28);
  }

  .am-ball b {
    color: #111;
    font-size: 14px;
    line-height: 1;
  }

  .am-ball span {
    color: #111;
    font-size: 10px;
    line-height: 1;
  }

  .am-ball-tag {
    color: #6d1500;
    font-size: 10px;
    text-shadow: 0 1px 0 rgba(255, 244, 171, .65);
  }

  .am-special-ball {
    justify-content: center;
    gap: 1px;
    min-width: 66px;
    height: 25px;
    flex: 0 0 66px;
    padding: 0 4px;
    border: 1px solid #b87a1a;
    border-radius: 999px;
    background: linear-gradient(180deg, #fff0a1 0, #e7bb48 55%, #c17e19 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75), 0 1px 0 rgba(0, 0, 0, .28);
  }

  .am-ball.is-special {
    width: auto;
    height: auto;
    min-width: 0;
    flex: 0 0 auto;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .am-tabs a {
    padding: 10px 0;
    font-size: 15px;
  }

  .am-tabs {
    border-top-color: rgba(255, 230, 170, .55);
    border-bottom-color: #5d0002;
    background: linear-gradient(180deg, #9e0009 0, #770004 100%);
    box-shadow: none;
  }

  .am-tabs a {
    border-right-color: rgba(255, 210, 125, .55);
    color: #ffe9b4;
    text-shadow: 0 1px 0 rgba(0, 0, 0, .42);
  }

  .am-tabs a:first-child::after {
    content: none;
  }

  .am-gold-band,
  .am-recruit-band,
  .am-wechat-band,
  .am-vip-band,
  .am-claim-band,
  .am-home > .am-ziliao-img-ad,
  .am-table-wrap,
  .am-ziliao-section,
  .am-menu-grid,
  .am-card-grid {
    margin-left: 5px;
    margin-right: 5px;
  }

  .am-gold-text {
    font-size: 14px;
  }

  .am-gold-action {
    min-width: 78px;
    padding: 0 9px;
    font-size: 13px;
    min-height: 30px;
    border-radius: 6px;
  }

  .am-gold-band {
    min-height: 42px;
    padding-top: 5px;
    padding-bottom: 5px;
    border-radius: 5px;
  }

  .am-gold-icon {
    width: 24px;
    height: 24px;
  }

  .am-gold-icon img {
    width: 24px;
    height: 24px;
  }

  .am-card-grid,
  .am-feature-grid {
    gap: 6px;
  }

  .am-feature-grid {
    grid-template-columns: 1fr;
  }

  .am-card-grid {
    grid-template-columns: 1fr;
  }

  .am-feature-card {
    position: relative;
    display: block;
    min-height: 92px;
    padding: 0;
    border-color: #dfb8ab;
    background: linear-gradient(180deg, #fffefb 0, #fff8ef 100%);
  }

  .am-feature-card .am-panel-title {
    position: absolute;
    top: 10px;
    left: 58px;
    right: 6px;
    justify-content: flex-start;
    min-height: 0;
    padding: 0;
    color: #b10010;
    background: none;
    box-shadow: none;
    text-align: left;
    font-size: 15px;
    line-height: 1;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .9);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .am-pair-layout {
    gap: 6px;
    margin-left: 6px;
    margin-right: 6px;
    grid-template-columns: 1fr;
  }

  .am-panel-title {
    font-size: 15px;
  }

  .am-panel-body {
    padding: 7px 7px;
    font-size: 13px;
  }

  .am-sanqi-line {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 1px 5px;
    padding: 2px 0;
  }

  .am-sanqi-line b {
    font-size: 12px;
  }

  .am-sanqi-line span {
    font-size: 12px;
    line-height: 1.25;
  }

  .am-sanqi-line em {
    grid-column: 1 / -1;
    font-size: 11px;
    line-height: 1.25;
  }

  .am-ds-row {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 4px 5px;
    padding: 4px 0;
  }

  .am-ds-issue {
    min-height: 40px;
    font-size: 11px;
  }

  .am-ds-lines {
    gap: 3px;
  }

  .am-ds-lines p {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 3px;
  }

  .am-ds-label {
    min-height: 18px;
    font-size: 11px;
  }

  .am-ds-nums {
    gap: 1px;
  }

  .am-ds-nums i {
    min-height: 18px;
    border-radius: 2px;
    font-size: 10px;
  }

  .am-ds-open {
    grid-column: 1 / -1;
    justify-self: end;
    font-size: 11px;
  }

  .am-feature-body {
    display: block;
    min-height: 0;
    height: 0;
    padding: 0;
    background: none;
  }

  .am-feature-icon {
    position: absolute;
    left: 9px;
    top: 50%;
    width: 44px;
    height: 44px;
    transform: translateY(-50%);
  }

  .am-feature-copy {
    position: absolute;
    top: 30px;
    left: 58px;
    right: 6px;
    bottom: 7px;
    overflow: hidden;
    font-size: 10.5px;
    justify-content: flex-start;
    padding-top: 0;
    gap: 1px;
    line-height: 1.18;
  }

  .am-feature-copy strong {
    display: block;
    color: #4a2828;
    font-size: 10.5px;
    line-height: 1.18;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .am-feature-copy span {
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .am-feature-copy span:nth-of-type(n+3) {
    display: none;
  }

  .am-feature-copy em {
    display: inline-flex;
    max-width: 100%;
    margin-top: 1px;
    padding: 1px 5px;
    overflow: hidden;
    font-size: 10px;
    line-height: 1.15;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .am-mini-row {
    grid-template-columns: 44px 1fr 34px;
  }

  .am-recruit-band {
    min-height: 38px;
    padding-top: 5px;
    padding-bottom: 5px;
    gap: 8px;
    font-size: 16px;
  }

  .am-recruit-img,
  .am-recruit-img img {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
  }

  .am-recruit-icon {
    font-size: 22px;
  }

  .am-wechat-band {
    gap: 4px;
    min-height: 42px;
    padding: 5px 6px;
    border-radius: 5px;
  }

  .am-wechat-icon {
    width: 42px;
    height: 32px;
    flex-basis: 42px;
  }

  .am-wechat-mark {
    width: 42px;
    height: 32px;
  }

  .am-wechat-text {
    font-size: 15px;
    line-height: 1.08;
    white-space: nowrap;
  }

  .am-slot-badge {
    width: 50px;
    height: 32px;
    flex-basis: 50px;
    font-size: 15px;
  }

  .am-claim-body {
    grid-template-columns: 54px repeat(3, minmax(0, 1fr)) 50px;
    gap: 4px;
    padding: 5px 6px 7px;
  }

  .am-gift-box {
    min-height: 45px;
  }

  .am-gift-box img {
    width: 45px;
    height: 45px;
  }

  .am-claim-title {
    padding-top: 6px;
    padding-bottom: 0;
    font-size: 18px;
  }

  .am-claim-item,
  .am-claim-action {
    font-size: 12px;
  }

  .am-claim-item {
    min-height: 45px;
    line-height: 1.2;
  }

  .am-claim-item strong {
    font-size: 0;
    line-height: 1;
  }

  .am-claim-item strong::after {
    content: "5码数据";
    color: #a00009;
    font-size: 12px;
  }

  .am-claim-action {
    min-height: 45px;
  }

  .am-vip-text {
    gap: 6px;
    font-size: 18px;
  }

  .am-vip-text::before {
    font-size: 25px;
  }

  .am-vip-band {
    min-height: 50px;
    padding-top: 7px;
    padding-bottom: 7px;
  }

  .am-vip-crown {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .am-vip-crown img {
    width: 36px;
    height: 36px;
  }

  .am-vip-action {
    min-width: 88px;
    font-size: 14px;
  }

  .am-table {
    font-size: 11px;
    line-height: 1.24;
  }

  .am-table-title {
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 15px;
  }

  .am-table th,
  .am-table td {
    padding: 4px 3px;
  }

  .am-section-title {
    padding: 7px 8px;
    font-size: 17px;
    border-radius: 5px 5px 0 0;
  }

  .am-ziliao-list {
    gap: 6px;
    padding-top: 6px;
  }

  .am-ziliao-ad {
    grid-template-columns: 28px minmax(0, 1fr) auto;
    gap: 5px;
    min-height: 40px;
    padding: 5px 6px;
    border-radius: 5px;
  }

  .am-ziliao-ad-icon {
    width: 28px;
    height: 28px;
  }

  .am-ziliao-ad-icon img {
    width: 28px;
    height: 28px;
  }

  .am-ziliao-ad-text {
    font-size: 14px;
    line-height: 1.12;
  }

  .am-ziliao-ad-action {
    min-height: 28px;
    padding: 0 7px;
    border-radius: 5px;
    font-size: 12px;
  }

  .am-ziliao-card {
    border-radius: 6px;
  }

  .am-ziliao-content {
    padding: 4px;
    font-size: 11px;
    line-height: 1.3;
  }

  .am-ziliao-content th,
  .am-ziliao-content td {
    padding: 4px 2px !important;
    font-size: 11px;
    line-height: 1.28;
  }

  .am-ziliao-down a {
    min-height: 30px;
    padding: 5px 8px;
    font-size: 12px;
  }

  .am-menu-grid a {
    min-height: 46px;
    gap: 4px;
    font-size: 13px;
  }

  .am-menu-icon {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
    font-size: 18px;
  }

  .am-menu-icon img {
    width: 20px;
    height: 20px;
  }

  .am-bottom-cta {
    width: calc(100% - 50px);
    min-height: 34px;
    margin-top: 8px;
    margin-bottom: 10px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .am-bottom-text {
    font-size: 18px;
  }

  .am-right-float-ad {
    top: auto;
    right: 4px;
    bottom: 48px;
    width: 92px;
  }

  .am-right-float-ad img {
    width: 78px;
  }

  .am-right-float-close {
    top: auto;
    right: 4px;
    bottom: 126px;
  }

  .am-bottom-action {
    min-width: 104px;
    padding: 0 12px;
    font-size: 16px;
  }

  .am-history-modal {
    align-items: flex-start;
    padding: 9px;
  }

  .am-history-dialog {
    max-height: calc(100vh - 18px);
    border-radius: 7px;
  }

  .am-history-head {
    padding: 8px 9px;
  }

  .am-history-head h2 {
    font-size: 17px;
  }

  .am-history-close {
    width: 31px;
    height: 31px;
    flex-basis: 31px;
    font-size: 21px;
  }

  .am-history-body {
    padding: 7px;
  }

  .am-history-list {
    gap: 6px;
  }

  .am-history-list li {
    border-radius: 6px;
  }

  .am-history-row,
  .am-history-row-link {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 5px;
  }

  .am-history-issue {
    min-height: 48px;
    padding-left: 3px;
    padding-right: 3px;
  }

  .am-history-issue b {
    font-size: 13px;
  }

  .am-history-index {
    min-height: 18px;
    margin-top: 4px;
    padding: 0 5px;
    font-size: 10px;
  }

  .am-history-lines {
    padding: 5px 6px;
    font-size: 12px;
    line-height: 1.36;
  }
}

@media screen and (min-width: 721px) {
  .am-right-float-ad {
    right: 8px;
    top: 280px;
    bottom: auto;
    width: 118px;
  }

  .am-right-float-ad img {
    width: 96px;
  }

  .am-right-float-close {
    right: 8px;
    top: 264px;
    bottom: auto;
  }
}

@media (max-width: 340px) {
  .am-brand-name {
    gap: 5px;
  }

  .am-brand-name strong {
    font-size: 22px;
  }

  .am-main-action {
    min-width: 82px;
    min-height: 28px;
    padding: 0 7px;
    font-size: 12px;
  }

  .am-tabs a {
    padding: 10px 0;
    font-size: 14px;
    white-space: nowrap;
  }

  .am-gold-text {
    font-size: 11px;
  }

  .am-gold-action {
    min-width: 64px;
    padding-left: 6px;
    padding-right: 6px;
    font-size: 12px;
  }

  .am-wechat-band {
    gap: 3px;
    padding-left: 5px;
    padding-right: 5px;
  }

  .am-wechat-icon {
    width: 36px;
    flex-basis: 36px;
  }

  .am-wechat-mark {
    width: 36px;
  }

  .am-wechat-text {
    font-size: 13px;
  }

  .am-slot-badge {
    width: 44px;
    flex-basis: 44px;
  }

  .am-card-grid,
  .am-feature-grid {
    grid-template-columns: 1fr;
  }

  .am-pair-layout {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 341px) and (max-width: 380px) {
  .am-gold-text {
    font-size: 13px;
  }

  .am-gold-action {
    min-width: 74px;
    padding-left: 8px;
    padding-right: 8px;
    font-size: 12px;
  }
}

.am-tabs a,
.am-lottery-issue,
.am-ball-tag,
.am-gold-text,
.am-gold-action,
.am-vip-action,
.am-claim-title,
.am-claim-action,
.am-panel-title,
.am-table-title,
.am-section-title,
.am-ziliao-ad-text,
.am-ziliao-ad-action,
.am-history-head h2,
.am-history-kicker,
.am-menu-grid a,
.am-bottom-text {
  font-family: var(--am-display-font);
  font-weight: 900;
  letter-spacing: 0;
  -webkit-text-stroke: var(--am-display-stroke);
  paint-order: stroke fill;
  text-shadow: var(--am-display-shadow);
}

.am-tabs a,
.am-panel-title,
.am-table-title,
.am-section-title,
.am-history-head h2,
.am-history-kicker,
.am-bottom-text {
  color: #fff;
}

.am-bottom-text {
  -webkit-text-stroke: .9px #151515;
}
