/* CDEF MUSIC v3 · 写歌台：左写（编辑区 + 控制区）右听（带次 + 参考曲目）。≤1000px 改成「写歌 / 带次」两页切换。 */
.desk { display: grid; grid-template-columns: minmax(0, 58fr) minmax(0, 42fr); grid-template-rows: minmax(0, 1fr) auto; height: calc(100dvh - var(--top) - var(--pb)); min-height: 620px; }
.pane-tabs { display: none; }

/* ---------- 编辑区 ---------- */
.editor { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; min-height: 0; border-right: 1px solid var(--line); }
.ed-h { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px var(--gut) 16px; border-bottom: 1px solid var(--line); }
.song { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font-size: 26px; font-weight: 700; padding: 0; text-overflow: ellipsis; }
.song::placeholder, .idea::placeholder, .sec-ta::placeholder { color: var(--dim); }
.modes { display: flex; flex: none; border: 1px solid var(--line-2); border-radius: var(--r); overflow: hidden; }
.mode { padding: 6px 14px; font-size: 13px; color: var(--mute); white-space: nowrap; }
.mode + .mode { border-left: 1px solid var(--line-2); }
.mode:hover { color: var(--fg); }
.mode[aria-selected=true] { background: var(--fg); color: var(--bg); font-weight: 600; }
.mode:focus-visible { outline-offset: -3px; }
.ed-body { flex: 1; min-height: 0; overflow: auto; padding: 18px var(--gut) 36px; -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 34px), transparent calc(100% - 2px)); mask-image: linear-gradient(180deg, #000 calc(100% - 34px), transparent calc(100% - 2px)); }
.ed-l { display: flex; align-items: baseline; gap: 12px; font-size: 12px; color: var(--mute); letter-spacing: .08em; margin-bottom: 8px; }
.ed-l .num, .ed-l .tx { letter-spacing: 0; }
.ed-l > :nth-child(2) { margin-left: 0; }
.ed-l .ed-r { margin-left: auto; display: flex; gap: 14px; align-items: baseline; }
.ed-hint { letter-spacing: 0; color: var(--dim); }
.ed-l .tx { font-size: 12px; }
.ed-idea { padding-bottom: 16px; }
.base { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; padding: 8px 12px; background: rgba(var(--acc-rgb), .08); border-left: 2px solid var(--acc); font-size: 13px; }
.base b { color: var(--acc); white-space: nowrap; }
.base span { color: var(--mute); min-width: 0; }
.base .tx { margin-left: auto; }
.idea, .sec-ta { display: block; width: 100%; background: none; border: 0; outline: 0; resize: none; padding: 0; }
.idea { font-size: 17px; line-height: 1.6; }
.idea.is-tall { min-height: 8.8em; }
.mode-note { margin: 0 0 16px; font-size: 14px; line-height: 1.6; color: var(--mute); }
.mode-box { display: flex; flex-direction: column; margin: 4px 0 8px; }
.words-pref { display: flex; flex-direction: column; margin-bottom: 8px; }
.words-pref .seg { flex-wrap: wrap; overflow: visible; padding-right: 0; -webkit-mask-image: none; mask-image: none; }
.words-pref .ctl { align-items: flex-start; padding: 6px 0; }
.sec { display: grid; grid-template-columns: 96px minmax(0, 1fr); border-top: 1px solid var(--line); padding: 12px 0; }
.sec:focus-within { background: linear-gradient(to right, transparent 96px, rgba(255, 255, 255, .02) 96px); }
.sec-h { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; font-size: 13px; }
.sec-type { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--acc); }
.sec-type::after { content: ""; width: 5px; height: 5px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); opacity: 0; }
.sec:hover .sec-type::after, .sec-type:focus-visible::after { opacity: .8; }
.sec-h .num { color: var(--mute); }
.sec-ops { display: flex; flex-wrap: wrap; gap: 2px 10px; margin-top: 6px; font-size: 12px; color: var(--mute); opacity: 0; }
.sec:hover .sec-ops, .sec:focus-within .sec-ops { opacity: 1; }
.sec-ops button:hover:not(:disabled) { color: var(--fg); }
.sec-ops button:disabled { color: var(--dim); }
.sec-ops .sec-ai { flex-basis: 100%; text-align: left; color: var(--fg); }
@media (min-width: 761px) {
  .sec { position: relative; }
  .sec-ops { position: absolute; z-index: 1; top: 8px; left: 108px; right: 0; margin: 0; flex-wrap: nowrap; justify-content: flex-end; gap: 0 12px; }
  .sec-ops button { flex: none; white-space: nowrap; }
  .sec-ops .sec-ai { flex-basis: auto; }
  .sec:hover .sec-ta, .sec:focus-within .sec-ta { padding-top: 26px; }
}
.sec-ta { font-size: 17px; line-height: 1.75; }
.sec-body { min-width: 0; }
.ai-bill { margin: 6px 0 0; font-size: 11px; line-height: 1.4; color: var(--mute); }
.ai-cap { margin: 8px 0 0; font-size: 12px; line-height: 1.6; color: var(--warn); }
.ed-add { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; border-top: 1px solid var(--line); padding-top: 12px; }
.add { height: 30px; padding: 0 12px; border: 1px dashed var(--line-2); border-radius: var(--r); font-size: 13px; color: var(--mute); }
.add:hover { color: var(--fg); border-color: var(--mute); }
.ed-add .tx { margin-left: auto; }

