.bce-body--after-sales .bce-main,
.bce-body--after-sales main {
  max-width: none;
}

.as-hero {
  background: linear-gradient(135deg, #0b1220 0%, #1e3a8a 48%, #312e81 100%);
  color: #fff;
  padding: 72px 32px 64px;
}
.as-hero__inner {
  max-width: 1320px;
  margin: 0 auto;
}
.as-hero__tag {
  letter-spacing: .2em;
  font-size: 12px;
  opacity: .78;
  margin: 0 0 12px;
}
.as-hero__title {
  margin: 0;
  font-size: clamp(32px, 4.2vw, 46px);
  font-weight: 700;
  letter-spacing: .04em;
}
.as-hero__desc {
  margin: 18px 0 0;
  max-width: 760px;
  line-height: 1.8;
  color: rgba(255,255,255,.9);
  font-size: 16px;
}

.as-panel {
  max-width: 1320px;
  margin: -36px auto 64px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, .75fr);
  gap: 24px;
  align-items: start;
}
.as-panel__card,
.as-side-card {
  background: #fff;
  border: 1px solid rgba(15,23,42,.07);
  border-radius: 20px;
  box-shadow: 0 22px 60px rgba(15,23,42,.08);
  padding: 34px 32px;
}
.as-panel__title { margin: 0 0 10px; font-size: 24px; }
.as-panel__hint { margin: 0 0 26px; color: #64748b; line-height: 1.7; font-size: 14px; }
.as-panel__hint code { background: #f1f5f9; padding: 2px 6px; border-radius: 6px; }

.as-form__label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; color: #334155; }
.as-form__row { display: flex; gap: 12px; flex-wrap: wrap; }
.as-form__input {
  flex: 1 1 320px;
  min-height: 52px;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  padding: 0 16px;
  font-size: 15px;
}
.as-form__input:focus { outline: none; border-color: #6366f1; box-shadow: 0 0 0 3px rgba(99,102,241,.15); }
.as-form__btn {
  min-width: 132px;
  min-height: 52px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}
.as-form__btn:disabled { opacity: .65; cursor: wait; }

.as-result {
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.7;
}
.as-result.is-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.as-result.is-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.as-result.is-neutral { background: #fff7ed; color: #9a3412; border: 1px solid #fed7aa; }

.as-cert-wrap { margin-top: 28px; }

.as-side-card h3 { margin: 0 0 12px; font-size: 16px; color: #0f172a; }
.as-side-card ul { margin: 0; padding-left: 18px; color: #475569; line-height: 1.8; font-size: 14px; }
.as-side-card + .as-side-card { margin-top: 18px; }

.as-ticket-side {
  border: 1px solid #dbeafe;
  background: linear-gradient(180deg, #f8fbff 0%, #fff 100%);
}
.as-ticket-actions__tip {
  margin: 0 0 16px;
  color: #475569;
  line-height: 1.75;
  font-size: 14px;
}
.as-ticket-actions__btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.as-ticket-actions__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  background: #0f172a;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  font-size: 14px;
}
.as-ticket-actions__btn--gold {
  background: linear-gradient(135deg, #b8860b, #d4af37 45%, #8b6914);
  color: #fff;
  box-shadow: 0 8px 24px rgba(184,134,11,.22);
}

.as-upgrade-side {
  border: 1px solid #fde68a;
  background: linear-gradient(180deg, #fffbeb 0%, #fff 100%);
}
.as-upgrade-side__tip {
  margin: 0 0 16px;
  color: #475569;
  line-height: 1.75;
  font-size: 14px;
}
.as-inquiry-form .as-form__label { margin-top: 14px; }
.as-inquiry-form .as-form__label:first-of-type { margin-top: 0; }
.as-form__input--block {
  width: 100%;
  flex: none;
  min-height: 46px;
  margin-bottom: 2px;
}
.as-form__input[readonly] {
  background: #f8fafc;
  color: #64748b;
}
.as-inquiry-form .as-ticket-actions__btn {
  width: 100%;
  margin-top: 18px;
}
.as-upgrade-side__msg {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.65;
}
.as-upgrade-side__msg.is-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}
.as-upgrade-side__msg.is-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Certificate */
.genuine-cert { width: 100%; max-width: 760px; margin: 0 auto; }
.genuine-cert__frame {
  padding: 12px;
  border-radius: 24px;
  background:
    linear-gradient(145deg, #8b6914, #c9a227 12%, #f5e6a8 28%, #fff3bf 50%, #f5e6a8 72%, #b8860b 88%, #8b6914);
  box-shadow:
    0 28px 70px rgba(120, 83, 14, .24),
    inset 0 1px 0 rgba(255,255,255,.45);
}
.genuine-cert__inner {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 520px;
  background: #fffef8;
  border: 1px solid rgba(201,162,39,.35);
}
.genuine-cert__guilloche {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 1;
}
.genuine-cert__watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  font-weight: 700;
  letter-spacing: .24em;
  color: rgba(184,134,11,.035);
  transform: rotate(-16deg);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.genuine-cert__content {
  position: relative;
  z-index: 2;
  padding: 42px 36px 36px;
  text-align: center;
}
.genuine-cert__seal {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 0 auto 12px;
}
.genuine-cert__seal-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px double rgba(184,134,11,.75);
  box-shadow:
    inset 0 0 0 2px rgba(255,255,255,.7),
    0 6px 18px rgba(184,134,11,.25);
}
.genuine-cert__seal-core {
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 30%, #fff7d6, #d4af37 55%, #9a7b0a);
  color: #5c4a0f;
  font-size: 26px;
  font-weight: 700;
}
.genuine-cert__eyebrow {
  margin: 0;
  font-size: 11px;
  letter-spacing: .28em;
  color: #92700c;
  font-weight: 600;
}
.genuine-cert__title {
  margin: 10px 0 6px;
  font-size: clamp(24px, 3vw, 30px);
  color: #1f2937;
  letter-spacing: .12em;
  font-weight: 700;
}
.genuine-cert__subtitle {
  margin: 0 0 22px;
  font-size: 12px;
  color: #9ca3af;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.genuine-cert__divider {
  height: 2px;
  margin: 0 auto 22px;
  max-width: 520px;
  background: linear-gradient(90deg, transparent, #d4af37 20%, #f5e6a8 50%, #d4af37 80%, transparent);
}
.genuine-cert__meta {
  margin: 0 auto 20px;
  max-width: 560px;
  text-align: left;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(212,175,55,.32);
  border-radius: 14px;
  padding: 8px 18px;
  backdrop-filter: blur(3px);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.65);
  position: relative;
  z-index: 2;
}
.genuine-cert__row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(212,175,55,.32);
}
.genuine-cert__row:last-child { border-bottom: 0; }
.genuine-cert__row dt { margin: 0; color: #6b7280; font-size: 13px; font-weight: 500; }
.genuine-cert__row dd { margin: 0; color: #111827; font-size: 15px; font-weight: 600; word-break: break-all; }
.genuine-cert__mono {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .04em;
}
.genuine-cert__statement {
  margin: 0 auto 22px;
  max-width: 560px;
  font-size: 13px;
  line-height: 1.85;
  color: #4b5563;
}
.genuine-cert__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #065f46, #059669);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(5,150,105,.22);
}
.genuine-cert__badge-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.18);
}

@media print {
  body * { visibility: hidden; }
  .genuine-cert, .genuine-cert * { visibility: visible; }
  .genuine-cert {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
  }
}

@media (max-width: 1080px) {
  .as-panel {
    grid-template-columns: 1fr;
    margin-top: 0;
    padding-top: 24px;
  }
  .as-hero { padding: 52px 20px 48px; }
  .genuine-cert__content { padding: 32px 22px 28px; }
}
