/* PXLGEN Sub Presets (editor/subpresets.js). Own file so editor.css stays untouched. Square edges, dark, minimal. */
/* Oct 17 (Camaron): LOOK MANAGER panel. Header (eyebrow + group / preset name, rename inline + meta), the looks as equal-width
   numbered chips (live look in white), then one aligned action row: + Add Look · Fade · Manage. Single preset: empty state. */
.sp-bar{position:fixed;z-index:30;display:grid;gap:calc(10px * var(--ui, 1));padding:calc(12px * var(--ui, 1));background:#0b0b0d;border:1px solid var(--line-2);box-shadow:0 20px 60px -30px #000;border-radius:0}
.sp-bar.sp-over{background:#0b0b0d}
.sp-head{display:flex;align-items:center;gap:calc(12px * var(--ui, 1));min-width:0;height:calc(28px * var(--ui, 1))}
.sp-k{flex:none;font:400 calc(10px * var(--ui, 1))/1 var(--font-mono);letter-spacing:.18em;text-transform:uppercase;color:var(--dim)}
.sp-hname{min-width:0;display:inline-flex;align-items:center;gap:calc(8px * var(--ui, 1));height:calc(28px * var(--ui, 1));padding:0 calc(8px * var(--ui, 1));margin-left:calc(-8px * var(--ui, 1));border:1px solid transparent;color:var(--fg);background:none;border-radius:0}
.sp-hname b{font-weight:600;font-size:calc(14px * var(--ui, 1));white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sp-hname svg{flex:none;width:calc(11px * var(--ui, 1));height:calc(11px * var(--ui, 1));color:var(--dim);opacity:0;transition:opacity .15s}
.sp-hname:hover,.sp-hname:focus-visible{border-color:var(--line-2)}
.sp-hname:hover svg,.sp-hname:focus-visible svg{opacity:1}
.sp-hform{flex:1;min-width:0;display:flex}
.sp-hin{flex:1;min-width:0;height:calc(28px * var(--ui, 1));padding:0 calc(8px * var(--ui, 1));margin-left:calc(-8px * var(--ui, 1));border:1px solid var(--fg);background:rgb(255 255 255/.04);color:var(--fg);font:inherit;font-weight:600;font-size:calc(14px * var(--ui, 1));outline:none;border-radius:0}
.sp-meta{flex:none;margin-left:auto;font:500 calc(10.5px * var(--ui, 1))/1 var(--font-mono);letter-spacing:.06em;text-transform:uppercase;color:var(--dim);white-space:nowrap}
.sp-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(calc(128px * var(--ui, 1)),1fr));gap:calc(4px * var(--ui, 1))}
.sp-cw{position:relative;min-width:0;display:flex}
.sp-sw{position:relative;flex:1;min-width:0;display:flex;align-items:center;gap:calc(8px * var(--ui, 1));height:calc(36px * var(--ui, 1));padding:0 calc(12px * var(--ui, 1)) 0 calc(10px * var(--ui, 1));border:1px solid var(--line);background:rgb(255 255 255/.02);color:var(--mute);font-size:calc(12.5px * var(--ui, 1));font-weight:500;white-space:nowrap;overflow:hidden;text-align:left;border-radius:0;transition:border-color .2s,color .2s,background .2s}
.sp-sw i{flex:none;font:500 calc(10px * var(--ui, 1))/1 var(--font-mono);color:var(--dim);font-style:normal;min-width:calc(10px * var(--ui, 1));text-align:center}
.sp-sw span{min-width:0;overflow:hidden;text-overflow:ellipsis}
.sp-sw:hover{color:var(--fg);border-color:var(--line-2)}
.sp-sw.on{color:#050505;border-color:#fff;background:#fff;font-weight:600}
.sp-sw.on i{color:#050505}
/* Save / Revert overlay the right end of a chip (hover or focus on desktop, always on the live chip with edits) + edited dot */
.sp-sw .sp-dot{position:absolute;top:calc(5px * var(--ui, 1));right:calc(5px * var(--ui, 1));width:calc(5px * var(--ui, 1));height:calc(5px * var(--ui, 1));background:var(--fg);box-shadow:0 0 6px rgb(255 255 255/.6)}
.sp-sw.on .sp-dot{background:#050505;box-shadow:none}
/* Oct 17: Save / Revert get their own space instead of covering the name. The live chip (and any chip with unsaved edits) spans two
   grid columns and keeps a 60px action block beside it (shown on hover / focus / unsaved); every other chip stays one equal column. */
.sp-cw.on,.sp-cw.dirty{grid-column:span 2}
.sp-ia{flex:none;display:none;align-items:stretch;border:1px solid var(--line-2);border-left:0;background:#0b0b0d}
.sp-cw.on .sp-ia,.sp-cw.dirty .sp-ia{display:flex;visibility:hidden}
.sp-cw:hover .sp-ia,.sp-cw:focus-within .sp-ia,.sp-cw.dirty .sp-ia{visibility:visible}
.sp-ib{width:calc(30px * var(--ui, 1));display:grid;place-items:center;color:var(--fg);background:none;border:0;padding:0;cursor:pointer}
.sp-ib+.sp-ib{border-left:1px solid var(--line)}
.sp-ib svg{width:calc(13px * var(--ui, 1));height:calc(13px * var(--ui, 1))}
.sp-ib:hover:not(:disabled){background:#fff;color:#050505}
.sp-ib:disabled{color:var(--dim);cursor:default}
.sp-fill{position:absolute;left:0;right:0;bottom:0;height:2px;background:var(--fg);transform:scaleX(0);transform-origin:left;pointer-events:none}
.sp-sw.on .sp-fill{background:#050505}
.sp-sw.fading .sp-fill{display:block}
.sp-sw:not(.fading) .sp-fill{display:none}
.sp-empty{margin:0;font-size:calc(12.5px * var(--ui, 1));line-height:1.45;color:var(--mute)}
.sp-acts{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:calc(4px * var(--ui, 1))}
.sp-single .sp-acts{grid-template-columns:1fr}
.sp-plus,.sp-manage{min-width:0;display:flex;align-items:center;justify-content:center;gap:calc(8px * var(--ui, 1));height:calc(36px * var(--ui, 1));padding:0 calc(12px * var(--ui, 1));border:1px solid var(--line-2);background:rgb(255 255 255/.03);color:var(--fg);font-size:calc(12.5px * var(--ui, 1));font-weight:600;white-space:nowrap;border-radius:0}
.sp-plus svg{width:calc(10px * var(--ui, 1));height:calc(10px * var(--ui, 1))}
.sp-plus:hover,.sp-manage:hover{border-color:var(--fg)}
.sp-plus:disabled{opacity:.4;cursor:not-allowed}
.sp-manage{font-weight:500;color:var(--mute)}
.sp-fade{display:flex;align-items:center;height:calc(36px * var(--ui, 1));border:1px solid var(--line);font:500 calc(10.5px * var(--ui, 1))/1 var(--font-mono);letter-spacing:.06em;text-transform:uppercase;color:var(--dim)}
.sp-fade span{padding:0 calc(6px * var(--ui, 1)) 0 calc(12px * var(--ui, 1))}
.sp-fade b{min-width:calc(38px * var(--ui, 1));text-align:center;color:var(--fg);font-weight:500}
.sp-fade button{width:calc(28px * var(--ui, 1));height:100%;color:var(--mute);font:500 calc(14px * var(--ui, 1))/1 var(--font-mono)}
.sp-fade button:hover{color:var(--fg)}
/* add popover + shared add form */
.sp-pop{position:fixed;z-index:90;width:min(calc(380px * var(--ui, 1)),calc(100vw - calc(16px * var(--ui, 1))));padding:calc(14px * var(--ui, 1));background:#111214;border:1px solid var(--line-2);box-shadow:0 40px 120px -30px #000;border-radius:0}
.sp-pop[hidden]{display:none}
.sp-pop-t{display:flex;align-items:baseline;justify-content:space-between;gap:calc(10px * var(--ui, 1));margin:0 0 calc(10px * var(--ui, 1));font-weight:600;font-size:calc(14px * var(--ui, 1))}
.sp-pop-t small{font:400 calc(11px * var(--ui, 1))/1.2 var(--font-mono);color:var(--dim);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sp-add{display:grid;gap:calc(8px * var(--ui, 1))}
.sp-add-row,.sp-rename,.sp-confirm{display:flex;gap:calc(6px * var(--ui, 1));align-items:center;min-width:0}
.sp-add-name,.sp-rename input{flex:1;min-width:0;height:calc(40px * var(--ui, 1));padding:0 calc(12px * var(--ui, 1));border:1px solid var(--line-2);background:rgb(255 255 255/.04);color:var(--fg);font:inherit;font-size:calc(14px * var(--ui, 1));outline:none;border-radius:0}
.sp-add-name:focus,.sp-rename input:focus{border-color:var(--fg)}
.sp-btn{flex:none;height:calc(40px * var(--ui, 1));padding:0 calc(14px * var(--ui, 1));border:1px solid var(--line-2);color:var(--fg);background:rgb(255 255 255/.03);font-weight:600;font-size:calc(13px * var(--ui, 1));border-radius:0}
.sp-btn:hover{border-color:var(--fg)}
.sp-btn-accent,.sp-del{background:#fff;color:#050505;border-color:#fff}
.sp-chips{display:flex;flex-wrap:wrap;gap:calc(4px * var(--ui, 1))}
.sp-chip{height:calc(28px * var(--ui, 1));padding:0 calc(10px * var(--ui, 1));border:1px solid var(--line);color:var(--mute);background:rgb(255 255 255/.02);font-size:calc(12px * var(--ui, 1));font-weight:500;border-radius:0}
.sp-chip:hover{color:var(--fg);border-color:var(--line-2)}
.sp-chip.on{color:var(--fg);border-color:var(--fg);background:rgb(255 255 255/.07)}
.sp-file{margin:0;font:500 calc(11px * var(--ui, 1))/1.2 var(--font-mono);letter-spacing:.04em;color:var(--fg);opacity:.75}
.sp-file::before{content:"File  ";color:var(--dim);white-space:pre}
.sp-hint{margin:0;font-size:calc(11.5px * var(--ui, 1));line-height:1.4;color:var(--dim)}
/* nested list under a preset row (My Presets dialog + phone Looks sheet) */
.mp-act.sp-tg{width:calc(56px * var(--ui, 1));display:flex;align-items:center;justify-content:center;gap:calc(6px * var(--ui, 1))}
.sp-tg .sp-count{min-width:calc(18px * var(--ui, 1));height:calc(18px * var(--ui, 1));padding:0 calc(4px * var(--ui, 1));display:grid;place-items:center;background:rgb(255 255 255/.08);color:var(--fg);font:500 calc(10.5px * var(--ui, 1))/1 var(--font-mono)}
.sp-tg svg{width:calc(9px * var(--ui, 1));height:calc(9px * var(--ui, 1));transition:transform .2s}
.sp-tg.open svg{transform:rotate(180deg)}
.sp-tg.open{color:var(--fg);border-color:var(--line-2)}
.sp-nest{display:grid;gap:calc(4px * var(--ui, 1));margin:-2px 0 calc(4px * var(--ui, 1)) calc(18px * var(--ui, 1));padding-left:calc(12px * var(--ui, 1));border-left:1px solid var(--line-2)}
.sp-row{display:flex;align-items:stretch;gap:calc(4px * var(--ui, 1));min-height:calc(46px * var(--ui, 1))}
.sp-item{flex:1;min-width:0;display:flex;align-items:center;gap:calc(10px * var(--ui, 1));padding:calc(6px * var(--ui, 1)) calc(10px * var(--ui, 1));border:1px solid var(--line);background:rgb(255 255 255/.015);text-align:left;color:var(--fg);border-radius:0}
.sp-row.on .sp-item{border-color:var(--fg);background:rgb(255 255 255/.07)}
.sp-n{flex:none;width:calc(20px * var(--ui, 1));height:calc(20px * var(--ui, 1));display:grid;place-items:center;border:1px solid var(--line-2);font:500 calc(10.5px * var(--ui, 1))/1 var(--font-mono);font-style:normal;color:var(--mute)}
.sp-row.on .sp-n{background:#fff;color:#050505;border-color:#fff}
.sp-item span{min-width:0;display:flex;flex-direction:column;gap:calc(3px * var(--ui, 1))}
.sp-item b{font-weight:600;font-size:calc(13.5px * var(--ui, 1));white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sp-item small{font:500 calc(10.5px * var(--ui, 1))/1.2 var(--font-mono);letter-spacing:.04em;color:var(--mute);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sp-act{flex:none;width:calc(34px * var(--ui, 1));display:grid;place-items:center;border:1px solid var(--line);color:var(--mute);border-radius:0}
.sp-act svg{width:calc(11px * var(--ui, 1));height:calc(11px * var(--ui, 1))}
.sp-act:hover:not(:disabled){color:var(--fg);border-color:var(--line-2)}
.sp-act:disabled{opacity:.3}
.sp-confirm span{flex:1;min-width:0;padding-left:calc(4px * var(--ui, 1));font-size:calc(13px * var(--ui, 1));white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sp-new{display:flex;align-items:center;gap:calc(8px * var(--ui, 1));height:calc(40px * var(--ui, 1));padding:0 calc(12px * var(--ui, 1));border:1px dashed var(--line-2);color:var(--fg);font-weight:600;font-size:calc(13px * var(--ui, 1));text-align:left;border-radius:0}
.sp-new svg{width:calc(10px * var(--ui, 1));height:calc(10px * var(--ui, 1))}
.sp-new small{margin-left:auto;font-weight:400;font-size:calc(11px * var(--ui, 1));color:var(--dim)}
.sp-new:hover{border-color:var(--fg)}
.sp-nest .sp-add{padding:calc(10px * var(--ui, 1));border:1px solid var(--line-2);background:#0b0b0d}
/* export target */
.sp-ex-list{display:flex;flex-wrap:wrap;gap:calc(4px * var(--ui, 1))}
.sp-ex-file{font-family:var(--font-mono);letter-spacing:.03em}
html.phone .sp-add-name,html.phone .sp-rename input{font-size:calc(16px * var(--ui, 1));height:calc(44px * var(--ui, 1))}
html.phone .sp-act{width:calc(40px * var(--ui, 1))}
html.phone .sp-nest{margin-left:calc(8px * var(--ui, 1));padding-left:calc(8px * var(--ui, 1))}
/* the My Presets dialog gets room for the nested sub preset actions */
.mp-dialog-card{width:min(calc(600px * var(--ui, 1)),calc(100vw - calc(32px * var(--ui, 1))))}
/* phone home sheet is a scrolling flex column: keep every block at its natural height so the switcher never squeezes the layer chips */
html.phone .m-home > *{flex-shrink:0}
html.phone .sp-bar.sp-phone{flex:none;margin:0}
/* phone nested rows: name on its own line, actions underneath, nothing wider than the sheet */
html.phone .sp-row{flex-wrap:wrap}
html.phone .sp-row .sp-item{flex:1 1 100%}
html.phone .sp-row .sp-act{flex:1;height:calc(40px * var(--ui, 1))}
html.phone .mp-act.sp-tg{width:calc(52px * var(--ui, 1))}
html.phone .sp-nest{min-width:0;max-width:100%}
html.phone .sp-new small{display:none}
/* phone app mode: bar heads the Layers pane in the sheet */
.m-pane .sp-bar.sp-phone{margin:calc(4px * var(--ui, 1)) var(--m-pad-r,calc(18px * var(--ui, 1))) calc(12px * var(--ui, 1)) var(--m-pad-l,calc(18px * var(--ui, 1)))}
/* preset groups (My Presets dialog + phone Looks sheet): a group = header row + its looks; conversion form fields */
.mp-group{display:grid;gap:calc(4px * var(--ui, 1))}
.mp-row.mp-gh .mp-item{background:none;border-color:var(--line);border-bottom-color:var(--line-2)}
.mp-row.mp-gh .mp-item b{font-size:calc(15px * var(--ui, 1))}
.mp-row.mp-gh.on .mp-item{border-color:var(--line-2);border-bottom-color:var(--fg);background:none}
.mp-act.mp-tg svg{width:calc(9px * var(--ui, 1));height:calc(9px * var(--ui, 1));transition:transform .2s}
.mp-act.mp-tg.open svg{transform:rotate(180deg)}
.sp-act.sp-spc{visibility:hidden;pointer-events:none}
.sp-nest-add{margin-top:-2px}
.sp-lab{display:grid;gap:calc(6px * var(--ui, 1))}
.sp-lab span{font:400 calc(10px * var(--ui, 1))/1 var(--font-mono);letter-spacing:.18em;text-transform:uppercase;color:var(--dim)}
.sp-main-name{height:calc(40px * var(--ui, 1));padding:0 calc(12px * var(--ui, 1));border:1px solid var(--line-2);background:rgb(255 255 255/.04);color:var(--fg);font:inherit;font-size:calc(14px * var(--ui, 1));outline:none;border-radius:0}
.sp-main-name:focus{border-color:var(--fg)}
.sp-conv .sp-hint{margin-top:-2px}
/* Browse menu: a group header with its looks indented underneath */
.menu-presets button:has(.mp-mh) > span{flex:1;min-width:0;display:flex;align-items:baseline;justify-content:space-between;gap:calc(10px * var(--ui, 1))}
.mp-mh{font-weight:600;color:var(--fg);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mp-mc{flex:none;font:500 calc(10px * var(--ui, 1))/1 var(--font-mono);letter-spacing:.06em;text-transform:uppercase;color:var(--dim)}
.menu-presets button:has(.mp-mi){padding-top:calc(6px * var(--ui, 1));padding-bottom:calc(6px * var(--ui, 1))}
.mp-mi{display:flex;align-items:center;gap:calc(10px * var(--ui, 1));padding-left:calc(12px * var(--ui, 1));border-left:1px solid var(--line-2);min-height:calc(20px * var(--ui, 1))}
.mp-mi em{font:500 calc(10px * var(--ui, 1))/1 var(--font-mono);font-style:normal;color:var(--dim);min-width:calc(10px * var(--ui, 1))}
/* phone: panel heads the Layers pane; 2-up chips, the action row stays one line */
.sp-bar.sp-phone{position:static;width:auto;margin:calc(14px * var(--ui, 1)) 0 calc(4px * var(--ui, 1));padding:calc(12px * var(--ui, 1))}
.sp-bar.sp-phone .sp-list{grid-template-columns:repeat(2,minmax(0,1fr))}
.sp-bar.sp-phone .sp-sw,.sp-bar.sp-phone .sp-plus,.sp-bar.sp-phone .sp-manage,.sp-bar.sp-phone .sp-fade{height:calc(44px * var(--ui, 1))}
.sp-bar.sp-phone .sp-fade span{display:none}
.sp-bar.sp-phone .sp-fade b{min-width:calc(34px * var(--ui, 1))}
html.phone .sp-cw.on .sp-ia{display:flex;visibility:visible}
html.phone .sp-ib{width:calc(40px * var(--ui, 1))}
html.phone .sp-hname svg{opacity:1}
html.phone .sp-hin{font-size:calc(16px * var(--ui, 1))}
html.phone .sp-main-name{font-size:calc(16px * var(--ui, 1));height:calc(44px * var(--ui, 1))}
html.phone .sp-act.sp-spc{display:none}

/* Oct 26: flatter peer looks in groups — less nested chrome */
.sp-nest .sp-row{display:flex;align-items:center;gap:calc(6px * var(--ui, 1));min-height:calc(40px * var(--ui, 1));padding:2px 0;border-bottom:1px solid rgb(255 255 255/.08)}
.sp-nest .sp-item{flex:1;min-width:0;justify-content:flex-start;gap:calc(8px * var(--ui, 1));padding:0 calc(8px * var(--ui, 1));min-height:calc(36px * var(--ui, 1));border:1px solid transparent;background:transparent}
.sp-nest .sp-row.on .sp-item{border-color:rgb(255 255 255/.35);background:rgb(255 255 255/.06)}
.sp-nest .sp-act{width:calc(32px * var(--ui, 1));height:calc(32px * var(--ui, 1));min-width:calc(32px * var(--ui, 1));opacity:.75}
.sp-nest .sp-act:hover{opacity:1}
.sp-bar .sp-plus,.sp-bar .sp-manage{border:1px solid rgb(255 255 255/.28);background:rgb(255 255 255/.06)}

/* Oct 26 / t1188u: Base = starting look — same left edge as peers (nest chrome aligns numbers) */
.sp-cw.sp-base .sp-sw,
.sp-sw.sp-base {
  border-color: rgb(255 255 255 / .35);
  background: rgb(255 255 255 / .07);
}
.sp-sw.sp-base i,
.sp-item.sp-base .sp-n {
  color: #fff;
  font-weight: 700;
}
.sp-row.sp-base {
  /* no extra border-left/padding — nest border-left is the shared chrome */
  background: rgb(255 255 255 / .03);
}
.sp-row.sp-base .sp-item .sp-n {
  background: #fff;
  color: #050505;
  border-color: #fff;
}
.sp-item.sp-base small { color: rgb(255 255 255 / .55); }

/* t1188u: look-row ⋯ menu (aligned with group header ⋯) */
.sp-more-wrap { position: relative; flex: none; display: flex; align-items: stretch; }
.sp-act.sp-more { width: calc(36px * var(--ui, 1)); min-width: calc(36px * var(--ui, 1)); }
.sp-act.sp-more svg { width: calc(14px * var(--ui, 1)); height: calc(14px * var(--ui, 1)); }
.sp-dd {
  position: absolute; right: 0; top: calc(100% + calc(4px * var(--ui, 1))); z-index: 45;
  min-width: calc(200px * var(--ui, 1)); padding: calc(4px * var(--ui, 1)) 0;
  background: #111214; border: 1px solid rgb(255 255 255 / .18);
  box-shadow: 0 16px 40px -16px rgb(0 0 0 / .7);
}
.sp-dd[hidden] { display: none !important; }
.sp-dd-i {
  display: flex; align-items: center; width: 100%; min-height: calc(40px * var(--ui, 1));
  padding: 0 calc(14px * var(--ui, 1)); border: 0; background: none; color: #fff;
  font: 600 calc(13px * var(--ui, 1))/1.2 var(--font-sans, sans-serif); text-align: left; cursor: pointer;
}
.sp-dd-i:hover, .sp-dd-i:focus-visible { background: rgb(255 255 255 / .08); outline: none; }
.sp-dd-i.danger { color: #ff6b61; }
.sp-dd-i.dis, .sp-dd-i:disabled { opacity: .35; cursor: default; pointer-events: none; }
.sp-dd-sep { height: 1px; margin: calc(4px * var(--ui, 1)) calc(10px * var(--ui, 1)); background: rgb(255 255 255 / .1); }
html.phone .sp-nest .sp-row { flex-wrap: nowrap !important; align-items: center !important; }
html.phone .sp-nest .sp-row .sp-item { flex: 1 1 auto !important; min-width: 0; }
html.phone .sp-nest .sp-more-wrap { flex: none !important; }
html.phone .sp-nest .sp-act.sp-more { width: calc(40px * var(--ui, 1)) !important; min-width: calc(40px * var(--ui, 1)) !important; height: calc(40px * var(--ui, 1)) !important; }
html.phone .sp-nest { margin-left: 0 !important; padding-left: calc(10px * var(--ui, 1)) !important; border-left: 1px solid var(--line-2); }
html.phone .sp-nest .sp-n {
  width: calc(22px * var(--ui, 1)) !important; height: calc(22px * var(--ui, 1)) !important; flex: none;
  display: grid; place-items: center;
}

/* t1311u/t1312u: square info button + compact popover, Base edit prompt, disabled Discard */
.sp-info { width: calc(22px * var(--ui, 1)); height: calc(22px * var(--ui, 1)); display: inline-grid; place-items: center; border: 1px solid rgba(255,255,255,.22); border-radius: 0; background: transparent; color: rgba(255,255,255,.75); font: 600 calc(12px * var(--ui, 1))/1 ui-monospace, Menlo, monospace; cursor: pointer; padding: 0; }
.sp-info:hover, .sp-info.on { background: #fff; color: #000; border-color: #fff; }
.sp-infopop { position: relative; margin: calc(8px * var(--ui, 1)) calc(10px * var(--ui, 1)) calc(10px * var(--ui, 1)); padding: calc(10px * var(--ui, 1)) calc(34px * var(--ui, 1)) calc(10px * var(--ui, 1)) calc(12px * var(--ui, 1)); border: 1px solid rgba(255,255,255,.18); border-radius: 0; background: rgba(12,12,14,.96); font-size: calc(12px * var(--ui, 1)); line-height: 1.45; color: rgba(255,255,255,.78); }
.sp-infopop p { margin: 0 0 calc(6px * var(--ui, 1)); } .sp-infopop p:last-child { margin: 0; } .sp-infopop b { color: #fff; font-weight: 600; }
.sp-infox { position: absolute; top: calc(6px * var(--ui, 1)); right: calc(6px * var(--ui, 1)); width: calc(22px * var(--ui, 1)); height: calc(22px * var(--ui, 1)); display: grid; place-items: center; border: 0; border-radius: 2px; background: transparent; color: rgba(255,255,255,.6); cursor: pointer; padding: 0; }
.sp-infox svg { width: calc(12px * var(--ui, 1)); height: calc(12px * var(--ui, 1)); }
.sp-baseask { display: flex; align-items: center; gap: calc(8px * var(--ui, 1)); flex-wrap: wrap; margin: calc(8px * var(--ui, 1)) calc(10px * var(--ui, 1)) calc(10px * var(--ui, 1)); padding: calc(8px * var(--ui, 1)) calc(10px * var(--ui, 1)); border: 1px solid rgba(255,255,255,.18); border-left: 2px solid var(--accent, #36f07a); border-radius: 0; background: rgba(12,12,14,.96); font-size: calc(12px * var(--ui, 1)); color: rgba(255,255,255,.8); }
.sp-baseask span { flex: 1 1 calc(200px * var(--ui, 1)); } .sp-baseask b { color: #fff; }
.sp-baseask .sp-btn { border-radius: 2px; height: calc(26px * var(--ui, 1)); padding: 0 calc(10px * var(--ui, 1)); font-size: calc(12px * var(--ui, 1)); }
.sp-hdel:disabled { opacity: .35; cursor: default; pointer-events: none; }
