:root {
  --jd-bg: #f0fdf4;
  --jd-surface: #ffffff;
  --jd-surface-2: #f8fbf9;
  --jd-text: #18181b;
  --jd-muted: #5f6b67;
  --jd-soft: #8b9793;
  --jd-line: #ccebdd;
  --jd-accent: #059669;
  --jd-accent-2: #14b8a6;
  --jd-accent-soft: #dff8ed;
  --jd-gold: #d9a441;
  --jd-red: #dc4a3d;
  --jd-shadow: 0 18px 45px rgba(16, 32, 28, .10);
  --jd-shadow-soft: 0 10px 28px rgba(16, 32, 28, .07);
  --jd-radius: 24px;
  --jd-radius-sm: 14px;
  --jd-header: rgba(255, 255, 255, .82);
  --jd-footer: #ffffff;
  --jd-focus: 0 0 0 4px rgba(5, 150, 105, .15);
}

html[data-theme="dark"],
body[data-theme="dark"] {
  --jd-bg: #0a0a0a;
  --jd-surface: #111111;
  --jd-surface-2: #18181b;
  --jd-text: #f8fafc;
  --jd-muted: #a1a1aa;
  --jd-soft: #71717a;
  --jd-line: rgba(245, 158, 11, .22);
  --jd-accent: #f59e0b;
  --jd-accent-2: #eab308;
  --jd-accent-soft: rgba(245, 158, 11, .10);
  --jd-gold: #f59e0b;
  --jd-red: #f87171;
  --jd-shadow: 0 22px 60px rgba(0, 0, 0, .34);
  --jd-shadow-soft: 0 14px 36px rgba(0, 0, 0, .26);
  --jd-header: rgba(10, 10, 10, .88);
  --jd-footer: #050505;
  --jd-focus: 0 0 0 4px rgba(245, 158, 11, .18);
}

html[data-theme="light"],
body[data-theme="light"] {
  --jd-bg: #fafaf9;
  --jd-surface: #ffffff;
  --jd-surface-2: #fff8eb;
  --jd-text: #18181b;
  --jd-muted: #5f6368;
  --jd-soft: #8a8f98;
  --jd-line: #f2d9a6;
  --jd-accent: #d97706;
  --jd-accent-2: #f97316;
  --jd-accent-soft: #fff1d6;
  --jd-gold: #d99a2b;
  --jd-footer: #ffffff;
  --jd-focus: 0 0 0 4px rgba(217, 119, 6, .16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--jd-text);
  background: var(--jd-bg);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 86% 10%, color-mix(in srgb, var(--jd-accent) 18%, transparent), transparent 28rem),
    radial-gradient(circle at 8% 18%, color-mix(in srgb, var(--jd-accent-2) 12%, transparent), transparent 24rem);
}

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

a:hover {
  color: var(--jd-accent);
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: min(100% - 32px, 1240px);
  margin-inline: auto;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-inline: -12px;
  row-gap: 24px;
}

.row > * {
  width: 100%;
  padding-inline: 12px;
}

.g-4 {
  row-gap: 24px;
}

.gx-5 {
  margin-inline: -20px;
}

.gx-5 > * {
  padding-inline: 20px;
}

.col,
.col-12 {
  flex: 0 0 auto;
  width: 100%;
}

.col-4 {
  flex: 0 0 auto;
  width: 33.333333%;
}

.col-6 {
  flex: 0 0 auto;
  width: 50%;
}

.col-9 {
  flex: 0 0 auto;
  width: 75%;
}

.col-auto {
  flex: 0 0 auto;
  width: auto;
}

.d-flex {
  display: flex !important;
}

.d-block {
  display: block !important;
}

.d-none {
  display: none !important;
}

.align-items-center {
  align-items: center !important;
}

.align-items-start {
  align-items: flex-start !important;
}

.align-items-stretch {
  align-items: stretch !important;
}

.justify-content-between {
  justify-content: space-between !important;
}

.justify-content-center {
  justify-content: center !important;
}

.flex-wrap {
  flex-wrap: wrap !important;
}

.flex-column {
  flex-direction: column !important;
}

.overflow-hidden {
  overflow: hidden !important;
}

.text-center {
  text-align: center !important;
}

.text-muted {
  color: var(--jd-muted) !important;
}

.text-danger,
.text-red {
  color: var(--jd-red) !important;
}

.text-success {
  color: #10b981 !important;
}

.text-white {
  color: #fff !important;
}

.text-body,
.text-dark {
  color: var(--jd-text) !important;
}

.text-gray-300,
.text-gray-400,
.text-gray-500,
.text-secondary {
  color: var(--jd-muted) !important;
}

.text-nowrap { white-space: nowrap !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 4px !important; }
.mb-2 { margin-bottom: 8px !important; }
.mb-3 { margin-bottom: 12px !important; }
.mb-4 { margin-bottom: 16px !important; }
.mb-5 { margin-bottom: 20px !important; }
.mb-6 { margin-bottom: 24px !important; }
.mb-8 { margin-bottom: 32px !important; }
.mt-n1 { margin-top: -4px !important; }
.mt-1 { margin-top: 4px !important; }
.mt-2 { margin-top: 8px !important; }
.mt-3 { margin-top: 12px !important; }
.mt-4 { margin-top: 16px !important; }
.mt-5 { margin-top: 20px !important; }
.mt-9 { margin-top: 36px !important; }
.mt-10 { margin-top: 40px !important; }
.m-3 { margin: 12px !important; }
.my-2 { margin-block: 8px !important; }
.my-3 { margin-block: 12px !important; }
.my-4 { margin-block: 16px !important; }
.my-5 { margin-block: 20px !important; }
.my-7 { margin-block: 28px !important; }
.me-1 { margin-right: 4px !important; }
.me-2 { margin-right: 8px !important; }
.me-3 { margin-right: 12px !important; }
.me-5 { margin-right: 20px !important; }
.me-auto { margin-right: auto !important; }
.mr-1 { margin-right: 4px !important; }
.mr-2 { margin-right: 8px !important; }
.mr-3 { margin-right: 12px !important; }
.mr-auto { margin-right: auto !important; }
.ms-1 { margin-left: 4px !important; }
.ms-2 { margin-left: 8px !important; }
.ms-3 { margin-left: 12px !important; }
.ms-auto { margin-left: auto !important; }
.mx-auto { margin-inline: auto !important; }
.p-3 { padding: 12px !important; }
.p-4 { padding: 16px !important; }
.px-3 { padding-inline: 12px !important; }
.px-4 { padding-inline: 16px !important; }
.pl-14 { padding-left: 56px !important; }
.py-1 { padding-block: 4px !important; }
.py-2 { padding-block: 8px !important; }
.py-3 { padding-block: 12px !important; }
.py-4 { padding-block: 16px !important; }
.py-15 { padding-block: 60px !important; }
.pt-3 { padding-top: 12px !important; }
.pt-4 { padding-top: 16px !important; }
.pt-5 { padding-top: 20px !important; }
.pt-8 { padding-top: 32px !important; }
.pb-4 { padding-bottom: 16px !important; }
.pb-5 { padding-bottom: 20px !important; }
.pb-sm-5 { padding-bottom: 20px !important; }
.ps-1 { padding-left: 4px !important; }
.ps-2 { padding-left: 8px !important; }
.ps-3 { padding-left: 12px !important; }
.pe-1 { padding-right: 4px !important; }
.pe-4 { padding-right: 16px !important; }
.w-100 { width: 100% !important; }
.w-auto { width: auto !important; }
.w-50 { width: 50% !important; }
.w-20 { width: 20% !important; }
.w-700 { max-width: 700px !important; }
.h-100 { height: 100% !important; }
.d-inline-block { display: inline-block !important; }
.d-table { display: table !important; }
.align-middle { vertical-align: middle !important; }
.align-vertical { vertical-align: middle !important; }
.flex-shrink-0 { flex-shrink: 0 !important; }
.position-relative { position: relative !important; }
.position-absolute { position: absolute !important; }
.top-0 { top: 0 !important; }
.start-0 { left: 0 !important; }
.end-0 { right: 0 !important; }
.zindex-5 { z-index: 5 !important; }
.rounded-circle { border-radius: 999px !important; }
.rounded,
.rounded-1 { border-radius: 8px !important; }
.rounded-3 { border-radius: 18px !important; }
.rounded-0 { border-radius: 0 !important; }
.shadow { box-shadow: var(--jd-shadow-soft) !important; }
.shadow-lg { box-shadow: var(--jd-shadow) !important; }
.border { border: 1px solid var(--jd-line) !important; }
.border-top { border-top: 1px solid var(--jd-line) !important; }
.border-bottom { border-bottom: 1px solid var(--jd-line) !important; }
.border-top-0 { border-top: 0 !important; }
.border-bottom-0 { border-bottom: 0 !important; }
.border-success { border-color: #10b981 !important; }
.opacity-50 { opacity: .5 !important; }
.opacity-60 { opacity: .6 !important; }
.opacity-80 { opacity: .8 !important; }
.opacity-90 { opacity: .9 !important; }

.bg-primary { background: var(--jd-accent) !important; }
.bg-secondary,
.bg-light,
.bg-faded-primary {
  background: var(--jd-accent-soft) !important;
}
.bg-danger { background: var(--jd-red) !important; }
.bg-dark,
.bg-black { background: #111 !important; }
.bg-info { background: #0ea5e9 !important; }
.bg-success { background: #10b981 !important; }

.fw-normal { font-weight: 400 !important; }
.fw-medium { font-weight: 700 !important; }
.fw-semibold { font-weight: 800 !important; }
.fw-bold { font-weight: 900 !important; }
.font-weight-normal { font-weight: 400 !important; }

.h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
}

.h3 {
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.2;
}

.fs-sm { font-size: 14px !important; }
.fs-xs { font-size: 13px !important; }
.fs-ms { font-size: 14px !important; }
.fs-base { font-size: 16px !important; }
.fs-lg { font-size: 18px !important; }
.fs-xl { font-size: 20px !important; }
.fs-xxs,
.fs-xxxs { font-size: 12px !important; }
.fs-1,
.display-1 { font-size: 40px !important; }

.jd8-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--jd-line);
  background: var(--jd-header);
  backdrop-filter: blur(18px);
}

.jd8-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 24px;
}

.jd8-nav > nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.jd8-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 168px;
  color: var(--jd-text);
}

.jd8-brand img,
.jd8-brand-logo {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 10px;
  object-fit: contain;
}

.jd8-brand strong {
  display: block;
  color: var(--jd-accent);
  font-size: 20px;
  line-height: 1.1;
  font-weight: 900;
}

html[data-theme="green"] .jd8-brand strong,
body[data-theme="green"] .jd8-brand strong {
  color: var(--jd-text);
}

.jd8-brand span {
  display: block;
  margin-top: 2px;
  color: var(--jd-soft);
  font-size: 12px;
  line-height: 1.15;
}

.jd8-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.jd8-menu a {
  color: var(--jd-muted);
  font-size: 14px;
  font-weight: 700;
}

.jd8-menu a:hover,
.jd8-menu a.active {
  color: var(--jd-accent);
}

.jd8-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.jd8-theme-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: var(--jd-accent-soft);
}

.jd8-theme-switch button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 30px;
  padding: 6px 11px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--jd-muted);
  font-size: 12px;
  font-weight: 800;
}

.jd8-theme-switch button.is-active {
  background: var(--jd-accent);
  color: #fff;
  box-shadow: 0 8px 16px color-mix(in srgb, var(--jd-accent) 24%, transparent);
}

.jd8-theme-switch [data-jd-theme="green"] {
  display: none !important;
}

.jd8-mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--jd-line);
  border-radius: 12px;
  background: var(--jd-surface);
  color: var(--jd-text);
}

.jd8-btn,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--jd-surface);
  color: var(--jd-text);
  font-weight: 800;
  line-height: 1.15;
  white-space: nowrap;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.jd8-btn:hover,
.btn:hover {
  transform: translateY(-1px);
}

.jd8-btn-primary,
.btn-primary,
.btn-dark {
  background: var(--jd-accent);
  border-color: var(--jd-accent);
  color: #fff;
  box-shadow: 0 12px 24px color-mix(in srgb, var(--jd-accent) 22%, transparent);
}

html[data-theme="dark"] .jd8-btn-primary,
html[data-theme="dark"] .btn-primary,
html[data-theme="dark"] .btn-dark {
  color: #111;
}

.jd8-btn-primary:hover,
.btn-primary:hover,
.btn-dark:hover {
  color: #fff;
  background: color-mix(in srgb, var(--jd-accent) 86%, #000 14%);
}

.jd8-btn-outline,
.btn-outline-primary,
.btn-outline-dark,
.btn-outline-danger,
.btn-outline-success,
.btn-outline-secondary,
.btn-outline-info,
.btn-outline-border,
.btn-translucent-primary {
  color: var(--jd-accent);
  border-color: var(--jd-line);
  background: var(--jd-surface);
}

.jd8-btn-soft,
.btn-light,
.btn-secondary {
  color: var(--jd-text);
  background: var(--jd-accent-soft);
  border-color: transparent;
}

.btn-danger {
  background: var(--jd-red);
  border-color: var(--jd-red);
  color: #fff;
}

.btn-success {
  background: #10b981;
  border-color: #10b981;
  color: #fff;
}

.btn-info {
  background: #0ea5e9;
  border-color: #0ea5e9;
  color: #fff;
}

.btn-link,
.nav-link-style,
.meta-link,
.alert-link {
  color: var(--jd-accent);
  font-weight: 800;
}

.btn-sm,
.btn-xs,
.btn-xxs,
.jd8-btn-sm {
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 13px;
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn-lg,
.jd8-btn-lg {
  min-height: 52px;
  padding: 14px 24px;
  border-radius: 14px;
}

.jd8-main {
  min-height: 50vh;
}

.jd8-section {
  padding: 64px 0;
}

.jd8-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 32px;
}

.jd8-section-title {
  margin: 0;
  color: var(--jd-text);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.14;
  font-weight: 900;
  letter-spacing: 0;
}

.jd8-section-desc {
  margin: 8px 0 0;
  max-width: 680px;
  color: var(--jd-muted);
}

.jd8-kicker,
.jd-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 7px 12px;
  border: 1px solid var(--jd-line);
  border-radius: 999px;
  background: var(--jd-accent-soft);
  color: var(--jd-accent);
  font-size: 14px;
  font-weight: 800;
}

