/* 操作指南页：左边视频 + 章节进度条，右边步骤目录（桌面端目录与视频等高、内部滚动）；窄屏上下排列 */

.tu-head { padding: 9.375rem 0 2.5rem; }
.tu-head .wrap { display: flex; align-items: flex-end; justify-content: space-between; gap: 2.5rem; }
.tu-head .sec-title { font-size: clamp(2.5rem, 5vw, 4.5rem); white-space: nowrap; }
.tu-head .lead { max-width: 25em; padding-bottom: 0.375rem; }

.tu-grid { display: grid; grid-template-columns: minmax(0, 1fr) 23.75rem; gap: 1.75rem; }

/* 视频 */
.tu-screen { aspect-ratio: 16 / 9; border: var(--line); border-radius: var(--r); overflow: hidden; background: #111; box-shadow: var(--shadow); }
.tu-screen video { display: block; width: 100%; height: 100%; background: #111; }
.tu-screen p { padding: 2rem; color: #fff; }
.tu-screen p a { text-decoration: underline; }

/* 视频下方：章节进度条 + 当前步骤 */
.tu-bar { margin-top: 1.25rem; padding: 1rem 1.125rem 0.875rem; }
.tu-seg { display: flex; gap: 0.1875rem; }
.tu-seg button { position: relative; min-width: 0; height: 0.875rem; border: 0.125rem solid var(--ink); border-radius: 0.3125rem; background: #f3e8cf; overflow: hidden; transition: transform .2s var(--ease); }
.tu-seg button i { position: absolute; inset: 0; background: var(--c); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .3s linear; }
@media (hover: hover) { .tu-seg button:hover { transform: translateY(-0.1875rem); } }
.tu-seg button.on { box-shadow: 0 0 0 0.125rem var(--paper), 0 0 0 0.25rem var(--ink); z-index: 1; }
.tu-now { display: flex; align-items: center; gap: 0.75rem; margin-top: 0.875rem; }
.tu-now .tag { flex: none; padding: 0.1875rem 0.625rem; border-radius: 62.4375rem; background: var(--ink); color: var(--lime); font-family: "HJ Title"; font-size: 0.75rem; letter-spacing: .08em; }
.tu-now b { flex: 1; min-width: 0; display: flex; align-items: center; gap: 0.5rem; font-family: "HJ Title"; font-weight: normal; font-size: 1.25rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tu-now b i { flex: none; display: inline-grid; place-items: center; width: 1.875rem; height: 1.875rem; border-radius: 50%; border: 0.125rem solid var(--ink); background: var(--c, #e3d5b8); font-style: normal; font-size: 0.8125rem; }
.tu-nav { display: flex; gap: 0.5rem; flex: none; }
.tu-nav button { width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 0.1562rem solid var(--ink); background: var(--paper); box-shadow: 0.1875rem 0.25rem 0 var(--ink); font-family: "HJ Title"; font-size: 1.125rem; line-height: 1; transition: transform .2s var(--ease), box-shadow .2s; }
@media (hover: hover) { .tu-nav button:hover:not(:disabled) { transform: translate(-0.0625rem, -0.125rem); background: #fff1c9; } }
.tu-nav button:active:not(:disabled) { transform: translate(0.125rem, 0.1875rem); box-shadow: 0.0625rem 0.0625rem 0 var(--ink); }
.tu-nav button:disabled { opacity: .3; cursor: default; }
.tu-note { margin-top: 0.5rem; font-size: 0.8125rem; color: var(--ink-2); }

/* 步骤目录：桌面端绝对定位铺满右栏，高度跟左栏（视频 + 进度条）一致。
   标题栏固定，只有下面的列表（.tu-scroll）滚动；滚动条细一点，上下留出空隙，不会伸进卡片的圆角 */
.tu-side { position: relative; }
.tu-list { position: absolute; inset: 0; display: flex; flex-direction: column; overflow: hidden; }
.tu-scroll { position: relative; flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; margin: 0 0.3125rem 0.875rem 0; padding-bottom: 0.25rem;
  scrollbar-width: thin; scrollbar-color: rgba(20, 20, 20, .28) transparent; }
.tu-list-head { flex: none; border-radius: calc(var(--r) - 0.1875rem) calc(var(--r) - 0.1875rem) 0 0; display: flex; align-items: baseline; justify-content: space-between; padding: 1rem 1.25rem 0.75rem; background: #fffdf6; border-bottom: 0.125rem dashed rgba(20, 20, 20, .18); }
.tu-list-head b { font-family: "HJ Title"; font-weight: normal; font-size: 1.25rem; }
.tu-list-head span { font-size: 0.875rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.tu-group h3 { display: flex; align-items: center; gap: 0.5rem; padding: 0.875rem 1.25rem 0.25rem; font-size: 0.9375rem; color: var(--ink-2); }
.tu-group h3 span { display: grid; place-items: center; width: 1.375rem; height: 1.375rem; border-radius: 0.375rem; border: 0.125rem solid var(--ink); background: var(--c); color: var(--ink); font-size: 0.75rem; }
.tu-group h3 small { margin-left: auto; font-family: "HJ Body"; font-size: 0.75rem; letter-spacing: .04em; }
.tu-group ol { list-style: none; }
.step { position: relative; width: 100%; display: grid; grid-template-columns: 3.125rem 1.75rem minmax(0, 1fr) auto; align-items: center; gap: 0.625rem; padding: 0.5rem 1.25rem; text-align: left; transition: background .2s; }
@media (hover: hover) { .step:hover { background: rgba(255, 194, 26, .16); } .step:hover i { transform: rotate(-10deg) scale(1.08); } }  /* 触屏上点过的行不会一直停在悬停样式 */
.step:focus-visible { outline: 0.1875rem solid var(--blue); outline-offset: -0.1875rem; }
.step time { font-size: 0.875rem; font-weight: 600; color: var(--blue); font-variant-numeric: tabular-nums; }
.step i { display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 50%; border: 0.125rem solid var(--ink); background: var(--c); font-family: "HJ Title"; font-style: normal; font-size: 0.75rem; transition: transform .25s var(--ease); }
.step span { font-size: 1rem; line-height: 1.35; }
/* 当前步骤：浅黄底 + 左侧色条 + 底部进度线 + 跳动的音柱 */
.step[aria-current] { background: #fff1c9; }
.step[aria-current] span { font-family: "HJ Title"; }
.step[aria-current]::before { content: ""; position: absolute; left: 0; top: 0.375rem; bottom: 0.375rem; width: 0.3125rem; border-radius: 0 0.25rem 0.25rem 0; background: var(--ink); }
.step::after { content: ""; position: absolute; left: 1.25rem; right: 1.25rem; bottom: 0.125rem; height: 0.1875rem; border-radius: 0.125rem; background: var(--c); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .3s linear; }
.eq { display: none; align-items: flex-end; gap: 0.125rem; height: 0.875rem; }
.eq b { width: 0.1875rem; height: 100%; border-radius: 0.0625rem; background: var(--blue); transform-origin: bottom; animation: eq .9s ease-in-out infinite; }
.eq b:nth-child(2) { animation-delay: -.3s; }
.eq b:nth-child(3) { animation-delay: -.6s; }
.step[aria-current] .eq { display: flex; }
.tu.paused .eq b { animation-play-state: paused; }
@keyframes eq { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }

/* 底部：还有问题 */
.tu-help { padding: 5rem 0 0; }
.tu-help-box { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.5rem 1.75rem 1.5rem 2.25rem; background: var(--ink); color: var(--paper); }
.tu-help-box h2 { font-size: 1.75rem; color: var(--yellow); }
.tu-help-links { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.tu-help-links a { display: inline-flex; align-items: center; gap: 0.625rem; padding: 0.5rem 1.125rem 0.5rem 0.5rem; border-radius: 62.4375rem; background: var(--paper); color: var(--ink); font-family: "HJ Title"; font-size: 1rem; transition: transform .2s var(--ease); }
.tu-help-links a:hover { transform: translateY(-0.1875rem); }
.tu-help-links b { display: grid; place-items: center; min-width: 2.25rem; height: 1.75rem; padding: 0 0.375rem; border-radius: 62.4375rem; border: 0.125rem solid var(--ink); background: var(--lime); font-weight: normal; font-size: 0.75rem; }
.tu-help-links a:nth-child(2) b { background: var(--yellow); }
.tu-help-links a:nth-child(3) b { background: var(--pink); }

@media (max-width: 1100px) { .tu-head .wrap { flex-direction: column; align-items: flex-start; gap: 1rem; } .tu-head .lead { max-width: 36em; } .tu-grid { grid-template-columns: minmax(0, 1fr) 20rem; } .step { grid-template-columns: 2.875rem 1.625rem minmax(0, 1fr) auto; gap: 0.5rem; padding-inline: 1rem; } }
@media (max-width: 900px) {
  .tu-head { padding: 7.5rem 0 1.75rem; }
  .tu-grid { grid-template-columns: 1fr; }
  .tu-side { position: static; }
  .tu-list { position: static; overflow: visible; }
  .tu-scroll { overflow: visible; margin: 0; padding-bottom: 0.75rem; }
  .tu-help-box { flex-direction: column; align-items: flex-start; padding: 1.5rem; }
}
@media (max-width: 600px) {
  .tu-head .sec-title { white-space: normal; }
  .tu-screen { border-radius: 1rem; }
  .tu-bar { padding: 0.875rem 0.875rem 0.75rem; }
  .tu-seg { gap: 0.125rem; }
  .tu-seg button { height: 0.75rem; border-width: 0.1rem; border-radius: 0.25rem; }
  .tu-now .tag { display: none; }
  .tu-now b { font-size: 1.0625rem; }
  .step { padding: 0.5625rem 1rem; }
  .tu-group h3 { padding-inline: 1rem; }
  .tu-list-head { padding-inline: 1rem; }
}
@media (prefers-reduced-motion: reduce) { .eq b { animation: none; transform: scaleY(.7); } }