/* ---------- 控制区 ---------- */
.panel { grid-column: 1; grid-row: 2; background: var(--panel); border-top: 1px solid var(--line); border-right: 1px solid var(--line); padding: 4px var(--gut) 18px; }
.ctls { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 36px; }
.ctl { display: flex; align-items: center; gap: 4px; min-height: 44px; border-bottom: 1px solid var(--line); min-width: 0; }
.ctl-l { flex: none; width: auto; min-width: 44px; margin-right: 8px; font-size: 12px; color: var(--mute); letter-spacing: .08em; }
.seg { display: flex; align-items: center; gap: 4px; min-width: 0; flex: 1 1 auto; overflow-x: auto; scrollbar-width: none; padding-right: 18px; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 18px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 18px), transparent); }
.seg::-webkit-scrollbar { display: none; }
.seg button { height: 30px; padding: 0 10px; border-radius: var(--r); font-size: 13px; color: var(--mute); white-space: nowrap; flex: none; }
.seg button:hover:not(:disabled) { color: var(--fg); background: var(--hover); }
.seg button[aria-checked=true] { color: var(--fg); background: var(--on); box-shadow: inset 0 0 0 1px var(--line-2); font-weight: 600; }
.seg button:disabled { color: var(--dim); }
.seg button:focus-visible { outline-offset: -2px; }
.ctl-tail { margin-left: auto; padding-left: 8px; flex: 0 1 auto; min-width: 0; display: flex; font-size: 13px; white-space: nowrap; }
.ctl-tail button { color: var(--mute); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-2); }
.ctl-tail button:hover { color: var(--fg); }
.ctl-hint { color: var(--mute); font-size: 12px; overflow: hidden; text-overflow: ellipsis; }
/* 这一行当前用不了：原因要完整读到（可折两行），让位的是那排已经置灰的选项 */
.ctl:has(.ctl-why) { grid-column: 1 / -1; }
.ctl-why { color: var(--mute); font-size: 12px; line-height: 1.35; white-space: normal; text-align: right; text-wrap: balance; }
.ctl:has(.ctl-why) .seg { flex: 0 1 auto; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); }
.ctl:has(.ctl-why) .ctl-tail { flex: 1 0 46%; max-width: 72%; justify-content: flex-end; white-space: normal; padding: 6px 0 6px 12px; }
.ctl-hint { color: var(--mute); }
.gobar { display: flex; flex-direction: column; gap: 10px; padding-top: 14px; }
.go-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.go-note { display: flex; flex-direction: column; font-size: 14px; min-width: 0; }
.go-note b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.go-note .num { color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.go-set { display: none; }
.go { flex: none; display: inline-flex; align-items: center; justify-content: center; height: 48px; min-width: 132px; padding: 0 34px; background: var(--acc); color: var(--acc-fg); font-size: 16px; font-weight: 700; border-radius: var(--r); letter-spacing: .04em; white-space: nowrap; }
.go:hover:not(:disabled) { filter: brightness(1.08); }
.go:disabled { background: var(--on); color: var(--mute); }

/* ---------- 带次与参考曲目 ---------- */
.side { grid-column: 2; grid-row: 1 / 3; overflow: auto; padding: 20px var(--gut) 24px; background: var(--bg-deep); }
.side-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 10px; }
.side-h h2 { font-size: 13px; font-weight: 600; letter-spacing: .08em; }
.side-h .num { color: var(--mute); }
.takes + .side-h { margin-top: 28px; }
.job + .job { margin-top: 18px; }
.job-h { display: flex; align-items: baseline; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); min-width: 0; }
.job-h h3 { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.job-h > .num { color: var(--mute); white-space: nowrap; }
.job-r { margin-left: auto; display: flex; gap: 16px; flex: none; }
.stages { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 2px 0 10px; }
.stages li { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--dim); }
.stages li::before { content: ""; height: 2px; background: var(--line-2); }
.stages li.done { color: var(--mute); }
.stages li.done::before { background: var(--acc); }
.stages li.now { color: var(--fg); font-weight: 600; }
.stages li.now::before { background: linear-gradient(to right, var(--busy) 50%, var(--line-2) 50%); background-size: 200% 100%; animation: stage 1.6s linear infinite; }
@keyframes stage { from { background-position: 100% 0; } to { background-position: 0 0; } }
.job-note { font-size: 13px; color: var(--mute); padding-bottom: 12px; }
.job-note b { color: var(--fg); font-weight: 600; }
.job-note a { text-decoration: underline; text-underline-offset: 3px; }
.fail { padding: 4px 0 16px; display: flex; flex-direction: column; gap: 6px; border-bottom: 1px solid var(--line); }
.fail-r { font-size: 14px; color: var(--err); }
.fail .num { color: var(--mute); }
.fail .dlg-f { justify-content: flex-start; margin-top: 8px; }
.fail .btn, .words-act .btn { height: 34px; }
.words p { margin: 0; }
.words .lyr-tag:first-child { margin-top: 0; }
.words { font: 15px/1.75 var(--sans); padding: 14px 16px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); max-height: 300px; overflow: auto; }
.words-act { display: flex; gap: 10px; padding: 12px 0 16px; border-bottom: 1px solid var(--line); }

