/* 新手教学（2026-10-19），配合 teaching.js。类名 tch- 前缀。 */
.tch-new{display:inline-grid;place-items:center;height:18px;padding:0 6px;margin-left:auto;border-radius:9px;background:var(--red,#d93a2b);color:#fff;font-size:11px;font-weight:600;line-height:1}
.tch-nav .tch-new{margin-left:6px}
.tch-row .sv2-row-text{flex:1}

/* 首页卡片：输入框下面一行 */
.tch-card{display:flex;align-items:center;gap:12px;width:100%;max-width:760px;margin:14px auto 0;padding:12px 12px 12px 14px;border:1px solid #f3d3ce;border-radius:14px;background:#fff8f6;box-sizing:border-box;text-align:left}
.tch-card[hidden]{display:none}
.tch-card-icon{display:inline-grid;place-items:center;flex:none;width:40px;height:40px;border-radius:11px;background:#fff;color:var(--red,#d93a2b);box-shadow:0 1px 2px rgba(179,43,30,.08)}
.tch-card-text{display:flex;flex-direction:column;gap:2px;min-width:0;flex:1}
.tch-card-text strong{font-size:14.5px;color:var(--ink,#1f2328)}
.tch-card-text span{font-size:12.5px;line-height:1.5;color:var(--ink-2,#4a5058)}

/* 按钮 */
.tch-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;height:36px;padding:0 14px;border:1px solid var(--line,#ebedf0);border-radius:10px;background:#fff;color:var(--ink,#1f2328);font:inherit;font-size:13.5px;font-weight:500;cursor:pointer;white-space:nowrap}
.tch-btn:hover{border-color:#e3c3be;background:#fffafa}
.tch-btn.primary{border-color:var(--red,#d93a2b);background:var(--red,#d93a2b);color:#fff}
.tch-btn.primary:hover{background:var(--red-dark,#b32b1e);border-color:var(--red-dark,#b32b1e)}
.tch-btn svg{width:17px;height:17px}
.tch-x{display:inline-grid;place-items:center;flex:none;width:34px;height:34px;border:0;border-radius:9px;background:transparent;color:var(--ink-3,#8a9099);cursor:pointer}
.tch-x:hover{background:var(--hover,#f0f2f5);color:var(--ink,#1f2328)}
.tch-x.small{width:28px;height:28px}
.tch-x.small svg{width:16px;height:16px}
.tch-btn:focus-visible,.tch-x:focus-visible,.tch-thumb:focus-visible{outline:2px solid var(--red,#d93a2b);outline-offset:2px}

/* 教学页 */
.tch-view{background:var(--bg,#fff)}
.tch-view>*{max-width:920px;margin-left:auto;margin-right:auto}
.tch-head{padding:8px 0 4px}
.tch-eyebrow{display:block;font-size:12.5px;font-weight:600;letter-spacing:.06em;color:var(--red,#d93a2b);margin-bottom:6px}
.tch-head h1{margin:0;font-size:26px;line-height:1.3;color:var(--ink,#1f2328);text-wrap:balance}
.tch-head p{margin:8px 0 0;font-size:14px;line-height:1.7;color:var(--ink-2,#4a5058)}
.tch-sec{margin-top:30px}
.tch-sec>h2{margin:0 0 12px;font-size:16px;color:var(--ink,#1f2328)}

.tch-features{display:flex;flex-direction:column;gap:12px}
.tch-feature{display:grid;grid-template-columns:220px minmax(0,1fr);gap:18px;padding:14px;border:1px solid var(--line,#ebedf0);border-radius:14px;background:#fff}
.tch-thumb{position:relative;display:block;width:100%;aspect-ratio:16/9;max-width:100%;padding:0;border:0;border-radius:10px;overflow:hidden;background:linear-gradient(135deg,#fdecea,#fff6f4);cursor:pointer}
.tch-thumb img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.tch-play{position:absolute;left:50%;top:50%;display:grid;place-items:center;width:46px;height:46px;margin:-23px 0 0 -23px;border-radius:50%;background:rgba(255,255,255,.95);color:var(--red,#d93a2b);box-shadow:0 4px 14px rgba(179,43,30,.18)}
.tch-play svg{margin-left:3px}
.tch-thumb.empty .tch-play{color:#d9a59f}
.tch-len{position:absolute;right:8px;bottom:8px;padding:2px 8px;border-radius:6px;background:rgba(31,35,40,.72);color:#fff;font-size:11.5px}
.tch-thumb.empty .tch-len{background:rgba(255,255,255,.9);color:var(--ink-3,#8a9099)}
.tch-fbody{display:flex;flex-direction:column;gap:6px;min-width:0}
.tch-fhead{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.tch-fhead h3{margin:0;font-size:15.5px;color:var(--ink,#1f2328)}
.tch-tier{padding:2px 8px;border-radius:6px;background:#f3f4f6;color:var(--ink-2,#4a5058);font-size:12px}
.tch-done{display:inline-flex;align-items:center;gap:3px;color:#2f7d4f;font-size:12px}
.tch-done svg{width:14px;height:14px}
.tch-fdesc{margin:0;font-size:13.5px;line-height:1.7;color:var(--ink-2,#4a5058)}
.tch-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto;padding-top:6px}

.tch-tips{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.tch-tip-card{padding:14px 16px;border-radius:12px;background:var(--side,#f7f8fa)}
.tch-tip-card h3{margin:0 0 8px;font-size:14.5px;color:var(--ink,#1f2328)}
.tch-tip-card p{display:flex;gap:8px;margin:6px 0 0;font-size:13px;line-height:1.6}
.tch-mark{flex:none;display:inline-grid;place-items:center;width:20px;height:20px;border-radius:6px;font-size:11.5px;font-weight:600}
.tch-bad{color:var(--ink-3,#8a9099)}
.tch-bad .tch-mark{background:#eceef1;color:var(--ink-3,#8a9099)}
.tch-good{color:var(--ink,#1f2328)}
.tch-good .tch-mark{background:var(--red-soft,#fdecea);color:var(--red,#d93a2b)}

.tch-table-wrap{overflow-x:auto;border:1px solid var(--line,#ebedf0);border-radius:12px}
.tch-table{width:100%;min-width:560px;border-collapse:collapse;font-size:13.5px}
.tch-table th,.tch-table td{padding:10px 12px;border-bottom:1px solid var(--line,#ebedf0);text-align:center}
.tch-table thead th{font-size:13px;font-weight:600;color:var(--ink,#1f2328);background:#fafbfc}
.tch-table thead th small{display:block;margin-top:2px;font-size:11px;font-weight:500;color:var(--red,#d93a2b)}
.tch-table tbody th{text-align:left;font-weight:500;color:var(--ink,#1f2328);line-height:1.5}
.tch-table tr.grp td{padding:8px 12px 6px;text-align:left;font-size:12px;font-weight:600;color:var(--ink-3,#8a9099);background:#fff}
.tch-table tr:last-child>*{border-bottom:0}
.tch-table td.yes{color:var(--red,#d93a2b)}
.tch-table td.yes svg{width:18px;height:18px;vertical-align:middle}
.tch-table td.no{color:#c9cdd3}
.tch-table .mine{background:#fff8f6}
.tch-foot{margin:10px 0 40px;font-size:12.5px;color:var(--ink-3,#8a9099)}

/* 视频弹窗 */
.tch-modal{position:fixed;inset:0;z-index:10000;display:grid;place-items:center;padding:24px;background:rgba(17,20,24,.55)}
.tch-modal-box{position:relative;width:min(860px,100%);max-height:calc(100vh - 48px);overflow:auto;padding:18px 20px 20px;border-radius:16px;background:#fff;box-sizing:border-box}
.tch-modal-box.vertical{width:min(420px,100%)}
.tch-modal-box h3{margin:0 40px 12px 0;font-size:16px;color:var(--ink,#1f2328)}
.tch-modal-box .tch-x{position:absolute;right:12px;top:12px}
.tch-modal-box video{display:block;width:100%;max-height:calc(100vh - 140px);border-radius:10px;background:#000}
.tch-novideo{padding:18px;border-radius:12px;background:var(--side,#f7f8fa)}
.tch-novideo strong{font-size:14.5px;color:var(--ink,#1f2328)}
.tch-novideo p{margin:8px 0 4px;font-size:13px;color:var(--ink-2,#4a5058)}
.tch-novideo ul{margin:0 0 14px;padding-left:20px;font-size:13.5px;line-height:1.9;color:var(--ink,#1f2328)}

/* 带我走一遍 */
.tch-layer{position:fixed;inset:0;z-index:10001}
.tch-layer[hidden]{display:none}
.tch-hole{position:fixed;border-radius:12px;box-shadow:0 0 0 2px var(--red,#d93a2b),0 0 0 200vmax rgba(17,20,24,.5);pointer-events:none}
.tch-tour{position:fixed;width:300px;max-width:calc(100vw - 24px);padding:14px 16px 14px;border-radius:14px;background:#fff;box-shadow:0 12px 32px rgba(17,20,24,.22);box-sizing:border-box}
.tch-tour-top{display:flex;align-items:center;justify-content:space-between;margin:-4px -6px 4px 0}
.tch-step{font-size:12px;color:var(--ink-3,#8a9099)}
.tch-tour h3{margin:0 0 6px;font-size:15px;color:var(--ink,#1f2328)}
.tch-tour p{margin:0;font-size:13.5px;line-height:1.7;color:var(--ink-2,#4a5058)}
.tch-tour-btns{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}
.tch-tour-btns .tch-btn{height:34px}

@media (max-width:760px){
  .tch-feature{grid-template-columns:88px minmax(0,1fr);gap:12px;padding:12px}
  .tch-thumb{aspect-ratio:1}
  .tch-play{width:36px;height:36px;margin:-18px 0 0 -18px}
  .tch-len{left:4px;right:4px;bottom:4px;text-align:center;font-size:10.5px;padding:1px 4px}
  .tch-actions .tch-btn{height:34px;padding:0 12px}
  .tch-tips{grid-template-columns:1fr}
  .tch-card{margin-top:10px}
  .tch-card-text span{display:none}
  .tch-head h1{font-size:22px}
}
/* tier-1029：四个版本的价值差别、共同提供的帮助 */
.tch-h3{margin:22px 0 10px;font-size:15px;font-weight:600;color:var(--ink,#1f2328)}
.tch-h3:first-of-type{margin-top:6px}
.tch-vtable{min-width:640px}
.tch-vtable th,.tch-vtable td{text-align:left;vertical-align:top;line-height:1.65}
.tch-vtable thead th{white-space:nowrap}
.tch-vtable tbody th{width:84px;font-weight:600;white-space:nowrap}
.tch-vtable tbody th small{display:block;margin-top:2px;font-size:11px;font-weight:500;color:var(--red,#d93a2b)}
.tch-vtable tr.mine>*{background:#fff8f6}
.tch-vkey{width:30%}
.tch-vkey b{display:block;margin-bottom:2px;font-size:14px;color:var(--red,#d93a2b)}
.tch-vkey span{color:var(--ink-2,#4a5058)}
.tch-ctable tbody th{width:32%;white-space:normal;font-weight:600}
.tch-vfoot{margin:8px 2px 0;font-size:13px;color:var(--ink-2,#4a5058);font-weight:600}
.tch-vintro{margin:0 2px 8px;font-size:13px;color:var(--ink-3,#8a9099)}
