:root {
  --ab-red: #e6002d;
  --ab-dark-1: #0f1218;
  --ab-dark-2: #1f2229;
  --ab-dark-3: #2a2d35;
  --ab-border: #dee3ed;
  --ab-text: #171a20;
  --ab-muted: #6f7788;
  --ab-bg: #ececef;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--ab-bg);
  color: var(--ab-text);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.ab-wrap {
  width: min(1360px, 95vw);
  margin: 0 auto;
}

.ab-header {
  position: sticky;
  top: 0;
  z-index: 88;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
}

.ab-topline {
  background: var(--ab-dark-1);
  color: #fff;
}

.ab-top-inner {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  font-size: 14px;
}

.ab-coop {
  border: 1px solid #9d7d2c;
  color: #e2b847;
  border-radius: 7px;
  padding: 6px 12px;
}

.ab-mainline {
  background: linear-gradient(180deg, #1d2026, #252932);
}

.ab-main-inner {
  min-height: 94px;
  display: grid;
  grid-template-columns: 270px 1fr 340px;
  align-items: center;
  gap: 18px;
}

.ab-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.ab-logo img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
}

.ab-logo strong {
  font-size: 28px;
  line-height: 1.1;
}

.ab-logo em {
  display: block;
  font-style: normal;
  color: #fff;
  opacity: .95;
}

.ab-search {
  display: flex;
  height: 50px;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.ab-search input {
  flex: 1;
  border: 0;
  outline: 0;
  padding: 0 14px;
  font-size: 16px;
}

.ab-search button {
  width: 70px;
  border: 0;
  background: var(--ab-red);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

.ab-main-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}

.ab-order-query-link {
  color: #fff;
  font-weight: 700;
}

.ab-user-box {
  position: relative;
}

.ab-user-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  overflow: hidden;
  cursor: pointer;
  background: transparent;
  padding: 0;
}

.ab-user-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ab-user-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 52px;
  width: 220px;
  border: 1px solid var(--ab-border);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 16px 26px rgba(0, 0, 0, .15);
}

.ab-user-box.open .ab-user-menu {
  display: block;
}

.ab-user-menu a {
  display: block;
  padding: 11px 14px;
  border-bottom: 1px solid #eff2f8;
  color: #2b3342;
}

.ab-user-menu a:last-child {
  border-bottom: 0;
}

.ab-login-link {
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 999px;
  color: #fff;
  padding: 8px 14px;
  font-size: 14px;
}

.ab-navline {
  background: var(--ab-dark-3);
  border-bottom: 2px solid var(--ab-red);
}

.ab-nav {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
}

.ab-nav a {
  color: #f1f4f8;
  padding: 9px 15px;
  border-radius: 8px;
  white-space: nowrap;
  font-size: 15px;
}

.ab-nav a.active {
  background: var(--ab-red);
  color: #fff;
}

.ab-feature-strip {
  background: #f4f5f7;
  border-bottom: 1px solid #d8dce5;
}

.ab-feature-grid {
  min-height: 80px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: center;
}

.ab-feature-item {
  display: grid;
  gap: 2px;
}

.ab-feature-item strong {
  font-size: 20px;
}

.ab-feature-item span {
  color: var(--ab-muted);
  font-size: 14px;
}

.ab-main {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 16px;
}

.ab-side {
  background: #f5f5f6;
  border: 1px solid var(--ab-border);
  border-radius: 14px;
  padding: 12px;
  height: fit-content;
}

.ab-side-item {
  min-height: 56px;
  border-radius: 10px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
}

.ab-side-item.active {
  background: var(--ab-red);
  color: #fff;
}

.ab-side-item img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  object-fit: cover;
}

.ab-home-main {
  min-width: 0;
}

.ab-banner-area {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 14px;
}

.ab-banner-main,
.ab-banner-right,
.ab-mini-banner {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
}

.ab-banner-main {
  min-height: 360px;
  background: linear-gradient(120deg, #b59bff, #b8e6ff);
}

.ab-banner-main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(22, 22, 30, .1), rgba(22, 22, 30, .36));
}

