/* 花地华 1.6.36 — 作品标识码（皮肤库详情页侧栏注入） */

.hdh-code-card {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.52));
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 26px -20px rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
}

.dark-mode .hdh-code-card {
  background: linear-gradient(180deg, rgba(28, 34, 46, 0.78), rgba(20, 25, 35, 0.62));
  border-color: rgba(148, 163, 184, 0.22);
  box-shadow: 0 14px 30px -22px rgba(0, 0, 0, 0.8);
}

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

.hdh-code-label {
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.dark-mode .hdh-code-label {
  color: #cbd5e1;
}

.hdh-code-actions {
  display: inline-flex;
  gap: 6px;
}

.hdh-code-row {
  margin-top: 8px;
}

/* 与皮肤库“详细信息”一致的浅蓝值胶囊 */
.hdh-code-value {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  color: #1e3a8a;
  display: inline-block;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.16em;
  padding: 6px 12px;
  user-select: all;
}

.dark-mode .hdh-code-value {
  background: rgba(30, 58, 138, 0.42);
  border-color: rgba(96, 165, 250, 0.45);
  color: #dbeafe;
}

.hdh-code-icon {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: #94a3b8;
  cursor: pointer;
  display: inline-flex;
  height: 24px;
  justify-content: center;
  padding: 0;
  transition: color 0.15s ease, background 0.15s ease;
  width: 24px;
}

.hdh-code-icon:hover {
  background: rgba(15, 23, 42, 0.06);
  color: #475569;
}

.dark-mode .hdh-code-icon:hover {
  background: rgba(148, 163, 184, 0.16);
  color: #e2e8f0;
}
