/* v4 新增：Kiro 状态、卡住了、先试 1 条、改口播稿、记录页 */

/* Kiro 多久来看一次 */
.kiro-pill { display: inline-flex; align-items: center; gap: 6px; font-family: var(--zh); font-size: 15px; }
.kiro-pill i { width: 8px; height: 8px; border-radius: 50%; background: #7bb36b; }
.kiro-pill.wait i { background: var(--gold); animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: .25; } }

/* 等 Kiro 接手：灰色沙漏 */
.st.wait .dot { border-color: var(--soft); border-style: dashed; color: var(--soft); }
.st.wait .lb { color: var(--ink); }
.st em.waittag { color: var(--soft); font-family: var(--zh); font-size: 15px; }

/* 卡住了 */
.st.stuck .dot { background: var(--red); border-color: var(--red); color: #fff; transform: scale(1.18); cursor: pointer; }
.st.stuck .lb { color: var(--red); }
.st em.stucktag { background: #fff; color: var(--red); border: 1.5px solid var(--red); font-family: var(--zh); font-size: 16px; padding: 0 10px 2px; border-radius: 999px; cursor: pointer; }
.row.is-stuck { box-shadow: 0 0 0 2px rgba(210,80,63,.35), 0 6px 18px rgba(60,40,10,.07); }
.pop { position: absolute; z-index: 7; display: none; flex-direction: column; gap: 8px; width: 280px; background: #fff; border-radius: 16px; padding: 16px 18px; box-shadow: 0 10px 30px rgba(60,40,10,.22); }
.pop.on { display: flex; }
.pop::before { content: ""; position: absolute; top: -8px; left: 40px; width: 16px; height: 16px; background: #fff; transform: rotate(45deg); }
.pop .why1 { font-family: var(--zh); font-size: 22px; color: var(--red); }
.pop .sub1 { font-family: var(--zh); font-size: 15px; color: var(--soft); }
.pop .btn { font-size: 20px; padding: 6px 22px; }

/* 先试 1 条 */
.trialtag { display: inline-block; margin-top: 6px; font-family: var(--zh); font-size: 14px; color: #fff; background: var(--gold); border-radius: 999px; padding: 0 10px 1px; }
.tc .tags span.new { background: #fff; color: var(--gold); box-shadow: inset 0 0 0 1.2px var(--gold); }
.tc .uses { position: absolute; bottom: 38px; left: 12px; color: rgba(255,255,255,.85); font-size: 12px; font-family: var(--zh); }
.trial { flex: none; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 110px; cursor: pointer; user-select: none; }
.trial .sw2 { width: 54px; height: 30px; border-radius: 999px; background: var(--line); position: relative; transition: .2s; }
.trial .sw2::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.2); transition: .2s; }
.trial.on .sw2 { background: var(--gold); }
.trial.on .sw2::after { left: 27px; }
.trial span { font-family: var(--zh); font-size: 16px; color: var(--soft); text-align: center; line-height: 1.2; }
.trial.on span { color: var(--ink); }
.trial small { font-size: 12px; color: var(--soft); font-family: var(--zh); }
.trial.hide { visibility: hidden; }

/* 改口播稿 */
.lines p span.th1 { display: inline; font-family: var(--th); font-size: 13px; color: var(--ink); }
.lines p .th1 { outline: none; border-radius: 4px; padding: 0 2px; margin: 0 -2px; cursor: text; transition: .15s; }
.lines p .th1:hover { background: var(--gold-soft); }
.lines p .th1:focus { background: #fff; box-shadow: 0 0 0 1.5px var(--gold); }
.lines p.edited .th1 { background: var(--gold-soft); }
.lines p.edited span.zh1::after { content: " · 改过，字幕跟着改"; color: var(--gold); }
.lines p span.zh1 { display: block; font-family: var(--zh); font-size: 13px; color: var(--soft); }

/* 记录页 */
#s-rec, #s-day { justify-content: flex-start; padding-top: 10px; }
.libtop .recsum { margin-left: auto; font-family: var(--zh); font-size: 18px; color: var(--soft); }
.libtop .recsum b { font-family: var(--en); font-weight: 400; font-size: 26px; color: var(--ink); margin: 0 4px; }
.rec { width: min(1240px, 100%); display: flex; flex-direction: column; gap: 22px; }
.day { background: #fff; border-radius: 24px; padding: 20px 30px; display: flex; gap: 34px; align-items: center; box-shadow: 0 6px 18px rgba(60,40,10,.07); cursor: pointer; transition: .2s; }
.day:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(60,40,10,.12); }
.day .dt { flex: none; width: 110px; text-align: center; }
.day .dt b { display: block; font-style: italic; font-weight: 400; font-size: 34px; line-height: 1.1; }
.day .dt span { font-family: var(--zh); font-size: 16px; color: var(--soft); }
.day .dt span.live { color: var(--gold); }
.day .prods { flex: 1; display: flex; gap: 40px; flex-wrap: wrap; }
.dp { display: flex; gap: 16px; align-items: center; }
.minifan { position: relative; width: 120px; height: 104px; flex: none; }
.minifan img, .minifan i { position: absolute; left: 50%; bottom: 0; width: 54px; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 6px; border: 2px solid #fff; box-shadow: 0 3px 8px rgba(60,40,10,.2); transform-origin: 50% 150%; background: var(--gold-soft); }
.dp .nm2 { font-family: var(--zh); font-size: 22px; }
.dp .mt { font-size: 14px; color: var(--soft); display: flex; gap: 8px; align-items: center; }
.dp .mt em { font-family: var(--zh); font-style: normal; }
.dp .cnt2 { font-size: 15px; font-family: var(--zh); color: var(--ink); }
.dp .cnt2 b { font-family: var(--en); font-weight: 400; font-size: 20px; }
.day .go2 { flex: none; font-size: 26px; color: var(--soft); }
.older { text-align: center; font-family: var(--zh); font-size: 18px; color: var(--soft); padding: 18px; border: 2px dashed var(--line); border-radius: 24px; }

/* 全部视频（作品库）视图 & 某一天详情 */
.vids2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 24px 18px; }
.vids2 .fc .no { font-family: var(--zh); font-size: 15px; }
.vids2 .fc .no span { display: block; font-family: var(--en); font-style: italic; font-size: 12px; color: var(--soft); }
.dayp { background: #fff; border-radius: 24px; padding: 22px 30px 26px; box-shadow: 0 6px 18px rgba(60,40,10,.07); display: flex; flex-direction: column; gap: 18px; }
.dayp .hd { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.dayp .hd img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; transform: rotate(-3deg); box-shadow: 0 3px 8px rgba(60,40,10,.15); }
.dayp .hd .nm2 { font-family: var(--zh); font-size: 28px; }
.dayp .hd .tagz { display: flex; gap: 6px; flex-wrap: wrap; }
.dayp .hd .tagz span { border: 1.5px solid var(--line); border-radius: 999px; padding: 0 12px 1px; font-family: var(--zh); font-size: 15px; }
.dayp .hd .tagz span.en { font-family: var(--en); font-style: italic; font-size: 14px; }
.dayp .hd .tagz span.ok { border-color: var(--gold); color: var(--gold); }
.dayp .hd .zip { margin-left: auto; font-style: italic; font-size: 15px; color: var(--soft); }
.dayp .stg { display: flex; gap: 6px; align-items: center; font-family: var(--zh); font-size: 15px; color: var(--soft); }
.dayp .stg i { width: 22px; height: 22px; border-radius: 50%; background: var(--line); display: inline-flex; align-items: center; justify-content: center; color: #fff; font-style: normal; font-size: 12px; }
.dayp .stg i.d { background: var(--gold); }
.dayp .stg i.y { background: var(--ink); }
.dayp .stg i.r { background: var(--red); }
.dayp .stg b { font-weight: 400; color: var(--ink); margin-right: 10px; }
.plmeta { display: flex; flex-direction: column; gap: 6px; font-family: var(--zh); font-size: 17px; color: rgba(255,255,255,.75); }
.plmeta .en { font-family: var(--en); font-style: italic; }
#plx video { height: 80vh; }
.vtop .hint { font-family: var(--zh); font-size: 16px; color: var(--soft); }
.total { width: 120px; } .total span { white-space: nowrap; }
