@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;700&display=swap');
:root { color-scheme: dark; --bg: #171b1d; --panel: #1e2426; --panel2: #22292a; --line: #343d3f; --muted: #a5b0ae; --ink: #edf2e9; --green: #cce6ae; --gold: #e1c098; --glass: #a9cddf; --rose: #e7a9a0; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 14px/1.5 'DM Sans', sans-serif; }
main { max-width: 1480px; margin: auto; padding: 28px 56px 60px; }
a { color: inherit; text-decoration: none; } a:hover { text-decoration: underline; }
button, input { font: inherit; }
button { cursor: pointer; color: inherit; background: transparent; border: 1px solid var(--line); border-radius: 7px; padding: 9px 14px; transition: background .15s, border-color .15s; }
button:hover { background: #30393a; border-color: #707e79; }
button:focus-visible, a:focus-visible, summary:focus-visible, input:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
kbd { font: 10px 'DM Sans', sans-serif; color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding: 1px 5px; margin: 0 2px; }

.masthead { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding-bottom: 24px; border-bottom: 1px solid var(--line); font-size: 11px; letter-spacing: 1.5px; font-weight: 700; }
.masthead span { color: var(--muted); margin-left: 18px; font-weight: 400; }
.masthead .links { display: flex; gap: 22px; letter-spacing: 0; font-size: 12px; }
.masthead .links a { color: var(--muted); }
.intro { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 40px 0 30px; }
.eyebrow { font-size: 10px; letter-spacing: 2px; color: var(--green); font-weight: 600; margin: 0 0 13px; }
h1 { font-family: Manrope, sans-serif; font-size: clamp(32px, 4vw, 52px); font-weight: 500; line-height: 1.14; letter-spacing: -2px; margin: 0; }
.lede { color: var(--muted); line-height: 1.8; margin: 17px 0 0; }
.round-note { border-left: 1px solid var(--line); padding-left: 28px; color: var(--muted); font-size: 10px; letter-spacing: 1.3px; min-width: 260px; }
.round-note strong { display: block; font-size: 17px; font-weight: 500; color: var(--ink); margin: 13px 0 4px; letter-spacing: -.4px; }
.round-note > span:last-child { letter-spacing: 0; font-size: 12px; }
.status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--green); margin-right: 7px; }

