/* ls-share v1 (staged 2026-10-31, R661/R662): one Share button for every shareable item, both sites. Preview only until ZenWolf's yes (R578). */
.ls-sh{all:unset;box-sizing:border-box;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:36px;padding:4px 12px;border-radius:999px;font-family:inherit;font-weight:700;font-size:.86rem;line-height:1;color:#1a1206;background:linear-gradient(135deg,#f3d27a,#b8860b);border:1px solid #EBC65E;box-shadow:0 3px 10px rgba(0,0,0,.35);white-space:nowrap;-webkit-tap-highlight-color:transparent}
.ls-sh svg{width:15px;height:15px;flex:0 0 15px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.ls-sh:focus-visible{outline:3px solid #fff3c4;outline-offset:2px}
.ls-sh:active{transform:translateY(1px)}
.ls-sh-page{min-height:48px;padding:8px 18px;font-size:1rem}
.ls-sh-page svg{width:18px;height:18px;flex-basis:18px}
/* page Share at the top: sits in the page flow, never over words */
.ls-sh-top{max-width:1200px;margin:10px auto 0;padding:0 14px;position:relative;z-index:3;display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.tback-wrap{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
/* card links (tiles, art cards): Share in the top right corner of the card */
.ls-shw{position:relative;display:flex;flex-direction:column;min-width:0}
.ls-shw>a{flex:1 1 auto}
.ls-shw>.ls-sh{position:absolute;top:8px;right:8px;z-index:2}
/* list rows */
.lr-item>.ls-sh,.lp-item .ls-sh{margin:6px 0 0}
.gitem>.ls-sh,.bpcard>.ls-sh{margin:6px 0 4px}
.ls-section h2 .ls-sh{margin-left:10px;vertical-align:middle;font-size:.8rem}
/* songs and videos: Share beside the row, never opening or closing it */
.sg.ls-shi,.mv.ls-shi{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}
.sg.ls-shi>.sg-row,.mv.ls-shi>.mv-row{grid-column:1;min-width:0}
.sg.ls-shi>.ls-sh,.mv.ls-shi>.ls-sh{grid-column:2;margin-right:8px;padding:4px 10px}
.sg.ls-shi>.sg-player,.mv.ls-shi>.mv-player,.mv.ls-shi>:not(.mv-row):not(.ls-sh){grid-column:1/-1}
.sg-ctl .ls-sh{min-height:44px}
/* phones: Share sits under the row on its own line so song names keep their full width */
@media (max-width:560px){.sg.ls-shi,.mv.ls-shi{grid-template-columns:minmax(0,1fr)}.sg.ls-shi>.ls-sh,.mv.ls-shi>.ls-sh{grid-column:1;justify-self:end;margin:-4px 12px 12px 0}}
/* deep link highlight */
.ls-sh-hl{animation:lsshhl 2.6s ease;outline:3px solid #EBC65E;outline-offset:2px;border-radius:14px}
@keyframes lsshhl{0%{box-shadow:0 0 0 6px rgba(235,198,94,.8)}100%{box-shadow:0 0 0 0 rgba(235,198,94,0)}}
/* Link copied toast */
.ls-toast{position:fixed;left:50%;bottom:calc(84px + env(safe-area-inset-bottom,0px));transform:translate(-50%,12px);z-index:9999;max-width:90vw;padding:12px 20px;border-radius:999px;font-weight:700;font-size:1rem;color:#1a1206;background:linear-gradient(135deg,#f3d27a,#b8860b);border:1px solid #EBC65E;box-shadow:0 8px 24px rgba(0,0,0,.5);opacity:0;transition:opacity .25s,transform .25s;pointer-events:none;text-align:center}
.ls-toast.on{opacity:1;transform:translate(-50%,0)}
