
:root {
  --ink: #ecebf5; --muted: #a29fbd; --paper: #0b0a12; --card: #17151f; --line: #2b2838; --soft: #201d2c;
  --brand: #8f7dff; --accent: #a998ff; --ok: #3ddc97; --err: #ff6b81; --hot: #ff5a7a;
  --wave-on: #9a8cff; --wave-off: #3a3650; --head: #ff5a7a;
  --panel: linear-gradient(180deg, #1d1a28 0%, #15131e 100%); --bevel: inset 0 1px 0 rgba(255,255,255,.06), inset 0 -1px 0 rgba(0,0,0,.5);
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Consolas, "Roboto Mono", monospace;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --cream: #f3eee3; --cream-ink: #2a2620; --cream-muted: #6c6457; --cream-line: #ddd4c2; --amber: #ffb547;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) { :root { --ok: #3ddc97; --line: #2b2838; } }
body.studio { background: var(--paper); color: var(--ink); }


header.top { position: sticky; top: 0; z-index: 40; background: #07060c; border-bottom: 1px solid #1d1a28; }
header.top .bar { display: flex; align-items: center; gap: 14px; height: 56px; padding: 0 16px; }
header.top .brand span { font-size: 19px; }
header.top .tag { font: 600 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #6f6a8c; border-left: 1px solid #2b2838; padding-left: 14px; }
header.top .searchbtn { margin-left: auto; display: flex; align-items: center; gap: 8px; width: auto; height: 36px; padding: 0 10px 0 12px; border-radius: 10px; background: #15131e; border: 1px solid #2b2838; color: #a29fbd; font-size: 14px; text-decoration: none; }
header.top .searchbtn kbd { font: 600 11px var(--mono); border: 1px solid #3a3650; border-radius: 5px; padding: 1px 6px; color: #8d88ad; }
header.top a.cta { display: inline-flex; align-items: center; gap: 8px; background: var(--amber); color: #1a1405; box-shadow: 0 0 0 1px rgba(0,0,0,.3), 0 6px 18px rgba(255,181,71,.25); font-weight: 800; }
header.top a.cta .ic { width: 18px; height: 18px; }
label.burger { display: none; }
@media (max-width: 1023px) {
  header.top .tag, header.top .searchbtn span, header.top .searchbtn kbd { display: none; }
  label.burger { display: flex; order: 0; width: 40px; height: 40px; padding: 0; justify-content: center; font-size: 0; border-color: #2b2838; }
  header.top .searchbtn { padding: 0 9px; }
}
@media (max-width: 480px) { header.top a.cta { font-size: 0; gap: 0; padding: 9px; } header.top a.cta .ic { width: 20px; height: 20px; } }


.shell { display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: calc(100vh - 56px); }
.rack { position: sticky; top: 56px; align-self: start; height: calc(100vh - 56px); overflow-y: auto; background: #0e0d16; border-right: 1px solid #1d1a28; padding: 14px 10px 24px; scrollbar-width: thin; scrollbar-color: #2b2838 transparent; }
.rack a { display: flex; align-items: center; gap: 10px; color: #c9c6dd; text-decoration: none; padding: 7px 10px; border-radius: 8px; font-size: 14px; border-left: 3px solid transparent; }
.rack a .ic { width: 18px; height: 18px; color: #6f6a8c; }
.rack a:hover { background: #17151f; color: #fff; } .rack a:hover .ic { color: var(--brand); }
.rack a[aria-current] { background: #1d1a2a; color: #fff; border-left-color: var(--amber); box-shadow: inset 0 0 0 1px #2b2838; }
.rack a[aria-current] .ic { color: var(--amber); }
.rk-studio { margin-bottom: 10px; background: linear-gradient(135deg, #2a2142, #1a1729); border: 1px solid #3a3157 !important; padding: 10px 12px !important; display: grid !important; grid-template-columns: auto 1fr; column-gap: 10px; }
.rk-studio .ic { grid-row: span 2; width: 26px !important; height: 26px !important; color: var(--amber) !important; }
.rk-studio b { font-size: 15px; color: #fff; } .rk-studio small { font: 600 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #9a94bd; }
.rk-studio.on { border-color: var(--amber) !important; }
.rk-group { margin: 14px 0 4px; }
.rack a.rk-h { font: 700 11px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: #7d779e; padding: 4px 10px 6px; }
.rack a.rk-h.on, .rack a.rk-h:hover { color: var(--amber); background: none; }
.rk-foot { display: flex; flex-wrap: wrap; gap: 2px; margin-top: 18px; padding-top: 12px; border-top: 1px solid #1d1a28; }
.rk-foot a { font-size: 12px; color: #77729a; padding: 4px 8px; }
main { padding: 0; min-width: 0; }
.deck { max-width: 1120px; margin: 0 auto; padding: 18px 22px 40px; }
@media (max-width: 1023px) {
  .shell { grid-template-columns: 1fr; }
  .rack { position: fixed; z-index: 50; top: 56px; left: 0; width: min(86vw, 320px); transform: translateX(-102%); transition: transform .22s ease; box-shadow: 20px 0 60px rgba(0,0,0,.6); }
  body:has(#navt:checked) .rack { transform: none; }
  body:has(#navt:checked) .shell::after { content: ""; position: fixed; inset: 56px 0 0; background: rgba(0,0,0,.55); z-index: 45; }
  .deck { padding: 12px 12px 32px; }
}


.console { position: relative; background: var(--panel); border: 1px solid #2b2838; border-radius: 18px; box-shadow: var(--bevel), 0 30px 60px rgba(0,0,0,.45); padding: 0 18px 18px; margin-bottom: 18px; }
.console::before, .console::after { content: ""; position: absolute; top: 12px; width: 7px; height: 7px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #4a4560, #16141f); box-shadow: 0 0 0 1px #0a0910; }
.console::before { left: 10px; } .console::after { right: 10px; }
.cbar { display: flex; align-items: center; gap: 12px; min-height: 40px; margin: 0 -18px 14px; padding: 6px 28px; border-bottom: 1px solid #25222f; background: rgba(0,0,0,.18); border-radius: 18px 18px 0 0; }
.cbar .crumbs { font: 600 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #77729a; }
.cbar .crumbs a { color: #a29fbd; text-decoration: none; padding: 6px 0; } .cbar .crumbs a:hover { color: var(--amber); }
.cb-l { font: 700 11px var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--amber); }
.vu { margin-left: auto; display: grid; gap: 3px; width: 120px; --l: 0; --r: 0; }
.vu i { display: block; height: 5px; border-radius: 3px; background: #241f33; position: relative; overflow: hidden; }
.vu i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--v, 0) * 100%); background: linear-gradient(90deg, #3ddc97 0 60%, #ffd35a 60% 85%, #ff5a7a 85%); transition: width .05s linear; }
.ctitle { display: flex; gap: 14px; align-items: flex-start; }
.cic { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, #2b2342, #1b1828); border: 1px solid #3a3157; color: var(--amber); box-shadow: var(--bevel); }
.cic .ic { width: 28px; height: 28px; }
.console h1 { color: #fff; font-size: 30px; margin: 2px 0 4px; letter-spacing: -.02em; }
@media (min-width: 760px) { .console h1 { font-size: 38px; } }
.console .lede { color: #b9b5d3; font-size: 16px; margin: 0 0 4px; max-width: 46em; }
.console .chips { margin: 10px 0 14px; } .console .chips li { background: #1d1a28; border-color: #2e2a3d; font: 600 12px var(--mono); letter-spacing: .04em; color: #c9c6dd; }
.console .chips .ic { color: var(--amber); width: 14px; height: 14px; }
.unit { background: #0f0e16; border: 1px solid #25222f; border-radius: 14px; padding: 14px; box-shadow: inset 0 2px 10px rgba(0,0,0,.5); }
.console.slim { padding-bottom: 12px; } .console.slim h1 { font-size: 30px; }
.console .toolbox, .toolbox { background: none; border: 0; box-shadow: none; padding: 0; }


.unit .drop { border-color: #3a3650; background: repeating-linear-gradient(135deg, rgba(255,255,255,.015) 0 10px, transparent 10px 20px); }
.unit .drop:hover, .unit .drop.over { border-color: var(--amber); background: rgba(255,181,71,.06); }
.unit .drop-ic { background: var(--amber); box-shadow: 0 10px 24px rgba(255,181,71,.25); }
.unit .drop-in small { color: var(--ok); }
.unit .wavebox { background: #07060c; border: 1px solid #25222f; border-radius: 10px; }
.unit .btn { background: var(--brand); box-shadow: 0 6px 16px rgba(143,125,255,.3); }
.unit .btn.ghost { background: transparent; color: #cfc9ff; border-color: #3a3650; box-shadow: none; }
.unit .btn.dl { background: var(--amber); color: #1a1405; box-shadow: 0 6px 16px rgba(255,181,71,.25); }
.unit .chip { background: #1a1824; color: #d8d4ee; border-color: #2e2a3d; font: 700 12px var(--mono); letter-spacing: .05em; text-transform: uppercase; }
.unit .chip.on { background: var(--amber); color: #1a1405; border-color: transparent; }
.unit .ab { background: #07060c; border-color: #2e2a3d; } .unit .ab button.on { background: #2b2640; color: #fff; }
.unit .status, .unit .time { font-family: var(--mono); font-size: 13px; }
.unit .export { border-top-color: #25222f; }
.unit .next:not(:empty) { background: rgba(255,181,71,.06); border-color: rgba(255,181,71,.25); }
.unit .next a { background: #1a1824; border-color: #2e2a3d; color: #ffd28a; }
.unit select, .unit input[type=number], .unit input[type=text] { background: #07060c; color: var(--ink); border-color: #2e2a3d; }
.unit .readout b, .unit .readout b.note { color: var(--amber); }
.unit .result .big { background: #07060c; border: 1px solid #25222f; } .unit .result .big.alt { background: #15131e; color: var(--ink); }
.unit .result .big small, .unit .ckout .big small { color: var(--amber); }


.controls.knobs { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: flex-start; }
.controls.knobs > .pick, .controls.knobs > .check, .controls.knobs > .trimrow { flex: 1 1 100%; }
.ctl.knob { display: grid; grid-template-columns: none; justify-items: center; gap: 4px; width: 96px; position: relative; text-align: center; }
.ctl.knob .cl { order: 2; font: 700 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #a29fbd; grid-row: auto; grid-column: auto; }
.ctl.knob output { order: 3; font: 700 13px var(--mono); color: var(--amber); grid-row: auto; grid-column: auto; }
.ctl.knob input[type=range] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.kn { order: 1; width: 64px; height: 64px; cursor: ns-resize; touch-action: none; border-radius: 50%; }
.kn .tr { fill: none; stroke: #25222f; stroke-width: 5; stroke-linecap: round; }
.kn .vl { fill: none; stroke: var(--amber); stroke-width: 5; stroke-linecap: round; filter: drop-shadow(0 0 4px rgba(255,181,71,.5)); }
.kn .cap { fill: #26222f; stroke: #0a0910; stroke-width: 1.5; }
.kn .pt { stroke: #fff; stroke-width: 3; stroke-linecap: round; }
.ctl.knob:focus-within .kn { outline: 2px solid var(--amber); outline-offset: 3px; }


.howto.flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 16px 0 0; background: #100f17; border: 1px solid #25222f; border-radius: 14px; overflow: hidden; }
.howto.flow li { background: none; border: 0; border-radius: 0; padding: 12px 14px 12px 50px; font-size: 13px; color: #a29fbd; border-right: 1px solid #25222f; }
.howto.flow li:last-child { border-right: 0; }
.howto.flow li::before { background: #1d1a28; color: var(--amber); border: 1px solid #3a3157; font-family: var(--mono); width: 26px; height: 26px; top: 12px; left: 12px; font-size: 13px; }
.howto.flow b { color: #fff; font-size: 14px; }
@media (max-width: 759px) { .howto.flow { grid-template-columns: 1fr; } .howto.flow li { border-right: 0; border-bottom: 1px solid #25222f; } .howto.flow li:last-child { border-bottom: 0; } }


.doctabs { position: sticky; top: 56px; z-index: 20; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin: 8px 0 0; padding: 8px 0; background: var(--paper); }
.doctabs::-webkit-scrollbar { display: none; }
.doctabs a { font: 700 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: #a29fbd; padding: 10px 16px; border-radius: 10px 10px 0 0; border: 1px solid transparent; border-bottom: 0; white-space: nowrap; }
.doctabs a:hover { color: #fff; } .doctabs a.on { background: var(--cream); color: var(--cream-ink); border-color: var(--cream-line); }
.liner { background: var(--cream); color: var(--cream-ink); border-radius: 0 16px 16px 16px; padding: 26px 28px 30px; box-shadow: 0 30px 60px rgba(0,0,0,.35); --ink: var(--cream-ink); --muted: var(--cream-muted); --line: var(--cream-line); --card: #fbf8f1; --soft: #ebe4d6; --accent: #5b45d6; --brand: #5b45d6; color-scheme: light; }
.liner .prose { font-family: var(--serif); font-size: 18.5px; }
.liner .prose p { line-height: 1.7; max-width: 38em; }
.liner .prose h2 { font-family: var(--sans); font-weight: 800; letter-spacing: -.015em; color: #17140f; border-top: 1px solid var(--cream-line); padding-top: 22px; margin-top: 40px; }
.liner .prose h2::before { background: var(--amber); width: 28px; }
.liner .prose > .panel > h2:first-child { border-top: 0; margin-top: 0; padding-top: 18px; }
.liner .prose a { color: #4a35c9; }
.liner .faq details { background: #fbf8f1; border-color: var(--cream-line); font-family: var(--sans); }
.liner .faq summary { color: #17140f; }
.liner .datablock { font-family: var(--sans); margin-top: 30px; } .liner .datablock h2 { margin-top: 0; }
.liner .tbl { background: #fbf8f1; } .liner .tbl th { background: #ebe4d6; color: #17140f; } .liner .tbl td, .liner .tbl th { border-color: var(--cream-line); }
.liner .patch { margin-top: 30px; border-top: 1px solid var(--cream-line); padding-top: 6px; font-family: var(--sans); }
.liner .grid a { background: #fbf8f1; border-color: var(--cream-line); color: #17140f; } .liner .grid a span { color: var(--cream-muted); } .liner .grid a .tic { background: #ebe4d6; color: #5b45d6; }
.liner .prose > .panel > h2 + p { font-size: 20px; }
body.tabs-on .liner [data-panel][hidden] { display: none; }
@media (max-width: 759px) { .liner { padding: 20px 16px 24px; border-radius: 0 0 14px 14px; } .liner .prose { font-size: 17.5px; } }
.pager, .shared { margin-top: 18px; }
.pager a { background: var(--card); border-color: var(--line); color: var(--ink); }
.shared { color: var(--muted); }


.modules { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.modules a { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; align-items: center; text-decoration: none; color: var(--ink); background: linear-gradient(180deg, #1c1a26, #15131e); border: 1px solid #2b2838; border-radius: 12px; padding: 12px; box-shadow: var(--bevel); transition: border-color .15s, transform .15s; }
.modules a .tic { grid-row: span 2; width: 38px; height: 38px; border-radius: 10px; background: #0f0e16; border: 1px solid #2b2838; display: grid; place-items: center; color: var(--amber); }
.modules a b { font-size: 15px; } .modules a span { font-size: 13px; color: var(--muted); }
.modules a:hover { border-color: var(--amber); transform: translateY(-1px); }
.racks { margin: 26px 0; } .racks > h2 { font: 800 22px var(--sans); }
.rackrow { margin: 18px 0; } .rackrow h3 { margin: 0 0 2px; font: 700 12px var(--mono); letter-spacing: .16em; text-transform: uppercase; } .rackrow h3 a { color: var(--amber); text-decoration: none; }
.rackrow .hint { margin: 0 0 10px; }
.console .modules { margin-top: 14px; }


.chain { display: grid; gap: 10px; }
.chain .mods { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x proximity; }
.mod { flex: 0 0 auto; min-width: 230px; background: linear-gradient(180deg, #211e2e, #17151f); border: 1px solid #332f45; border-radius: 12px; padding: 10px 12px 12px; box-shadow: var(--bevel); scroll-snap-align: start; position: relative; }
.mod.off { opacity: .45; }
.mod header { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; position: static; background: none; border: 0; }
.mod header b { font: 800 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #fff; flex: 1; }
.mod header button { width: 28px; height: 28px; border-radius: 7px; border: 1px solid #332f45; background: #12101a; color: #cfc9ff; cursor: pointer; font-size: 13px; padding: 0; }
.mod header .led { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); border: 0; cursor: pointer; }
.mod.off header .led { background: #3a3650; box-shadow: none; }
.mod .controls.knobs { gap: 8px 10px; } .mod .ctl.knob { width: 78px; } .mod .kn { width: 54px; height: 54px; }
.mod + .mod::before { content: ""; position: absolute; left: -11px; top: 50%; width: 10px; height: 2px; background: var(--amber); }
.addmod { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.addmod .hint { font: 700 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #8d88ad; margin-right: 4px; }
.addmod .chip::before { content: "+ "; }
.recipes { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.recipes .hint { font: 700 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #8d88ad; margin-right: 4px; }
.chain .empty { border: 1px dashed #3a3650; border-radius: 12px; padding: 18px; text-align: center; color: var(--muted); font-size: 14px; }


footer { background: #07060c; border-top: 1px solid #1d1a28; margin-top: 30px; }
footer .fwrap { max-width: 1120px; margin: 0 auto; padding: 26px 22px; }
footer .fgrid { display: flex; flex-wrap: wrap; gap: 8px 18px; } footer .fgrid .fh { display: none; } footer .fgrid div { display: flex; flex-wrap: wrap; gap: 6px 16px; }
footer a { color: #a29fbd; } footer .fbase p { color: #77729a; }
.searchbtn .ic { width: 18px; height: 18px; }
.eq { display: none; }
@media (prefers-reduced-motion: reduce) { .rack, .vu i::after, .modules a { transition: none; } }
.controls.chain { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.controls.chain .recipes, .controls.chain .addmod { grid-column: 1 / -1; }
@media (max-width: 759px) {
  .ctitle .cic { display: none; }
  .console .lede { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 15px; }
  .console .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } .console .chips li { white-space: nowrap; }
  .console { padding: 0 12px 12px; } .cbar { margin: 0 -12px 12px; padding: 6px 22px; } .unit { padding: 10px; }
  .vu { width: 70px; }
}


.ad { display: block; margin: 18px auto; text-align: center; }
.ad-l { display: block; font: 600 10px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.ad ins { display: block; min-height: 100px; }
.ad-after-console ins, .ad-after-racks ins { min-height: 100px; } @media (min-width: 760px) { .ad-after-console ins, .ad-after-racks ins { min-height: 90px; max-width: 970px; margin: 0 auto; } }
.liner .ad-in-guide { margin: 30px 0; padding: 10px 0; border-top: 1px solid var(--cream-line); border-bottom: 1px solid var(--cream-line); } .liner .ad-in-guide ins { min-height: 280px; }


#tool[data-tool=chain] > .controls.chain { margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid #25222f; }
.chainhint { color: #b9b5d3 !important; }
.recipes.recent .chip { border-style: dashed; }
.tasks { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; margin: 14px 0 0; font-size: 14px; }
.tasks span { font: 700 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #8d88ad; margin-right: 4px; }
.tasks a { color: #e6e2ff; text-decoration: none; padding: 6px 12px; border-radius: 999px; background: #1a1824; border: 1px solid #2e2a3d; }
.tasks a:hover { border-color: var(--amber); color: #fff; }
.status.saved { color: var(--ok); } .status.saved::before { content: "\2713  "; }
.console.home .lede { -webkit-line-clamp: unset; display: block; }
@media (pointer: coarse) {
  .ctl.knob { width: calc(50% - 12px); min-width: 140px; }
  .ctl.knob input[type=range] { position: static; width: 100%; height: 32px; opacity: 1; pointer-events: auto; order: 4; }
  .kn { pointer-events: none; touch-action: auto; width: 46px; height: 46px; }
  .mod .ctl.knob { width: 140px; }
}
footer .fgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
footer .fgrid .fh { display: block; font: 700 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--amber); margin: 0 0 6px; }
footer .fgrid div { display: flex; flex-direction: column; gap: 6px; }


.liner h2, .liner .faq, .liner .datablock h2, .patch h2 { scroll-margin-top: 128px; }
.unit .btn:not(.ghost):not(.dl), .unit .btn.big { background: #6a55ec; box-shadow: 0 6px 16px rgba(106,85,236,.35); }
.gauge::before { background: conic-gradient(from 270deg at 50% 100%, #ff5a7a 0deg, #ffd35a 50deg, #12a37a 90deg, #ffd35a 130deg, #ff5a7a 180deg, #ff5a7a 360deg); }
.unit { min-width: 0; } .unit .work, .unit .wavebox, .unit canvas, .unit .export, .unit .trimrow { max-width: 100%; min-width: 0; }
.unit .trimrow { flex-wrap: wrap; } .unit .trimrow input { width: 84px; }
.scrim { display: none; }
@media (max-width: 1023px) {
  body:has(#navt:checked) .shell::after { content: none; }
  body:has(#navt:checked) .scrim { display: block; position: fixed; inset: 56px 0 0; background: rgba(0,0,0,.55); z-index: 45; cursor: pointer; }
}
.wheel .wedge text { fill: #fff; paint-order: stroke; stroke: rgba(10,8,20,.7); stroke-width: 3px; stroke-linejoin: round; font-size: 13px; }
.wheel .wedge text.knm { font-size: 11px; font-weight: 700; fill: #f3f1ff; }
.wheel .wedge.on text, .wheel .wedge.fit text { fill: #fff; } .wheel .wedge.on text.knm, .wheel .wedge.fit text.knm { fill: #fff; }
.mod header button { width: 36px; height: 36px; } .mod header .led { width: 24px; height: 24px; background: radial-gradient(circle, var(--ok) 0 4px, transparent 5px); box-shadow: none; }
.mod.off header .led { background: radial-gradient(circle, #3a3650 0 4px, transparent 5px); }
@media (max-width: 759px) {
  .controls.chain .recipes, .controls.chain .addmod { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .controls.chain .chip { white-space: nowrap; }
  .chain .mods { scroll-padding: 0 24px; } .mod { min-width: 78vw; }
  .strings { flex-wrap: nowrap; width: 100%; gap: 6px; } .strings button { flex: 1 1 0; min-width: 0; padding: 6px 2px; }
  .tone .row2, .metro .row2, .tuner .row2 { justify-content: flex-start; } .tone .row2 label, .metro .row2 label { flex: 1 1 140px; }
  .metro .nudge { grid-template-columns: repeat(2, 44px) 1fr repeat(2, 44px); width: 100%; }
}
@media (pointer: coarse) { label.burger, header.top .searchbtn { min-width: 44px; height: 44px; } .doctabs a { padding: 13px 16px; } footer a { padding: 6px 0; } }
.totop { background: var(--amber); color: #1a1405; }
.liner { margin-top: 0; } .console { box-shadow: var(--bevel), 0 18px 30px rgba(0,0,0,.45); }
.hint, .unit .hint { color: #b2aed0; } .liner .hint { color: #5d5649; }


@media (max-width: 1023px) {
  .rack { visibility: hidden; transition: transform .22s ease, visibility 0s linear .22s; }
  body:has(#navt:checked) .rack { visibility: visible; transition: transform .22s ease, visibility 0s; }
}
.shell > footer { grid-column: 2; } @media (max-width: 1023px) { .shell > footer { grid-column: 1; } }
.readout { font-variant-numeric: tabular-nums; } .mic .readout { min-height: 3.2em; } .mic .verdict { display: block; min-height: 2.8em; }
.tuner .readout { min-height: 150px; } .tuner .readout .cents { min-height: 1.4em; }
#tool[data-tool=guitar-tuner], #tool[data-tool=ukulele-tuner], #tool[data-tool=chromatic-tuner] { min-height: 660px; } #tool[data-tool=mic-test] { min-height: 580px; }
#tool[data-tool=chain] { min-height: 520px; } #tool[data-tool=slowed-reverb], #tool[data-tool=bass-booster], #tool[data-tool=volume-booster], #tool[data-tool=8d-audio], #tool[data-tool=nightcore], #tool[data-tool=reverb] { min-height: 300px; }
.liner .panel { scroll-margin-top: 128px; }
header.top .tag, .rk-foot a { color: #9590b5; }
.ad ins { min-height: 280px; } @media (min-width: 760px) { .ad-after-liner ins, .ad-after-racks ins { min-height: 100px; } }


.brand b { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--amber); }
.brand svg { width: 32px; height: 32px; }

.liner { background: linear-gradient(180deg, #16141f 0%, #121019 100%); color: #d6d3e6; border: 1px solid #25222f; box-shadow: var(--bevel), 0 18px 30px rgba(0,0,0,.35);
  --ink: #ecebf5; --muted: #a29fbd; --line: #2b2838; --card: #1a1824; --soft: #201d2c; --accent: #b3a6ff; --brand: #8f7dff; color-scheme: dark; }
.liner .prose { font-family: var(--sans); font-size: 17.5px; }
.liner .prose p { line-height: 1.75; max-width: 70ch; color: #d6d3e6; }
.liner .prose h2 { font-family: var(--sans); color: #fff; border-top: 1px solid #25222f; letter-spacing: -.01em; }
.liner .prose h2::before { background: var(--amber); box-shadow: 0 0 10px rgba(255,181,71,.45); }
.liner .prose > .panel > h2 + p { font-size: 19px; color: #ecebf5; }
.liner .prose a { color: #c9bfff; text-decoration-color: rgba(201,191,255,.45); } .liner .prose a:hover { color: var(--amber); }
.liner .faq details { background: #1a1824; border-color: #2b2838; } .liner .faq summary { color: #fff; } .liner .faq details p { color: #cfcbe2; }
.liner .faq details[open] { border-color: #3a3157; }
.liner .tbl { background: #15131e; } .liner .tbl th { background: #201d2c; color: #fff; } .liner .tbl td, .liner .tbl th { border-color: #2b2838; color: #d6d3e6; }
.liner .tbl caption { color: var(--muted); }
.liner .patch { border-top-color: #25222f; }
.liner .grid a { background: linear-gradient(180deg, #1c1a26, #15131e); border-color: #2b2838; color: #fff; } .liner .grid a span { color: var(--muted); } .liner .grid a .tic { background: #0f0e16; color: var(--amber); border: 1px solid #2b2838; }
.liner .grid a:hover { border-color: var(--amber); }
.liner .hint { color: #a29fbd; }
.liner .ad-in-guide { border-color: #25222f; }
.doctabs a.on { background: #16141f; color: var(--amber); border-color: #25222f; box-shadow: inset 0 2px 0 var(--amber); }
.doctabs a:hover { color: #fff; }