.jd8-card,
.card,
.accordion-item {
  background: var(--jd-surface);
  border: 1px solid var(--jd-line);
  border-radius: var(--jd-radius);
  box-shadow: var(--jd-shadow-soft);
}

.card-body,
.modal-body {
  padding: 24px;
}

.card-hover {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.card-hover:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--jd-accent) 50%, var(--jd-line));
  box-shadow: var(--jd-shadow);
}

.card-img-top {
  display: block;
  overflow: hidden;
  aspect-ratio: 1;
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
  background: var(--jd-surface-2);
}

.card-img-top img,
.img-fluid {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-sm .card-body {
  padding: 16px;
}

.card-xl .card-body {
  padding: clamp(22px, 4vw, 36px);
}

.avatar,
.avatar-title {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.avatar-xxl,
.avatar-title,
.avatar-img {
  width: 92px;
  height: 92px;
}

.avatar-title {
  overflow: hidden;
  border-radius: 50%;
  background: var(--jd-accent-soft);
  color: var(--jd-accent);
  font-size: 44px;
}

.avatar-title .card-btn {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 8px;
  min-height: 28px;
  padding: 5px 8px;
  font-size: 12px;
  z-index: 2;
}

.avatar-img {
  object-fit: cover;
}

.heading-xxxs {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
}

.jd8-bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  padding: 40px 0 18px;
}

.jd8-hero-card {
  position: relative;
  grid-column: span 4;
  min-height: 520px;
  overflow: hidden;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--jd-line);
  border-radius: 30px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--jd-accent) 14%, transparent), transparent 62%),
    var(--jd-surface);
  box-shadow: var(--jd-shadow);
}

.jd8-hero-card::before {
  content: "";
  position: absolute;
  right: -90px;
  top: -100px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--jd-accent) 28%, transparent);
  filter: blur(82px);
}

.jd8-hero-card > * {
  position: relative;
  z-index: 1;
}

.jd8-hero-title {
  margin: 0 0 22px;
  color: var(--jd-text);
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.03;
  font-weight: 950;
  letter-spacing: 0;
}

.jd8-hero-title span {
  color: var(--jd-accent);
}

.jd8-hero-lead {
  max-width: 620px;
  margin: 0 0 34px;
  color: var(--jd-muted);
  font-size: 18px;
}

.jd8-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.jd8-hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 20px 0 0;
  color: var(--jd-soft);
  font-size: 14px;
}

.jd8-hero-note i {
  color: var(--jd-accent);
}

.jd8-stat-stack {
  grid-column: span 2;
  display: grid;
  gap: 16px;
}

.jd8-stat-card {
  min-height: 252px;
  padding: 28px;
  border-radius: 30px;
  background: var(--jd-surface);
  border: 1px solid var(--jd-line);
  box-shadow: var(--jd-shadow-soft);
}

.jd8-stat-card.is-accent {
  background: linear-gradient(135deg, var(--jd-accent), var(--jd-accent-2));
  color: #fff;
}

.jd8-stat-card strong {
  display: block;
  margin-top: 16px;
  color: inherit;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1;
  font-weight: 950;
}

.jd8-stat-card span {
  display: block;
  margin-top: 8px;
  color: color-mix(in srgb, currentColor 72%, transparent);
}

.jd8-mini-stats,
.jd8-services,
.jd8-process,
.jd8-cases-grid,
.jd-case-grid,
.jd-cat-grid,
.jd8-trust-grid {
  display: grid;
  gap: 16px;
}

.jd8-mini-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px;
}

.jd8-mini-stat {
  padding: 24px;
  border: 1px solid var(--jd-line);
  border-radius: 20px;
  background: var(--jd-surface);
  box-shadow: var(--jd-shadow-soft);
}

.jd8-mini-stat b {
  display: block;
  color: var(--jd-text);
  font-size: 28px;
  line-height: 1.1;
}

.jd8-mini-stat span {
  display: block;
  margin-top: 6px;
  color: var(--jd-muted);
  font-size: 14px;
}

.jd8-services {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.jd8-service-card {
  position: relative;
  overflow: hidden;
  padding: 32px;
  border: 1px solid var(--jd-line);
  border-radius: 28px;
  background: var(--jd-surface);
  box-shadow: var(--jd-shadow-soft);
}

.jd8-service-card.is-featured {
  border-width: 2px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--jd-accent) 12%, transparent), transparent 72%),
    var(--jd-surface);
}

.jd8-service-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.jd8-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--jd-accent-soft);
  color: var(--jd-accent);
  font-size: 28px;
}

.jd8-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--jd-accent-soft);
  color: var(--jd-accent);
  font-size: 13px;
  font-weight: 800;
}

.jd8-service-card h2,
.jd8-service-card h3 {
  margin: 0;
  color: var(--jd-text);
  font-size: 26px;
  font-weight: 900;
}

.jd8-service-card p {
  color: var(--jd-muted);
}

.jd8-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 22px 0;
}

.jd8-tag-list span {
  padding: 8px 12px;
  border: 1px solid var(--jd-line);
  border-radius: 10px;
  background: var(--jd-accent-soft);
  color: var(--jd-muted);
  font-size: 14px;
}

.jd8-check-list {
  display: grid;
  gap: 12px;
  margin: 20px 0 28px;
  padding: 0;
  list-style: none;
}

.jd8-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--jd-muted);
}

.jd8-check-list i {
  color: var(--jd-accent);
}

.jd8-process {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  counter-reset: step;
}

.jd8-process-card {
  position: relative;
  padding: 24px;
  border: 1px solid var(--jd-line);
  border-radius: 20px;
  background: var(--jd-surface);
  box-shadow: var(--jd-shadow-soft);
}

.jd8-process-card::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  color: color-mix(in srgb, var(--jd-accent) 42%, transparent);
  font-size: 54px;
  line-height: 1;
  font-weight: 950;
}

.jd8-process-card h3 {
  margin: 16px 0 8px;
  color: var(--jd-text);
}

.jd8-process-card p {
  margin: 0;
  color: var(--jd-muted);
  font-size: 14px;
}

.jd8-cta {
  position: relative;
  overflow: hidden;
  padding: 48px;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--jd-accent), var(--jd-accent-2));
  color: #fff;
  text-align: center;
  box-shadow: var(--jd-shadow);
}

.jd8-cta img {
  width: 78px;
  height: 78px;
  object-fit: contain;
  margin-bottom: 18px;
}

.jd8-cta h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 950;
}

.jd8-cta p {
  margin: 10px 0 28px;
  color: rgba(255, 255, 255, .82);
}

.jd8-cert-page {
  padding-top: 40px;
}

.jd8-cert-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
  gap: 22px;
  align-items: stretch;
  width: 100%;
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid var(--jd-line);
  border-radius: 30px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--jd-accent) 12%, transparent), transparent 72%),
    var(--jd-surface);
  box-shadow: var(--jd-shadow);
}

.jd8-cert-hero h1 {
  margin: 0 0 16px;
  color: var(--jd-text);
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.05;
  font-weight: 950;
}

.jd8-cert-hero p {
  max-width: 720px;
  margin: 0 0 28px;
  color: var(--jd-muted);
  font-size: 18px;
}

.jd8-cert-search {
  max-width: 720px;
  padding: 18px;
  border: 1px solid var(--jd-line);
  border-radius: 20px;
  background: var(--jd-surface);
}

.jd8-cert-search label {
  display: block;
  margin-bottom: 10px;
  color: var(--jd-text);
  font-size: 15px;
  font-weight: 800;
}

.jd8-cert-search .input-group {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: stretch;
}

.jd8-cert-search .input-group > input,
.jd8-cert-search .input-group > .form-control {
  width: 100%;
  min-height: 52px;
  margin: 0;
  padding: 0 18px;
  border: 1px solid var(--jd-line);
  border-radius: 14px;
  background: var(--jd-surface-2);
  color: var(--jd-text);
  font-size: 16px;
}

.jd8-cert-search .input-group > input:focus,
.jd8-cert-search .input-group > .form-control:focus {
  border-color: var(--jd-accent);
  outline: none;
  box-shadow: 0 0 0 3px var(--jd-accent-soft);
}

.jd8-cert-search .input-group .jd8-btn {
  min-height: 52px;
  padding-inline: 22px;
  border-radius: 14px;
  white-space: nowrap;
}

.jd8-cert-card {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
  min-height: 310px;
  padding: 28px;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--jd-accent), var(--jd-accent-2));
  color: #fff;
  text-align: center;
}

.jd8-cert-card img {
  width: 112px;
  height: 112px;
  object-fit: contain;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, .18));
}

.jd8-cert-card strong {
  color: #fff;
  font-size: 24px;
  font-weight: 950;
}

.jd8-cert-card span {
  color: rgba(255, 255, 255, .78);
}

.jd8-trust-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jd8-info-card {
  padding: 24px;
  border: 1px solid var(--jd-line);
  border-radius: 20px;
  background: var(--jd-surface);
  box-shadow: var(--jd-shadow-soft);
}

.jd8-info-card i {
  color: var(--jd-accent);
  font-size: 30px;
}

.jd8-info-card h3 {
  margin: 14px 0 8px;
  color: var(--jd-text);
  font-size: 20px;
  font-weight: 950;
}

.jd8-info-card p {
  margin: 0;
  color: var(--jd-muted);
}

.jd-feed-filter {
  padding: 40px 0 18px;
}

.jd-feed-panel {
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--jd-line);
  border-radius: 24px;
  background: var(--jd-surface);
  box-shadow: var(--jd-shadow-soft);
}

.jd-feed-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.jd-feed-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid var(--jd-line);
  border-radius: 999px;
  background: var(--jd-surface-2);
  color: var(--jd-muted);
  font-weight: 900;
}

.jd-feed-tab.active,
.jd-feed-tab:hover {
  border-color: var(--jd-accent);
  background: var(--jd-accent);
  color: #fff;
}

.jd-feed-search {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px 10px 10px 14px;
  border: 1px solid var(--jd-line);
  border-radius: 16px;
  background: var(--jd-surface-2);
}

.jd-feed-search > i {
  color: var(--jd-accent);
  font-size: 20px;
}

.jd-feed-search .form-control {
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.jd-cert-dark-body::before {
  background:
    radial-gradient(circle at 78% 4%, color-mix(in srgb, var(--jd-accent) 16%, transparent), transparent 24rem),
    radial-gradient(circle at 10% 12%, color-mix(in srgb, var(--jd-accent-2) 10%, transparent), transparent 18rem);
}

body.jd-post-dark-body {
  background: var(--jd-bg);
}

body.jd-post-dark-body::before {
  background:
    radial-gradient(circle at 78% 4%, color-mix(in srgb, var(--jd-accent) 16%, transparent), transparent 24rem),
    radial-gradient(circle at 10% 12%, color-mix(in srgb, var(--jd-accent-2) 10%, transparent), transparent 18rem);
}

.jd-post-dark-page {
  min-height: 100vh;
  padding-bottom: 40px;
  background: var(--jd-bg);
  color: var(--jd-text);
}

.jd-post-feed-tools {
  padding: 38px 0 26px;
}

.jd-post-feed-panel {
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--jd-line);
  border-radius: 22px;
  background: var(--jd-surface);
  box-shadow: var(--jd-shadow);
}

.jd-post-feed-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-bottom: 24px;
}

.jd-post-feed-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--jd-soft);
  font-size: 15px;
  font-weight: 900;
}

.jd-post-feed-tab.active {
  background: var(--jd-accent);
  color: #fff;
  box-shadow: 0 12px 24px color-mix(in srgb, var(--jd-accent) 24%, transparent);
}

.jd-post-feed-search {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.jd-post-feed-search > i {
  margin-left: 18px;
  color: var(--jd-soft);
  font-size: 24px;
  pointer-events: none;
}

.jd-post-feed-search input {
  min-height: 58px;
  padding: 0 18px 0 8px;
  border: 1px solid var(--jd-line);
  border-radius: 18px;
  background: var(--jd-surface-2);
  color: var(--jd-text);
  outline: 0;
}

.jd-post-feed-search input::placeholder {
  color: var(--jd-soft);
}

.jd-post-publish {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 58px;
  padding: 0 28px;
  border-radius: 18px;
  background: var(--jd-accent);
  color: #fff;
  font-weight: 950;
}

.jd-post-publish:hover {
  color: #fff;
  background: var(--jd-accent-2);
}

.jd-post-feed {
  padding: 14px 0 56px;
}

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

.jd-feed-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--jd-line);
  border-radius: 18px;
  background: var(--jd-surface);
  box-shadow: var(--jd-shadow-soft);
}

.jd-feed-card-media {
  position: relative;
  display: block;
  height: clamp(300px, 24vw, 380px);
  overflow: hidden;
  background: var(--jd-surface-2);
}

.jd-feed-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.jd-feed-card:hover .jd-feed-card-media img {
  transform: scale(1.045);
}

.jd-feed-card-badge {
  position: absolute;
  inset: 50% auto auto 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .56);
  color: #fff;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(10px);
}

