/* ── a YouTube channel's page (youtube.js, AGENT FORGE 2026-10-28) ─────────────
   The channel's look: charcoal thumbnails, its accent (--yt-accent, the brand colour) on the play mark and the steps. */
:root { --yt-accent: #FF6B1A; --yt-char: #121212; }   /* the channel's colours, also inside its windows */
.yt-page { display: flex; flex-direction: column; gap: 18px; }
.yt-h { font-family: var(--display); font-size: 18px; font-weight: 800; letter-spacing: -.01em; margin: 0; color: var(--ink); }
.yt-eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; color: var(--ink-3); }
.yt-sec { border: 1px solid var(--border); border-radius: 20px; background: var(--surface); padding: 20px 22px; }
.yt-sec-h { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.yt-sec-h .btn { margin-left: auto; }

/* the channel */
.yt-hero { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 22px; border-radius: 22px;
  background: linear-gradient(120deg, var(--yt-char) 0%, #1d1d1f 60%, color-mix(in srgb, var(--yt-accent) 22%, #1d1d1f) 100%);
  color: #f4f4f2; border: 1px solid #2a2a2c; }
.yt-av { width: 76px; height: 76px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; overflow: hidden;
  background: var(--yt-accent); color: var(--yt-char); font-family: var(--display); font-size: 26px; font-weight: 800; }
.yt-av img { width: 100%; height: 100%; object-fit: cover; }
.yt-hero-t { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: 4px; }
.yt-hero-t .yt-eyebrow { color: #b9b9b4; }
.yt-play { color: var(--yt-accent); font-size: 12px; }
.yt-hero-t h2 { font-family: var(--display); font-size: 34px; font-weight: 800; letter-spacing: -.02em; margin: 0; color: #fff; line-height: 1.1; }
.yt-hero-t p { margin: 0; font-size: 13.5px; color: #c9c9c4; }
.yt-hero-a { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.yt-hero-btns { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.yt-hero .btn { background: rgba(255, 255, 255, .06); color: #f4f4f2; border-color: rgba(255, 255, 255, .16); }
.yt-hero .btn:hover { background: rgba(255, 255, 255, .12); }
.yt-mach { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 650; color: #c9c9c4; }
.yt-mach i { width: 8px; height: 8px; border-radius: 50%; background: #6b6b68; }
.yt-mach.is-on i { background: #2ED573; box-shadow: 0 0 0 3px rgba(46, 213, 115, .2); }

/* the numbers */
.yt-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.yt-stat { display: flex; flex-direction: column; gap: 3px; padding: 14px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); }
.yt-stat b { font-family: var(--display); font-size: 24px; font-weight: 800; color: var(--ink); line-height: 1.1; }
.yt-stat span { font-size: 12px; color: var(--ink-3); line-height: 1.35; }
.yt-stat.is-act { background: var(--act); border-color: transparent; }
.yt-stat.is-act b, .yt-stat.is-act span { color: var(--act-ink); }

/* thumbnails */
.yt-thumb { position: relative; display: grid; place-items: center; overflow: hidden; border-radius: 12px; background: var(--yt-char);
  border: 1px solid #2a2a2c; box-shadow: inset 0 -40px 60px -30px color-mix(in srgb, var(--yt-accent) 45%, transparent); }
.yt-thumb.is-wide { aspect-ratio: 16 / 9; width: 100%; }
.yt-thumb.is-tall { aspect-ratio: 9 / 16; width: 100%; }
.yt-thumb img { width: 100%; height: 100%; object-fit: cover; }
.yt-thumb-t { padding: 10% 9%; font-family: var(--display); font-weight: 800; color: #fff; text-align: left; line-height: 1.15;
  letter-spacing: -.01em; font-size: clamp(11px, 1.6vw, 20px); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.yt-thumb.is-tall .yt-thumb-t { font-size: 11px; -webkit-line-clamp: 6; }
.yt-thumb-t::before { content: ''; display: block; width: 26px; height: 4px; border-radius: 2px; background: var(--yt-accent); margin-bottom: 8px; }
.yt-thumb-k { position: absolute; top: 6px; right: 6px; font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 999px; background: rgba(0, 0, 0, .6); color: #fff; }

/* statuses (the production line's lanes) */
.yt-st { display: inline-flex; font-size: 10.5px; font-weight: 650; padding: 1px 8px; border-radius: 999px; line-height: 1.6; white-space: nowrap;
  border: 1px solid var(--border-strong); color: var(--ink-2); background: var(--surface); }
.yt-st.yt-l-script, .yt-st.yt-l-review { background: var(--act); color: var(--act-ink); border-color: transparent; }
.yt-st.yt-l-make { background: var(--motion); color: var(--motion-ink); border-color: transparent; }
.yt-st.yt-l-ready { background: var(--commit); color: var(--commit-ink); border-color: transparent; }
.yt-st.yt-l-live { background: var(--settled); color: var(--settled-ink); border-color: transparent; }
.yt-st.is-err { background: var(--crit-soft); color: var(--crit-ink); border-color: transparent; }
.yt-st.is-off { text-decoration: line-through; color: var(--ink-3); }
.yt-tags { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }

/* the next upload */
.yt-next-body { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 22px; align-items: center; }
.yt-next-card { padding: 0; border: 0; background: none; cursor: pointer; border-radius: 14px; }
.yt-next-card:hover .yt-thumb { border-color: var(--yt-accent); }
.yt-next-card .yt-thumb-t { font-size: clamp(16px, 2.4vw, 30px); }
.yt-next-info { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.yt-next-info h4 { font-family: var(--display); font-size: 22px; font-weight: 800; margin: 0; line-height: 1.25; color: var(--ink); }
.yt-kw { margin: 0; font-size: 13px; color: var(--ink-2); }
.yt-steps { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0; padding: 0; }
.yt-steps li { font-size: 11px; font-weight: 650; padding: 3px 10px; border-radius: 999px; background: var(--surface-3); color: var(--ink-3); }
.yt-steps li.done { background: var(--yt-accent); color: var(--yt-char); }
.yt-shorts { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); }
.yt-shorts-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 12px; margin-top: 10px; }
.yt-short { display: flex; flex-direction: column; gap: 5px; align-items: flex-start; padding: 0; border: 0; background: none; cursor: pointer; text-align: start; }
.yt-short:hover .yt-thumb { border-color: var(--yt-accent); }
.yt-short-d { font-size: 11.5px; font-weight: 650; color: var(--ink-2); }

/* the production line */
.yt-lanes { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.yt-lane { display: flex; flex-direction: column; gap: 6px; padding: 10px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border); min-width: 0; }
.yt-lane.is-act { border-color: var(--act); box-shadow: inset 0 0 0 1px var(--act); }
.yt-lane-h { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; font-size: 12px; font-weight: 700; color: var(--ink-2); }
.yt-lane-h b { font-family: var(--display); font-size: 20px; color: var(--ink); }
.yt-lane-i { display: flex; flex-direction: column; gap: 2px; padding: 7px 8px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border);
  text-align: start; cursor: pointer; min-width: 0; }
.yt-lane-i:hover { border-color: var(--ink-3); }
.yt-lane-i span { font-size: 10.5px; color: var(--ink-3); font-weight: 600; }
.yt-lane-i b { font-size: 12px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yt-lane-more { font-size: 11.5px; color: var(--ink-3); }

/* the upload schedule */
.yt-weeks { display: flex; flex-direction: column; gap: 12px; }
.yt-week { border: 1px solid var(--border); border-radius: 16px; padding: 12px; background: var(--surface-2); }
.yt-week-h { display: flex; gap: 10px; align-items: baseline; margin-bottom: 10px; }
.yt-week-h b { font-family: var(--display); font-size: 14px; font-weight: 800; color: var(--ink); }
.yt-week-h span { font-size: 12px; color: var(--ink-3); }
.yt-week-b { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr); gap: 12px; }
.yt-wlong { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 12px; align-items: center; padding: 8px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--border); text-align: start; cursor: pointer; }
.yt-wlong:hover { border-color: var(--yt-accent); }
.yt-wlong .yt-thumb-t { font-size: 10px; -webkit-line-clamp: 3; padding: 8%; }
.yt-wlong-t { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.yt-wlong-t b { font-size: 13.5px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.yt-wlong-t em { font-style: normal; font-size: 11.5px; color: var(--ink-3); }
.yt-wlong.is-none { display: grid; place-items: center; cursor: default; }
.yt-wshorts { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.yt-wshort { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; padding: 8px 10px; border-radius: 12px; background: var(--surface);
  border: 1px solid var(--border); text-align: start; cursor: pointer; min-width: 0; }
.yt-wshort:hover { border-color: var(--ink-3); }
.yt-wshort.is-trend { border-style: dashed; }
.yt-wshort-d { font-size: 10.5px; font-weight: 650; color: var(--ink-3); }
.yt-wshort b { font-size: 12px; font-weight: 600; color: var(--ink); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.yt-more { display: flex; flex-direction: column; gap: 12px; }

@media (max-width: 980px) {
  .yt-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .yt-lanes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .yt-next-body, .yt-week-b { grid-template-columns: 1fr; }
  .yt-hero-a { align-items: flex-start; }
}
@media (max-width: 560px) {
  .yt-lanes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .yt-wlong { grid-template-columns: 110px minmax(0, 1fr); }
  .yt-hero-t h2 { font-size: 26px; }
  .yt-sec { padding: 16px; }
}

/* ── packaging and thumbnails (135) ── */
.yt-lanes { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.yt-st.yt-l-pack { border-style: dashed; }
.yt-waits-l { display: flex; flex-direction: column; gap: 4px; }
.yt-wait { display: grid; grid-template-columns: 92px auto minmax(0, 1fr); gap: 12px; align-items: center; padding: 9px 10px; border-radius: 12px;
  text-align: start; cursor: pointer; border: 1px solid transparent; }
.yt-wait:hover { background: var(--wash); border-color: var(--border); }
.yt-wait-d { font-size: 12px; font-weight: 650; color: var(--ink-2); }
.yt-wait b { font-size: 13px; color: var(--ink); white-space: nowrap; }
.yt-wait-t { font-size: 13px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* the strip in a long-form's day window */
.yt-strip { display: flex; flex-direction: column; gap: 8px; margin: 0 0 14px; }
.yt-strip-r { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.yt-strip-b { display: flex; flex-direction: column; gap: 2px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; text-align: start; cursor: pointer;
  border: 1px solid var(--border); background: var(--surface-2); font-size: 13px; font-weight: 700; color: var(--ink); }
.yt-strip-b em { font-style: normal; font-weight: 500; font-size: 12px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.yt-strip-b.is-act { background: var(--act); border-color: transparent; color: var(--act-ink); }
.yt-strip-b.is-act em { color: var(--act-mute); }
.yt-strip-b.is-ok { border-color: var(--settled); }
.yt-strip-b:disabled { opacity: .55; cursor: default; }
.yt-gate { margin: 0; font-size: 12.5px; font-weight: 600; color: var(--crit-ink); }
.yt-results { display: flex; flex-direction: column; gap: 4px; }
.yt-res { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; font-size: 12px; color: var(--ink-2); padding: 6px 8px; border-radius: 8px; background: var(--surface-2); }
.yt-res em { font-style: normal; color: var(--ink-3); }
.yt-res-t { font-weight: 700; color: var(--ink); }
.yt-hook { font-size: 10px; font-weight: 800; letter-spacing: .04em; padding: 1px 6px; border-radius: 4px; background: var(--yt-char, #121212); color: #FF6B1A; }

/* packaging window */
.yt-note { padding: 8px 12px; border-radius: 10px; background: var(--act); color: var(--act-ink); font-size: 13px; margin-bottom: 12px; }
.yt-titles { display: flex; flex-direction: column; gap: 6px; }
.yt-title { display: grid; grid-template-columns: auto minmax(0, 1fr) 54px; gap: 8px; align-items: center; }
.yt-count { font-size: 11px; color: var(--ink-3); text-align: right; }
.yt-concepts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 12px 0; }
.yt-concept { display: flex; flex-direction: column; gap: 5px; padding: 12px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface-2); min-width: 0; }
.yt-concept.is-off { opacity: .5; }
.yt-concept .field { margin-top: 4px; }
.yt-concept-h { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.yt-concept-h .btn { margin-left: auto; }
.yt-concept-prev { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.yt-concept-prev .yt-thumb { width: 168px; flex-shrink: 0; }
.yt-cthumb .yt-thumb-t { font-size: 13px; text-transform: uppercase; }
.yt-hooks { display: flex; flex-wrap: wrap; gap: 4px; }
.yt-hooks button { font-size: 10.5px; font-weight: 800; letter-spacing: .03em; padding: 3px 7px; border-radius: 6px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--ink-2); cursor: pointer; }
.yt-hooks button.on { background: #121212; color: #FF6B1A; border-color: #121212; }

/* thumbnail window: variants, candidates, the mock feed */
.yt-vtabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.yt-vtabs > button { display: grid; grid-template-columns: 92px minmax(0, 1fr); grid-template-rows: auto auto; gap: 4px 8px; align-items: center; padding: 6px;
  border-radius: 12px; border: 1px solid var(--border); background: var(--surface-2); text-align: start; cursor: pointer; }
.yt-vtabs > button.on { border-color: #FF6B1A; box-shadow: inset 0 0 0 1px #FF6B1A; }
.yt-vtabs > button.is-off { opacity: .5; }
.yt-vtabs img, .yt-vtabs > button > i { grid-row: span 2; width: 92px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; background: #121212; display: block; }
.yt-vtabs span { display: flex; flex-direction: column; min-width: 0; }
.yt-vtabs b { font-size: 12px; color: var(--ink); }
.yt-vtabs em { font-style: normal; font-size: 11px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.yt-use { display: inline-flex; gap: 5px; align-items: center; font-size: 12px; font-weight: 650; color: var(--ink-2); cursor: pointer; }
.yt-cands { margin-bottom: 12px; }
.yt-cands-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.yt-cand { display: flex; flex-direction: column; gap: 3px; padding: 4px; border-radius: 10px; border: 2px solid transparent; background: var(--surface-2); cursor: pointer; }
.yt-cand.on { border-color: #FF6B1A; }
.yt-cand img, .yt-cand i { width: 150px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; background: #121212; display: block; }
.yt-cand em { font-style: normal; font-size: 11px; color: var(--ink-3); }
.yt-mode { margin-bottom: 10px; }
.yt-feeds { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 16px; align-items: start; }
.yt-feeds:has(.yt-feed:only-child) { grid-template-columns: minmax(0, 1fr); }
.yt-feed { padding: 12px; border-radius: 14px; background: #0f0f0f; border: 1px solid #262626; }
.yt-feed .yt-eyebrow { color: #8a8a86; margin-bottom: 8px; }
.yt-feed-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.yt-phone { width: 100%; max-width: 260px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.yt-feed.is-mobile .yt-feed { max-width: 260px; }
.yt-feed:has(.yt-phone):only-child .yt-phone { max-width: 360px; }
.yt-fcard { display: flex; flex-direction: column; gap: 7px; }
.yt-fthumb { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: #272727; }
.yt-fthumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yt-fthumb i { position: absolute; inset: 0; background: linear-gradient(135deg, #2b2b2b, #1f1f1f); }
.yt-fdur { position: absolute; right: 5px; bottom: 5px; font-size: 10px; font-weight: 700; padding: 1px 4px; border-radius: 4px; background: rgba(0, 0, 0, .8); color: #fff; }
.yt-fmeta { display: flex; gap: 8px; align-items: flex-start; }
.yt-fav { width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; background: #FF6B1A; color: #121212; font-size: 10px; font-weight: 800; }
.yt-fav.is-other { background: #3a3a3a; }
.yt-ftxt { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.yt-ftxt b { font-size: 13px; font-weight: 600; color: #f1f1f1; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.yt-ftxt em { font-style: normal; font-size: 11.5px; color: #aaa; }
.yt-fline { display: block; height: 9px; border-radius: 4px; background: #333; width: 92%; }
.yt-fline.is-short { width: 60%; }
.yt-fline.is-meta { width: 40%; height: 7px; background: #2a2a2a; }
.yt-trow { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; margin-top: 10px; }
.yt-trow .btn { justify-self: start; }
.yt-task { margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: var(--act); color: var(--act-ink); display: flex; flex-direction: column; gap: 8px; }
.yt-task.is-done { background: var(--surface-2); color: var(--ink); border: 1px solid var(--border); }
.yt-task ol { margin: 0; padding-left: 18px; font-size: 13px; line-height: 1.5; }
.yt-task .btn { align-self: flex-start; }
.yt-dl { display: flex; flex-wrap: wrap; gap: 6px; }
.yt-resf { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.yt-resf-r { display: grid; grid-template-columns: 120px repeat(3, minmax(0, 1fr)); gap: 8px; align-items: end; }
.yt-resf-r label { display: flex; flex-direction: column; gap: 3px; font-size: 11.5px; color: var(--ink-3); font-weight: 600; }
.yt-resf-v { display: flex; gap: 6px; align-items: center; padding-bottom: 8px; }
.yt-resf .btn { align-self: flex-start; }

@media (max-width: 980px) {
  .yt-lanes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .yt-concepts, .yt-vtabs, .yt-feeds, .yt-strip-r { grid-template-columns: 1fr; }
  .yt-feed-row { grid-template-columns: 1fr; }
  .yt-resf-r { grid-template-columns: 1fr 1fr; }
  .yt-wait { grid-template-columns: 70px minmax(0, 1fr); }
  .yt-wait-t { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .yt-lanes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* candidates side by side, each in its feed (Kie, 135) */
.yt-cmp { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 12px; }
.yt-cmp-col { display: flex; flex-direction: column; gap: 8px; padding: 8px; border-radius: 16px; border: 2px solid transparent; }
.yt-cmp-col.on { border-color: #FF6B1A; }
.yt-cmp-h { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 32px; }
.yt-cmp-h .btn { flex-shrink: 0; }
.yt-cmp-h b { font-size: 13px; color: var(--ink); }
.yt-feeds.is-stacked { grid-template-columns: minmax(0, 1fr); }
.yt-feeds.is-stacked .yt-phone { max-width: 240px; }
@media (max-width: 980px) { .yt-cmp { grid-template-columns: 1fr; } }

/* the image model and the bake-off (135) */
.yt-model-row { display: flex; gap: 8px; align-items: center; }
.yt-model-row .input { flex: 1; }
.yt-bake-models { display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.yt-bake-models em { font-style: normal; color: var(--ink-3); font-size: 12px; }
.yt-bake-note.is-act { border-color: var(--act); box-shadow: inset 0 0 0 1px var(--act); }
.yt-bake { display: grid; grid-template-columns: 120px repeat(var(--n), minmax(150px, 1fr)); gap: 10px; align-items: start; overflow-x: auto; }
.yt-bake-h { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; padding: 8px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); }
.yt-bake-h.on { border-color: #FF6B1A; }
.yt-bake-h b { font-size: 13px; color: var(--ink); }
.yt-bake-c0 { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--ink-2); padding-top: 4px; }
.yt-bake-c0 em { font-style: normal; color: var(--ink-3); }
.yt-bake-cell { display: flex; flex-direction: column; gap: 6px; }
.yt-bake-img { padding: 0; border: 2px solid transparent; border-radius: 8px; background: none; cursor: pointer; width: 168px; max-width: 100%; }
.yt-bake-img.on { border-color: #FF6B1A; }
.yt-bake-img img, .yt-bake-img i { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; background: #121212; }

/* (2026-10-30) the thumbnail's four steps and the edit panel: words + picture → drawn again */
.yt-tsteps { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.yt-tsteps li { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface-2); }
.yt-tsteps b { font-size: 12px; color: var(--ink-2); }
.yt-tsteps span { font-size: 11px; color: var(--ink-3); line-height: 1.35; }
.yt-tsteps li.done b { color: var(--ink); } .yt-tsteps li.done b::after { content: ' ✓'; color: #2ED573; }
.yt-tsteps li.cur { border-color: #FF6B1A; box-shadow: inset 0 0 0 1px #FF6B1A; } .yt-tsteps li.cur b { color: #FF6B1A; }
.yt-tedit { display: grid; gap: 8px; margin-top: 12px; padding: 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface-2); }
.yt-tedit > b { font-size: 13px; color: var(--ink); }
.yt-tedit label { display: grid; gap: 4px; font-size: 12px; font-weight: 650; color: var(--ink-2); }
.yt-tedit label em { font-style: normal; font-weight: 500; color: var(--ink-3); }
.yt-tedit .btn { justify-self: start; }
@media (max-width: 720px) { .yt-tsteps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
