/* multilinklasso.com staged hero: the visitor drags a lasso over sample links; the unique ones light up as
   opened tabs in a sample tab strip (nothing real opens). Transform and opacity only; every box keeps its size. */
@media (max-width:1128px){header.wrap.hero{padding-left:24px;padding-right:24px}}
/* one column: the sample browser sits under the lead, so the lasso happens on the first screen */
@media (max-width:900px){
  header.wrap.hero{display:flex;flex-direction:column;align-items:stretch}
  .mll-copy{display:contents}
  .mll-copy .eyebrow{order:1;align-self:flex-start}.mll-copy h1{order:2}.mll-copy .lead{order:3;margin-bottom:22px}
  .mll{order:4;margin-bottom:24px}
  .mll-copy .cta-row{order:5}.mll-copy .micro{order:6}
}
.mll{position:relative;user-select:none;-webkit-user-select:none}
.mll .demo{position:relative}
.mll .omni{display:flex;align-items:center;padding:0 9px;font:12px/1 ui-monospace,Menlo,monospace;color:var(--muted);white-space:nowrap;overflow:hidden}
/* the tab strip: one row, fixed height; new tabs open to the right of the active one */
.mll-tabs{display:flex;gap:4px;height:36px;padding:7px 10px 0;overflow:hidden;border-bottom:1px solid var(--line);background:var(--bg2)}
.mll-tab{flex:0 1 128px;min-width:0;display:flex;align-items:center;gap:6px;height:29px;padding:0 9px;border-radius:8px 8px 0 0;border:1px solid var(--line);border-bottom:0;background:var(--bg2);font-size:11.5px;color:var(--muted);white-space:nowrap;overflow:hidden}
.mll-tab b{overflow:hidden;text-overflow:ellipsis;font-weight:500}
.mll-tab i{flex:none;width:10px;height:10px;border-radius:3px;background:var(--fav,var(--brand))}
.mll-tab.is-active{background:var(--card);color:var(--ink)}
.mll-tab.is-new{background:var(--brand-soft);border-color:color-mix(in srgb,var(--brand) 45%,var(--line));color:var(--brand-ink);animation:mllTab .32s cubic-bezier(.2,.8,.3,1) both}
@keyframes mllTab{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
/* the sample results page */
.mll-stage{position:relative;padding:12px 14px 16px;touch-action:pan-y;cursor:crosshair;overflow:hidden}
.mll-q{margin:0 0 9px;font-size:12px;color:var(--muted)}
.mll-rows{display:flex;flex-direction:column;gap:6px}
.mll-row{position:relative;display:grid;grid-template-columns:16px minmax(0,1fr) auto;align-items:center;gap:4px 10px;padding:7px 10px;border-radius:9px;border:1px solid transparent;background:var(--bg2)}
.mll-row .fav{grid-row:span 2;width:16px;height:16px;border-radius:4px;background:var(--fav,var(--brand))}
.mll-row .t{font-size:13.5px;font-weight:600;color:var(--brand-ink);text-decoration:underline;text-decoration-color:color-mix(in srgb,var(--brand-ink) 35%,transparent);text-underline-offset:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mll-row .u{grid-column:2;font:11.5px/1.2 ui-monospace,Menlo,monospace;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.mll-row .tag{grid-column:3;grid-row:1/3;font-size:11px;font-weight:700;padding:3px 8px;border-radius:999px;color:var(--ok);background:color-mix(in srgb,var(--ok) 14%,var(--card));opacity:0;transform:scale(.8);transition:opacity .25s,transform .25s}
.mll-row.hit{border-color:var(--brand);background:var(--brand-soft)}
.mll-row.opened .tag{opacity:1;transform:none}
.mll-row.dupe .tag{color:var(--muted);background:var(--bg2);border:1px dashed var(--line)}
/* the lasso: a fill and four edges, placed and sized by transform only */
.mll-lasso{position:absolute;left:0;top:0;width:0;height:0;pointer-events:none;opacity:0;transition:opacity .15s}
.mll-lasso.on{opacity:1}
.mll-lasso i{position:absolute;left:0;top:0;transform-origin:0 0;background:var(--brand)}
.mll-lasso .f{width:1px;height:1px;background:var(--brand-soft)}
.mll-lasso .h{width:1px;height:2px}
.mll-lasso .v{width:2px;height:1px}
.mll-count{position:absolute;left:0;top:0;background:#1b1f24;color:#fff;font-size:11.5px;font-weight:600;padding:3px 8px;border-radius:7px;pointer-events:none;opacity:0;white-space:nowrap}
.mll-count.on{opacity:1}
.mll-alt{position:absolute;right:12px;top:10px;display:flex;align-items:center;gap:6px;font-size:11px;color:var(--muted);pointer-events:none}
.mll-alt kbd{display:inline-grid;place-items:center;min-width:34px;height:22px;padding:0 6px;border-radius:6px;border:1px solid var(--line);border-bottom-width:2px;background:var(--card);font:600 11px/1 -apple-system,BlinkMacSystemFont,"Segoe UI",system-ui,sans-serif;color:var(--ink);transition:transform .1s}
.mll-alt.on kbd{transform:translateY(1px);background:var(--brand);border-color:var(--brand);color:var(--on-brand)}
.mll-toast{position:absolute;right:14px;bottom:14px;display:flex;align-items:center;gap:12px;background:#1b1f24;color:#fff;font-size:12.5px;padding:6px 6px 6px 12px;border-radius:9px;box-shadow:0 6px 20px rgba(0,0,0,.35);opacity:0;transform:translateY(8px);transition:opacity .3s,transform .3s;pointer-events:none}
.mll-toast.show{opacity:1;transform:none;pointer-events:auto}
.mll-toast button{min-height:32px;padding:0 10px;border:0;border-radius:7px;background:transparent;color:#9cc2ff;font:700 12.5px/1 inherit;font-family:inherit;cursor:pointer}
.mll-toast button:focus-visible,.mll-replay:focus-visible{outline:2px solid #9cc2ff;outline-offset:1px}
/* under the window: what this is, and the replay */
.mll-foot{display:flex;align-items:center;gap:12px;margin-top:12px;font-size:13.5px;color:var(--muted)}
.mll-foot b{color:var(--ink);font-weight:600}
.mll-replay{margin-left:auto;flex:none;min-height:38px;padding:0 14px;border-radius:10px;border:1px solid var(--line);background:var(--card);color:var(--ink);font:600 13.5px/1 inherit;font-family:inherit;cursor:pointer}
.mll-replay:hover{border-color:var(--brand)}
@media (max-width:520px){.mll-foot{flex-wrap:wrap}.mll-replay{min-height:44px}.mll-alt span{display:none}.mll-row .u{display:none}.mll-row .fav{grid-row:auto}}
@media (prefers-reduced-motion:reduce){
  .mll-tab.is-new{animation:none}.mll-row .tag,.mll-lasso,.mll-toast,.mll-alt kbd{transition:none}
}
/* the two hero columns keep their widths whatever the tab strip holds */
@media (min-width:901px){header.wrap.hero{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr)}}
.mll,.mll .demo,.mll-tabs{min-width:0}
.mll-tab.is-new{color:var(--ink)}
.mll-row .u{font-size:12px}
/* phones: opened tabs show as their icons, so the whole batch fits on one row */
@media (max-width:520px){
  .mll-tab.is-active{flex:1 1 auto}
  .mll-tab.is-new{flex:0 0 32px;justify-content:center;padding:0}
  .mll-tab.is-new b{display:none}
  .mll-tab.is-new i{width:12px;height:12px}
}
/* the opened tabs fill six fixed slots, so the strip never reflows; the toast has its own room under the rows */
.mll-slot{opacity:0}
.mll-slot.is-new{opacity:1}
.mll-stage{padding-bottom:58px}
.mll-toast{bottom:12px}
@media (max-width:520px){.mll-slot{flex:0 0 32px;justify-content:center;padding:0}.mll-slot b{display:none}}
.mll-row.dupe .tag{opacity:1;transform:none}
.mll-tab.is-active{flex:0 0 auto}
.mll-slot{flex:1 1 0}
.mll-slot{padding:0 6px;gap:4px;font-size:11px}
.mll-slot i{width:8px;height:8px;border-radius:2px}
.mll-slot b{text-overflow:clip}
/* Review round 2 (spacing): stacked layouts keep the desktop rhythm (the column's own margins, no flex gap) and put
   "Join the list" and its note under the lede, before the sample, so the button is on the first screen */
@media (max-width:900px){
  header.wrap.hero{gap:0}
  .mll-copy .cta-row{order:4}.mll-copy .micro{order:5}
  .mll{order:6;margin-top:24px;margin-bottom:0}
}
.mll-toast button{min-height:44px}