.ab-banner-main-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 60px 54px;
}

.ab-banner-main-content p {
  margin: 0;
  font-size: 52px;
  font-weight: 700;
}

.ab-banner-main-content h2 {
  margin: 14px 0 18px;
  font-size: 44px;
  line-height: 1.14;
}

.ab-banner-main-content span {
  display: inline-block;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff8c74, #d644ff);
  color: #fff;
  padding: 8px 26px;
  font-size: 20px;
  font-weight: 700;
}

.ab-right-grid {
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ab-banner-right {
  min-height: 172px;
  background: linear-gradient(125deg, #9ec9ff, #81e4d8);
}

.ab-banner-right:nth-child(2) {
  background: linear-gradient(125deg, #9ec9ff, #89a2ff);
}

.ab-banner-right-content,
.ab-mini-content {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  color: #fff;
}

.ab-banner-right-content strong,
.ab-mini-content strong {
  display: block;
  font-size: 28px;
  line-height: 1.2;
}

.ab-mini-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ab-mini-banner {
  min-height: 144px;
  background: linear-gradient(130deg, #146d46, #25b78f);
}

.ab-mini-banner:nth-child(2) {
  background: linear-gradient(130deg, #0e2359, #9f5632);
}

.ab-mini-banner:nth-child(3) {
  background: linear-gradient(130deg, #6f1414, #111);
}

.ab-section {
  margin-top: 26px;
  background: #fff;
  border: 1px solid var(--ab-border);
  border-radius: 14px;
  padding: 20px;
}

.ab-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.ab-section-head h3 {
  margin: 0;
  font-size: 28px;
}

.ab-section-head a {
  color: #8a909f;
}

.ab-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.ab-card {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e4e8f0;
  background: #fff;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}

.ab-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 18px rgba(0, 0, 0, .08);
}

.ab-card-top {
  min-height: 148px;
  position: relative;
  color: #fff;
  padding: 16px;
}

.ab-card-top img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ab-card-top::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(0, 0, 0, .1), rgba(0, 0, 0, .46));
}

.ab-card-title,
.ab-card-tag {
  position: relative;
  z-index: 2;
}

.ab-card-title {
  margin-top: 12px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

.ab-card-tag {
  display: inline-block;
  margin-top: 8px;
  background: rgba(255, 255, 255, .32);
  border-radius: 7px;
  padding: 4px 8px;
  font-size: 13px;
}

.ab-card-bottom {
  padding: 12px 14px;
  color: var(--ab-red);
  font-size: 30px;
  font-weight: 800;
}

.ab-card-bottom small {
  color: #9ca3af;
  font-size: 16px;
}

.ab-hot {
  margin-top: 20px;
  background: #020304;
  color: #fff;
  border-radius: 14px;
  padding: 22px;
}

.ab-hot .ab-section-head h3,
.ab-hot .ab-section-head a {
  color: #fff;
}

#abCategoryBlocks {
  margin-top: 18px;
}

.ab-floor {
  margin-top: 18px;
  background: #f3f4f6;
  border: 1px solid #e2e6ef;
  border-radius: 14px;
  padding: 20px;
}

.ab-floor-dark {
  background: #030507;
  color: #fff;
  border-color: #11151c;
}

.ab-floor-dark .ab-section-head h3,
.ab-floor-dark .ab-section-head a {
  color: #fff;
}

.ab-grid-floor {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ab-voice-wrap {
  margin-top: 20px;
  background: #f3f4f6;
  border-top: 2px solid #eb2850;
  border-bottom: 1px solid #e3e7ef;
  padding: 26px 0 28px;
}

.ab-voice-head {
  text-align: center;
}

.ab-voice-head h3 {
  margin: 0;
  font-size: 44px;
}

.ab-voice-head p {
  margin: 6px 0 0;
  color: #667085;
}

.ab-voice-grid {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.ab-voice-card {
  background: #fff;
  border: 1px solid #e1e6ef;
  border-radius: 12px;
  padding: 18px 14px 14px;
  position: relative;
}

.ab-voice-avatar {
  position: absolute;
  left: 16px;
  top: -18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(120deg, #ed5c7a, #f9a8d4);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.ab-voice-card h4 {
  margin: 10px 0 8px;
  font-size: 24px;
}

.ab-voice-stars {
  color: #f59e0b;
  letter-spacing: 2px;
}

.ab-voice-card p {
  margin: 8px 0 0;
  color: #4b5563;
  line-height: 1.55;
}

.ab-voice-card time {
  display: block;
  margin-top: 10px;
  color: #8a94a8;
  font-size: 13px;
}

.ab-voice-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.ab-pay-row-wrap {
  margin-top: 14px;
}

.ab-pay-row {
  background: #f6f7fb;
  border: 1px solid #e0e5f0;
  border-radius: 10px;
  min-height: 56px;
  padding: 10px 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.ab-pay-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid #d7dceb;
  color: #334155;
  font-size: 13px;
}

.ab-pay-chip img {
  max-height: 24px;
  max-width: 112px;
  display: block;
}

.ab-cfg-hidden {
  display: none;
}

.ab-query {
  margin: 24px 0 32px;
  background: #f7f7f9;
  border: 1px solid var(--ab-border);
  border-radius: 14px;
  padding: 20px;
}

.ab-query h3 {
  margin: 0 0 12px;
  font-size: 28px;
}

.ab-query-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.ab-query-form input,
.ab-query-form button {
  height: 44px;
  border-radius: 8px;
  font-size: 15px;
}

.ab-query-form input {
  border: 1px solid #d6dce7;
  padding: 0 12px;
}

.ab-query-form button {
  border: 0;
  background: var(--ab-red);
  color: #fff;
  padding: 0 18px;
  cursor: pointer;
}

.ab-query-list {
  margin-top: 12px;
  display: grid;
  gap: 12px;
}

.ab-query-item {
  background: #fff;
  border: 1px solid #e2e6ef;
  border-radius: 10px;
  padding: 12px;
}

.ab-query-item-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.ab-q-tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 12px;
}

.ab-q-tag.ok {
  color: #047857;
  background: #ecfdf3;
}

.ab-q-tag.wait {
  color: #9a3412;
  background: #fff7ed;
}

.ab-query-item p {
  margin: 7px 0 0;
  color: #4e5768;
}

.ab-query-secret {
  margin-top: 8px;
  display: grid;
  grid-template-columns: 180px auto;
  gap: 8px;
}

.ab-query-secret input {
  height: 38px;
  border: 1px solid #d5dbe7;
  border-radius: 8px;
  padding: 0 10px;
}

.ab-query-secret button {
  border: 0;
  border-radius: 8px;
  background: #111827;
  color: #fff;
  padding: 0 12px;
  cursor: pointer;
}

.ab-query-text {
  margin-top: 8px;
  width: 100%;
  min-height: 88px;
  border: 1px solid #dce2ec;
  border-radius: 8px;
  padding: 8px;
  font-size: 13px;
  display: none;
}

.ab-app-bar {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: min(1320px, 95vw);
  background: linear-gradient(90deg, #8a0000, #121315);
  color: #fff;
  border-radius: 12px 12px 0 0;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 99;
}

.ab-app-bar a {
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 999px;
  color: #fff;
  padding: 6px 16px;
}

.ab-empty {
  border: 1px dashed #d4dae7;
  border-radius: 10px;
  text-align: center;
  color: #7d8594;
  padding: 22px;
}

.ab-mobile-home {
  display: none;
}

.ab-mobile-hero {
  border-radius: 14px;
  background: linear-gradient(165deg, #220307 0%, #5a0912 42%, #d41a2f 100%);
  padding: 14px;
  color: #fff;
  box-shadow: 0 10px 24px rgba(140, 9, 25, .22);
}

.ab-mobile-hero h2 {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
}

.ab-mobile-featureline {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: rgba(255, 255, 255, .88);
  font-size: 12px;
}

.ab-mobile-hot-track {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ab-mobile-hot-card {
  border-radius: 12px;
  background: #fff;
  padding: 10px;
  color: #111827;
  border: 1px solid #f2f4f8;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .08);
}

.ab-mobile-hot-card img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
}

.ab-mobile-hot-card h4 {
  margin: 8px 0 2px;
  font-size: 16px;
  line-height: 1.25;
}

.ab-mobile-hot-card p {
  margin: 0;
  color: #e6002d;
  font-weight: 700;
  font-size: 14px;
}

.ab-mobile-hot-card button {
  margin-top: 8px;
  width: 100%;
  height: 30px;
  border: 0;
  border-radius: 8px;
  background: #1f2329;
  color: #fff;
  font-size: 13px;
}

.ab-mobile-tabs {
  margin-top: 12px;
  display: flex;
  overflow-x: auto;
  gap: 14px;
  white-space: nowrap;
  padding-bottom: 2px;
}

.ab-mobile-tabs::-webkit-scrollbar {
  display: none;
}

.ab-mobile-tab {
  color: #667085;
  font-size: 15px;
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
}

.ab-mobile-tab.active {
  color: #111827;
  border-bottom-color: #e6002d;
  font-weight: 700;
}

.ab-mobile-list {
  margin-top: 10px;
  display: grid;
  gap: 10px;
}

.ab-mobile-list-item {
  border-radius: 12px;
  border: 1px solid #e5eaf3;
  background: #fff;
  padding: 10px;
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 10px;
  align-items: center;
}

.ab-mobile-list-item img {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
}

.ab-mobile-list-main h4 {
  margin: 0;
  font-size: 15px;
  line-height: 1.25;
  color: #111827;
}

.ab-mobile-list-main p {
  margin: 6px 0 0;
  color: #7a8699;
  font-size: 13px;
}

.ab-mobile-list-buy {
  width: 48px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: #2a2f37;
  color: #fff;
  font-size: 12px;
}

.ab-notice-strip {
  background: #f6f2e7;
  border-bottom: 1px solid #e9dec7;
}

.ab-notice-inner {
  min-height: 46px;
  display: flex;
  align-items: center;
  color: #d97706;
  font-size: 15px;
}

.ab-detail-hero-wrap {
  background: #d9dde3;
  padding: 18px 0 18px;
}

.ab-breadcrumb {
  color: #374151;
  font-size: 15px;
  margin-bottom: 12px;
}

.ab-detail-hero {
  min-height: 170px;
  border-radius: 16px;
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 20px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid #cfd4df;
  background-color: rgba(255, 255, 255, .2);
}

.ab-detail-cover {
  width: 172px;
  height: 172px;
  border-radius: 16px;
  object-fit: cover;
  background: #fff;
  border: 4px solid rgba(255, 255, 255, .35);
  box-shadow: 0 8px 24px rgba(17, 24, 39, .12);
}

.ab-detail-head h1 {
  margin: 0;
  font-size: 48px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: .3px;
}

.ab-detail-sub {
  margin-top: 10px;
  display: flex;
  gap: 16px;
  color: #334155;
  font-size: 16px;
}

.ab-detail-feature {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.ab-detail-feature div {
  background: rgba(255, 255, 255, .5);
  border: 1px solid #d0d6e2;
  border-radius: 12px;
  padding: 10px 12px 10px 46px;
  position: relative;
}

.ab-detail-feature div::before {
  position: absolute;
  left: 14px;
  top: 11px;
  font-size: 20px;
  line-height: 1;
}

.ab-detail-feature div:nth-child(1)::before {
  content: "🛡";
}

.ab-detail-feature div:nth-child(2)::before {
  content: "🚚";
}

.ab-detail-feature div:nth-child(3)::before {
  content: "🛠";
}

.ab-detail-feature strong {
  display: block;
  font-size: 20px;
  color: #0f172a;
}

.ab-detail-feature span {
  color: #475569;
  font-size: 14px;
}

.ab-detail-main {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 14px;
  margin-bottom: 30px;
}

.ab-panel {
  background: #f7f8fa;
  border: 1px solid #d9dee7;
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 12px;
}

.ab-panel-title {
  font-size: 35px;
  font-weight: 800;
  margin: 0 0 12px;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ab-panel-title::before {
  content: "";
  width: 5px;
  height: 24px;
  border-radius: 999px;
  background: var(--ab-red);
}

.ab-race {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.ab-race-chip {
  border: 1px solid #cfd6e3;
  border-radius: 10px;
  padding: 8px 18px;
  font-size: 26px;
  cursor: pointer;
  background: #fff;
  color: #1f2937;
}

.ab-race-chip.active {
  border-color: var(--ab-red);
  background: linear-gradient(180deg, #ff3765, #e6002d);
  color: #fff;
  box-shadow: 0 8px 16px rgba(230, 0, 45, .25);
}

.ab-package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.ab-package-card {
  background: #fff;
  border: 1px solid #cfd6e3;
  border-radius: 12px;
  padding: 12px 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  position: relative;
  min-height: 76px;
}

.ab-package-card.active {
  border-color: var(--ab-red);
  box-shadow: 0 8px 18px rgba(230, 0, 45, .12);
}

.ab-package-main h4 {
  margin: 0;
  font-size: 28px;
  line-height: 1.3;
  color: #111827;
}

.ab-package-main p {
  margin: 4px 0 0;
  color: #64748b;
  font-size: 15px;
}

.ab-package-price {
  font-size: 32px;
  color: var(--ab-red);
  font-weight: 800;
  white-space: nowrap;
}

.ab-package-badge {
  position: absolute;
  top: -10px;
  right: 14px;
  background: linear-gradient(90deg, #ff4269, #ff8a00);
  color: #fff;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 700;
}

.purchase_count {
  margin-top: 12px;
  color: #334155;
}

.ab-desc img {
  max-width: 100%;
  height: auto;
}

.ab-detail-right {
  background: #f8f9fb;
  border: 1px solid #d9dee7;
  border-radius: 16px;
  padding: 14px;
  height: fit-content;
  position: sticky;
  top: 98px;
}

.ab-detail-right .ab-side-select {
  margin-bottom: 10px;
}

.ab-detail-right .ab-side-select > label {
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
}

.ab-detail-right .ab-race {
  margin-bottom: 0;
  gap: 6px;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 2px;
}

.ab-detail-right .ab-race::-webkit-scrollbar {
  display: none;
}

.ab-detail-right .ab-race-chip {
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 8px;
  white-space: nowrap;
}

.ab-package-grid-mini {
  grid-template-columns: 1fr;
  gap: 8px;
}

.ab-detail-right .ab-package-card {
  min-height: 54px;
  padding: 8px 10px;
}

.ab-detail-right .ab-package-main h4 {
  font-size: 13px;
  line-height: 1.25;
}

.ab-detail-right .ab-package-main p {
  font-size: 11px;
}

.ab-detail-right .ab-package-price {
  font-size: 16px;
}

.ab-check-row {
  margin-bottom: 10px;
}

.ab-check-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 7px;
}

.ab-check-row label {
  display: block;
  font-size: 14px;
  color: #334155;
  margin-bottom: 6px;
}

.ab-bulk-link {
  color: #64748b;
  font-size: 13px;
}

.ab-input {
  width: 100%;
  height: 42px;
  border: 1px solid #d7deeb;
  border-radius: 8px;
  padding: 0 10px;
  font-size: 14px;
  background: #fff;
}

.ab-qty {
  display: grid;
  grid-template-columns: 34px 1fr 34px;
  gap: 6px;
}

.ab-qty-btn {
  border: 1px solid #d7deeb;
  background: #f8fafc;
  border-radius: 8px;
  cursor: pointer;
  font-size: 18px;
}

.ab-qty input {
  height: 40px;
  border: 1px solid #d7deeb;
  border-radius: 8px;
  text-align: center;
  font-size: 15px;
}

.ab-offer-tags {
  margin: 4px 0 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  min-height: 24px;
}

.ab-offer-chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 6px;
  background: #fff2ef;
  border: 1px solid #ffd8d0;
  color: #ea580c;
  font-size: 12px;
  padding: 0 8px;
}

.ab-captcha-wrap {
  display: grid;
  grid-template-columns: 1fr 110px;
  gap: 8px;
}

.ab-captcha-wrap img {
  width: 100%;
  height: 40px;
  border-radius: 8px;
  border: 1px solid #d7deeb;
  cursor: pointer;
}

.ab-pay-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.ab-pay-item {
  border: 1px solid #d8deea;
  border-radius: 9px;
  background: #fff;
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  cursor: pointer;
}

.ab-pay-item.active {
  border-color: var(--ab-red);
  color: var(--ab-red);
}

.ab-pay-item img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.ab-seckill {
  margin: 8px 0;
  color: #ef4444;
  font-size: 14px;
}

.ab-summary {
  border-top: 1px solid #e6eaf2;
  margin-top: 10px;
  padding-top: 10px;
  display: grid;
  gap: 6px;
}

.ab-summary div {
  display: flex;
  justify-content: space-between;
  color: #475569;
}

.ab-summary b {
  color: #ea580c;
  font-size: 14px;
}

.ab-total b {
  color: var(--ab-red);
  font-size: 38px;
  font-weight: 800;
}

.ab-buy-btn {
  margin-top: 12px;
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: 10px;
  background: #1f2329;
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  cursor: pointer;
}

.ab-service-links {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.ab-service-links a {
  display: block;
  text-align: center;
  border: 1px solid #d8deea;
  border-radius: 8px;
  padding: 8px 0;
}

@media (max-width: 1024px) {
  .ab-top-inner {
    min-height: 38px;
    gap: 10px;
    font-size: 13px;
  }
  .ab-main-inner {
    min-height: 84px;
    gap: 12px;
  }
  .ab-logo img {
    width: 40px;
    height: 40px;
  }
  .ab-logo strong {
    font-size: 22px;
  }
  .ab-logo em {
    font-size: 13px;
  }
  .ab-search {
    height: 44px;
  }
  .ab-search input {
    font-size: 14px;
  }
  .ab-search button {
    width: 58px;
    font-size: 16px;
  }
  .ab-nav {
    min-height: 48px;
  }
  .ab-nav a {
    font-size: 14px;
    padding: 7px 12px;
  }
  .ab-main-inner {
    grid-template-columns: 1fr;
    padding: 12px 0;
  }
  .ab-main-actions {
    justify-content: flex-start;
  }
  .ab-main {
    grid-template-columns: 1fr;
  }
  .ab-banner-area {
    grid-template-columns: 1fr;
  }
  .ab-mini-grid {
    grid-template-columns: 1fr;
  }
  .ab-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ab-grid-floor {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ab-voice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ab-detail-main {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .ab-detail-right {
    position: static;
    padding: 10px;
  }
  .ab-detail-hero-wrap {
    padding: 12px 0;
  }
  .ab-breadcrumb {
    font-size: 13px;
    margin-bottom: 8px;
  }
  .ab-detail-hero {
    grid-template-columns: 120px 1fr;
    min-height: 126px;
    padding: 12px;
  }
  .ab-detail-cover {
    width: 108px;
    height: 108px;
  }
  .ab-package-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ab-panel-title {
    font-size: 22px;
  }
  .ab-race-chip {
    font-size: 14px;
    padding: 7px 12px;
  }
  .ab-package-main h4 {
    font-size: 15px;
  }
  .ab-package-main p {
    font-size: 12px;
  }
  .ab-package-price {
    font-size: 20px;
  }
  .ab-detail-head h1 {
    font-size: 26px;
  }
  .ab-detail-feature strong {
    font-size: 15px;
  }
  .ab-detail-feature span {
    font-size: 12px;
  }
  .ab-summary b {
    font-size: 13px;
  }
  .ab-total b {
    font-size: 30px;
  }
  .ab-buy-btn {
    font-size: 18px;
    height: 44px;
  }
}

@media (max-width: 640px) {
  .ab-page-home .ab-main,
  .ab-page-home .ab-section,
  .ab-page-home .ab-hot,
  .ab-page-home #abCategoryBlocks,
  .ab-page-home #abVoiceWrap,
  .ab-page-home #abPayRowWrap,
  .ab-page-home #query,
  .ab-page-home #abAppBar {
    display: none;
  }
  .ab-page-home .ab-feature-strip {
    display: none;
  }
  .ab-page-home .ab-mobile-home {
    display: block;
    margin: 10px 0 14px;
  }
  .ab-page-home .ab-mainline {
    background: linear-gradient(180deg, #0d1016, #171c26);
  }
  .ab-page-home .ab-main-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 6px;
    padding: 8px 0;
  }
  .ab-page-home .ab-logo {
    justify-content: flex-start;
  }
  .ab-page-home .ab-logo strong {
    font-size: 16px;
  }
  .ab-page-home .ab-main-actions {
    display: flex;
    justify-content: flex-end;
  }
  .ab-page-home .ab-main-actions .ab-order-query-link {
    background: #e6002d;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 12px;
  }
  .ab-page-home .ab-main-actions .ab-user-box,
  .ab-page-home .ab-main-actions .ab-login-link {
    display: none;
  }
  .ab-page-home .ab-search {
    height: 34px;
  }
  .ab-page-home .ab-search input {
    font-size: 12px;
  }
  .ab-page-home .ab-search button {
    width: 48px;
    font-size: 12px;
  }
  .ab-page-home .ab-navline {
    border-bottom-width: 1px;
  }
  .ab-page-home .ab-nav {
    min-height: 40px;
  }
  .ab-page-home .ab-nav a {
    font-size: 12px;
    padding: 6px 9px;
  }

  .ab-topline {
    display: none;
  }
  .ab-wrap {
    width: 96vw;
  }
  .ab-main-inner {
    min-height: 66px;
    gap: 8px;
    padding: 8px 0 6px;
    grid-template-columns: 110px 1fr;
    align-items: center;
  }
  .ab-logo strong {
    font-size: 14px;
  }
  .ab-logo em {
    font-size: 11px;
    opacity: .8;
  }
  .ab-logo img {
    width: 34px;
    height: 34px;
  }
  .ab-search {
    height: 36px;
    border-radius: 8px;
  }
  .ab-search input {
    font-size: 12px;
    padding: 0 10px;
  }
  .ab-search button {
    width: 50px;
    font-size: 13px;
  }
  .ab-main-actions {
    display: none;
  }
  .ab-nav {
    min-height: 42px;
    gap: 2px;
  }
  .ab-nav::-webkit-scrollbar {
    display: none;
  }
  .ab-nav a {
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 7px;
  }
  .ab-feature-grid {
    grid-template-columns: 1fr;
  }
  .ab-feature-item strong {
    font-size: 17px;
  }
  .ab-feature-item span {
    font-size: 12px;
  }
  .ab-main {
    margin-top: 10px;
  }
  .ab-grid {
    grid-template-columns: 1fr;
  }
  .ab-grid-floor {
    grid-template-columns: 1fr;
  }
  .ab-voice-grid {
    grid-template-columns: 1fr;
  }
  .ab-pay-row {
    justify-content: flex-start;
  }
  .ab-voice-head h3 {
    font-size: 30px;
  }
  .ab-banner-main-content {
    padding: 28px 20px;
  }
  .ab-banner-main-content p {
    font-size: 22px;
  }
  .ab-banner-main-content h2 {
    font-size: 28px;
  }
  .ab-banner-main-content span {
    font-size: 16px;
  }
  .ab-app-bar {
    width: 96vw;
  }
  .ab-detail-right {
    order: -1;
    border-radius: 12px;
    padding: 10px;
    margin-bottom: 8px;
  }
  .ab-detail-hero-wrap {
    padding: 8px 0;
  }
  .ab-breadcrumb {
    font-size: 12px;
    margin-bottom: 8px;
    color: #64748b;
  }
  .ab-detail-hero {
    grid-template-columns: 86px 1fr;
    text-align: left;
    gap: 10px;
    padding: 10px;
    background-image: none !important;
    background-color: #f0f4f8 !important;
    border: 1px solid #e2e8f0;
    min-height: 102px;
  }
  .ab-detail-cover {
    margin: 0;
    width: 84px;
    height: 84px;
    border-radius: 12px;
  }
  .ab-detail-head h1 {
    font-size: 16px;
    line-height: 1.25;
  }
  .ab-detail-sub {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 11px;
    color: #64748b;
  }
  .ab-detail-feature {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-top: 8px;
  }
  .ab-detail-feature div {
    padding: 6px 8px 6px 24px;
    border-radius: 8px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
  }
  .ab-detail-feature div::before {
    left: 7px;
    top: 7px;
    font-size: 12px;
  }
  .ab-detail-feature strong {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
  }
  .ab-detail-feature span {
    font-size: 10px;
    line-height: 1.2;
  }
  .ab-panel {
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 8px;
  }
  .ab-package-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .ab-panel-title {
    font-size: 17px;
    margin-bottom: 10px;
  }
  .ab-race-chip {
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 8px;
  }
  .ab-race {
    gap: 6px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
  }
  .ab-race::-webkit-scrollbar {
    display: none;
  }
  .ab-package-card {
    min-height: 54px;
    padding: 8px 10px;
  }
  .ab-package-main h4 {
    font-size: 13px;
    line-height: 1.25;
  }
  .ab-package-main p {
    font-size: 10px;
  }
  .ab-package-price {
    font-size: 16px;
  }
  .ab-check-row {
    margin-bottom: 7px;
  }
  .ab-detail-right .ab-side-select > label {
    font-size: 12px;
  }
  .ab-detail-right .ab-package-main h4 {
    font-size: 12px;
  }
  .ab-detail-right .ab-package-main p {
    font-size: 10px;
  }
  .ab-detail-right .ab-package-price {
    font-size: 15px;
  }
  .ab-check-row label {
    font-size: 12px;
    margin-bottom: 4px;
  }
  .ab-check-label-row {
    margin-bottom: 4px;
  }
  .ab-bulk-link {
    font-size: 11px;
  }
  .ab-input,
  .ab-qty input {
    height: 34px;
    font-size: 12px;
    border-radius: 7px;
  }
  .ab-qty {
    grid-template-columns: 30px 1fr 30px;
    gap: 4px;
  }
  .ab-qty-btn {
    font-size: 14px;
    border-radius: 7px;
  }
  .ab-offer-chip {
    min-height: 20px;
    font-size: 11px;
    padding: 0 5px;
  }
  .ab-summary {
    margin-top: 6px;
    padding-top: 6px;
    gap: 3px;
  }
  .ab-summary div {
    font-size: 12px;
  }
  .ab-summary b {
    font-size: 12px;
  }
  .ab-total b {
    font-size: 22px;
  }
  .ab-buy-btn {
    font-size: 16px;
    height: 40px;
    margin-top: 8px;
  }
  .ab-notice-inner {
    font-size: 11px;
    min-height: 34px;
    line-height: 1.35;
  }
  .ab-service-links {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .ab-service-links a {
    padding: 6px 0;
    font-size: 12px;
  }
  .ab-pay-list {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .ab-pay-item {
    min-height: 36px;
    padding: 5px 7px;
    font-size: 12px;
  }
  .ab-pay-item img {
    width: 20px;
    height: 20px;
  }
}
