body.abin-custom-page {
  min-height: 100vh;
  color: #eef3ff;
  background: #080b14;
}

.abin-page-main {
  padding-top: 78px;
}

.abin-hero {
  padding: 30px 0 14px;
}

.abin-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: 24px;
  align-items: center;
}

.abin-hero-copy h1 {
  margin: 0 0 14px;
  color: #f7fbff;
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.04;
  letter-spacing: 0;
}

.abin-hero-copy p {
  max-width: 720px;
  margin: 0 0 18px;
  color: #aab4c8;
  font-size: 16px;
  line-height: 1.75;
}

.abin-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.abin-primary-link,
.abin-secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 12px;
  padding: 0 16px;
  font-weight: 850;
  text-decoration: none;
}

.abin-primary-link {
  color: #fff;
  background: linear-gradient(135deg, rgba(132, 92, 255, 0.95), rgba(64, 194, 255, 0.78));
}

.abin-secondary-link {
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #dfe7ff;
  background: rgba(255, 255, 255, 0.06);
}

.abin-hero-panel {
  border: 1px solid rgba(150, 166, 204, 0.12);
  border-radius: 16px;
  padding: 16px 18px;
  color: #c8d2e8;
  background: linear-gradient(155deg, rgba(19, 25, 43, 0.82), rgba(11, 15, 27, 0.92));
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.16);
}

.abin-hero-panel p {
  margin: 0;
  color: #aeb8ce;
  font-size: 14px;
  line-height: 1.7;
}

.abin-hero-panel p + p {
  margin-top: 8px;
}

.abin-hero-panel strong {
  color: #f2f6ff;
}

.abin-custom-section {
  padding: 42px 0 18px;
}

.abin-custom-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.abin-custom-card {
  position: relative;
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid rgba(150, 166, 204, 0.12);
  border-radius: 19px;
  background: linear-gradient(155deg, rgba(19, 25, 43, 0.94), rgba(11, 15, 27, 0.98));
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.18);
  transform: translateZ(0);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.abin-custom-card:hover {
  z-index: 2;
  border-color: rgba(153, 112, 255, 0.38);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32), 0 0 34px rgba(111, 71, 227, 0.1);
  transform: translateY(-6px);
}

.abin-custom-card-head {
  min-height: 76px;
  padding: 18px 18px 10px;
}

.abin-custom-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 22px;
  margin-bottom: 9px;
  border: 1px solid rgba(154, 117, 255, 0.22);
  border-radius: 999px;
  padding: 0 9px;
  color: #cbbdff;
  font-family: Inter, Arial, sans-serif;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.12em;
  background: rgba(154, 117, 255, 0.1);
}

.abin-custom-cover {
  width: calc(100% - 36px);
  aspect-ratio: 16 / 10;
  overflow: hidden;
  margin: 0 18px;
  border: 0;
  border-radius: 14px;
  padding: 0;
  background: #080c13;
}

.abin-custom-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.abin-custom-card h3 {
  margin: 0;
  color: #f7fbff;
  font-size: 18px;
  line-height: 1.32;
}

.abin-custom-card p {
  margin: 0;
  padding: 10px 18px 0;
  color: #aab4c8;
  font-size: 13px;
  line-height: 1.6;
}

.abin-empty-state {
  grid-column: 1 / -1;
  display: grid;
  min-height: 180px;
  place-items: center;
  border: 1px dashed rgba(153, 169, 207, 0.18);
  border-radius: 18px;
  color: #9aa6bd;
  background: rgba(255, 255, 255, 0.035);
  text-align: center;
}

.abin-custom-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: auto;
  padding: 16px 18px 18px;
}

.abin-copy-btn {
  min-width: 0;
  min-height: 38px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 11px;
  padding: 0 10px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.abin-copy-btn.redbook {
  border-color: rgba(255, 76, 103, 0.38);
  color: #fff;
  background: linear-gradient(135deg, #ff2442, #d81f3a);
}

.abin-copy-btn.xianyu {
  border-color: rgba(255, 218, 36, 0.5);
  color: #241a00;
  background: linear-gradient(135deg, #ffe15a, #ffcf1f);
}

.abin-copy-btn:hover,
.abin-copy-btn:focus-visible {
  border-color: rgba(255, 255, 255, 0.38);
  outline: none;
  transform: translateY(-1px);
}

.abin-copy-toast {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 1200;
  max-width: min(360px, calc(100vw - 36px));
  border: 1px solid rgba(125, 216, 255, 0.22);
  border-radius: 12px;
  padding: 13px 16px;
  color: #f7fbff;
  background: rgba(9, 13, 23, 0.94);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.34);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.abin-copy-toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .abin-hero-layout,
  .abin-custom-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .abin-page-main {
    padding-top: 68px;
  }

  .abin-hero {
    padding: 28px 0 14px;
  }

  .abin-hero-layout,
  .abin-custom-grid {
    grid-template-columns: 1fr;
  }

  .abin-custom-actions {
    grid-template-columns: 1fr;
  }

  .abin-custom-card-head {
    min-height: auto;
  }

  .abin-copy-toast {
    right: 14px;
    bottom: 16px;
    left: 14px;
    max-width: none;
    text-align: center;
  }
}