.jd-feed-card-body {
  position: relative;
  min-height: 138px;
  padding: 18px 18px 16px;
}

.jd-feed-card-body h2 {
  min-height: 48px;
  margin: 0 0 18px;
  color: var(--jd-text);
  font-size: 16px;
  line-height: 1.5;
  font-weight: 950;
}

.jd-feed-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.jd-feed-author {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 8px;
  color: var(--jd-soft);
  font-size: 13px;
  font-weight: 800;
}

.jd-feed-author img {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  object-fit: cover;
}

.jd-feed-stats {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--jd-soft);
  font-size: 13px;
}

.jd-feed-stats span,
.jd-feed-stats button,
.jd-feed-stat {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
}

.jd-feed-stat em {
  font-style: normal;
  color: var(--jd-soft);
  font-size: 12px;
}

.jd-feed-stat b {
  color: var(--jd-text);
  font-size: 13px;
}

.jd-feed-stat-btn {
  cursor: pointer;
}

.jd-feed-remove {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, .4);
  color: #fff;
}

.jd-post-pages {
  margin-top: 34px;
}

.jd-post-detail-section {
  padding: 28px 0 54px;
}

.jd-post-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--jd-muted);
  font-weight: 900;
}

.jd-post-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.05fr) minmax(360px, .95fr);
  gap: 24px;
  align-items: start;
}

.jd-post-detail-main {
  display: grid;
  gap: 24px;
}

.jd-post-content-card,
.jd-post-media-card,
.jd-post-comments-panel {
  border: 1px solid var(--jd-line);
  border-radius: 22px;
  background: var(--jd-surface);
  box-shadow: var(--jd-shadow);
}

.jd-post-content-card {
  padding: clamp(20px, 3vw, 30px);
}

.jd-post-author-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 24px;
}

.jd-post-avatar img {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  object-fit: cover;
}

.jd-post-author-info {
  min-width: 0;
}

.jd-post-author-info a {
  display: block;
  color: var(--jd-text);
  font-size: 18px;
  font-weight: 950;
}

.jd-post-author-info span {
  display: block;
  color: var(--jd-muted);
  font-size: 14px;
}

.jd-post-follow {
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--jd-line);
  border-radius: 999px;
  background: transparent;
  color: var(--jd-muted);
  font-weight: 900;
}

.jd-post-text {
  margin: 0;
  color: var(--jd-text);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.8;
  font-weight: 700;
}

.jd-post-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 22px;
}

.jd-post-actions a,
.jd-post-actions button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--jd-line);
  border-radius: 14px;
  background: var(--jd-surface-2);
  color: var(--jd-muted);
  font-weight: 900;
}

.jd-post-media-card {
  padding: clamp(18px, 3vw, 26px);
}

.jd-post-card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.jd-post-card-title h2 {
  margin: 0;
  color: var(--jd-text);
  font-size: 24px;
  font-weight: 950;
}

.jd-post-card-title span {
  color: var(--jd-muted);
  font-weight: 900;
}

.jd-post-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.jd-post-gallery-item {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--jd-line);
  border-radius: 16px;
  background: var(--jd-surface-2);
}

.jd-post-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jd-post-gallery-item span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  min-height: 26px;
  padding: 3px 9px;
  border-radius: 9px;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  font-size: 13px;
  font-weight: 950;
}

.jd8-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: none;
  grid-template-rows: auto minmax(0, 1fr);
  background: rgba(0, 0, 0, .92);
  color: #fff;
}

.jd8-lightbox.is-open {
  display: grid;
}

.jd8-lightbox-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto auto auto auto;
  gap: 10px;
  align-items: center;
  padding: 18px clamp(16px, 3vw, 30px);
}

.jd8-lightbox-counter {
  color: rgba(255, 255, 255, .72);
  font-weight: 950;
}

.jd8-lightbox-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 19px;
  backdrop-filter: blur(10px);
}

.jd8-lightbox-btn:hover {
  background: rgba(255, 153, 0, .88);
}

.jd8-lightbox-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  overflow: hidden;
  cursor: grab;
}

.jd8-lightbox-stage.is-dragging {
  cursor: grabbing;
}

.jd8-lightbox-image {
  max-width: 92vw;
  max-height: calc(100vh - 112px);
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  will-change: transform;
  transition: transform .12s ease;
}

.jd8-lightbox-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 48px;
  height: 64px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  background: rgba(0, 0, 0, .34);
  color: #fff;
  font-size: 30px;
  transform: translateY(-50%);
  backdrop-filter: blur(10px);
}

.jd8-lightbox-arrow:hover {
  background: rgba(255, 153, 0, .78);
}

.jd8-lightbox-prev {
  left: clamp(12px, 3vw, 30px);
}

.jd8-lightbox-next {
  right: clamp(12px, 3vw, 30px);
}

.jd-post-video {
  overflow: hidden;
  border-radius: 16px;
  background: #000;
}

.jd-post-video video {
  display: block;
  width: 100%;
  max-height: 680px;
}

.jd-post-comments-panel {
  position: sticky;
  top: 92px;
  overflow: hidden;
}

.jd-post-comments {
  display: grid;
  grid-template-rows: auto minmax(220px, 1fr) auto;
  max-height: calc(100vh - 122px);
}

.jd-post-comments-head {
  padding: 22px 22px 18px;
  border-bottom: 1px solid var(--jd-line);
}

.jd-post-comments-head h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--jd-text);
  font-size: 22px;
  font-weight: 950;
}

.jd-post-comments-head i {
  color: var(--jd-accent);
}

.jd-post-comments-scroll {
  display: grid;
  gap: 14px;
  overflow-y: auto;
  padding: 20px;
}

.jd-post-comment-item {
  padding: 18px;
  border: 1px solid var(--jd-line);
  border-radius: 18px;
  background: var(--jd-surface-2);
}

.jd-post-comment-item.is-reply {
  background: color-mix(in srgb, var(--jd-surface-2) 86%, var(--jd-accent-soft));
}

.jd-post-comment-top {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.jd-post-comment-top img {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  object-fit: cover;
}

.jd-post-comment-top strong {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  color: var(--jd-text);
  font-size: 16px;
  font-weight: 950;
}

.jd-post-comment-top em {
  color: var(--jd-accent);
  font-style: normal;
}

.jd-post-comment-top span {
  display: block;
  color: var(--jd-muted);
  font-size: 13px;
}

.jd-post-comment-content {
  color: var(--jd-text);
  font-size: 15px;
  line-height: 1.7;
}

.jd-post-comment-content img,
.emoji-in-input {
  width: 22px;
  height: 22px;
  object-fit: contain;
  vertical-align: middle;
}

.jd-post-comment-image {
  display: block;
  width: 112px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 12px;
}

.jd-post-comment-image img {
  width: 100%;
  height: 112px;
  object-fit: cover;
}

.jd-post-comment-actions {
  display: flex;
  gap: 14px;
  margin-top: 12px;
}

.jd-post-comment-actions button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: var(--jd-muted);
  padding: 0;
  font-size: 14px;
}

.jd-post-replies {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.jd-post-empty-comment {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 160px;
  color: var(--jd-muted);
  text-align: center;
}

.jd-post-empty-comment i {
  color: var(--jd-accent);
  font-size: 28px;
}

.jd-post-pagination {
  display: flex;
  justify-content: center;
}

.jd-comment-composer {
  padding: 16px 20px 20px;
  border-top: 1px solid var(--jd-line);
  background: var(--jd-surface);
}

.jd-comment-input {
  min-height: 72px;
  max-height: 160px;
  overflow-y: auto;
  padding: 15px 16px;
  border: 1px solid var(--jd-line);
  border-radius: 16px;
  background: var(--jd-surface-2);
  color: var(--jd-text);
  outline: 0;
}

.jd-comment-input:empty::before {
  content: attr(placeholder);
  color: var(--jd-soft);
}

.jd-comment-preview {
  margin-top: 12px;
}

.jd-comment-preview.hidden {
  display: none;
}

.jd-comment-preview-info {
  display: inline-grid;
  grid-template-columns: 58px auto 28px;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border: 1px solid var(--jd-line);
  border-radius: 14px;
  background: var(--jd-surface-2);
  color: var(--jd-muted);
  font-size: 13px;
}

.jd-comment-preview-info img {
  width: 58px;
  height: 58px;
  border-radius: 10px;
  object-fit: cover;
}

.jd-comment-preview-info button {
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 999px;
  background: rgba(248, 113, 113, .18);
  color: var(--jd-red);
}

.jd-comment-emoji {
  display: none;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  max-height: 190px;
  overflow-y: auto;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid var(--jd-line);
  border-radius: 14px;
  background: var(--jd-surface-2);
}

.jd-comment-emoji.active {
  display: grid;
}

.jd-comment-emoji-btn {
  display: grid;
  place-items: center;
  min-height: 38px;
  border: 1px solid var(--jd-line);
  border-radius: 10px;
  background: var(--jd-surface);
}

.jd-comment-emoji-btn img {
  width: 24px;
  height: 24px;
}

.jd-comment-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
}

.jd-comment-toolbar > div {
  display: flex;
  gap: 12px;
}

.jd-comment-tool {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--jd-muted);
  font-size: 22px;
}

.jd-comment-tool.active,
.jd-comment-tool:hover {
  color: var(--jd-accent);
}

.jd-comment-send {
  min-width: 116px;
  min-height: 48px;
  border: 0;
  border-radius: 16px;
  background: var(--jd-accent);
  color: #fff;
  font-weight: 950;
}

.jd-comment-send:disabled {
  opacity: .48;
}

.jd-cert-dark-body .jd8-cert-page {
  min-height: 620px;
  padding: clamp(56px, 8vw, 96px) 0 40px;
  background: var(--jd-bg);
}

.jd-cert-dark-body .jd8-cert-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
  gap: 22px;
  align-items: stretch;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(26px, 4vw, 40px);
  border: 1px solid var(--jd-line);
  border-radius: 30px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--jd-accent) 12%, transparent), transparent 72%),
    var(--jd-surface);
  box-shadow: var(--jd-shadow);
}

.jd-cert-dark-body .jd8-cert-hero h1 {
  margin: 0 0 16px;
  color: var(--jd-text);
  text-align: left;
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 950;
}

.jd-cert-dark-body .jd8-cert-search {
  max-width: none;
  padding: clamp(26px, 4vw, 52px);
  border: 1px solid var(--jd-line);
  border-radius: 24px;
  background: var(--jd-surface);
  box-shadow: var(--jd-shadow);
}

.jd-cert-dark-body .jd8-cert-search label {
  margin-bottom: 22px;
  color: var(--jd-text);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 950;
}

.jd-cert-dark-body .jd8-cert-search .input-group {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 26px;
}

.jd-cert-dark-body .jd8-cert-search input {
  min-height: 78px;
  padding: 0 30px;
  border: 1px solid var(--jd-line);
  border-radius: 24px;
  background: var(--jd-surface-2);
  color: var(--jd-text);
  font-size: 22px;
}

.jd-cert-dark-body .jd8-cert-search input::placeholder {
  color: var(--jd-soft);
}

.jd-cert-dark-body .jd8-cert-search .jd8-btn {
  min-height: 78px;
  border-radius: 24px;
  background: var(--jd-accent);
  color: #fff;
  font-size: 24px;
}

.jd-cert-dark-body .jd8-cert-helper {
  padding-top: 36px;
}

.jd8-case-grid,
.jd-case-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.jd-case,
.jd8-case-card,
.card.card-hover.jd-ident-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--jd-line);
  border-radius: 22px;
  background: var(--jd-surface);
  box-shadow: var(--jd-shadow-soft);
}

.jd-case-image,
.jd8-case-image {
  position: relative;
  display: block;
  height: clamp(300px, 23vw, 390px);
  overflow: hidden;
  background: var(--jd-surface-2);
}

.jd-case-image-link {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  line-height: 0;
}

.jd-case-image-link > img,
.jd-case-image > a img,
.jd8-case-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jd-case-stamp-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}

.jd-case-stamp-overlay .jd-verdict-stamp,
.jd-case-stamp-overlay .jd-verdict-stamp--badge {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  left: auto !important;
  bottom: auto !important;
  margin: 0 !important;
  width: 72px;
  height: 72px;
  display: block !important;
  pointer-events: none;
}

.jd-person-cases .jd-case-grid {
  margin-top: 8px;
}

.card.card-hover .jd-case-image {
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
}

.jd-case-body,
.jd8-case-body {
  padding: 18px;
}

.jd-case h3,
.jd8-case-body h3 {
  margin: 8px 0 0;
  color: var(--jd-text);
  font-size: 16px;
  line-height: 1.35;
}

.jd-case h3 a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.jd-case-meta,
.jd8-case-meta {
  color: var(--jd-soft);
  font-size: 13px;
}

.jd-case-user {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--jd-text);
}

.jd-case-user img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}

.jd-case-user strong,
.jd-case-user em {
  display: block;
  line-height: 1.25;
}

.jd-case-user em {
  color: var(--jd-soft);
  font-style: normal;
  font-size: 12px;
}

.jd-case-actions {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 14px;
}

.jd-case-stat,
.jd-case-stat-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid var(--jd-line);
  border-radius: 999px;
  background: var(--jd-surface-2);
  color: var(--jd-muted);
  font-size: 13px;
  font-weight: 700;
}

.jd-case-stat-btn {
  border: 1px solid var(--jd-line);
  cursor: pointer;
}

.jd-case-stat:hover,
.jd-case-stat-btn:hover {
  border-color: color-mix(in srgb, var(--jd-accent) 45%, var(--jd-line));
  color: var(--jd-accent);
}

