  .c-code-wrapper {
    border: 1px solid var(--n-border-color);
    border-radius: var(--n-border-radius);
    overflow: hidden;
    background: transparent;
  }

  .c-code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    background-color: var(--n-color-modal);
    border-bottom: 1px solid var(--n-border-color);

    @media (max-width: 768px) {
      padding: 6px 12px;
    }
  }

  .c-code-title {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    color: var(--n-text-color);

    @media (max-width: 768px) {
      font-size: 13px;
    }
  }

  .c-code-actions {
    display: flex;
    gap: 4px;
  }

  .c-code-content {
    position: relative;
    background: transparent;
  }

  .code-wrapper {
    position: relative;
  }

  .floating-copy-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 10;
  }

  .copy-floating {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border: 1px solid var(--n-border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  .c-code-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--n-text-color);
  }

  // 全屏样式
  .fullscreen-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--n-color-modal);
  }

  .fullscreen-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid var(--n-border-color);
    font-size: 16px;
    font-weight: 500;
    flex-shrink: 0;

    @media (max-width: 768px) {
      padding: 12px 16px;
      font-size: 14px;
    }
  }

  .fullscreen-title {
    display: flex;
    align-items: center;
  }

  .fullscreen-body {
    flex: 1;
    overflow: auto;
    background-color: white;
  }

  // 过渡动画
  .fade-enter-active,
  .fade-leave-active {
    transition: opacity 0.2s ease;
  }

  .fade-enter-from,
  .fade-leave-to {
    opacity: 0;
  }

  // NCode 样式覆盖
  :deep(.n-code) {
    background: transparent !important;
    border: none !important;
    margin: 0;
    overflow: auto !important;

    .hljs {
      background: transparent !important;
      padding: 16px !important;
    }
  }