/* SL_UX_261203 — interaction polish layer. Additive only: no layout, copy or colour-system changes.
   1) quick cards: soft fills instead of outlines  2) press / hover feedback  3) calm entrance motion
   4) balanced headings  5) snap on the deals strip  6) composer focus glow  7) thin scrollbars
   Remove this file's <link> to roll back. */
@view-transition{navigation:auto}
@keyframes slUxUp{from{opacity:0;transform:translateY(10px)}}
@keyframes slUxIn{from{opacity:0;transform:scale(.94)}}

/* 1 — quick cards: fills, no frames */
html.sl-layout-v3 #shoplink-creator-app .sl09-quick button:not(#u){border-color:transparent;background:color-mix(in srgb,var(--sl09-surface) 62%,var(--sl09-bg))}
html.sl-layout-v3 #shoplink-creator-app .sl09-quick button:not(#u) .icon{background:var(--sl09-bg)}

/* 2 — feedback */
html.sl-layout-v3 #shoplink-creator-app .sl09-quick>:is(a,button):not(#u){transition:transform .18s cubic-bezier(.2,.8,.2,1),background-color .18s ease;will-change:transform}
html.sl-layout-v3 #shoplink-creator-app .sl09-quick>:is(a,button):not(#u):active{transform:scale(.975)}
html.sl-layout-v3 #shoplink-creator-app .sl09-quick>a .go{transition:transform .2s cubic-bezier(.2,.8,.2,1)}
html.slg #shoplink-creator-app :is(.chat-head .headbtns>:is(a,button),.chat-head>.sl09-new,.composer .attach,.composer .mic,.sl09-side-cta){transition:transform .15s cubic-bezier(.2,.8,.2,1)}
html.slg #shoplink-creator-app :is(.chat-head .headbtns>:is(a,button),.chat-head>.sl09-new,.composer .attach,.composer .mic):active{transform:scale(.92)}
#shoplink-creator-app .sl09-side-cta:active{transform:scale(.98)}
#shoplink-creator-app .sli-strip .sli-tile>.sli-ava{transition:transform .16s cubic-bezier(.2,.8,.2,1)}
#shoplink-creator-app .sli-strip .sli-tile:active>.sli-ava{transform:scale(.93)}
@media (hover:hover){
  html.sl-layout-v3 #shoplink-creator-app .sl09-quick>button:not(#u):hover{background:var(--sl09-surface);transform:translateY(-1px)}
  html.sl-layout-v3 #shoplink-creator-app .sl09-quick>a:hover{transform:translateY(-1px)}
  html.sl-layout-v3 #shoplink-creator-app .sl09-quick>a:hover .go{transform:translateX(3px)}
  #shoplink-creator-app .sl09-side-cta:hover{transform:translateY(-1px)}
  #shoplink-creator-app .sl09-sidefoot .links a{padding:8px 0;margin:-8px 0;text-underline-offset:3px}
  #shoplink-creator-app .sl09-sidefoot .links a:hover{text-decoration:underline}
  #shoplink-creator-app :is(.thread,.sli-list,.sli-panel){scrollbar-width:thin;scrollbar-color:color-mix(in srgb,var(--sl09-ink,#141413) 16%,transparent) transparent}
}

/* 3 — entrance (fill backwards only: press transforms keep working afterwards) */
html.sl-layout-v3 #shoplink-creator-app .sl09-empty>h1{animation:slUxUp .5s cubic-bezier(.2,.8,.2,1) backwards}
html.sl-layout-v3 #shoplink-creator-app .sl09-empty>p{animation:slUxUp .5s cubic-bezier(.2,.8,.2,1) .06s backwards}
html.sl-layout-v3 #shoplink-creator-app .sl09-quick>*{animation:slUxUp .46s cubic-bezier(.2,.8,.2,1) backwards}
html.sl-layout-v3 #shoplink-creator-app .sl09-quick>:nth-child(1){animation-delay:.12s}
html.sl-layout-v3 #shoplink-creator-app .sl09-quick>:nth-child(2){animation-delay:.17s}
html.sl-layout-v3 #shoplink-creator-app .sl09-quick>:nth-child(3){animation-delay:.22s}
html.sl-layout-v3 #shoplink-creator-app .sl09-quick>:nth-child(4){animation-delay:.27s}
html.sl-layout-v3 #shoplink-creator-app .sl09-quick>:nth-child(5){animation-delay:.32s}
html.sl-layout-v3 #shoplink-creator-app .sl09-quick>:nth-child(n+6){animation-delay:.37s}
html.sl-layout-v3 #shoplink-creator-app .thread>.msg.user{animation:slUxUp .26s ease-out backwards}