.jd-case-stat-label {
  color: var(--jd-soft);
  font-weight: 600;
}

.jd-case-stat b {
  color: var(--jd-text);
  font-size: 14px;
}

.jd-section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  max-width: none;
}

.jd-section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.jd-result-badge .jd-result-text {
  font-weight: 950;
  letter-spacing: .04em;
}

.jd-result-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 999px;
  background: rgba(17, 17, 17, .76);
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
  box-shadow: 0 12px 26px rgba(0, 0, 0, .18);
  backdrop-filter: blur(12px);
}

.jd-result-badge.is-real {
  background: rgba(5, 150, 105, .9);
}

.jd-result-badge.is-fake {
  background: rgba(220, 74, 61, .92);
}

.jd-result-badge.is-working,
.jd-result-badge.is-pending {
  background: rgba(245, 158, 11, .92);
}

.jd-result-badge.is-unknown {
  background: rgba(39, 39, 42, .88);
}

.gallery {
  display: block;
}

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

.masonry-grid-item {
  min-width: 0;
}

.jd-section,
.jd-cases {
  padding: 60px 0;
}

.jd-section-head {
  max-width: 820px;
  margin: 0 0 32px;
}

.jd-section-head h1,
.jd-section-head h2 {
  margin: 0;
  color: var(--jd-text);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  font-weight: 950;
}

.jd-section-desc {
  margin: 10px 0 0;
  color: var(--jd-muted);
}

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

.jd-cat,
.jd-cat-card-link {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
  min-height: 132px;
  padding: 20px;
  border: 1px solid var(--jd-line);
  border-radius: 20px;
  background: var(--jd-surface);
  box-shadow: var(--jd-shadow-soft);
  text-align: left;
  color: inherit;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.jd-cat:hover,
.jd-cat-card-link:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--jd-accent) 50%, var(--jd-line));
  box-shadow: var(--jd-shadow);
  color: inherit;
}

.jd-cat-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.jd-cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.jd-cat-type-pill {
  flex: 0 0 auto;
  min-height: 24px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--jd-accent-soft);
  color: var(--jd-accent);
  font-size: 12px;
  font-weight: 800;
}

.jd8-type-banner.is-physical .jd-cat-type-pill,
.jd-cat.is-physical .jd-cat-type-pill {
  background: color-mix(in srgb, var(--jd-gold) 18%, transparent);
  color: var(--jd-gold);
}

.jd-cat-desc {
  margin: 0;
  color: var(--jd-muted);
  font-size: 14px;
  line-height: 1.45;
}

.jd-cat-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  color: var(--jd-soft);
  font-size: 13px;
  font-weight: 700;
}

.jd-cat-meta i {
  color: var(--jd-accent);
}

.jd-cat-price {
  color: var(--jd-accent);
}

.jd-cat-cta {
  margin-top: auto;
  color: var(--jd-accent);
  font-size: 14px;
  font-weight: 800;
}

.jd8-type-banner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px 24px;
  align-items: center;
  margin-bottom: 28px;
  padding: 24px 28px;
  border: 1px solid var(--jd-line);
  border-radius: 24px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--jd-accent) 10%, transparent), transparent 70%),
    var(--jd-surface);
  box-shadow: var(--jd-shadow-soft);
}

.jd8-type-banner.is-physical {
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--jd-gold) 14%, transparent), transparent 72%),
    var(--jd-surface);
}

.jd8-type-banner-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--jd-accent-soft);
  color: var(--jd-accent);
  font-size: 26px;
}

.jd8-type-banner.is-physical .jd8-type-banner-icon {
  background: color-mix(in srgb, var(--jd-gold) 18%, transparent);
  color: var(--jd-gold);
}

.jd8-type-banner-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.jd8-type-banner-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--jd-accent-soft);
  color: var(--jd-accent);
  font-size: 13px;
  font-weight: 800;
}

.jd8-type-banner.is-physical .jd8-type-banner-meta span {
  background: color-mix(in srgb, var(--jd-gold) 16%, transparent);
  color: var(--jd-gold);
}

.jd-cat-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--jd-accent-soft);
}

.jd-cat-image img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.jd-cat h3 {
  margin: 0;
  color: var(--jd-text);
  font-size: 18px;
  font-weight: 900;
}

.jd-cat p {
  margin: 4px 0 0;
  color: var(--jd-muted);
  font-size: 13px;
}

.jd-cat span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  color: var(--jd-accent);
  font-size: 13px;
  font-weight: 800;
}

.form-control,
.form-select,
.custom-select,
input[type="text"],
input[type="tel"],
input[type="email"],
input[type="password"],
input[type="number"],
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 14px;
  border: 1px solid var(--jd-line);
  border-radius: 12px;
  background: var(--jd-surface-2);
  color: var(--jd-text);
  outline: none;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.form-control:focus,
.form-select:focus,
input:focus,
select:focus,
textarea:focus {
  border-color: var(--jd-accent);
  box-shadow: var(--jd-focus);
}

label {
  color: var(--jd-text);
  font-weight: 750;
}

.form-label {
  display: inline-block;
  margin-bottom: 6px;
}

.form-group {
  margin-bottom: 16px;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-check-inline {
  display: inline-flex;
}

.form-check-input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  flex: 0 0 18px;
  accent-color: var(--jd-accent);
}

.form-check-label {
  color: var(--jd-muted);
  font-weight: 700;
}

.form-option-label {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid var(--jd-line);
  border-radius: 999px;
  background: var(--jd-surface);
  color: var(--jd-text);
  font-weight: 800;
}

.form-check-input:checked + .form-option-label {
  border-color: var(--jd-accent);
  background: var(--jd-accent);
  color: #fff;
}

.input-group {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.input-group > .form-control,
.input-group > input,
.input-group > select {
  flex: 1 1 auto;
}

.input-group-text,
.input-group-prepend,
.input-group-append {
  display: inline-flex;
  align-items: center;
}

.input-group-text {
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--jd-line);
  border-radius: 12px;
  background: var(--jd-accent-soft);
  color: var(--jd-muted);
  font-weight: 800;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.badge-floating {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
}

.jd-pager {
  width: 100%;
  margin: clamp(18px, 3vw, 28px) 0 0;
}

.jd-pager-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.jd-pager-link,
.jd-pager-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 40px;
  padding: 9px 15px;
  border: 1px solid var(--jd-line);
  border-radius: 999px;
  background: var(--jd-surface-2);
  color: var(--jd-text);
  font-size: 14px;
  line-height: 1;
  font-weight: 900;
  white-space: nowrap;
}

.jd-pager-count {
  color: var(--jd-muted);
  font-weight: 800;
}

.jd-pager-link:hover {
  border-color: var(--jd-accent);
  background: var(--jd-accent);
  color: #fff;
}

.jd-pager-link.disabled {
  color: var(--jd-muted);
  opacity: 0.48;
  pointer-events: none;
}

.jd-pager-numbered {
  display: flex;
  justify-content: center;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--jd-line);
  border-radius: 12px;
  background: var(--jd-surface);
  color: var(--jd-muted);
  font-weight: 900;
}

.page-item.active .page-link,
.page-link:hover {
  border-color: var(--jd-accent);
  background: var(--jd-accent);
  color: #fff;
}

.rate,
.rate-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.jd8-upload-page,
.jd8-page,
.jd-user-center,
.jd-detail-page {
  padding: 44px 0 72px;
}

.jd8-upload-card {
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--jd-line);
  border-radius: 28px;
  background: var(--jd-surface);
  box-shadow: var(--jd-shadow);
}

.jd8-upload-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.jd8-upload-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--jd-accent-soft);
  color: var(--jd-muted);
  font-size: 14px;
  font-weight: 750;
}

.jd8-upload-grid,
#img_content.row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 22px 0;
}

#img_content.row {
  margin-inline: 0;
}

#img_content.row > * {
  width: auto;
  padding-inline: 0;
}

.file-drop-area {
  position: relative;
  overflow: hidden;
  min-height: 236px;
  padding: 16px;
  border: 2px dashed var(--jd-line);
  border-radius: 18px;
  background: var(--jd-surface);
  transition: border-color .18s ease, box-shadow .18s ease;
}

.file-drop-area:hover {
  border-color: var(--jd-accent);
  box-shadow: var(--jd-shadow-soft);
}

.file-drop-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
  border-radius: 14px;
  background: var(--jd-surface-2);
}

.file-drop-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 12px;
}

.file-drop-message {
  display: block;
  margin: 12px 0 10px;
  color: var(--jd-text);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.file-drop-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.file-drop-btn {
  width: 100%;
  pointer-events: none;
}

.jd-detail-shell {
  max-width: 1060px;
  margin-inline: auto;
}

.jd-detail-verdict,
.jd-detail-card,
.jd-comments {
  border: 1px solid var(--jd-line);
  border-radius: 24px;
  background: var(--jd-surface);
  box-shadow: var(--jd-shadow-soft);
}

.jd-detail-verdict {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding: 20px;
}

.jd-detail-team {
  display: flex;
  align-items: center;
  gap: 14px;
}

.jd-detail-team img,
.jd-detail-team-avatar {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border-radius: 16px;
  object-fit: contain;
  background: #fff;
  padding: 6px;
}

.jd-detail-team strong {
  display: block;
  color: var(--jd-text);
  font-size: 20px;
}

.jd-detail-team span {
  display: block;
  color: var(--jd-muted);
  font-size: 14px;
}

.jd-detail-result {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 14px;
  background: var(--jd-accent);
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.jd-verdict-stamp {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  line-height: 0;
  border-radius: 50%;
  overflow: hidden;
  background: transparent;
}

.jd-verdict-stamp img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: transparent;
}

.jd-detail-result-wrap .jd-verdict-stamp {
  width: clamp(108px, 14vw, 128px);
  height: clamp(108px, 14vw, 128px);
}

.jd-verdict-stamp--sm {
  width: 88px;
  height: 88px;
}

.jd-verdict-stamp--badge {
  position: absolute;
  top: 10px;
  right: 10px;
  left: auto;
  bottom: auto;
  z-index: 3;
  width: 72px;
  height: 72px;
  pointer-events: none;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .12));
}

.jd-user-order-stamp {
  display: flex;
  justify-content: center;
  align-items: center;
}

.jd-user-order-stamp--header {
  width: 52px;
  height: 52px;
}

.jd-user-order-stamp--header .jd-verdict-stamp,
.jd-user-order-stamp--header .jd-verdict-stamp--sm {
  width: 52px;
  height: 52px;
}


.jd-detail-stamp {
  width: 112px;
  height: auto;
  object-fit: contain;
}

.jd-detail-card,
.jd-comments {
  padding: clamp(18px, 3vw, 28px);
}

.jd-detail-authorbar,
.jd-detail-author,
.jd-detail-tools {
  display: flex;
  align-items: center;
  gap: 14px;
}

.jd-detail-authorbar {
  justify-content: space-between;
  margin-bottom: 20px;
}

.jd-detail-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.jd-detail-name {
  display: block;
  color: var(--jd-text);
  font-weight: 900;
}

.jd-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
  color: var(--jd-muted);
  font-size: 13px;
}

.jd-detail-follow,
.jd-detail-share,
.jd-comment-reply {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid var(--jd-line);
  border-radius: 999px;
  color: var(--jd-accent);
  font-size: 13px;
  font-weight: 800;
}

.jd-detail-copy span {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--jd-accent);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.jd-detail-copy h1 {
  margin: 0;
  color: var(--jd-text);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.25;
  font-weight: 900;
}

.jd-detail-copy p {
  color: var(--jd-muted);
}

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

.jd-detail-photo {
  display: block;
  overflow: hidden;
  aspect-ratio: 1;
  border: 1px solid var(--jd-line);
  border-radius: 16px;
  background: var(--jd-surface-2);
}

.jd-detail-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jd-comments {
  margin-top: 24px;
}

.jd-comments-head h2 {
  margin: 0 0 18px;
  color: var(--jd-text);
  font-size: 22px;
}

.jd-comment-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--jd-line);
}

.jd-comment-item:last-child {
  border-bottom: 0;
}

.jd-comment-item p {
  color: var(--jd-text);
}

.jd-comment-reply-item {
  margin-left: 36px;
  padding-left: 16px;
  border-left: 3px solid var(--jd-line);
}

.jd-comment-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 128px;
  gap: 12px;
  margin-top: 20px;
}

.jd-comment-form button {
  border: 0;
  border-radius: 14px;
  background: var(--jd-accent);
  color: #fff;
  font-weight: 900;
}

.jd-ident-detail-section {
  padding: 28px 0 56px;
}

.jd-ident-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(380px, .95fr);
  gap: 24px;
  align-items: start;
}

.jd-ident-detail-main {
  display: grid;
  gap: 24px;
}

.jd-ident-detail-page .jd-detail-verdict,
.jd-ident-detail-page .jd-detail-card {
  margin: 0;
  border-color: var(--jd-line);
  background: var(--jd-surface);
  box-shadow: var(--jd-shadow);
}

.jd-ident-detail-page .jd-detail-verdict {
  padding: clamp(18px, 3vw, 26px);
}

.jd-detail-result-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.jd-detail-result-true {
  background: #10b981;
}

.jd-detail-result-false {
  background: #ef4444;
}

.jd-detail-result-unknown {
  background: #6b7280;
}

.jd-detail-result-supplement {
  background: #f59e0b;
}

.jd-detail-result-pending {
  background: #3b82f6;
}

.jd-ident-detail-page .jd-detail-card {
  padding: clamp(20px, 3vw, 30px);
}

.jd-detail-media-card .jd-post-card-title {
  margin-bottom: 18px;
}

.jd-detail-supplement-note {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid color-mix(in srgb, var(--jd-accent) 30%, var(--jd-line));
  border-radius: 16px;
  background: var(--jd-accent-soft);
}