.transport { position: sticky; top: 0; z-index: 5; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; background: var(--panel2); border: 1px solid var(--line); padding: 12px 14px; border-radius: 10px; }
.chips { display: flex; gap: 4px; margin-left: 8px; }
.chip { padding: 6px 12px; font-size: 12px; border-radius: 999px; color: var(--muted); }
.chip.on { background: #2e3930; border-color: #55684f; color: var(--green); }
.volume { margin-left: auto; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; }
.volume input { width: 100px; accent-color: var(--green); }
.volume output { font-variant-numeric: tabular-nums; width: 32px; }
.who { font-size: 12px; color: var(--muted); }
.who.on { color: var(--green); border-color: #55684f; }
#status { font-size: 12px; color: var(--muted); margin: 12px 2px 22px; min-height: 18px; }
#status.warn { color: var(--gold); }

.workspace { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 36px; }
aside { position: sticky; top: 76px; align-self: start; }
#groups { display: flex; flex-direction: column; gap: 2px; }
#groups a { display: flex; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 6px; font-size: 12px; color: var(--muted); }
#groups a:hover { background: #262e2f; text-decoration: none; }
#groups a em { font-style: normal; font-size: 10px; color: #7f918b; font-variant-numeric: tabular-nums; }
#groups a em b { color: var(--green); font-weight: 600; }
.sidebar-note { margin: 22px 10px 0; border-top: 1px solid var(--line); padding-top: 20px; }
.sidebar-note > span { font-size: 9px; letter-spacing: 1.4px; color: #c6cec3; }
.sidebar-note p { color: var(--muted); font-size: 11px; line-height: 1.9; }

.group { margin-bottom: 34px; scroll-margin-top: 80px; }
.group > h2 { font-family: Manrope, sans-serif; font-weight: 600; font-size: 20px; letter-spacing: -.4px; margin: 0 0 4px; }
.group > p { color: var(--muted); font-size: 12px; margin: 0 0 14px; }

.fx { display: grid; grid-template-columns: minmax(170px, 230px) minmax(0, 1fr); gap: 18px; padding: 14px 14px 12px; border: 1px solid transparent; border-top-color: var(--line); scroll-margin-top: 90px; }
.fx.sel { border: 1px solid #55684f; border-radius: 10px; background: #1c2321; }
.fx.hide { display: none; }
.fx-head .n { font-size: 10px; color: #7f918b; font-variant-numeric: tabular-nums; }
.fx-head h3 { font-size: 15px; font-weight: 600; margin: 2px 0 2px; }
.fx-head .when { color: var(--muted); font-size: 12px; margin: 0; line-height: 1.45; }
.fx-head .today { display: inline-block; margin-top: 7px; font-size: 10px; letter-spacing: .6px; color: #c6cec3; border: 1px solid var(--line); border-radius: 999px; padding: 1px 8px; }
.fx-head .row-tools { display: flex; gap: 6px; margin-top: 9px; align-items: center; }
.fx-head .all { padding: 4px 10px; font-size: 11px; }
.fx-head details { font-size: 11px; color: var(--muted); }
.fx-head details summary { cursor: pointer; }
.fx-head details p { margin: 6px 0 0; line-height: 1.5; color: #c6cec3; }

.clips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.clip { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 9px; padding: 9px 10px 8px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.clip.before { background: #1a1f20; border-style: dashed; }
.clip.playing { border-color: var(--glass); }
.clip.liked { border-color: var(--green); background: #1f2a21; }
.clip .play { display: flex; align-items: center; gap: 8px; border: 0; padding: 0; text-align: left; background: none; }
.clip .play:hover { background: none; }
.clip .play b { font-size: 12px; font-weight: 600; }
.clip .play i { font-style: normal; font-size: 10px; color: var(--muted); margin-left: auto; font-variant-numeric: tabular-nums; }
.clip .play .k { font-size: 9px; color: #7f918b; border: 1px solid var(--line); border-radius: 3px; padding: 0 4px; }
.wave { position: relative; display: flex; align-items: center; gap: 1px; height: 34px; cursor: pointer; }
.wave span { flex: 1; background: #5d6d69; border-radius: 1px; min-height: 2px; }
.clip.before .wave span { background: #6f6a5d; }
.clip.playing .wave span { background: var(--glass); }
.wave .head { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--ink); left: 0; display: none; }
.clip.playing .wave .head { display: block; }
.mark { align-self: flex-start; font-size: 11px; padding: 3px 10px; border-radius: 999px; color: var(--muted); }
.mark.on { background: var(--green); color: #1b251a; border-color: var(--green); font-weight: 700; }
.mark.other { background: #3a3326; color: var(--gold); border-color: #6b5a3d; }
.clip .err { font-size: 11px; color: var(--rose); }

footer { margin-top: 30px; border-top: 1px solid var(--line); padding-top: 16px; color: var(--muted); font-size: 12px; }
.method { margin-top: 16px; color: var(--muted); font-size: 12px; }
.method summary { cursor: pointer; }
.method p { max-width: 900px; line-height: 1.8; }

@media (max-width: 1100px) { .clips { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  main { padding: 18px 16px 40px; }
  .intro { flex-direction: column; align-items: flex-start; padding: 26px 0 22px; }
  .round-note { border-left: 0; padding-left: 0; }
  .workspace { grid-template-columns: minmax(0, 1fr); }
  aside { position: static; }
  #groups { flex-direction: row; flex-wrap: wrap; }
  .sidebar-note { display: none; }
  .fx { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 12px 6px; }
  .volume { margin-left: 0; }
  .masthead .links { gap: 12px; }
  footer p { display: none; }
}