/* 4 — typography */
html.sl-layout-v3 #shoplink-creator-app .sl09-empty>h1{text-wrap:balance}
html.sl-layout-v3 #shoplink-creator-app :is(.sl09-empty>p,.bubble,.sl09-quick small){text-wrap:pretty}
#shoplink-creator-app ::selection{background:color-mix(in srgb,var(--sl09-blue,#2455ce) 22%,transparent)}

/* 5 — deals strip */
#shoplink-creator-app .sli-strip{scroll-snap-type:x proximity;scroll-padding-left:14px;overscroll-behavior-x:contain}
#shoplink-creator-app .sli-strip>.sli-tile{scroll-snap-align:start}

/* 6 — composer */
html.slg #shoplink-creator-app .composer #creator-input:not(#u){caret-color:var(--slg-send);transition:box-shadow .2s ease}
html.slg #shoplink-creator-app .composer #creator-input:focus:not(#u){box-shadow:inset 0 1px 0 var(--slg-hi),0 0 0 3px color-mix(in srgb,var(--slg-send) 15%,transparent),var(--slg-shadow)!important}

@media (prefers-reduced-motion:reduce){
  ::view-transition-group(*),::view-transition-old(*),::view-transition-new(*){animation:none!important}
  html.sl-layout-v3 #shoplink-creator-app :is(.sl09-empty>h1,.sl09-empty>p,.sl09-quick>*,.thread>.msg.user){animation:none!important}
  #shoplink-creator-app :is(.sl09-quick>*,.sl09-quick .go,.headbtns>*,.attach,.mic,.sl09-side-cta,.sli-tile>.sli-ava){transition:none!important;transform:none!important}
}

/* SL_UX2_261203 — desktop: no hairlines (soft fill instead); deal labels end on a whole word */
@media (min-width:901px){
  html.sl-layout-v3 #shoplink-creator-app .main:not(#u){border-right-color:transparent;background:color-mix(in srgb,var(--sl09-surface) 58%,var(--sl09-bg))}
  html.sl-layout-v3 #shoplink-creator-app .sl09-sidefoot:not(#u){border-top-color:transparent}
}
#shoplink-creator-app .sli-cell>span:last-child,#shoplink-creator-app .sli-strip .sli-tile>.lbl{overflow-wrap:break-word;word-break:normal;hyphens:auto;-webkit-hyphens:auto;text-overflow:ellipsis}