.jd-detail-supplement-note i {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--jd-accent);
  color: #fff;
  font-size: 21px;
}

.jd-detail-supplement-note strong {
  display: block;
  color: var(--jd-text);
  font-weight: 950;
}

.jd-detail-supplement-note p {
  margin: 2px 0 0;
  color: var(--jd-muted);
  font-size: 14px;
}

.jd-ident-detail-page .jd-detail-gallery {
  gap: 18px;
}

.jd-ident-detail-page .jd-detail-photo {
  position: relative;
  border-color: var(--jd-line);
  background: var(--jd-surface-2);
}

.jd-ident-detail-page .jd-detail-photo span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  min-height: 26px;
  padding: 3px 9px;
  border-radius: 9px;
  background: rgba(0, 0, 0, .56);
  color: #fff;
  font-size: 13px;
  font-weight: 950;
}

.jd-detail-upload {
  cursor: pointer;
}

.jd-detail-media-card .file-drop-area {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto;
  height: 100%;
  min-height: 100%;
  border-color: color-mix(in srgb, var(--jd-accent) 38%, var(--jd-line));
  background: var(--jd-surface);
}

.jd-detail-media-card .file-drop-icon {
  position: relative;
  overflow: hidden;
  background: var(--jd-surface-2);
}

.jd-detail-media-card .file-drop-icon img {
  padding: 0;
}

.jd-detail-add .file-drop-icon img {
  object-fit: contain;
  padding: 28%;
}

.jd-upload-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .52);
  color: #fff;
}

.jd-detail-submit-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
}

.jd-detail-submit {
  min-width: 180px;
}

.jd-ident-comments-panel {
  border-color: var(--jd-line);
}

.jd-ident-comments .jd-post-comments-head h2 {
  font-size: 22px;
}

.jd-ident-comment-composer form {
  display: grid;
  gap: 14px;
}

.jd-ident-comment-textarea,
.jd-ident-reply-box textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid var(--jd-line);
  border-radius: 16px;
  background: var(--jd-surface-2);
  color: var(--jd-text);
  outline: 0;
}

.jd-ident-comment-textarea {
  min-height: 92px;
  padding: 15px 16px;
}

.jd-ident-comment-textarea::placeholder,
.jd-ident-reply-box textarea::placeholder {
  color: var(--jd-soft);
}

.jd-ident-comment-actions,
.jd-ident-reply-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.jd-ident-comment-actions span {
  color: var(--jd-soft);
  font-size: 14px;
}

.jd-ident-comment-actions button,
.jd-ident-reply-box button {
  min-width: 98px;
  min-height: 42px;
  border: 0;
  border-radius: 14px;
  background: var(--jd-accent);
  color: #fff;
  font-weight: 950;
}

.jd-ident-reply-box {
  margin-top: 14px;
  align-items: stretch;
}

.jd-ident-reply-box textarea {
  min-height: 46px;
  padding: 11px 12px;
}

.jd-pay-body {
  --jd-bg: #fafaf9;
  --jd-surface: #ffffff;
  --jd-surface-2: #fff8eb;
  --jd-text: #18181b;
  --jd-muted: #5f6368;
  --jd-soft: #8a8f98;
  --jd-line: #f2d9a6;
  --jd-accent: #d97706;
  --jd-accent-2: #f97316;
  --jd-accent-soft: #fff1d6;
  --jd-shadow: 0 18px 45px rgba(16, 32, 28, .10);
  --jd-shadow-soft: 0 10px 28px rgba(16, 32, 28, .07);
  background: #fafaf9;
}

.jd-pay-body::before {
  background:
    radial-gradient(circle at 82% 8%, rgba(217, 119, 6, .14), transparent 25rem),
    radial-gradient(circle at 10% 16%, rgba(5, 150, 105, .10), transparent 22rem);
}

.jd-pay-page {
  min-height: 100vh;
}

.jd-pay-section {
  padding: clamp(28px, 5vw, 56px) 0 78px;
}

.jd-pay-back {
  margin-bottom: 18px;
}

.jd-pay-layout {
  display: grid;
  grid-template-columns: minmax(320px, .8fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: stretch;
}

.jd-pay-summary,
.jd-pay-card {
  border: 1px solid var(--jd-line);
  border-radius: 28px;
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--jd-shadow);
}

.jd-pay-summary {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 4vw, 36px);
  background:
    linear-gradient(145deg, rgba(5, 77, 64, .96), rgba(8, 52, 45, .98)),
    #08342d;
  color: #fff;
}

.jd-pay-summary::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -100px;
  width: 260px;
  height: 260px;
  border: 52px solid rgba(255, 153, 0, .18);
  border-radius: 999px;
}

.jd-pay-summary .jd8-kicker {
  color: #f5d9a7;
  background: rgba(255, 255, 255, .08);
}

.jd-pay-summary h1 {
  position: relative;
  z-index: 1;
  margin: 18px 0 12px;
  color: #fff;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.05;
  font-weight: 950;
}

.jd-pay-summary p {
  position: relative;
  z-index: 1;
  max-width: 420px;
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 17px;
}

.jd-pay-amount {
  position: relative;
  z-index: 1;
  margin: clamp(28px, 5vw, 46px) 0 26px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 22px;
  background: rgba(255, 255, 255, .08);
}

.jd-pay-amount span {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, .66);
  font-size: 14px;
  font-weight: 800;
}

.jd-pay-amount strong {
  display: block;
  color: #ffcf74;
  font-size: clamp(40px, 7vw, 64px);
  line-height: 1;
  font-weight: 950;
  letter-spacing: 0;
}

.jd-pay-meta {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  margin: 0;
}

.jd-pay-meta div {
  display: grid;
  gap: 4px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.jd-pay-meta dt {
  color: rgba(255, 255, 255, .58);
  font-size: 13px;
  font-weight: 800;
}

.jd-pay-meta dd {
  margin: 0;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.jd-pay-card {
  padding: clamp(22px, 4vw, 34px);
  color: #18181b;
}

.jd-pay-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

.jd-pay-card-head h2 {
  margin: 0;
  color: var(--jd-text);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 950;
}

.jd-pay-card-head p {
  margin: 6px 0 0;
  color: var(--jd-muted);
}

.jd-pay-card-head > span {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--jd-accent-soft);
  color: var(--jd-accent);
  font-size: 13px;
  font-weight: 950;
}

.jd-pay-methods {
  display: grid;
  gap: 14px;
}

.jd-pay-method {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 34px;
  gap: 14px;
  align-items: center;
  min-height: 92px;
  padding: 16px;
  border: 1px solid #f2d9a6;
  border-radius: 20px;
  background: #ffffff;
  color: #18181b;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.jd-pay-method:hover {
  transform: translateY(-1px);
  border-color: var(--jd-accent);
  background: #fffaf2;
  box-shadow: var(--jd-shadow-soft);
}

.jd-pay-method input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.jd-pay-method-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--jd-accent-soft);
  color: var(--jd-accent);
  font-size: 25px;
}

.jd-pay-method-copy {
  min-width: 0;
}

.jd-pay-method-copy strong {
  display: block;
  color: #18181b;
  font-size: 18px;
  font-weight: 950;
}

.jd-pay-method-copy em {
  display: block;
  margin-top: 3px;
  color: #6b7280;
  font-size: 14px;
  font-style: normal;
}

.jd-pay-method-check {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #f2d9a6;
  border-radius: 999px;
  color: transparent;
}

.jd-pay-method:has(input:checked) {
  border-color: var(--jd-accent);
  background: #fff7eb;
  box-shadow: 0 16px 36px rgba(217, 119, 6, .16);
}

.jd-pay-method:has(input:checked) .jd-pay-method-icon,
.jd-pay-method:has(input:checked) .jd-pay-method-check {
  background: var(--jd-accent);
  color: #fff;
  border-color: var(--jd-accent);
}

.jd-pay-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 58px;
  margin-top: 22px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--jd-accent), var(--jd-accent-2));
  color: #fff;
  font-size: 18px;
  font-weight: 950;
  box-shadow: 0 18px 36px rgba(217, 119, 6, .22);
}

.jd-pay-submit:disabled {
  cursor: wait;
  opacity: .72;
}

.jd-pay-note {
  display: flex;
  gap: 8px;
  margin: 16px 0 0;
  color: var(--jd-muted);
  font-size: 14px;
}

.jd-pay-note i {
  color: var(--jd-accent);
}

.jd-wallet-panel {
  display: grid;
  gap: 22px;
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--jd-line);
  border-radius: 28px;
  background: var(--jd-surface);
  box-shadow: var(--jd-shadow-soft);
}

.jd-wallet-head {
  display: grid;
  grid-template-columns: minmax(220px, .5fr) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: clamp(18px, 3vw, 26px);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(5, 77, 64, .96), rgba(10, 63, 54, .92));
  color: #fff;
}

.jd-wallet-head span {
  display: block;
  color: rgba(255, 255, 255, .64);
  font-size: 14px;
  font-weight: 800;
}

.jd-wallet-head strong {
  display: block;
  color: #ffcf74;
  font-size: clamp(32px, 5vw, 46px);
  line-height: 1.1;
  font-weight: 950;
}

.jd-wallet-head p {
  margin: 0;
  color: rgba(255, 255, 255, .74);
}

.jd-wallet-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 8px;
  border: 1px solid var(--jd-line);
  border-radius: 18px;
  background: var(--jd-surface-2);
}

.jd-wallet-tabs a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 13px;
  color: var(--jd-muted);
  font-weight: 900;
  white-space: nowrap;
}

.jd-wallet-tabs a.active,
.jd-wallet-tabs a:hover {
  background: var(--jd-accent);
  color: #fff;
}

.jd-wallet-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 16px;
  align-items: end;
}

.jd-wallet-deposit {
  grid-template-columns: minmax(0, 1fr) 180px;
  max-width: 720px;
}

.jd-wallet-form label {
  display: grid;
  gap: 8px;
  margin: 0;
}

.jd-wallet-form label span {
  color: var(--jd-text);
  font-weight: 900;
}

.jd-wallet-form .form-control {
  min-height: 54px;
  border: 1px solid var(--jd-line);
  border-radius: 16px;
  background: var(--jd-surface-2);
}

.jd-wallet-submit {
  min-height: 54px;
  padding: 0 22px;
  border: 0;
  border-radius: 16px;
  background: var(--jd-accent);
  color: #fff;
  font-weight: 950;
  box-shadow: 0 14px 28px rgba(217, 119, 6, .18);
}

.jd-wallet-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--jd-line);
  border-radius: 20px;
}

.jd-wallet-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.jd-wallet-table th,
.jd-wallet-table td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--jd-line);
  text-align: left;
  vertical-align: middle;
}

.jd-wallet-table th {
  background: var(--jd-surface-2);
  color: var(--jd-muted);
  font-size: 14px;
  font-weight: 950;
}

.jd-wallet-table td {
  color: var(--jd-text);
}

.jd-wallet-table tr:last-child td {
  border-bottom: 0;
}

.jd-wallet-plus {
  color: var(--jd-red);
  font-weight: 950;
}

.jd-wallet-minus {
  color: #10b981;
  font-weight: 950;
}

.jd8-login {
  min-height: calc(100vh - 80px);
  display: grid;
  place-items: center;
  padding: 48px 0;
}

.jd8-auth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  width: min(100%, 1040px);
  margin-inline: auto;
}

.jd8-auth-card {
  padding: 32px;
  border: 1px solid var(--jd-line);
  border-radius: 28px;
  background: var(--jd-surface);
  box-shadow: var(--jd-shadow);
}

.jd8-auth-card h1,
.jd8-auth-card h2 {
  margin: 0 0 8px;
  color: var(--jd-text);
  font-size: 28px;
  font-weight: 950;
}

.jd-user-center {
  background: transparent;
}

.jd-user-menu {
  position: sticky;
  top: 104px;
}

.jd-user-profile,
.jd-user-links,
.jd-user-content > .d-flex > [id],
.jd-user-content[id]:not(#user) {
  border: 1px solid var(--jd-line);
  border-radius: 22px;
  background: var(--jd-surface);
  box-shadow: var(--jd-shadow-soft);
}

.jd-user-profile {
  padding: 24px;
  text-align: center;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.jd-user-profile i {
  display: inline-flex;
  width: 76px;
  height: 76px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--jd-accent-soft);
  color: var(--jd-accent);
  font-size: 46px;
}

.jd-user-profile img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
}

.jd-user-profile h6 {
  margin: 12px 0 2px;
  color: var(--jd-text);
  font-size: 17px;
}

.jd-user-profile span {
  color: var(--jd-muted);
  font-size: 13px;
}

.jd-user-links {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  list-style: none;
}

.jd-user-menu-heading {
  padding: 8px 12px;
  color: var(--jd-soft);
  font-size: 13px;
  font-weight: 900;
}

.jd-user-links .nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--jd-text);
  font-size: 14px;
  font-weight: 800;
}

.jd-user-links .nav-link i {
  color: var(--jd-accent);
}

.jd-user-links .nav-link.active {
  background: var(--jd-accent);
  color: #fff;
}

.jd-user-links .nav-link.active i {
  color: #fff;
}

.jd-user-content > .d-flex > [id],
.jd-user-content[id]:not(#user) {
  width: 100%;
  padding: clamp(18px, 3vw, 28px) !important;
}

.jd-user-shell > .row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-inline: 0;
}

.jd-user-shell > .row > * {
  width: 100%;
  padding-inline: 0;
}

.jd-user-menu {
  position: static;
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 14px 18px;
  border: 1px solid var(--jd-line);
  border-radius: 24px;
  background: var(--jd-surface);
  box-shadow: var(--jd-shadow);
}