.lane { display: grid; grid-template-columns: 44px 36px 40px minmax(90px, .9fr) minmax(80px, 1.3fr) 44px; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); }
.lanes .lane:last-child, .job .lane:last-child { border-bottom: 1px solid var(--line); }
.lane-no { color: var(--mute); }
.lane-cv { position: relative; display: block; border-radius: 4px; overflow: hidden; background: var(--raise); aspect-ratio: 1; }
.lane-t { min-width: 0; }
.lane-t h3 { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lane-t h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.lane-t p { font-size: 12px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lane-wave { height: 30px; }
.lane-d { color: var(--mute); text-align: right; }
.lane.is-playing .lane-t h3 { color: var(--acc); }
.lane.is-take { grid-template-columns: 58px 36px 48px minmax(0, 1fr) 44px; padding: 14px 0; row-gap: 10px; }
.lane.is-take .lane-no { color: var(--acc); }
.lane.is-take.is-playing .lane-t h3 { color: var(--fg); }
.lane.is-take .lane-wave { grid-column: 1 / -1; height: 56px; }
.lane-act { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 0 20px; font-size: 13px; color: var(--mute); }
.lane-act button:hover, .lane-act a:hover { color: var(--fg); text-decoration: underline; text-underline-offset: 4px; }
.lane-act button[aria-expanded=true] { color: var(--fg); }
.lane-ly { grid-column: 1 / -1; padding: 0 14px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); }
.lane.is-making .lane-no { color: var(--mute); }
.lane.is-making .lane-t h3 { color: var(--mute); }
.pulse { width: 36px; height: 36px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); display: grid; place-items: center; }
.pulse::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--busy); animation: sk 1.2s ease-in-out infinite; }
.lane.is-ghost { opacity: .55; padding: 12px 0; row-gap: 8px; }
.lane.is-ghost .lane-no { color: var(--mute); }
.lane.is-ghost .play { box-shadow: inset 0 0 0 1px var(--line-2); background: none; }
.lane.is-ghost .lane-t i { display: block; height: 8px; width: 120px; background: var(--on); border-radius: 2px; }
.lane.is-ghost .lane-t i + i { width: 76px; margin-top: 8px; }
.lane.is-ghost .lane-wave { height: 1px; background: var(--line-2); margin: 10px 0 6px; }
.empty-t { padding: 16px 0 4px; border-top: 1px solid var(--line); display: flex; flex-direction: column; align-items: flex-start; gap: 12px; font-size: 13px; color: var(--mute); }
.empty-t b { display: block; font-size: 14px; color: var(--fg); margin-bottom: 2px; }
.empty-t .btn { height: 34px; }

