/* From a clip to a session (assets/js/sections/social-session.js). Built from the shared widgets;
   this file only adds the thumbnail, the row with its Remove button, a clip inside a part of the
   plan and the bar with one action ("Added to Thursday training", "Saved").
   Tokens only, so Dark, Mixed and Light all follow. */

/* A drill's own picture, the size of a row icon's tap area. */
.ss-thumb { flex:none; width:44px; height:44px; border-radius:var(--r-sm); object-fit:cover; background:var(--shot-surface-light); }

/* One drill in a session plan: the link to the post, then Remove. */
.ss-item { display:flex; align-items:center; gap:var(--s2); border-bottom:1px solid var(--hairline); }
.ss-item:last-child { border-bottom:0; }
.ss-item > .w-row { flex:1; min-width:0; border-bottom:0; }
/* A drill's title is what the coach chose it for, so it wraps instead of cutting off. */
:is(.ss-item,.ss-pick,.ss-saved) .w-row-title { white-space:normal; overflow-wrap:anywhere; }
.ss-item > .w-btn { flex:none; min-width:44px; min-height:44px; padding:0; }

/* A clip inside Warm-up, Main or Cool-down (Perform's .sp-row): picture, title and creator, all one link back to the post. */
.ss-plan-clip { display:flex; align-items:center; gap:var(--s3); min-height:44px; color:inherit; text-decoration:none; border-radius:var(--r-sm); }
.ss-plan-clip .sp-row-name { overflow-wrap:anywhere; }

/* "Added to Thursday training" with Open session, and "Saved" with Use in a session. Sits where the shell toast sits (base.css .toast),
   in the dark frame in Mixed, and can be pressed. */
.ss-toast { position:absolute; left:50%; bottom:calc(var(--nav-h) + 12px); z-index:30; transform:translateX(-50%);
  display:flex; align-items:center; gap:var(--s3); width:max-content; max-width:calc(100% - 32px);
  padding:6px 6px 6px var(--s4); border-radius:var(--r-full); background:var(--shot-surface-light); color:var(--shot-text);
  box-shadow:var(--e-elevated); font-size:var(--fs-small); font-weight:600; }
.ss-toast[hidden] { display:none; }
.ss-toast-text { min-width:0; }
.ss-toast .w-btn { flex:none; border-radius:var(--r-full); }
@media (min-width:1024px) { .ss-toast { position:fixed; bottom:var(--s6); } }