.jd-user-menu .jd-user-profile,
.jd-user-menu .jd-user-links {
  border: 0;
  box-shadow: none;
}

.jd-user-menu .jd-user-profile {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 0;
  border-radius: 0;
  background: transparent;
  text-align: left;
}

.jd-user-avatar {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--jd-accent-soft);
}

.jd-user-menu .jd-user-avatar i,
.jd-user-menu .jd-user-avatar img {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  object-fit: cover;
}

.jd-user-menu .jd-user-avatar i {
  display: grid;
  place-items: center;
  background: transparent;
  color: var(--jd-accent);
  font-size: 36px;
}

.jd-user-profile-copy {
  min-width: 0;
}

.jd-user-profile-copy span {
  display: block;
  color: var(--jd-accent);
  font-size: 13px;
  font-weight: 900;
}

.jd-user-profile-copy h6 {
  margin: 2px 0 2px;
  overflow: hidden;
  color: var(--jd-text);
  font-size: 19px;
  line-height: 1.18;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jd-user-profile-copy p {
  margin: 0;
  overflow: hidden;
  color: var(--jd-muted);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jd-user-menu .jd-user-links {
  display: flex;
  flex-direction: row !important;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  list-style: none;
  scrollbar-width: thin;
}

.jd-user-links .nav-item {
  flex: 0 0 auto;
}

.jd-user-menu .jd-user-links .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--jd-line);
  border-radius: 999px;
  background: var(--jd-surface-2);
  font-size: 14px !important;
  line-height: 1;
  white-space: nowrap;
}

.jd-user-menu .jd-user-links .nav-link i {
  font-size: 16px;
}

.jd-user-menu .jd-user-links .nav-link.active {
  border-color: var(--jd-accent);
  background: var(--jd-accent);
}

.jd-message-panel {
  display: grid;
  gap: 20px;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid var(--jd-line);
  border-radius: 26px;
  background: var(--jd-surface);
  box-shadow: var(--jd-shadow);
}

.jd-message-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--jd-line);
}

.jd-message-head h1 {
  margin: 8px 0 4px;
  color: var(--jd-text);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 950;
}

.jd-message-head p {
  margin: 0;
  color: var(--jd-muted);
}

.jd-message-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.jd-message-tabs a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid var(--jd-line);
  border-radius: 999px;
  background: var(--jd-surface-2);
  color: var(--jd-muted);
  font-weight: 900;
}

.jd-message-tabs a.active,
.jd-message-tabs a:hover {
  border-color: var(--jd-accent);
  background: var(--jd-accent);
  color: #fff;
}

.jd-message-list {
  display: grid;
  gap: 12px;
}

.jd-message-card {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 92px;
  padding: 16px;
  border: 1px solid var(--jd-line);
  border-radius: 20px;
  background: var(--jd-surface-2);
  color: var(--jd-text);
  cursor: pointer;
}

.jd-message-card:hover {
  border-color: var(--jd-accent);
  box-shadow: var(--jd-shadow-soft);
}

.jd-message-avatar,
.jd-message-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  object-fit: cover;
}

.jd-message-icon {
  display: grid;
  place-items: center;
  background: var(--jd-accent-soft);
  color: var(--jd-accent);
  font-size: 24px;
}

.jd-message-main {
  min-width: 0;
}

.jd-message-title {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 4px;
}

.jd-message-title strong {
  color: var(--jd-text);
  font-size: 17px;
  font-weight: 950;
}

.jd-message-title em {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--jd-red);
  color: #fff;
  font-style: normal;
  font-size: 13px;
  font-weight: 950;
}

.jd-message-title time {
  color: var(--jd-soft);
  font-size: 13px;
}

.jd-message-main p {
  margin: 0;
  color: var(--jd-muted);
  font-size: 14px;
}

.jd-message-go {
  color: var(--jd-soft);
}

.jd-message-thumb,
.jd-message-object img {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  object-fit: cover;
}

.jd-message-object {
  border: 0;
  background: transparent;
  padding: 0;
}

.jd-message-empty {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 180px;
  color: var(--jd-muted);
  text-align: center;
}

.jd-message-empty i {
  color: var(--jd-accent);
  font-size: 34px;
}

.jd-address-page {
  display: grid;
  gap: 26px;
}

.jd-address-panel {
  border: 1px solid var(--jd-line);
  border-radius: 22px;
  background: var(--jd-surface);
  box-shadow: var(--jd-shadow-soft);
  padding: clamp(18px, 3vw, 28px);
}

.jd-address-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.jd-address-head-centered {
  justify-content: center;
  text-align: center;
}

.jd-address-head h1,
.jd-address-head h2 {
  margin: 0;
  color: var(--jd-text);
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.18;
  font-weight: 950;
}

.jd-address-head p {
  margin: 8px 0 0;
  color: var(--jd-muted);
}

.jd-address-grid {
  display: grid;
  gap: 14px;
}

.jd-address-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--jd-line);
  border-radius: 18px;
  background: var(--jd-surface-2);
}

.jd-address-card.is-default {
  border-color: color-mix(in srgb, var(--jd-accent) 56%, var(--jd-line));
  background: linear-gradient(135deg, var(--jd-accent-soft), var(--jd-surface));
}

.jd-address-main {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 12px;
  align-items: flex-start;
}

.jd-address-dot {
  width: 8px;
  height: 8px;
  margin-top: 10px;
  border-radius: 999px;
  background: var(--jd-accent);
}

.jd-address-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.jd-address-title strong {
  color: var(--jd-text);
  font-size: 17px;
  font-weight: 950;
}

.jd-address-title span {
  color: var(--jd-muted);
  font-weight: 800;
}

.jd-address-title em {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--jd-red);
  color: #fff;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.jd-address-card p {
  margin: 8px 0 0;
  color: var(--jd-text);
  line-height: 1.5;
}

.jd-address-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.jd-address-actions a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid var(--jd-line);
  border-radius: 999px;
  background: var(--jd-surface);
  color: var(--jd-accent);
  font-size: 13px;
  font-weight: 900;
}

.jd-address-actions a:last-child {
  color: var(--jd-red);
}

.jd-address-form-panel {
  margin-top: 6px;
}

.jd-address-form {
  display: grid;
  gap: 20px;
}

.jd-address-form-grid {
  display: grid;
  grid-template-columns: minmax(150px, .55fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  align-items: end;
}

.jd-form-field {
  display: grid;
  gap: 8px;
}

.jd-form-field label {
  font-weight: 950;
}

.jd-phone-field,
.jd-address-parse {
  display: grid;
  gap: 12px;
}

.jd-phone-field {
  grid-template-columns: minmax(142px, .38fr) minmax(0, 1fr);
}

.jd-region-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.jd-address-parse {
  grid-template-columns: minmax(0, 1fr) 150px;
}

.jd-address-parse .btn,
.jd-address-submit .btn {
  min-height: 48px;
}

.jd-address-default {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--jd-muted);
  font-weight: 900;
}

.jd-address-submit {
  padding-top: 6px;
}

.jd-address-submit .btn {
  min-width: min(100%, 360px);
}

.accordion {
  display: grid;
  gap: 14px;
}

.accordion-button {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--jd-line);
  background: var(--jd-surface-2);
  color: var(--jd-text);
}

.accordion-body {
  padding: 20px !important;
}

.accordion-body img[width="105"],
.accordion-body img[width="100"],
table img[width="60"] {
  width: 92px;
  height: 92px;
  object-fit: contain;
  border-radius: 14px;
  background: var(--jd-surface-2);
}

table {
  width: 100%;
  border-collapse: collapse;
}

.table {
  color: var(--jd-text);
  background: var(--jd-surface);
}

.table th,
.table td {
  padding: 12px;
  border-bottom: 1px solid var(--jd-line);
  vertical-align: middle;
}

.table-responsive {
  overflow-x: auto;
  border: 1px solid var(--jd-line);
  border-radius: 16px;
}

.nav-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  padding: 0;
  border-bottom: 1px solid var(--jd-line);
  list-style: none;
}

.nav-tabs .nav-link {
  display: inline-flex;
  padding: 10px 12px;
  color: var(--jd-muted);
  font-weight: 800;
}

.nav-tabs .nav-link.active {
  color: var(--jd-accent);
  border-bottom: 2px solid var(--jd-accent);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, .48);
}

.modal.show {
  display: flex;
}

.modal-dialog {
  width: min(100%, 560px);
}

.modal-content {
  overflow: hidden;
  border: 1px solid var(--jd-line);
  border-radius: 22px;
  background: var(--jd-surface);
  color: var(--jd-text);
  box-shadow: var(--jd-shadow);
}

.modal-header,
.modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--jd-line);
}

.modal-footer {
  border-top: 1px solid var(--jd-line);
  border-bottom: 0;
  justify-content: flex-end;
}

.btn-close {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: var(--jd-accent-soft);
  color: var(--jd-text);
}

.btn-close::before {
  content: "x";
  font-weight: 900;
}

.dropdown {
  position: relative;
}

.dropdown-menu,
.jd8-member-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  z-index: 80;
  display: none;
  min-width: 210px;
  padding: 8px;
  border: 1px solid var(--jd-line);
  border-radius: 16px;
  background: var(--jd-surface);
  box-shadow: var(--jd-shadow);
}

.dropdown.is-open .dropdown-menu,
.jd8-member.is-open .jd8-member-menu {
  display: block;
}

.dropdown-item,
.jd8-member-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--jd-text);
  font-size: 14px;
}

.dropdown-item:hover,
.jd8-member-menu a:hover {
  background: var(--jd-accent-soft);
}

.jd8-member-message-link {
  position: relative;
  padding-right: 34px !important;
}

.jd8-message-dot {
  position: absolute;
  right: 13px;
  top: 11px;
  display: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff4d4f;
  box-shadow: 0 0 0 4px rgba(255, 77, 79, 0.18);
}

.jd8-member-message-link.has-unread .jd8-message-dot {
  display: block;
}

.jd8-member {
  position: relative;
}

.jd8-member-trigger {
  min-height: 42px;
  padding: 9px 13px;
  border: 1px solid var(--jd-line);
  border-radius: 12px;
  background: var(--jd-surface);
  color: var(--jd-text);
  font-weight: 800;
}

.jd8-footer {
  margin-top: 24px;
  border-top: 1px solid var(--jd-line);
  background: var(--jd-footer);
  padding: 32px 0 20px;
}

.jd8-footer h4,
.jd8-footer h5 {
  color: var(--jd-text);
}

.jd8-footer p,
.jd8-footer li,
.jd8-footer a,
.jd8-footer span {
  color: var(--jd-muted);
  font-size: 14px;
}

.jd8-footer ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.jd8-footer-help {
  padding: 0;
}

.jd8-footer-help-head {
  margin-bottom: 14px;
}

.jd8-footer-help-title {
  margin: 6px 0 0;
  color: var(--jd-text);
  font-size: 18px;
  font-weight: 950;
}

.jd8-footer-help-panel {
  padding: 20px 22px;
  border: 1px solid var(--jd-line);
  border-radius: 18px;
  background: var(--jd-surface);
  box-shadow: var(--jd-shadow-soft);
}

.jd8-footer-help-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 260px);
  gap: 28px;
  align-items: start;
}

.jd8-footer-help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 24px 28px;
}

.jd8-footer-app {
  padding: 18px;
  border: 1px solid var(--jd-line);
  border-radius: 16px;
  background: color-mix(in srgb, var(--jd-accent) 5%, var(--jd-surface));
}

.jd8-footer-app h5 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 900;
}

.jd8-footer-app p {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.55;
}

.jd8-footer-help-col {
  min-width: 0;
}

.jd8-footer-help-col h5 {
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--jd-line);
  color: var(--jd-text);
  font-size: 14px;
  font-weight: 900;
}

.jd8-footer-help-col ul {
  gap: 7px;
}

.jd8-footer-help-col a {
  display: block;
  overflow: hidden;
  color: var(--jd-muted);
  font-size: 14px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jd8-footer-help-col a:hover {
  color: var(--jd-accent);
}

.jd8-footer-download {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.jd8-footer-bottom {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--jd-line);
  text-align: center;
}

.jd8-footer-bottom p {
  margin: 0;
  color: var(--jd-soft);
  font-size: 13px;
}

.jd8-footer-bottom a {
  color: var(--jd-muted);
}

.alert {
  max-width: min(92vw, 420px);
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--jd-surface);
  color: var(--jd-text);
  box-shadow: var(--jd-shadow);
}

.alert-success {
  border-left: 4px solid #10b981;
}

.alert-warning,
.alert-danger {
  border-left: 4px solid var(--jd-red);
}

@media (min-width: 768px) {
  .col-sm-3 { flex: 0 0 auto; width: 25%; }
  .col-sm-4 { flex: 0 0 auto; width: 33.333333%; }
  .col-sm-6 { flex: 0 0 auto; width: 50%; }
  .col-sm-8 { flex: 0 0 auto; width: 66.666667%; }
  .col-sm-9 { flex: 0 0 auto; width: 75%; }
  .col-sm-12 { flex: 0 0 auto; width: 100%; }
  .col-md-3 { flex: 0 0 auto; width: 25%; }
  .col-md-4 { flex: 0 0 auto; width: 33.333333%; }
  .col-md-6 { flex: 0 0 auto; width: 50%; }
  .col-md-8 { flex: 0 0 auto; width: 66.666667%; }
  .col-md-9 { flex: 0 0 auto; width: 75%; }
  .d-sm-flex { display: flex !important; }
  .d-sm-block { display: block !important; }
  .text-sm-start { text-align: left !important; }
  .text-sm-center { text-align: center !important; }
  .mt-sm-0 { margin-top: 0 !important; }
  .mb-sm-0 { margin-bottom: 0 !important; }
  .mx-sm-0 { margin-left: 0 !important; margin-right: 0 !important; }
  .ps-sm-3 { padding-left: 12px !important; }
}

