/* Chordelo Link (link.js): the Plugins row on Your sounds and its panel. One accent (--accent). */
.lk-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto auto; align-items: center; gap: 12px; margin-top: 10px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.lk-row:hover { background: rgba(0, 220, 196,.05); }
.lk-ic { width: 34px; height: 34px; border-radius: 9px; background: var(--panel2); display: grid; place-items: center; color: var(--accent); }
.lk-ic svg, .lk-dl svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lk-t { display: flex; flex-direction: column; min-width: 0; } .lk-t small { color: var(--muted); font-size: 12px; }
.lk-st { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.lk-st i, .lk-status i, .lk-dev i { width: 8px; height: 8px; border-radius: 50%; background: var(--line2); flex: none; }
.lk-st.on i, .lk-status.on i, .lk-dev i.on { background: var(--accent); box-shadow: 0 0 0 3px rgba(0, 220, 196,.18); }
.lk-sheet .cx-sheet-body { display: flex; flex-direction: column; }
.lk-load { padding: 30px; display: grid; place-items: center; }
.lk-status { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel2); }
.lk-status span { display: flex; flex-direction: column; } .lk-status small { color: var(--muted); font-size: 12px; }
.lk-steps { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.lk-steps li { display: grid; grid-template-columns: 26px minmax(0, 1fr); align-items: center; gap: 10px; font-size: 14px; }
.lk-steps li > span { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line2); display: grid; place-items: center; font-size: 12px; color: var(--muted); }
.lk-steps .btn { justify-self: start; }
.lk-dl { justify-self: start; } .lk-dl small { color: inherit; opacity: .7; font-size: 12px; margin-left: 2px; }
.lk-code { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; padding: 10px 14px; border: 1px solid var(--accent); border-radius: 12px; }
.lk-code span { width: 100%; font-size: 12px; color: var(--muted); }
.lk-code b { font: 600 28px/1.1 var(--mono); letter-spacing: .12em; color: var(--text); }
.lk-code small { color: var(--muted); font-variant-numeric: tabular-nums; }
.lk-h { display: flex; justify-content: space-between; align-items: baseline; margin: 22px 0 8px; font-size: 13px; }
.lk-q { width: 100%; box-sizing: border-box; margin-bottom: 8px; }
.lk-list { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.lk-p { padding: 10px 12px; border-top: 1px solid var(--line); } .lk-p:first-child { border-top: 0; }
.lk-pr { display: flex; align-items: center; gap: 10px; }
.lk-pn { flex: 1; min-width: 0; display: flex; flex-direction: column; } .lk-pn b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; } .lk-pn small { color: var(--muted); font-size: 12px; }
.lk-w { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--accent); max-width: 60%; text-align: right; }
.lk-snds { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.lk-snd { display: inline-flex; align-items: center; gap: 2px; padding: 2px 2px 2px 10px; border: 1px solid var(--line2); border-radius: 99px; font-size: 12px; }
.lk-sheet .ib { width: 28px; height: 28px; border-radius: 8px; border: 0; background: none; color: var(--muted); display: grid; place-items: center; cursor: pointer; padding: 0; flex: none; }
.lk-sheet .ib:hover { color: var(--text); background: var(--panel2); }
.lk-sheet .ib svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.lk-none { padding: 14px; font-size: 13px; }
.lk-daws { display: flex; flex-wrap: wrap; gap: 6px; } .lk-daw { padding: 4px 10px; }
.lk-devs { display: flex; flex-direction: column; gap: 8px; }
.lk-dev { display: flex; align-items: center; gap: 10px; font-size: 14px; } .lk-dev span { flex: 1; display: flex; flex-direction: column; } .lk-dev small { color: var(--muted); font-size: 12px; }
.lk-dev .linkbtn { color: var(--muted); }
.lk-more { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; align-items: center; }
@media (max-width: 700px) {
  .lk-row { grid-template-columns: 34px minmax(0, 1fr) auto; }
  .lk-row .lk-st { grid-column: 2; grid-row: 2; font-size: 12px; }
  .lk-row .btn { grid-column: 3; grid-row: 1 / 3; }
}

/* 2 Dec: heads-up before the Link download (Windows SmartScreen) */
.lk-note { margin: 10px 0 2px; padding: 10px 12px; border-left: 2px solid #00dcc4; background: rgba(0, 220, 196,.07); border-radius: 0 8px 8px 0; font-size: 13px; color: var(--text); }
.lk-note summary { cursor: pointer; list-style: none; } .lk-note summary::-webkit-details-marker { display: none; }
.lk-note ol { margin: 8px 0 6px; padding-left: 18px; } .lk-note li { margin: 3px 0; } .lk-note i { font-style: normal; color: #b5f5ec; }
.lk-note small { display: block; color: var(--muted); font-size: 12px; }

/* ---- 4 Dec, Chordelo (owner: "the link pop-up ... branded better, more modern"): the connection picture + the sheet */
.lk-sheet header, .lw-sheet header { border-bottom: 0; padding-bottom: 6px; }
.lkh { display: grid; grid-template-columns: 64px minmax(40px, 1fr) 64px; grid-template-rows: 64px auto; align-items: center; column-gap: 14px; row-gap: 8px;
  padding: 22px 26px 18px; margin: 0 0 14px; border: 1px solid var(--line); border-radius: 14px;
  background: radial-gradient(120% 140% at 0% 0%, rgba(0, 242, 184, .10), transparent 55%), radial-gradient(120% 140% at 100% 100%, rgba(0, 196, 227, .08), transparent 55%), var(--panel2); }
.lkh-tile { position: relative; width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; background: #0e1014; border: 1px solid var(--line2); }
.lkh-cd { box-shadow: 0 0 0 1px rgba(0, 220, 196, .25), 0 8px 26px -8px rgba(0, 220, 196, .45); }
.lkh-cd img { width: 38px; height: 38px; object-fit: contain; }
.lkh-pc svg { width: 28px; height: 28px; fill: none; stroke: var(--muted); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.lkh-on .lkh-pc { border-color: var(--acb); box-shadow: 0 0 0 1px rgba(0, 220, 196, .25), 0 8px 26px -8px rgba(0, 220, 196, .45); }
.lkh-on .lkh-pc svg { stroke: var(--text); }
.lkh-ok { position: absolute; right: -6px; bottom: -6px; width: 22px; height: 22px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; box-shadow: 0 0 0 3px var(--panel2); }
.lkh-ok svg { width: 13px; height: 13px; fill: none; stroke: #04110f; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.lkh-wire { position: relative; height: 2px; border-radius: 1px; overflow: hidden;
  background: repeating-linear-gradient(90deg, var(--line2) 0 6px, transparent 6px 11px); }
.lkh-wire i { position: absolute; inset: 0; display: none; }
.lkh-go .lkh-wire i { display: block; background: linear-gradient(90deg, transparent, #00f2b8, #00c4e3, transparent); width: 45%; animation: lkh-run 1.1s linear infinite; }
.lkh-on .lkh-wire { background: var(--grad); }
@keyframes lkh-run { from { transform: translateX(-100%); } to { transform: translateX(230%); } }
@media (prefers-reduced-motion: reduce) { .lkh-go .lkh-wire i { animation: none; width: 100%; opacity: .6; } }
.lkh-lab { font-size: 12px; color: var(--muted); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* "Chordelo Link" sheet (linkwake.js) */
.lw { gap: 16px; }
.lw-st { flex-direction: column; align-items: flex-start; gap: 2px; padding: 0; border: 0; }
.lw-st b { font-size: 18px; font-weight: 650; letter-spacing: -.01em; }
.lw-st span { color: var(--muted); font-size: 14px; }
.lw-st.on b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lw-big { min-height: 46px; border-radius: 10px; font-size: 15px; }
.lw-more { border-top: 1px solid var(--line); padding-top: 12px; }
.lw-more summary { list-style: none; } .lw-more summary::-webkit-details-marker { display: none; }
.lw-more summary::after { content: " ›"; }
.lw-steps { list-style: none; padding: 0; margin: 12px 0; gap: 10px; color: var(--text); font-size: 14px; }
.lw-steps li { display: grid; grid-template-columns: 26px minmax(0, 1fr); align-items: center; gap: 10px; }
.lw-steps li > span, .lk-steps li > span { width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line2); display: grid; place-items: center; font: 500 11px var(--mono); color: var(--muted); }
.lw-steps .btn { justify-self: start; }

/* Plugins panel (link.js): status under the picture, the code in the accent */
.lk-status { background: transparent; border: 0; padding: 0 2px 4px; }
.lk-status b { font-size: 16px; font-weight: 650; }
.lk-status i { display: none; }
.lk-code { border-color: var(--acb); background: var(--acs); }
.lk-code b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lk-list { background: var(--panel); }
.lk-ic { background: var(--acs); }
.lkh { grid-template-columns: 96px minmax(40px, 1fr) 96px; padding: 22px 14px 16px; }
.lkh-tile { justify-self: center; }
.lk-steps li > .lk-note, .lk-steps li > details { grid-column: 2; margin-top: 2px; }
.lk-note li { line-height: 1.45; }
.lw-feats { list-style: none; margin: 4px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.lw-feats li { display: grid; grid-template-columns: 32px minmax(0, 1fr); align-items: center; gap: 12px; font-size: 14px; }
.lw-feats li > span { width: 32px; height: 32px; border-radius: 9px; background: var(--acs); color: var(--accent); display: grid; place-items: center; }
.lw-feats svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lw-feats small { display: block; color: var(--muted); font-size: 12px; }
.lk-steps .lk-note li, .lw-steps .lk-note li { display: list-item; }   /* the note's own list is not a step row */