/* SL_UX_COMPOSE_261203 — attachment thumbnails, drop zone, counter, photo-prep state */
#shoplink-creator-app .attach-chip.slux-img{display:inline-flex;align-items:center;gap:8px;padding-left:5px}
#shoplink-creator-app .attach-chip .slux-thumb{width:34px;height:34px;flex:0 0 34px;border-radius:9px;object-fit:cover;background:var(--sl09-surface,#f6f5f1)}
#shoplink-creator-app .attach-chip.slux-img{animation:slUxIn .22s cubic-bezier(.2,.8,.2,1) backwards}
#shoplink-creator-app .chat>.slux-drop{position:absolute;inset:10px;z-index:70;border-radius:26px;display:grid;place-items:center;pointer-events:none;opacity:0;transform:scale(.985);transition:opacity .16s ease,transform .16s ease;
  background:color-mix(in srgb,var(--sl09-blue,#2455ce) 9%,color-mix(in srgb,var(--sl09-bg,#fff) 90%,transparent));-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);color:var(--sl09-blue,#2455ce)}
#shoplink-creator-app .chat>.slux-drop.on{opacity:1;transform:none}
#shoplink-creator-app .chat>.slux-drop>div{display:flex;flex-direction:column;align-items:center;gap:10px;font-size:17px}
#shoplink-creator-app .composer>.slux-count{position:absolute;right:62px;top:-22px;font:600 11px/1 system-ui,-apple-system,sans-serif;color:var(--sl09-faint,#8b8a83);background:var(--sl09-bg,#fff);padding:4px 7px;border-radius:8px;pointer-events:none;font-variant-numeric:tabular-nums}
#shoplink-creator-app .composer>.slux-count.full{color:#c2410c}
#shoplink-creator-app .composer .attach.slux-busy{pointer-events:none}
#shoplink-creator-app .composer .attach.slux-busy svg{animation:slUxSpin .9s linear infinite;opacity:.55}
@keyframes slUxSpin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){#shoplink-creator-app .composer .attach.slux-busy svg,#shoplink-creator-app .attach-chip.slux-img{animation:none!important}}
#shoplink-creator-app .attachment-tray .attach-chip:not(#u){border-color:transparent;background:var(--sl09-surface,#f6f5f1);box-shadow:0 2px 10px rgba(17,17,26,.06)}

/* SLUX_PICS_261203 — photos inside the sent message + lightbox */
#shoplink-creator-app .bubble.user .slux-pics{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
#shoplink-creator-app .bubble.user .slux-pics:first-child{margin-top:0}
#shoplink-creator-app .bubble.user .slux-pics>button{all:unset;cursor:zoom-in;display:block;border-radius:14px;overflow:hidden;line-height:0;transition:transform .16s cubic-bezier(.2,.8,.2,1)}
#shoplink-creator-app .bubble.user .slux-pics>button:active{transform:scale(.97)}
#shoplink-creator-app .bubble.user .slux-pics img{display:block;width:132px;height:132px;object-fit:cover;background:var(--sl09-surface,#f6f5f1)}
#shoplink-creator-app .bubble.user .slux-pics>button:only-child img{width:min(240px,62vw);height:auto;max-height:300px}
#shoplink-creator-app>.slux-lb{position:fixed;inset:0;z-index:2147483000;display:grid;place-items:center;padding:16px;background:rgba(10,10,12,.82);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);opacity:0;transition:opacity .18s ease;cursor:zoom-out}
#shoplink-creator-app>.slux-lb.on{opacity:1}
#shoplink-creator-app>.slux-lb img{max-width:100%;max-height:100%;border-radius:14px;transform:scale(.96);transition:transform .2s cubic-bezier(.2,.8,.2,1)}
#shoplink-creator-app>.slux-lb.on img{transform:none}

/* SL_UX_FX_261203 — thinking mark, shimmering stage label, expressive composer (same glass pieces) */
#shoplink-creator-app .pending .bubble .slux-think{flex:0 0 auto;margin:-11px -8px -11px -11px;color:var(--sl09-ink,#141413)}
#shoplink-creator-app .pending .bubble .stage{background:linear-gradient(90deg,var(--sl09-muted,#666661) 0,var(--sl09-muted,#666661) 38%,var(--sl09-ink,#141413) 50%,var(--sl09-muted,#666661) 62%,var(--sl09-muted,#666661) 100%);background-size:240% 100%;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent;animation:slUxShimmer 2.2s linear infinite}
@keyframes slUxShimmer{from{background-position:120% 0}to{background-position:-120% 0}}
@keyframes slUxPop{0%{transform:scale(.6);opacity:0}70%{transform:scale(1.06);opacity:1}100%{transform:none}}
html.slg #shoplink-creator-app .composer .send{animation:slUxPop .26s cubic-bezier(.2,.8,.2,1) backwards}
html.slg #shoplink-creator-app .composer .send:active{transform:scale(.92)}
/* aurora: a soft three-colour halo while the field is focused */
html.slg #shoplink-creator-app .composer #creator-input:focus:not(#u){box-shadow:inset 0 1px 0 var(--slg-hi),0 0 0 1.5px color-mix(in srgb,var(--slg-send) 42%,transparent),-10px 2px 22px -8px rgba(124,92,255,.38),10px 2px 22px -8px rgba(34,184,255,.36),0 10px 26px -12px rgba(255,92,168,.30),var(--slg-shadow)!important}
@media (hover:hover) and (prefers-reduced-motion:no-preference){
  html.slg #shoplink-creator-app .composer #creator-input:focus:not(#u){animation:slUxAura 5s ease-in-out infinite}
  @keyframes slUxAura{
    0%,100%{box-shadow:inset 0 1px 0 var(--slg-hi),0 0 0 1.5px color-mix(in srgb,var(--slg-send) 42%,transparent),-10px 2px 22px -8px rgba(124,92,255,.38),10px 2px 22px -8px rgba(34,184,255,.36),0 10px 26px -12px rgba(255,92,168,.30),var(--slg-shadow)}
    50%{box-shadow:inset 0 1px 0 var(--slg-hi),0 0 0 1.5px color-mix(in srgb,var(--slg-send) 42%,transparent),-10px 2px 22px -8px rgba(34,184,255,.36),10px 2px 22px -8px rgba(255,92,168,.32),0 10px 26px -12px rgba(124,92,255,.34),var(--slg-shadow)}
  }
}
@media (prefers-reduced-motion:reduce){#shoplink-creator-app .pending .bubble .stage{animation:none;-webkit-text-fill-color:currentColor;color:var(--sl09-muted,#666661);background:none}html.slg #shoplink-creator-app .composer .send{animation:none}}

/* SL_UX_FLOW_261203 — soft leading edge of a streaming answer */
#shoplink-creator-app .bubble.streaming .slux-w{transition:none}
#shoplink-creator-app .bubble.streaming .slux-w.w1{opacity:.26}
#shoplink-creator-app .bubble.streaming .slux-w.w2{opacity:.52}
#shoplink-creator-app .bubble.streaming .slux-w.w3{opacity:.78}
#shoplink-creator-app .thread>.msg.slux-anchor{box-sizing:border-box}

/* SL_UX_JARVIS_261204 — voice conversation overlay with the energy orb */
#shoplink-creator-app>.slux-jv{position:fixed;inset:0;z-index:2147482000;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:calc(20px + env(safe-area-inset-top)) 20px calc(28px + env(safe-area-inset-bottom));
  background:radial-gradient(120% 90% at 50% 42%,rgba(18,22,44,.86),rgba(5,6,12,.94));-webkit-backdrop-filter:blur(16px) saturate(120%);backdrop-filter:blur(16px) saturate(120%);color:#fff;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .28s ease,visibility 0s linear .28s}
#shoplink-creator-app>.slux-jv.on{opacity:1;visibility:visible;pointer-events:auto;transition:opacity .28s ease}
#shoplink-creator-app>.slux-jv .slux-jv-orb{all:unset;cursor:pointer;display:block;width:min(78vw,56vh,460px);aspect-ratio:1;border-radius:50%;-webkit-tap-highlight-color:transparent;transform:scale(.86);transition:transform .5s cubic-bezier(.2,.8,.2,1)}
#shoplink-creator-app>.slux-jv.on .slux-jv-orb{transform:none}
#shoplink-creator-app>.slux-jv .slux-jv-orb:active{transform:scale(.97)}
#shoplink-creator-app>.slux-jv .slux-jv-orb:focus-visible{outline:2px solid rgba(255,255,255,.6);outline-offset:6px}
#shoplink-creator-app>.slux-jv canvas{width:100%;height:100%;display:block}
#shoplink-creator-app>.slux-jv .slux-jv-lab{font:600 17px/1.2 system-ui,-apple-system,sans-serif;letter-spacing:.02em;color:rgba(255,255,255,.92);min-height:22px}
#shoplink-creator-app>.slux-jv .slux-jv-cap{max-width:560px;min-height:66px;margin-top:8px;text-align:center;font:400 15px/1.45 system-ui,-apple-system,sans-serif;color:rgba(255,255,255,.62);text-wrap:pretty;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
#shoplink-creator-app>.slux-jv .slux-jv-x{all:unset;cursor:pointer;position:absolute;top:calc(14px + env(safe-area-inset-top));right:16px;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.10);color:#fff;transition:transform .15s,background .15s}
#shoplink-creator-app>.slux-jv .slux-jv-x:active{transform:scale(.92)}
#shoplink-creator-app>.slux-jv .slux-jv-x:focus-visible{outline:2px solid rgba(255,255,255,.6);outline-offset:3px}
@media (hover:hover){#shoplink-creator-app>.slux-jv .slux-jv-x:hover{background:rgba(255,255,255,.18)}}

/* SL_UX_JARVIS2_261204 — only the orb: full-screen canvas, no buttons or labels, nothing selectable */
#shoplink-creator-app>.slux-jv{padding:0;gap:0;display:block;cursor:pointer;background:radial-gradient(120% 90% at 50% 45%,rgba(14,18,40,.90),rgba(3,4,10,.97));
  -webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
#shoplink-creator-app>.slux-jv *{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
#shoplink-creator-app>.slux-jv canvas{position:absolute;inset:0;width:100%;height:100%;display:block;transform:scale(.9);opacity:0;transition:transform .7s cubic-bezier(.2,.8,.2,1),opacity .5s ease}
#shoplink-creator-app>.slux-jv.on canvas{transform:none;opacity:1}
#shoplink-creator-app .composer .mic{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}

/* SL_UX_JARVIS3_261204 — swipe down or sideways ends the session; the orb flies back into the mic */
#shoplink-creator-app>.slux-jv{touch-action:none;overscroll-behavior:contain;opacity:0;transition:opacity .5s cubic-bezier(.75,0,.9,.45),visibility 0s linear .52s}
#shoplink-creator-app>.slux-jv.on{opacity:var(--jv-dim,1);transition:opacity .3s ease}
#shoplink-creator-app>.slux-jv canvas{transform-origin:50% 47%;transform:none;opacity:1;transition:transform .46s cubic-bezier(.3,.7,.2,1),opacity .4s ease;will-change:transform,opacity}
@keyframes sluxJvCatch{0%{transform:scale(1)}35%{transform:scale(1.22);box-shadow:0 0 0 10px rgba(70,200,255,.22),0 0 26px rgba(70,200,255,.55)}100%{transform:none}}
html.slg #shoplink-creator-app .composer .mic.slux-jv-catch{animation:sluxJvCatch .5s cubic-bezier(.2,.8,.2,1)}
@media (prefers-reduced-motion:reduce){#shoplink-creator-app>.slux-jv canvas{transition:opacity .2s ease}html.slg #shoplink-creator-app .composer .mic.slux-jv-catch{animation:none}}
