.yt-link-form { display: grid; grid-template-columns: 1fr 180px; gap: 12px; align-items: end; }
.yt-link-field { margin-bottom: 0; }
.yt-analyze-btn { height: 48px; }
.yt-status { min-height: 1.4em; margin: 12px 0 0; font-size: .88rem; font-weight: 650; color: var(--muted); }
.yt-status.is-error { color: #b42318; }
.yt-status.is-success { color: #15803d; }
.yt-status.is-loading { color: var(--accent); }
.yt-video-card { display: grid; grid-template-columns: minmax(220px, 320px) 1fr; gap: 22px; align-items: center; }
.yt-video-card[hidden], .yt-result-card[hidden], #yt-settings-card[hidden] { display: none; }
.yt-video-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 12px; background: #e2e8f0; }
.yt-video-card h2 { margin: 8px 0 5px; font-size: 1.25rem; line-height: 1.4; }
.yt-video-card p { margin: 0; color: var(--muted); }
.yt-type-badge { display: inline-flex; padding: 4px 9px; border-radius: 999px; background: #fee2e2; color: #dc2626; font-size: .75rem; font-weight: 800; }
.yt-public-stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.yt-public-stats span { padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted); font-size: .8rem; }
.yt-public-stats strong { margin-left: 4px; color: var(--text); }
.yt-result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.yt-result-monthly { background: linear-gradient(135deg, #172554, #1d4ed8); }
.yt-result-card .value { font-size: clamp(1.25rem, 2.6vw, 1.8rem); }
.yt-notice { margin-top: 16px; padding: 14px 16px; border-radius: 10px; background: #f8fafc; border: 1px solid var(--line); }
.yt-notice strong { font-size: .85rem; }
.yt-notice p { margin: 5px 0 0; color: var(--muted); font-size: .8rem; line-height: 1.6; }
.yt-manual summary { cursor: pointer; font-weight: 800; }
.yt-manual[open] summary { margin-bottom: 18px; }
@media (max-width: 720px) {
  .yt-link-form, .yt-video-card, .yt-result-grid { grid-template-columns: 1fr; }
  .yt-video-card img { max-width: 100%; }
}