@media (min-width: 992px) {
  .col-lg-2 { flex: 0 0 auto; width: 16.666667%; }
  .col-lg-3 { flex: 0 0 auto; width: 25%; }
  .col-lg-4 { flex: 0 0 auto; width: 33.333333%; }
  .col-lg-5 { flex: 0 0 auto; width: 41.666667%; }
  .col-lg-6 { flex: 0 0 auto; width: 50%; }
  .col-lg-8 { flex: 0 0 auto; width: 66.666667%; }
  .col-lg-9 { flex: 0 0 auto; width: 75%; }
  .col-lg-10 { flex: 0 0 auto; width: 83.333333%; }
  .offset-lg-1 { margin-left: 8.333333%; }
  .d-lg-flex { display: flex !important; }
  .d-lg-none { display: none !important; }
  .text-lg-start { text-align: left !important; }
}

@media (min-width: 1200px) {
  .col-xl-2 { flex: 0 0 auto; width: 16.666667%; }
  .col-xl-3 { flex: 0 0 auto; width: 25%; }
  .col-xl-4 { flex: 0 0 auto; width: 33.333333%; }
  .col-xl-10 { flex: 0 0 auto; width: 83.333333%; }
  .py-xl-20 { padding-block: 80px !important; }
}

@media (max-width: 1180px) {
  .jd8-menu {
    gap: 18px;
  }

  .jd8-theme-switch span {
    display: none;
  }

  .jd-cat-grid,
  .jd8-case-grid,
  .jd-case-grid,
  .masonry-grid,
  .jd-post-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .jd-post-detail-layout,
  .jd-ident-detail-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .jd-post-comments-panel {
    position: static;
  }

  .jd-post-comments {
    max-height: none;
  }
}

@media (min-width: 1024px) {
  .jd8-mobile-toggle {
    display: none !important;
  }

  .jd8-nav {
    flex-wrap: nowrap;
  }

  .jd8-nav > nav {
    display: flex !important;
    flex: 1 1 auto;
    justify-content: center;
    order: 2;
  }

  .jd8-brand {
    order: 1;
    flex: 0 0 auto;
  }

  .jd8-actions {
    order: 3;
    flex: 0 0 auto;
  }

  .jd8-menu {
    display: flex !important;
    position: static;
    flex-direction: row;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .jd8-actions .jd8-btn-upload {
    display: inline-flex;
  }

  .jd8-bento {
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
    align-items: stretch;
  }

  .jd8-hero-card {
    grid-column: auto;
    min-height: 480px;
  }

  .jd8-stat-stack {
    grid-column: auto;
  }

  .jd8-cert-hero-main {
    min-width: 0;
  }
}

@media (max-width: 1023px) {
  .jd8-nav {
    min-height: 68px;
  }

  .jd8-nav > nav {
    display: block;
  }

  .jd8-mobile-toggle {
    display: inline-flex;
  }

  .jd8-menu {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px;
    border: 1px solid var(--jd-line);
    border-radius: 20px;
    background: var(--jd-surface);
    box-shadow: var(--jd-shadow);
  }

  .jd8-header.is-open .jd8-menu {
    display: flex;
  }

  .jd8-menu a {
    display: block;
    padding: 11px 12px;
    border-radius: 12px;
  }

  .jd8-actions .jd8-btn-upload {
    display: none;
  }

  .jd8-bento {
    grid-template-columns: 1fr;
  }

  .jd8-cert-hero {
    grid-template-columns: 1fr;
  }

  .jd8-hero-card,
  .jd8-stat-stack {
    grid-column: auto;
  }

  .jd8-hero-card {
    min-height: auto;
  }

  .jd8-stat-stack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jd8-stat-card {
    min-height: 210px;
  }

  .jd8-mini-stats,
  .jd8-services,
  .jd8-process,
  .jd8-trust-grid,
  .jd-detail-shell,
  .jd8-auth-grid,
  .jd-address-form-grid,
  .jd-phone-field,
  .jd-region-grid,
  .jd-address-parse {
    grid-template-columns: 1fr;
  }

  .jd-pay-layout {
    grid-template-columns: 1fr;
  }

  .jd-wallet-head,
  .jd-wallet-form,
  .jd-wallet-deposit {
    grid-template-columns: 1fr;
  }

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

  .jd-address-actions {
    justify-content: flex-start;
  }

  .jd-cat-grid,
  .jd8-case-grid,
  .jd-case-grid,
  .jd-post-grid,
  .masonry-grid,
  .jd8-upload-grid,
  #img_content.row,
  .jd-detail-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jd-post-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jd-ident-detail-page .jd-detail-verdict,
  .jd-detail-authorbar {
    align-items: flex-start;
  }

  .jd-ident-detail-page .jd-detail-verdict,
  .jd-detail-authorbar,
  .jd-detail-tools {
    flex-wrap: wrap;
  }

  .jd8-cert-search .input-group,
  .jd-cert-dark-body .jd8-cert-search .input-group,
  .jd-post-feed-search {
    grid-template-columns: 1fr;
  }

  .jd-post-feed-search > i {
    display: none;
  }

  .jd8-footer-help-layout {
    grid-template-columns: 1fr;
  }

  .jd8-footer-help-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 20px;
  }

  .jd-user-menu {
    position: static;
  }

  .jd-user-profile {
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
    border-radius: 22px;
  }

  .jd-user-profile i,
  .jd-user-profile img {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    font-size: 36px;
  }

  .jd-user-links {
    display: flex;
    flex-direction: row !important;
    gap: 8px;
    overflow-x: auto;
    margin-top: 10px;
    border-radius: 22px;
  }

  .jd-user-links .nav-item {
    flex: 0 0 auto;
  }

  .jd-user-menu-heading {
    display: none;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1240px);
  }

  .jd8-brand span,
  .jd8-theme-switch span {
    display: none !important;
  }

  .jd8-brand {
    min-width: auto;
  }

  .jd8-brand img,
  .jd8-brand-logo {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .jd8-actions {
    flex: 1 1 auto;
    justify-content: flex-end;
    min-width: 0;
    gap: 8px;
  }

  .jd8-member {
    min-width: 0;
  }

  .jd8-member-trigger,
  .jd8-actions #no_login .jd8-btn {
    max-width: min(42vw, 180px);
    min-height: 42px;
    padding: 8px 10px;
    overflow: hidden;
    border-radius: 14px;
  }

  .jd8-member-trigger span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .jd-user-menu {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 14px;
    border-radius: 22px;
  }

  .jd-user-menu .jd-user-profile {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
  }

  .jd-user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .jd-user-menu .jd-user-avatar i,
  .jd-user-menu .jd-user-avatar img {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    font-size: 34px;
  }

  .jd-user-profile-copy h6 {
    font-size: 20px;
  }

  .jd-user-profile-copy p {
    display: none;
  }

  .jd-user-menu .jd-user-links {
    flex-direction: row !important;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
  }

  .jd-user-menu .jd-user-links .nav-link {
    min-height: 40px;
    padding: 8px 11px;
    font-size: 13px !important;
  }

  .jd-pager-inner {
    justify-content: center;
    gap: 8px;
  }

  .jd-pager-link,
  .jd-pager-count {
    min-height: 38px;
    padding: 8px 12px;
    font-size: 13px;
  }

  .jd-message-head {
    grid-template-columns: 1fr;
  }

  .jd-message-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .jd-message-card {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
  }

  .jd-message-avatar,
  .jd-message-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .jd-message-go {
    display: none;
  }

  .jd-message-object {
    grid-column: 2;
    justify-self: start;
  }

  .jd8-hero-title {
    font-size: 40px;
  }

  .jd8-hero-actions .jd8-btn {
    width: 100%;
  }

  .jd8-stat-stack,
  .jd8-mini-stats,
  .jd-cat-grid,
  .jd8-case-grid,
  .jd-case-grid,
  .jd-post-grid,
  .jd-post-gallery,
  .masonry-grid,
  .jd8-upload-grid,
  #img_content.row,
  .jd-detail-gallery,
  .jd8-footer-help-layout,
  .jd8-footer-help-grid {
    grid-template-columns: 1fr;
  }

  .jd8-footer-help-panel {
    padding: 18px 16px;
  }

  .jd8-service-card,
  .jd8-upload-card,
  .jd8-auth-card,
  .jd-pay-summary,
  .jd-pay-card,
  .jd8-cta {
    padding: 22px;
  }

  .jd8-section-head {
    display: block;
  }

  .jd-address-head {
    display: grid;
  }

  .jd-feed-card-media,
  .jd-case-image,
  .jd8-case-image {
    height: 320px;
  }

  .jd-post-author-row {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .jd-post-follow {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .jd-post-actions {
    justify-content: flex-start;
  }

  .jd-pay-card-head {
    display: grid;
  }

  .jd-pay-method {
    grid-template-columns: 46px minmax(0, 1fr) 30px;
    gap: 12px;
    padding: 14px;
  }

  .jd-pay-method-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .jd8-lightbox-toolbar {
    grid-template-columns: 1fr repeat(4, 38px);
    gap: 8px;
    padding: 14px 12px;
  }

  .jd8-lightbox-btn {
    width: 38px;
    height: 38px;
  }

  .jd8-lightbox-arrow {
    width: 42px;
    height: 54px;
  }

  .jd-post-feed-tabs {
    gap: 10px;
  }

  .jd-post-feed-tab {
    flex: 1 1 0;
    justify-content: center;
  }

  .jd-cert-dark-body .jd8-cert-search {
    padding: 22px;
  }

  .jd-cert-dark-body .jd8-cert-search input,
  .jd-cert-dark-body .jd8-cert-search .jd8-btn {
    min-height: 58px;
    border-radius: 16px;
    font-size: 18px;
  }

  .jd-comment-form {
    grid-template-columns: 1fr;
  }

  .jd8-cert-search .input-group {
    grid-template-columns: 1fr;
  }

  .jd8-type-banner {
    grid-template-columns: 1fr;
  }

  .jd8-type-banner-meta {
    grid-column: 1 / -1;
  }
}

.jd8-cert-hero-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  min-width: 0;
}

.jd8-cert-card {
  width: 100%;
}

.jd8-cert-helper .jd8-section-head,
.jd8-cert-helper .jd8-trust-grid {
  width: 100%;
}

.jd8-cert-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 0;
  color: var(--jd-soft);
  font-size: 13px;
}

.jd8-cert-tips {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
  font-size: 13px;
}

.jd8-cert-tips li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .86);
}

.jd8-btn-upload {
  white-space: nowrap;
}

.jd8-member-trigger span {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 1024px) {
  .jd8-member-trigger span {
    max-width: 148px;
  }
}

/* User center layout v2 */
.jd-user-center-page {
  padding-top: 24px;
}

.jd-user-center-page > .jd8-header {
  margin-bottom: 0;
}

.jd-user-center {
  padding: 0 0 56px;
}

.jd-user-layout {
  display: grid;
  gap: 20px;
  align-items: start;
}

