:root { color-scheme: light; font-family: system-ui, sans-serif; color: #172033; background: #f5f7fb; }
* { box-sizing: border-box; } body { margin: 0; } button, input { font: inherit; }
button { border: 0; border-radius: .45rem; background: #2457d6; color: white; cursor: pointer; font-weight: 650; padding: .65rem 1rem; } button.secondary { background: #e7ebf5; color: #172033; } button:disabled { opacity: .65; cursor: wait; }
.shell { max-width: 1100px; margin: auto; padding: 1.5rem; }.topbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 2rem; }.topbar h1 { margin: 0; }.actions { display: flex; gap: .6rem; }
.panel, .channel-row, .video-row, .login-card, dialog { background: white; border: 1px solid #dce2ef; border-radius: .7rem; box-shadow: 0 1px 2px #1720330d; }.panel { padding: 1.25rem; margin-bottom: 1rem; }.channel-list, .video-list { display: grid; gap: .7rem; }.channel-row { align-items: center; color: inherit; display: flex; gap: .9rem; padding: .8rem; text-decoration: none; }.channel-row:hover { border-color: #8798bc; }.avatar, .video-thumb { background: #e7ebf5; border-radius: .45rem; object-fit: cover; }.avatar { height: 46px; width: 46px; }.channel-name { flex: 1; font-weight: 650; }
.badge { border-radius: 999px; display: inline-block; font-size: .82rem; font-weight: 700; padding: .2rem .55rem; }.not_crawled { background: #e7ebf5; }.in_progress { background: #dce9ff; color: #16449b; }.done, .succeeded { background: #d9f4e5; color: #12633d; }.failed { background: #ffe2e2; color: #9b2020; }.skipped { background: #fff1ce; color: #815600; }.pending { background: #e7ebf5; }.video-row { display: grid; gap: .35rem; grid-template-columns: 150px 1fr; padding: .85rem; }.video-row.failed { border-left: 4px solid #c42d2d; }.video-thumb { grid-row: span 3; height: 84px; width: 150px; }.video-thumb.missing { align-items: center; display: flex; font-size: .8rem; justify-content: center; padding: .5rem; text-align: center; }.video-title { font-weight: 700; }.metadata, .extras, .counts { color: #54617a; display: flex; flex-wrap: wrap; gap: .7rem; font-size: .9rem; }.description { margin: .25rem 0; white-space: pre-wrap; }.keywords { display: flex; flex-wrap: wrap; gap: .4rem; }.keyword { background: #e9efff; border-radius: 999px; padding: .2rem .5rem; }.form-error, .error-panel { color: #9b2020; }.notice { color: #16449b; }.empty, .loading { color: #54617a; padding: 1rem 0; }.login-page { align-items: center; display: flex; min-height: 100vh; justify-content: center; }.login-card { padding: 2rem; width: min(420px, calc(100% - 2rem)); }.login-card h1 { margin-top: 0; }.eyebrow { color: #54617a; font-weight: 700; }.login-card form, dialog form { display: grid; gap: 1rem; }.login-card label, dialog label { display: grid; font-weight: 650; gap: .35rem; }.login-card input, dialog input { border: 1px solid #b7c1d6; border-radius: .4rem; padding: .6rem; } dialog { border: 0; padding: 1.25rem; width: min(480px, calc(100% - 2rem)); } dialog::backdrop { background: #17203380; }.dialog-actions { display: flex; justify-content: end; gap: .5rem; } .back { color: #2457d6; text-decoration: none; } @media (max-width: 600px) { .video-row { grid-template-columns: 1fr; }.video-thumb { grid-row: auto; width: 100%; height: auto; aspect-ratio: 16/9; } }
