.blog-article-preview-page {
  width: 100%;
  height: var(--vben-content-height, 100%);
  min-height: 0;
  overflow: hidden;
  color: hsl(var(--foreground));
  background: hsl(var(--background));
}

.blog-article-preview {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  color: inherit;
  background: inherit;

  &__content {
    position: absolute;
    inset: 0;
    display: flex;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
  }

  &__center,
  &__message {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    justify-content: center;
    min-height: 0;
    padding: 24px;
  }

  &__message {
    align-items: stretch;
    max-width: 560px;
    margin: 0 auto;
  }

  &__iframe-shell {
    flex: 1 1 0;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    background: hsl(var(--background));
  }

  &__iframe {
    display: block;
    width: 100%;
    height: 100%;
    background: hsl(var(--background));
    border: 0;
  }

  &__floating-card {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: min(360px, calc(100% - 32px));
    padding: 10px 12px;
    color: hsl(var(--foreground));
    pointer-events: auto;
    background: hsl(var(--background) / 92%);
    border: 1px solid hsl(var(--border));
    border-radius: 8px;
    box-shadow: 0 10px 30px hsl(var(--foreground) / 12%);
    backdrop-filter: blur(10px);
  }

  &__floating-head {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
  }

  &__floating-title {
    min-width: 0;
    overflow: hidden;
    font-size: 13px;
    font-weight: 600;
    line-height: 18px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  &__floating-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    min-width: 0;
    font-size: 12px;
    line-height: 16px;
    color: hsl(var(--muted-foreground));
  }

  &__floating-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }

  &__back-icon {
    width: 14px;
    height: 14px;
    margin-right: 4px;
    vertical-align: -2px;
  }
}