.jd-user-main {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.jd-user-sidebar {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.jd-user-sidebar-card,
.jd-user-sidebar-nav,
.jd-user-sidebar-foot {
  border: 1px solid var(--jd-line);
  border-radius: 22px;
  background: var(--jd-surface);
  box-shadow: var(--jd-shadow-soft);
}

.jd-user-sidebar-card {
  padding: 18px;
}

.jd-user-sidebar-profile {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.jd-user-sidebar .jd-user-avatar {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--jd-accent-soft);
}

.jd-user-sidebar .jd-user-avatar i {
  color: var(--jd-accent);
  font-size: 40px;
}

.jd-user-sidebar .jd-user-avatar img {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  object-fit: cover;
}

.jd-user-sidebar-label {
  display: block;
  color: var(--jd-accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.jd-user-sidebar-name {
  margin: 2px 0;
  overflow: hidden;
  color: var(--jd-text);
  font-size: 18px;
  line-height: 1.2;
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.jd-user-sidebar-desc {
  margin: 0;
  color: var(--jd-muted);
  font-size: 13px;
}

.jd-user-sidebar-cta {
  width: 100%;
  margin-top: 14px;
}

.jd-user-sidebar-nav {
  padding: 12px;
}

.jd-user-nav-group + .jd-user-nav-group {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--jd-line);
}

.jd-user-nav-group-title {
  margin: 0 0 8px;
  padding: 0 8px;
  color: var(--jd-soft);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.jd-user-nav-list {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.jd-user-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--jd-text);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}

.jd-user-nav-link i {
  color: var(--jd-accent);
  font-size: 17px;
}

.jd-user-nav-link:hover {
  background: var(--jd-surface-2);
}

.jd-user-nav-link.is-active {
  background: var(--jd-accent);
  color: #fff;
}

.jd-user-nav-link.is-active i {
  color: #fff;
}

.jd-user-nav-link.is-danger {
  color: #c0392b;
}

.jd-user-nav-link.is-danger:hover {
  background: rgba(192, 57, 43, .08);
}

.jd-user-sidebar-foot {
  padding: 10px;
}

.jd-user-panel,
.jd-user-main > .jd-wallet-panel,
.jd-user-main > .jd-message-panel,
.jd-user-main > .jd-address-page {
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--jd-line);
  border-radius: 24px;
  background: var(--jd-surface);
  box-shadow: var(--jd-shadow-soft);
}

.jd-user-page-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: end;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--jd-line);
}

.jd-user-page-title {
  margin: 8px 0 4px;
  color: var(--jd-text);
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 950;
}

.jd-user-page-desc {
  margin: 0;
  max-width: 58ch;
  color: var(--jd-muted);
  font-size: 14px;
  line-height: 1.6;
}

.jd-user-page-head-extra {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.jd-user-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid var(--jd-line);
  border-radius: 999px;
  background: var(--jd-surface-2);
  color: var(--jd-muted);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.jd-user-order-list {
  display: grid;
  gap: 14px;
}

.jd-user-order-list .accordion-item {
  overflow: hidden;
  border: 1px solid var(--jd-line) !important;
  border-radius: 18px !important;
  background: var(--jd-surface-2);
  box-shadow: none;
}

.jd-user-order-list .accordion-header .accordion-button {
  padding: 14px 16px;
  border: 0;
  border-radius: 0 !important;
  background: var(--jd-surface) !important;
  box-shadow: none !important;
  color: var(--jd-text);
}

.jd-user-order-list .accordion-body {
  padding: 16px;
  border-top: 1px solid var(--jd-line);
  background: var(--jd-surface);
}

.jd-user-order-list .accordion-body img {
  border-radius: 12px;
}

.jd-user-order-list .border-top {
  border-color: var(--jd-line) !important;
}

.jd-user-order-list .btn {
  border-radius: 10px !important;
}

.jd-user-form-grid {
  display: grid;
  gap: 16px;
}

.jd-user-form-card {
  padding: 18px;
  border: 1px solid var(--jd-line);
  border-radius: 18px;
  background: var(--jd-surface-2);
}

.jd-user-form-card-split {
  margin-top: 16px;
}

.jd-user-form-card-title {
  margin: 0 0 14px;
  color: var(--jd-text);
  font-size: 18px;
  font-weight: 950;
}

.jd-user-avatar-upload {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.jd-user-avatar-upload img,
.jd-user-avatar-upload > .d-block > i,
.jd-user-avatar-upload > i {
  width: 96px;
  height: 96px;
  border-radius: 20px;
  object-fit: cover;
}

.jd-user-avatar-upload-copy p {
  margin: 8px 0 0;
  color: var(--jd-muted);
  font-size: 13px;
}

.jd-user-form-fields .form-control,
.jd-user-form-fields .form-select {
  border-radius: 12px;
}

@media (min-width: 1024px) {
  .jd-user-layout {
    grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
    gap: 28px;
  }

  .jd-user-sidebar {
    position: sticky;
    top: 96px;
    align-self: start;
  }

  .jd-user-form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 1023px) {
  .jd-user-center-page {
    padding-top: 16px;
  }

  .jd-user-sidebar {
    position: static;
    z-index: auto;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin-bottom: 4px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .jd-user-sidebar-card,
  .jd-user-sidebar-nav,
  .jd-user-sidebar-foot {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  .jd-user-sidebar-card {
    min-width: min(88vw, 320px);
  }

  .jd-user-sidebar-nav {
    min-width: min(72vw, 280px);
  }

  .jd-user-sidebar-foot {
    min-width: 140px;
  }

  .jd-user-sidebar-cta {
    width: auto;
  }

  .jd-user-nav-group-title {
    display: none;
  }

  .jd-user-nav-list {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
  }

  .jd-user-nav-link {
    min-height: 40px;
    padding: 8px 12px;
    border: 1px solid var(--jd-line);
    border-radius: 999px;
    background: var(--jd-surface-2);
    white-space: nowrap;
  }

  .jd-user-page-head {
    grid-template-columns: 1fr;
  }

  .jd-user-page-head-extra {
    justify-content: flex-start;
  }
}

.jd8-page-intro {
  max-width: 820px;
  margin: 0 auto 34px;
}

.jd8-page-intro.text-center {
  text-align: center;
}

.jd8-page-intro--dark {
  color: #f8fafc;
}

.jd8-page-title,
.jd-person-title,
.jd-post-title,
.jd-article-hero h1 {
  margin: 0;
  color: var(--jd-text);
  line-height: 1.18;
  letter-spacing: 0;
}

.jd8-page-title {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 800;
}

.jd8-page-intro p,
.jd-article-hero p {
  margin: 12px auto 0;
  color: var(--jd-muted);
  font-size: 17px;
  max-width: 760px;
}

.jd8-page-intro--dark .jd8-page-title,
.jd8-page-intro--dark p {
  color: #f8fafc;
}

.jd-person-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
}

.jd-post-title {
  margin-top: 24px;
  font-size: clamp(26px, 3.4vw, 42px);
  font-weight: 800;
}

.jd-article-page {
  background: var(--jd-bg);
}

.jd-article-hero {
  padding: 64px 0 28px;
}

.jd-article-hero h1 {
  max-width: 920px;
  margin-top: 10px;
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 850;
}

.jd-article-section {
  padding: 20px 0 76px;
}

.jd-article-card {
  background: var(--jd-surface);
  border: 1px solid var(--jd-line);
  border-radius: var(--jd-radius);
  box-shadow: var(--jd-shadow-soft);
  padding: clamp(22px, 4vw, 48px);
}

.jd-article-cover {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 28px;
}

.jd-article-content {
  color: var(--jd-text);
  font-size: 17px;
  line-height: 1.9;
}

.jd-article-content img {
  border-radius: 14px;
  margin: 16px 0;
}

.jd-article-hero--doc {
  padding: 42px 0 14px;
}

.jd-article-doc-head,
.jd-article-card--doc {
  max-width: 980px;
  margin: 0 auto;
}

.jd-article-hero--doc h1 {
  max-width: 760px;
  margin-top: 18px;
  font-size: clamp(32px, 4vw, 48px);
}

.jd-article-hero--doc p {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--jd-muted);
  font-size: 16px;
}

.jd-article-doc-breadcrumb {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--jd-muted);
  font-size: 14px;
  font-weight: 750;
}

.jd-article-doc-breadcrumb a {
  color: var(--jd-muted);
}

.jd-article-doc-breadcrumb a:hover {
  color: var(--jd-accent);
}

.jd-article-doc-breadcrumb i {
  color: var(--jd-soft);
  font-size: 12px;
}

.jd-article-doc-breadcrumb span {
  color: var(--jd-accent);
}

.jd-article-doc-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--jd-line);
  color: var(--jd-muted);
  font-size: 14px;
}

.jd-article-card--doc .jd-article-content {
  max-width: 800px;
  color: var(--jd-text);
  font-size: 16px;
  line-height: 1.95;
}

.jd-article-card--doc .jd-article-content h1,
.jd-article-card--doc .jd-article-content h2,
.jd-article-card--doc .jd-article-content h3 {
  margin: 34px 0 14px;
  color: var(--jd-text);
  line-height: 1.35;
  letter-spacing: 0;
}

.jd-article-card--doc .jd-article-content h1 {
  font-size: 30px;
}

.jd-article-card--doc .jd-article-content h2 {
  font-size: 26px;
}

.jd-article-card--doc .jd-article-content h3 {
  font-size: 22px;
}

.jd-article-card--doc .jd-article-content p {
  margin: 0 0 18px;
}

.jd-article-card--doc .jd-article-content ul,
.jd-article-card--doc .jd-article-content ol {
  margin: 0 0 18px 1.3em;
  padding: 0;
}

.jd-article-doc-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--jd-accent);
  font-weight: 800;
}

.jd-article-grid {
  display: grid;
  gap: 18px;
}

.jd-article-list-card {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
  padding: 18px;
  border: 1px solid var(--jd-line);
  border-radius: 18px;
  background: var(--jd-surface);
  box-shadow: var(--jd-shadow-soft);
}

.jd-article-thumb {
  display: block;
  min-height: 142px;
  overflow: hidden;
  border-radius: 14px;
  background: var(--jd-surface-2);
}

.jd-article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jd-article-list-card time {
  color: var(--jd-soft);
  font-size: 13px;
}

.jd-article-list-card h2 {
  margin: 6px 0 8px;
  font-size: 22px;
  line-height: 1.32;
  letter-spacing: 0;
}

.jd-article-list-card p {
  margin: 0;
  color: var(--jd-muted);
}

.jd-brand-page,
.jd-team-page {
  padding: 54px 0 82px;
}

.jd-brand-summary,
.jd-team-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 auto 24px;
  padding: 16px 18px;
  border: 1px solid var(--jd-line);
  border-radius: 12px;
  background: var(--jd-surface);
  box-shadow: var(--jd-shadow-soft);
}

.jd-brand-summary > div,
.jd-team-summary > div {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  color: var(--jd-muted);
  font-weight: 750;
}

.jd-brand-summary strong,
.jd-team-summary strong {
  color: var(--jd-accent);
  font-size: 28px;
  line-height: 1;
}

.jd-brand-summary-actions,
.jd-team-summary a {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.jd-brand-summary-actions a,
.jd-team-summary a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 8px 13px;
  border: 1px solid var(--jd-line);
  border-radius: 999px;
  background: var(--jd-surface-2);
  color: var(--jd-text);
  font-weight: 800;
}

.jd-brand-summary-actions a:hover,
.jd-team-summary a:hover {
  border-color: var(--jd-accent);
  color: var(--jd-accent);
}

.jd-brand-grid,
.jd-team-grid {
  display: grid;
  gap: 22px;
}

.jd-brand-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 380px));
  justify-content: center;
}

.jd-team-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.jd-brand-card,
.jd-team-card {
  position: relative;
  overflow: hidden;
  display: grid;
  min-height: 100%;
  border: 1px solid var(--jd-line);
  border-radius: 12px;
  background: var(--jd-surface);
  box-shadow: var(--jd-shadow-soft);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.jd-brand-card:hover,
.jd-team-card:hover {
  transform: translateY(-3px);
  border-color: var(--jd-accent);
  box-shadow: var(--jd-shadow);
}

.jd-brand-logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 210px;
  margin: 0;
  padding: 24px;
  background: var(--jd-surface-2);
}

.jd-brand-logo-box img {
  width: min(100%, 220px);
  height: 170px;
  object-fit: contain;
}

.jd-brand-card-body,
.jd-team-body {
  padding: 22px;
}

.jd-brand-label,
.jd-team-label {
  display: inline-flex;
  align-items: center;
  margin-bottom: 10px;
  color: var(--jd-accent);
  font-size: 13px;
  font-weight: 850;
}

.jd-brand-card h2,
.jd-team-card h2 {
  margin: 0 0 10px;
  color: var(--jd-text);
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: 0;
}

.jd-brand-card p,
.jd-team-card p {
  margin: 0;
  color: var(--jd-muted);
  line-height: 1.75;
}

.jd-brand-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.jd-brand-card-tags span,
.jd-team-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--jd-accent-soft);
  color: var(--jd-muted);
  font-size: 13px;
  font-weight: 800;
}

.jd-brand-arrow,
.jd-team-arrow {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--jd-accent);
  color: #fff;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .18s ease, transform .18s ease;
}

.jd-brand-card:hover .jd-brand-arrow,
.jd-team-card:hover .jd-team-arrow {
  opacity: 1;
  transform: translateX(0);
}

.jd-brand-empty,
.jd-team-empty {
  max-width: 620px;
  margin: 0 auto;
  padding: 38px 24px;
  border: 1px solid var(--jd-line);
  border-radius: 12px;
  background: var(--jd-surface);
  box-shadow: var(--jd-shadow-soft);
  text-align: center;
}

.jd-brand-empty > i,
.jd-team-empty > i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  border-radius: 18px;
  background: var(--jd-accent-soft);
  color: var(--jd-accent);
  font-size: 30px;
}

.jd-brand-empty h2,
.jd-team-empty h2 {
  margin: 0 0 8px;
  color: var(--jd-text);
  font-size: 24px;
  letter-spacing: 0;
}

.jd-brand-empty p,
.jd-team-empty p {
  margin: 0 auto 18px;
  max-width: 460px;
  color: var(--jd-muted);
}

.jd-team-card {
  grid-template-columns: 124px minmax(0, 1fr);
  align-items: stretch;
}

.jd-team-avatar {
  position: relative;
  min-height: 172px;
  background: var(--jd-surface-2);
}

.jd-team-avatar img,
.jd-team-avatar-fallback {
  width: 100%;
  height: 100%;
}

.jd-team-avatar img {
  object-fit: cover;
}

.jd-team-avatar-fallback {
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--jd-accent);
  font-size: 42px;
}

.jd-team-body {
  padding-right: 48px;
}

.jd-team-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 0;
  margin: 2px 0 14px;
}

.jd-team-meta:empty {
  display: none;
}

.jd-team-meta strong {
  margin: 0 3px;
  color: var(--jd-accent);
}

.jd8-footer-seo-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  margin-bottom: 12px;
}

.jd8-footer-seo-links a {
  color: var(--jd-muted);
  font-size: 14px;
  text-decoration: none;
}

.jd8-footer-seo-links a:hover {
  color: var(--jd-accent);
}

@media (max-width: 1023px) {
  .jd-team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jd-team-card {
    grid-template-columns: 108px minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .jd-article-hero {
    padding-top: 36px;
  }

  .jd-brand-page,
  .jd-team-page {
    padding: 34px 0 56px;
  }

  .jd-brand-summary,
  .jd-team-summary {
    align-items: stretch;
    flex-direction: column;
  }

  .jd-brand-summary-actions,
  .jd-team-summary a {
    width: 100%;
  }

  .jd-brand-summary-actions a,
  .jd-team-summary a {
    justify-content: center;
  }

  .jd-team-grid {
    grid-template-columns: 1fr;
  }

  .jd-team-card {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .jd-team-avatar {
    min-height: 150px;
  }

  .jd-brand-logo-box {
    min-height: 180px;
  }

  .jd-article-list-card {
    grid-template-columns: 1fr;
  }

  .jd-article-thumb {
    min-height: 190px;
  }
}
