:root {
  --ink: #1d1b22; --ink-2: #55525e; --ink-3: #8b8894;
  --bg: #f3f3f5; --surface: #fff; --line: #e4e3e8;
  --nav: #2b1d2e; --lime: #e4f74b; --accent: #2b1d2e;
  --slot: #dfe8ff; --slot-alt: #e9efff; --today: #cad8ff;
  --good: #1a8f4c; --warn: #b87500; --bad: #d13b3b;
  --s1: #2a78d6; --s2: #eb6834; --s3: #1baf7a; --s4: #eda100; --s5: #e87ba4; --s6: #008300; --s7: #4a3aa7; --s8: #e34948;
  --radius: 10px;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: 'Nunito Sans', system-ui, sans-serif; color: var(--ink); background: var(--bg); font-size: 14px; }
button, input, textarea, select { font: inherit; color: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }

/* ---- top bar ---- */
.topbar { display: flex; align-items: center; gap: 24px; padding: 0 24px; height: 60px; background: var(--nav); color: #fff; border-bottom: 3px solid var(--lime); position: sticky; top: 0; z-index: 20; }
.brand { font-weight: 800; font-size: 18px; text-decoration: none; display: flex; align-items: center; gap: 8px; }
.logo { font-size: 26px; line-height: 1; }
.topbar nav { display: flex; gap: 4px; }
.topbar nav a { text-decoration: none; padding: 8px 14px; border-radius: 8px; opacity: .85; font-weight: 600; }
.topbar nav a.active, .topbar nav a:hover { background: rgba(255,255,255,.12); opacity: 1; }
.grow { flex: 1; }

/* ---- buttons & inputs ---- */
.btn { border: 1px solid var(--line); background: var(--surface); padding: 8px 14px; border-radius: 8px; cursor: pointer; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.btn:hover { border-color: var(--ink-3); }
.btn.dark { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn.lime { background: var(--lime); color: var(--nav); border-color: var(--lime); }
.btn.danger { color: var(--bad); }
.btn.ghost { border-color: transparent; background: transparent; }
.btn:disabled { opacity: .5; cursor: default; }
.input, textarea.input, select.input { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 9px 12px; background: var(--surface); }
.input:focus { outline: 2px solid var(--s1); outline-offset: -1px; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--surface); }
.seg button { border: 0; background: none; padding: 7px 14px; cursor: pointer; font-weight: 600; color: var(--ink-2); }
.seg button.on { background: var(--accent); color: #fff; }

main { max-width: 1440px; margin: 0 auto; padding: 24px; }
h1 { font-size: 22px; margin: 0 0 16px; }
.card { background: var(--surface); border-radius: 14px; box-shadow: 0 1px 3px rgba(0,0,0,.06); padding: 20px; }
.muted { color: var(--ink-3); }
.row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* ---- platform badge ---- */
.pbadge { width: 22px; height: 22px; border-radius: 6px; display: inline-grid; place-items: center; color: #fff; font-weight: 800; font-size: 11px; flex: none; }
.pbadge.sm { width: 16px; height: 16px; font-size: 9px; border-radius: 4px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--line); display: grid; place-items: center; font-weight: 800; color: var(--ink-2); flex: none; position: relative; }
.avatar .pbadge { position: absolute; right: -4px; bottom: -4px; border: 2px solid #fff; }

/* ---- connections ---- */
.conn-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px 24px; }
.conn h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; margin: 0 0 12px; font-weight: 600; }
.conn-btn { width: 100%; height: 64px; border: 0; border-radius: 10px; color: #fff; font-size: 16px; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; text-align: left; }
.conn-btn:hover { filter: brightness(1.08); }
.conn-acc { display: flex; align-items: center; gap: 14px; height: 64px; padding: 0 16px; border: 2px solid var(--line); border-radius: 10px; background: var(--surface); margin-bottom: 8px; }
.conn-acc .who { flex: 1; min-width: 0; line-height: 1.3; }
.conn-acc .who b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tag { font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 99px; background: var(--bg); color: var(--ink-2); }
.tag.demo { background: #fff4c7; color: #7a5b00; }
.tag.live { background: #dcf5e6; color: var(--good); }
.tag.bad { background: #fde3e3; color: var(--bad); }
.add-more { font-size: 13px; background: none; border: 0; color: var(--ink-2); cursor: pointer; padding: 4px 0; font-weight: 700; }

/* ---- planning ---- */
.toolbar { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.range-label { font-weight: 700; min-width: 210px; text-align: center; }
.calendar { background: var(--surface); border-radius: 14px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.cal-head, .cal-row { display: grid; grid-template-columns: 64px repeat(7, 1fr); }
.cal-head { position: relative; z-index: 5; background: var(--surface); border-bottom: 1px solid var(--line); }
.cal-head div { padding: 12px 6px; text-align: center; font-weight: 600; }
.cal-head .today { background: var(--today); border-radius: 8px 8px 0 0; }
.cal-body { max-height: calc(100vh - 230px); overflow-y: auto; }
.cal-time { font-size: 12px; color: var(--ink-2); padding: 4px 8px 0 0; text-align: right; border-right: 1px solid var(--line); }
.cal-cell { min-height: 64px; background: var(--slot); border-left: 1px solid rgba(255,255,255,.7); border-top: 1px solid rgba(255,255,255,.7); padding: 4px; display: flex; flex-direction: column; gap: 4px; cursor: pointer; position: relative; }
.cal-row:nth-child(odd) .cal-cell { background: var(--slot-alt); }
.cal-cell.past { background: #eceef3 !important; cursor: default; }
.cal-cell:not(.past):hover::after { content: '+'; position: absolute; right: 8px; top: 4px; font-weight: 800; color: var(--ink-2); }
.now-line { position: absolute; left: 0; right: 0; height: 2px; background: var(--ink); z-index: 2; pointer-events: none; }
.pcard { position: relative; z-index: 3; background: #fff; border-radius: 8px; padding: 6px 8px; font-size: 12px; box-shadow: 0 1px 2px rgba(0,0,0,.1); cursor: pointer; border-left: 4px solid var(--s1); }
.pcard:hover { box-shadow: 0 2px 8px rgba(0,0,0,.15); }
.pcard .top { display: flex; align-items: center; gap: 3px; margin-bottom: 3px; }
.pcard .time { margin-left: auto; color: var(--ink-2); font-weight: 600; }
.pcard .txt { color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard.s-published { border-left-color: var(--good); }
.pcard.s-failed, .pcard.s-partial { border-left-color: var(--bad); }
.pcard.s-draft { border-left-color: var(--ink-3); opacity: .8; }
.pcard.s-publishing { border-left-color: var(--warn); }
.pcard.s-waiting { border-left-color: var(--ink-3); border-left-style: dashed; }
.month { display: grid; grid-template-columns: repeat(7, 1fr); }
.month .mcell { min-height: 120px; border: 1px solid var(--line); margin: -1px 0 0 -1px; padding: 6px; display: flex; flex-direction: column; gap: 4px; cursor: pointer; }
.month .mcell.out { background: #fafafa; color: var(--ink-3); }
.month .mday { font-weight: 700; font-size: 12px; }
.month .mcell.is-today .mday { background: var(--accent); color: #fff; border-radius: 99px; padding: 1px 7px; align-self: flex-start; }
.list-table { width: 100%; border-collapse: collapse; }
.list-table th, .list-table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.list-table th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-3); }
.status { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: var(--bg); text-transform: capitalize; white-space: nowrap; }
.status.published { background: #dcf5e6; color: var(--good); }
.status.failed, .status.partial { background: #fde3e3; color: var(--bad); }
.status.scheduled { background: #e3ecff; color: #2553a6; }
.status.publishing { background: #fff1d6; color: var(--warn); }
.status.waiting { background: var(--bg); color: var(--ink-2); text-transform: none; }

/* ---- modal / composer ---- */
.backdrop { position: fixed; inset: 0; background: rgba(20,14,24,.55); display: grid; place-items: center; z-index: 50; padding: 20px; }
.modal { background: var(--surface); border-radius: 16px; width: min(1100px, 100%); max-height: 94vh; display: flex; flex-direction: column; overflow: hidden; }
.modal.small { width: min(440px, 100%); }
.modal header { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.modal header h2 { margin: 0; font-size: 18px; }
.modal .body { padding: 20px 22px; overflow-y: auto; }
.modal footer { padding: 14px 22px; border-top: 1px solid var(--line); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.composer { display: grid; grid-template-columns: 1fr 340px; gap: 24px; }
.field { margin-bottom: 16px; }
.field > label { display: block; font-weight: 700; margin-bottom: 6px; }
.acc-pick { display: flex; gap: 10px; flex-wrap: wrap; }
.acc-pick button { border: 0; background: none; padding: 0; cursor: pointer; opacity: .35; filter: grayscale(1); transition: .15s; }
.acc-pick button.on { opacity: 1; filter: none; }
.acc-pick button.on .avatar { box-shadow: 0 0 0 3px var(--lime), 0 0 0 5px var(--accent); }
.counters { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12px; margin-top: 6px; }
.counters .over { color: var(--bad); font-weight: 800; }
.drop { border: 2px dashed var(--line); border-radius: 10px; padding: 18px; text-align: center; color: var(--ink-2); cursor: pointer; }
.drop.hover { border-color: var(--s1); background: #f1f6ff; }
.thumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.thumb { width: 86px; height: 86px; border-radius: 8px; overflow: hidden; position: relative; background: #000; }
.thumb img, .thumb video { width: 100%; height: 100%; object-fit: cover; }
.thumb button { position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(0,0,0,.65); color: #fff; cursor: pointer; }
.errors { background: #fde3e3; color: var(--bad); border-radius: 8px; padding: 10px 14px; margin-bottom: 14px; }
.errors ul { margin: 0; padding-left: 18px; }
.preview { background: var(--bg); border-radius: 12px; padding: 14px; position: sticky; top: 0; max-height: calc(94vh - 170px); overflow-y: auto; }
.preview .pv { background: #fff; border-radius: 10px; padding: 12px; box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.preview .pv .head { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.preview .pv .text { white-space: pre-wrap; word-break: break-word; font-size: 13px; }
.preview .pv .media { margin-top: 8px; border-radius: 8px; overflow: hidden; background: #000; }
.preview .pv .media img, .preview .pv .media video { width: 100%; display: block; max-height: 360px; object-fit: cover; }
.preview #preview { display: grid; gap: 12px; }
.pv-net { font-size: 12px; margin-left: auto; }
.pv-note { font-size: 12px; color: var(--ink-2); background: var(--bg); border-radius: 6px; padding: 4px 8px; margin-bottom: 8px; }
.pv-link { color: #2553a6; }
.pv-card { margin-top: 8px; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font-size: 13px; }
.pv-card .muted { display: block; }
.xp-row .counters [data-xp-auto] { margin-left: auto; font-size: 12px; }
.targets { margin-top: 12px; display: grid; gap: 8px; }
.target { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; }
.target .err { color: var(--bad); font-size: 12px; }
.target .warn { color: var(--warn); font-size: 12px; }
.yt-opts { border: 1px solid var(--line); border-radius: 10px; padding: 6px 14px 4px; margin: 0 0 16px; }
.yt-opts legend { font-weight: 700; padding: 0 6px; display: flex; gap: 6px; align-items: center; }
.yt-opts .over { color: var(--bad); font-weight: 800; }
.yt-opts details { margin-bottom: 12px; }
.yt-opts summary { cursor: pointer; font-weight: 700; margin-bottom: 10px; }
.yt-pl { display: grid; gap: 6px; }
.vq-block { margin-top: 14px; }
.vq-block h4, .vq-block summary { margin: 0 0 8px; font-size: 14px; font-weight: 700; cursor: default; }
details.vq-block summary { cursor: pointer; }
.vq-pick { display: flex; gap: 10px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line); }
.vq-score { font-weight: 800; font-variant-numeric: tabular-nums; min-width: 28px; }
.vq-desc { white-space: pre-wrap; font: inherit; font-size: 13px; background: var(--bg); border-radius: 8px; padding: 10px; margin: 0 0 8px; }
.vq-comp { display: flex; gap: 10px; padding: 6px 0; color: inherit; text-decoration: none; font-size: 13px; border-bottom: 1px solid var(--line); }
.vq-comp img { width: 64px; height: 64px; object-fit: cover; border-radius: 6px; flex: none; background: var(--bg); }
.vq-comp > span { display: grid; gap: 2px; }
.xp-rows { display: grid; gap: 10px; margin-bottom: 12px; }
.xp-row { border-top: 1px solid var(--line); padding-top: 10px; }
.xp-row .xp-body { margin: 8px 0 0 26px; }
.xp-row .counters { margin-top: 4px; }
.yt-thumb { width: 128px; height: 72px; }
.check, .field > label.check { display: flex; gap: 8px; align-items: center; margin: 8px 0 0; font-size: 13px; font-weight: 400; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 600px) { .grid2 { grid-template-columns: 1fr; } }

/* ---- analytics ---- */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 20px; }
.kpi .label { color: var(--ink-2); font-weight: 600; font-size: 13px; }
.kpi .value { font-size: 30px; font-weight: 800; margin-top: 6px; font-variant-numeric: tabular-nums; }
.kpi .delta { font-size: 13px; font-weight: 700; margin-top: 2px; }
.delta.up { color: var(--good); } .delta.down { color: var(--bad); }
.charts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.chart-card h3 { margin: 0 0 4px; font-size: 16px; }
.chart-wrap { position: relative; }
.chart-wrap svg { width: 100%; height: 260px; display: block; overflow: visible; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--ink-2); margin: 8px 0 12px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 14px; height: 3px; border-radius: 2px; display: inline-block; }
.tip { position: absolute; pointer-events: none; background: var(--nav); color: #fff; font-size: 12px; border-radius: 8px; padding: 8px 10px; white-space: nowrap; z-index: 4; transform: translate(-50%, -110%); }
.tip b { display: block; margin-bottom: 2px; }
.tip .r { display: flex; align-items: center; gap: 6px; }
.tip .r i { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.axis text { font-size: 11px; fill: var(--ink-3); }
.grid line { stroke: var(--line); }
.acc-table td, .acc-table th { font-variant-numeric: tabular-nums; }
.empty { text-align: center; padding: 60px 20px; color: var(--ink-2); }
.empty h2 { color: var(--ink); }

.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: var(--nav); color: #fff; padding: 12px 18px; border-radius: 10px; z-index: 100; font-weight: 600; max-width: 90vw; }
.toast.bad { background: var(--bad); }

@media (max-width: 900px) {
  .composer, .charts { grid-template-columns: 1fr; }
  .topbar { gap: 10px; padding: 0 12px; overflow-x: auto; }
  main { padding: 16px; }
  .cal-head, .cal-row { grid-template-columns: 48px repeat(7, minmax(90px, 1fr)); }
  .calendar { overflow-x: auto; }
}

/* ---- auth ---- */
body.logged-out .topbar nav, body.logged-out #topCreate, body.logged-out #userMenu { display: none; }
.auth { max-width: 400px; margin: 8vh auto; padding: 32px; }
.menu { position: absolute; right: 0; top: 44px; background: var(--surface); color: var(--ink); border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.18); padding: 6px; min-width: 180px; z-index: 40; }
.menu button { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 9px 12px; border-radius: 6px; cursor: pointer; font-weight: 600; }
.menu button:hover { background: var(--bg); }

/* ---- best times ---- */
.bt-legend { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; font-size: 12px; color: var(--ink-2); margin: -6px 0 12px; }
.ramp { display: inline-flex; align-items: center; gap: 6px; }
.ramp i { width: 110px; height: 10px; border-radius: 5px; display: inline-block; }
.ramp em { font-style: normal; }
.cal-cell .star { position: absolute; left: 6px; top: 3px; font-size: 12px; color: #fff; text-shadow: 0 0 2px rgba(0,0,0,.35); z-index: 1; }
.suggest { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 10px; font-size: 13px; }
.chip { border: 1px solid var(--line); background: var(--surface); border-radius: 99px; padding: 5px 12px; cursor: pointer; font-weight: 700; font-size: 12px; }
.chip:hover { border-color: var(--s1); }
.chip.on { background: var(--s1); border-color: var(--s1); color: #fff; }
.heatmap-wrap { position: relative; overflow-x: auto; margin-top: 18px; }
.heatmap { display: grid; grid-template-columns: 44px repeat(24, minmax(24px, 1fr)); gap: 2px; min-width: 700px; }
.heatmap .hh { font-size: 11px; color: var(--ink-3); white-space: nowrap; }
.heatmap .hd { font-size: 12px; font-weight: 700; color: var(--ink-2); align-self: center; }
.heatmap .hc { height: 30px; border-radius: 4px; cursor: default; }
.heatmap .hc:hover { outline: 2px solid var(--ink); outline-offset: -1px; }
.top-slots { margin: 0; padding-left: 20px; display: grid; gap: 10px; }
.top-slots li span { display: block; font-size: 12px; }

/* ---- per-post analytics ---- */
.mini-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mini-stats > div { background: var(--bg); border-radius: 10px; padding: 12px; }
.mini-stats b { display: block; font-size: 22px; margin: 4px 0 2px; font-variant-numeric: tabular-nums; }
.mini-stats span { font-size: 12px; }
.hbar { display: flex; align-items: center; gap: 8px; }
.hbar i { height: 10px; border-radius: 0 4px 4px 0; background: var(--s1); display: block; min-width: 2px; }
.hbar span { font-variant-numeric: tabular-nums; font-size: 13px; white-space: nowrap; }
.fmt-table td, .fmt-table th { padding: 8px 6px; }
.fmt-table td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.posts-table th.sortable { cursor: pointer; white-space: nowrap; user-select: none; }
.posts-table th.sortable.on { color: var(--ink); }
.posts-table td.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.posts-table th:not(:first-child) { text-align: right; }
.post-cell { display: flex; gap: 10px; min-width: 300px; max-width: 420px; }
.post-cell img, .post-cell .noimg { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; flex: none; background: var(--bg); }
.post-cell .ptext { font-size: 13px; margin: 3px 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-cell a { font-size: 12px; }
@media (max-width: 900px) { .mini-stats { grid-template-columns: repeat(2, 1fr); } }

/* ---- YouTube private videos ---- */
.yp-channel h3 { display: flex; align-items: center; gap: 10px; margin: 18px 0 8px; font-size: 15px; }
.yp-row { display: grid; grid-template-columns: 160px 1fr auto; gap: 16px; align-items: start; padding: 14px 0; border-top: 1px solid var(--line); }
.yp-thumb { position: relative; width: 160px; aspect-ratio: 16 / 9; border-radius: 8px; background: var(--bg); display: grid; place-items: center; overflow: hidden; }
.yp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.yp-thumb .dur { position: absolute; right: 4px; bottom: 4px; background: rgba(0,0,0,.8); color: #fff; font-size: 11px; font-weight: 700; padding: 1px 5px; border-radius: 4px; }
.yp-info { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.yp-info b { overflow-wrap: anywhere; }
.yp-actions { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.yp-actions .input { width: auto; }
.yp-best { gap: 6px; }
/* Posts whose time has passed */
.pcard.past { background: #f1f1f3; box-shadow: none; opacity: .6; filter: grayscale(.8); }
.pcard.past:hover { opacity: .85; }
.list-table tr.past td { color: var(--ink-3); }
.list-table tr.past .pbadge, .list-table tr.past .status { filter: grayscale(.8); opacity: .7; }
.yp-detail { display: grid; grid-template-columns: 280px 1fr; gap: 20px; align-items: start; }
.yp-detail .yp-thumb.big { width: 280px; }
.yp-detail .yp-actions { grid-column: 1 / -1; align-items: flex-start; border-top: 1px solid var(--line); padding-top: 16px; }
.yp-desc { white-space: pre-wrap; color: var(--ink-2); margin: 4px 0 0; max-height: 180px; overflow-y: auto; }
.modal.detail { width: min(760px, 100%); }
@media (max-width: 640px) { .yp-detail { grid-template-columns: 1fr; } .yp-detail .yp-thumb.big { width: 100%; max-width: 360px; } }
@media (max-width: 800px) {
  .yp-row { grid-template-columns: 110px 1fr; }
  .yp-thumb { width: 110px; }
  .yp-actions { grid-column: 1 / -1; align-items: flex-start; }
}

/* ---- YouTube audience & competitors (Best times) ---- */
.heatmap .hc { position: relative; }
.cdot { position: absolute; left: 50%; top: 50%; width: var(--s); height: var(--s); transform: translate(-50%, -50%); border-radius: 50%; background: var(--s2); box-shadow: 0 0 0 1.5px #fff; }
.aud-empty { margin-top: 12px; padding: 18px; border-radius: 10px; background: var(--bg); }
.aud-empty p { margin: 0 0 10px; }
/* Each day's best hour on the calendar and heatmaps */
.cal-cell.daybest, .heatmap .hc.daybest { box-shadow: inset 0 0 0 2px #0f2f6b; }
.daybest-key { display: inline-block; width: 16px; height: 11px; border-radius: 3px; vertical-align: middle; box-shadow: inset 0 0 0 2px #0f2f6b; background: color-mix(in srgb, var(--s1) 60%, #f4f7ff); }

/* A video file deleted after publishing (mediaclean.js) */
.thumb .purged { display: grid; place-items: center; height: 100%; padding: 4px; font-size: 10px; text-align: center; color: var(--ink-3); background: var(--bg); }
