.link-preview-tool{margin:1rem 0}.link-preview-input-container{display:flex;gap:8px;align-items:center;padding:12px;border:2px dashed var(--block-border-color);border-radius:8px;background:var(--off-white-color)}.link-preview-input{flex:1;padding:8px 12px;border:1px solid var(--block-border-color);border-radius:6px;font-size:14px;outline:0;transition:border-color .2s ease}.link-preview-input:focus{border-color:var(--primary-color);box-shadow:0 0 0 3px rgba(9,105,218,.1)}.link-preview-fetch-btn{padding:8px 16px;background:var(--primary-color);color:#fff;border:none;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:background-color .2s ease}.link-preview-fetch-btn:hover{background:var(--primary-color)}.link-preview-fetch-btn:disabled{background:var(--primary-light-text-color);cursor:not-allowed}.link-preview-loading{position:relative;background:var(--off-white-color);border:1px solid var(--block-border-color);pointer-events:none}.link-preview-loading .link-preview-content{opacity:.3}.link-preview-loader{display:flex;align-items:center;gap:12px;color:var(--primary-light-text-color);font-size:14px}.link-preview-loading-indicator{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;align-items:center;gap:12px;background:var(--white-color);padding:12px 20px;border-radius:8px;box-shadow:0 2px 8px rgba(0,0,0,.1);color:var(--primary-light-text-color);font-size:14px;font-weight:500}.link-preview-image-skeleton{width:100%;height:200px;background:linear-gradient(90deg,var(--off-white-color) 25%,var(--block-border-color) 50%,var(--off-white-color) 75%);background-size:200% 100%;animation:skeleton-shimmer 1.5s infinite;border-radius:8px 8px 0 0}.link-preview-skeleton-line{height:16px;background:linear-gradient(90deg,var(--off-white-color) 25%,var(--block-border-color) 50%,var(--off-white-color) 75%);background-size:200% 100%;animation:skeleton-shimmer 1.5s infinite;border-radius:4px;margin-bottom:8px}.link-preview-skeleton-line.short{width:40%}.link-preview-skeleton-line.medium{width:70%}.link-preview-skeleton-line.long{width:90%}@keyframes skeleton-shimmer{0%{background-position:-200% 0}100%{background-position:200% 0}}.spinner{width:16px;height:16px;border:2px solid var(--block-border-color);border-top:2px solid var(--primary-color);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}.link-preview-card{position:relative;border:1px solid var(--block-border-color);border-radius:12px;overflow:hidden;background:var(--white-color);transition:all .3s ease;box-shadow:0 1px 3px rgba(0,0,0,.1)}.link-preview-card:hover{border-color:var(--primary-color);box-shadow:0 4px 12px rgba(59,130,246,.15);transform:translateY(-1px)}.link-preview-link{display:block;text-decoration:none;color:inherit}.link-preview-content{display:flex;flex-direction:column}.link-preview-image{width:100%;height:200px;background:var(--off-white-color);overflow:hidden}.link-preview-card .link-preview-image img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s ease}.link-preview-card:hover .link-preview-image img{transform:scale(1.02)}.link-preview-text{padding:20px;display:flex;flex-direction:column;gap:0;background-color:var(--white-color)}.link-preview-meta{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--primary-light-text-color);font-weight:500;order:1}.link-preview-site{color:var(--primary-color);font-weight:600}.link-preview-date{color:var(--primary-lightest-text-color)}.link-preview-title{font-size:18px;font-weight:700;margin:0;line-height:1.4;color:var(--primary-header-color);order:2;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.link-preview-description{font-size:14px;color:var(--primary-light-text-color);line-height:1.5;margin:0;order:3;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.link-preview-author{font-size:12px;color:var(--primary-lightest-text-color);font-style:italic;order:4}.link-preview-cta{margin-top:auto;padding-top:8px;order:5}.link-preview-cta-button{margin-top:6px;gap:6px}.link-preview-cta-button:hover{background:var(--primary-color);transform:translateY(-1px)}.link-preview-cta-button svg{width:12px;height:12px}.link-preview-url{font-size:11px;color:var(--primary-lightest-text-color);word-break:break-all;margin:0;opacity:.8}.link-preview-fallback{opacity:.9;transition:opacity .3s ease}.link-preview-fallback.enhancing{opacity:1;border-color:var(--primary-color);box-shadow:0 0 0 1px rgba(59,130,246,.1)}.link-preview-fallback .link-preview-content{flex-direction:row;align-items:center;padding:20px;gap:16px;min-height:80px}.link-preview-fallback .link-preview-image{width:auto;height:auto}.link-preview-icon{flex:0 0 auto;width:48px;height:48px;display:flex;align-items:center;justify-content:center;background:var(--light-color);border-radius:8px;color:var(--primary-light-text-color)}.link-preview-fallback .link-preview-text{padding:0;gap:0}.link-preview-fallback .link-preview-title{font-size:16px;font-weight:600}.link-preview-fallback .link-preview-meta{order:0}.link-preview-fallback .link-preview-cta{margin-top:0;padding-top:0}@keyframes enhance{0%{opacity:.8}50%{opacity:1;border-color:#0969da}100%{opacity:1}}.link-preview-controls{position:absolute;top:8px;right:8px;display:flex;gap:4px;opacity:0;transition:opacity .2s ease}.link-preview-card:hover .link-preview-controls{opacity:1}.link-preview-edit-btn,.link-preview-retry-btn,.link-preview-revert-btn{padding:6px;background:rgba(255,255,255,.9);border:1px solid #e1e5e9;border-radius:4px;cursor:pointer;color:#656d76;transition:all .2s ease;backdrop-filter:blur(4px)}.link-preview-edit-btn:hover,.link-preview-retry-btn:hover:not(:disabled){background:#fff;color:#0969da;border-color:#0969da}.link-preview-retry-btn:disabled{opacity:.5;cursor:not-allowed;background:rgba(255,255,255,.7);color:#8c959f;border-color:#e1e5e9}.link-preview-revert-btn:hover{background:#fff;color:#cf222e;border-color:#cf222e}.link-preview-caption-container{margin-top:8px}.link-preview-caption-input{width:100%;padding:8px 12px;border:1px solid #e1e5e9;border-radius:6px;font-size:14px;outline:0;transition:border-color .2s ease;background:#f6f8fa}.link-preview-caption-input:focus{border-color:#0969da;background:#fff;box-shadow:0 0 0 3px rgba(9,105,218,.1)}.link-preview-error{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;background:#fff8f8;border:1px solid #ffebee;border-radius:6px;color:#cf222e;font-size:14px}.link-preview-retry-btn{padding:6px 12px;background:#cf222e;color:#fff;border:none;border-radius:4px;font-size:12px;cursor:pointer;transition:background-color .2s ease}.link-preview-retry-btn:hover{background:#a40e26}@media (max-width:640px){.link-preview-card{max-width:100%;margin:0 auto}.link-preview-image{height:160px}.link-preview-text{padding:16px;gap:10px}.link-preview-title{font-size:16px}.link-preview-description{font-size:13px;-webkit-line-clamp:2}.link-preview-input-container{flex-direction:column;align-items:stretch;gap:12px}.link-preview-fetch-btn{align-self:flex-end;width:auto}.link-preview-fallback .link-preview-content{padding:16px;gap:12px}.link-preview-icon{width:40px;height:40px}}.article-embed-tool{margin:1rem 0}.article-embed-tool,.link-preview-tool{margin:1.5rem 0}.ce-block .article-embed-tool,.ce-block .link-preview-tool{margin:1rem 0}.link-preview-feed-preview{margin:1rem 0;border:1px solid #e2e8f0;border-radius:8px;overflow:hidden;background:#fff;transition:all .2s ease;max-width:500px}.link-preview-feed-preview:hover{border-color:#3b82f6;box-shadow:0 2px 8px rgba(59,130,246,.1)}.link-preview-feed-link{display:flex;text-decoration:none;color:inherit;padding:16px;gap:12px;align-items:flex-start}.link-preview-feed-image{flex:0 0 auto;width:80px;height:80px;border-radius:6px;overflow:hidden;background:#f8fafc}.link-preview-feed-image img{width:100%;height:100%;object-fit:cover;display:block}.link-preview-feed-text{flex:1;min-width:0}.link-preview-feed-title{font-size:14px;font-weight:600;color:#1e293b;line-height:1.4;margin-bottom:4px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.link-preview-feed-site{font-size:12px;color:#3b82f6;font-weight:500}.link-preview-feed-url{font-size:11px;color:#94a3b8;word-break:break-all;margin-top:4px}.link-preview-feed-fallback{display:flex;align-items:center;gap:12px}.link-preview-feed-icon{flex:0 0 auto;width:32px;height:32px;display:flex;align-items:center;justify-content:center;font-size:18px;color:#64748b}@media (max-width:640px){.link-preview-feed-preview{max-width:100%}.link-preview-feed-link{padding:12px;gap:8px}.link-preview-feed-image{width:60px;height:60px}.link-preview-feed-title{font-size:13px;-webkit-line-clamp:2}}