/* ---------- 风格面板 ---------- */
.pk { display: flex; flex-direction: column; height: min(600px, calc(86dvh - 50px)); min-height: 0; }
.pk-top { flex: none; display: flex; gap: 10px; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.pk-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 172px minmax(0, 1fr); }
.pk-groups { overflow: auto; padding: 10px 8px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.pk-groups button { display: flex; justify-content: space-between; align-items: center; height: 34px; padding: 0 12px; border-radius: 5px; font-size: 13px; color: var(--mute); text-align: left; white-space: nowrap; flex: none; }
.pk-groups button:hover { color: var(--fg); background: var(--hover); }
.pk-groups button[aria-selected=true] { color: var(--fg); background: var(--on); font-weight: 600; }
.pk-groups .num { color: var(--dim); font-weight: 400; }
.pk-list { overflow: auto; padding: 4px 20px 20px; }
.pk-h { position: sticky; top: 0; z-index: 1; background: var(--raise); padding: 12px 0 8px; font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--mute); }
.pk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; }
.pk-item { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 8px 12px; border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); text-align: left; min-width: 0; }
.pk-item b { font-size: 14px; font-weight: 500; }
.pk-item .num { color: var(--mute); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.pk-item:hover { box-shadow: inset 0 0 0 1px var(--mute); }
.pk-item[aria-pressed=true] { box-shadow: inset 0 0 0 1px var(--acc); background: var(--on); }
.pk-item[aria-pressed=true] b { color: var(--acc); font-weight: 600; }
.pk-none { padding: 36px 0; color: var(--mute); font-size: 14px; }
.pk-foot { flex: none; display: flex; align-items: center; gap: 12px; padding: 12px 20px; border-top: 1px solid var(--line); }
.pk-cur { flex: 1; min-width: 0; font-size: 13px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pk-cur b { color: var(--fg); font-size: 14px; margin: 0 8px 0 4px; }

/* ---------- 我的声音 ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.steps li { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--dim); }
.steps li::before { content: ""; height: 2px; background: var(--line-2); }
.steps li.done { color: var(--mute); }
.steps li.done::before { background: var(--acc); }
.steps li.now::before { background: var(--busy); }
.steps li.now { color: var(--fg); font-weight: 600; }
.steps li.bad { color: var(--err); font-weight: 600; }
.steps li.bad::before { background: var(--err); }
.voice h3 { font-size: 16px; font-weight: 700; }
.voice .sub { color: var(--mute); font-size: 13px; }
.vlist { display: flex; flex-direction: column; }
.vrow { display: flex; align-items: center; gap: 14px; min-height: 52px; border-top: 1px solid var(--line); }
.vrow:last-child { border-bottom: 1px solid var(--line); }
.vrow-n { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.vrow-n b { font-size: 14px; font-weight: 600; }
.vrow-n .num { color: var(--mute); }
.vrow.off .vrow-n b { color: var(--mute); }
.tag { font-size: 12px; padding: 1px 8px; border-radius: 3px; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--mute); white-space: nowrap; }
.tag.on { color: var(--acc); box-shadow: inset 0 0 0 1px var(--acc); }
.cap { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); }
.cap-row { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.cap-row .btn { height: 36px; }
.cap-name { color: var(--mute); }
.cap.rec .cap-name { color: var(--err); }
.phrase { font-size: 20px; font-weight: 700; line-height: 1.5; padding: 16px 18px; background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--r); }
.phrase-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.big-state { display: flex; flex-direction: column; gap: 8px; padding: 10px 0; }
.big-state .pulse { margin-bottom: 6px; }

/* ---------- 加伴奏：上传人声 ---------- */
.inst-up { display: flex; flex-direction: column; gap: 12px; }
.inst-file { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.inst-name { color: var(--mute); min-width: 0; overflow-wrap: anywhere; }

/* ---------- 局部重做 ---------- */
.range-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

@media (max-width: 1280px) { .ctls { column-gap: 24px; } .desk { grid-template-columns: minmax(0, 60fr) minmax(0, 40fr); } }
@media (max-width: 1000px) {
  .desk { display: block; height: auto; min-height: 0; }
  .pane-tabs { display: grid; grid-template-columns: 1fr 1fr; position: sticky; top: 0; z-index: 6; background: var(--panel); border-bottom: 1px solid var(--line); }
  .pane-tabs button { height: 46px; font-size: 14px; color: var(--mute); box-shadow: inset 0 -2px 0 transparent; }
  .pane-tabs button[aria-selected=true] { color: var(--fg); font-weight: 600; box-shadow: inset 0 -2px 0 var(--acc); }
  .pane-tabs button:focus-visible { outline-offset: -3px; }
  .pane-tabs .num { margin-left: 6px; color: var(--acc); }
  .desk[data-pane=write] .side, .desk[data-pane=listen] .editor, .desk[data-pane=listen] .panel { display: none; }
  .editor, .panel { border-right: 0; }
  .ed-body { overflow: visible; -webkit-mask-image: none; mask-image: none; padding-top: 8px; }
  .mode-note { margin-bottom: 8px; }
  .words-pref .ctl { padding: 2px 0; }
  .panel { padding-bottom: 96px; }
  .side { min-height: calc(100dvh - var(--top) - 46px - var(--pb)); }
  .gobar { position: fixed; left: 0; right: 0; bottom: var(--pb); z-index: 20; background: var(--panel); border-top: 1px solid var(--line); padding: 10px var(--gut); }
  body[data-pane=write] .foot { padding-bottom: 96px; }
  body[data-pane=write] .toasts { bottom: calc(var(--pb) + 88px); }
  .sec-ops { opacity: 1; }
  .sec-type::after { opacity: .8; }
}
@media (max-width: 760px) {
  .ed-h { flex-direction: column; align-items: stretch; gap: 12px; padding-top: 14px; }
  .song { font-size: 22px; }
  .modes { align-self: flex-start; }
  .mode { min-height: 44px; display: inline-flex; align-items: center; padding: 0 14px; }
  .sec { grid-template-columns: 1fr; gap: 4px; padding: 6px 0 12px; }
  .sec:focus-within { background: none; }
  .sec-h { flex-direction: row; gap: 10px; align-items: center; min-height: 44px; }
  .sec-ops { margin: 0 0 0 auto; flex-wrap: nowrap; gap: 0 14px; }
  .sec-ops .sec-ai { flex-basis: auto; }
  .sec-ops button, .sec-type { min-height: 44px; }
  .add { height: 44px; }
  .ed-add .tx { padding: 12px 0; }
  .ed-l .tx { padding: 10px 0; margin: -10px 0; }
  .ctls { grid-template-columns: minmax(0, 1fr); }
  .ctl { min-height: 52px; }
  .seg { overflow-x: auto; scrollbar-width: none; }
  .seg::-webkit-scrollbar { display: none; }
  .seg button { height: 44px; flex: none; padding: 0 12px; }
  .ctl-tail button { padding: 12px 0; }
  .go-note b { display: none; }
  .go-note .num { white-space: normal; }
  .go-set { display: flex; align-items: center; min-height: 44px; font-size: 13px; text-align: left; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0; }
  .go { height: 48px; padding: 0 26px; }
  .lane { grid-template-columns: 44px 40px minmax(0, 1fr) 44px; }
  .lane .play { width: 44px; height: 44px; }
  .lane:not(.is-take) .lane-no, .lane:not(.is-take) .lane-wave { display: none; }
  .lane.is-take { grid-template-columns: 44px 44px minmax(0, 1fr) 44px; }
  .lane.is-take .lane-no { grid-column: 1 / -1; margin-bottom: -4px; }
  .lane.is-take .pulse { width: 44px; height: 44px; }
  .lane-act { gap: 0 16px; }
  .lane-act button, .lane-act a { padding: 12px 0; }
  .job-r .tx { padding: 12px 0; margin: -12px 0; }
  .pk { height: calc(92dvh - 58px); }
  .pk-body { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); }
  .pk-groups { flex-direction: row; border-right: 0; border-bottom: 1px solid var(--line); padding: 8px 12px; }
  .pk-groups button { height: 40px; gap: 6px; }
  .pk-top, .pk-foot { padding-left: 16px; padding-right: 16px; }
  .pk-list { padding: 0 16px 16px; }
  .pk-item { min-height: 48px; justify-content: center; }
  .cap-row .btn { height: 44px; }
  .vrow .tx { padding: 12px 0; }
}
