/* CrewW shared listening island: inline in the active conversation, never viewport-fixed. */
.dm-music-island-slot{display:flex;align-items:flex-start;justify-content:center;flex:0 0 auto;width:100%;min-height:0;padding:6px 10px 8px;overflow:visible;z-index:2}
.crew-island{position:relative;width:clamp(170px,48vw,230px);max-width:100%;color:#fff;font:13px/1.35 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;transition:width .3s cubic-bezier(.2,.82,.2,1),opacity .2s,transform .3s cubic-bezier(.2,.82,.2,1);transform-origin:top center}
.crew-island.is-hidden{display:none}
.crew-island.expanded{width:min(330px,100%)}
.crew-island-pill{height:52px;width:100%;display:flex;align-items:center;gap:5px;padding:5px 7px 5px 8px;border:1px solid #ffffff20;border-radius:999px;background:linear-gradient(135deg,#191a20f5,#101116f5);box-shadow:0 6px 20px #0005;color:#fff;transition:height .3s cubic-bezier(.2,.82,.2,1),border-radius .3s,background .2s}
.crew-island.expanded .crew-island-pill{height:56px;border-radius:21px 21px 15px 15px}
.crew-pill-open{height:100%;min-width:0;flex:1;display:flex;align-items:center;gap:9px;padding:0 3px;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer}
.crew-pill-icon{width:37px;height:37px;display:grid;place-items:center;flex:0 0 auto;border-radius:12px;background:linear-gradient(140deg,#9277f5,#ed84b3 65%,#f4aa75);font-size:19px;transition:width .3s,height .3s,border-radius .3s}
.crew-pill-copy{display:grid;gap:1px;min-width:0;flex:1;overflow:hidden}
.crew-pill-title{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:700;max-width:100%}
.crew-pill-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#a8a9b2;font-size:10px}
.crew-pill-toggle{width:36px;height:36px;display:grid;place-items:center;flex:0 0 auto;border:0;border-radius:50%;background:#ffffff13;color:#fff;font-size:15px;cursor:pointer;transition:transform .18s,background .18s}
.crew-pill-toggle:active{transform:scale(.91)}
.crew-pill-status{width:28px;display:grid;place-items:center;color:#c7b7ff;font-size:17px}
.crew-pill-eq,.crew-eq{display:flex;align-items:center;gap:2px;height:14px;margin-left:auto}
.crew-pill-eq[hidden]{display:none}
.crew-pill-eq i,.crew-eq i{display:block;width:3px;height:6px;border-radius:3px;background:#8ce1b0;animation:crew-eq .68s ease-in-out infinite alternate}
.crew-pill-eq i:nth-child(2),.crew-eq i:nth-child(2){height:12px;animation-delay:.2s}
.crew-pill-eq i:nth-child(3),.crew-eq i:nth-child(3){height:8px;animation-delay:.38s}
.crew-island:not(.has-session) .crew-pill-eq{opacity:.38}
.crew-island-panel{max-height:0;opacity:0;overflow:hidden;pointer-events:none;margin-top:0;padding:0 11px;border:1px solid transparent;border-radius:0 0 20px 20px;background:#111217f7;box-shadow:0 12px 25px #0005;transition:max-height .3s cubic-bezier(.2,.82,.2,1),opacity .18s ease,margin .3s,padding .3s,border-color .25s}
.crew-island.expanded .crew-island-panel{max-height:min(260px,35dvh);opacity:1;pointer-events:auto;overflow-y:auto;margin-top:-1px;padding:10px 11px 11px;border-color:#ffffff18;overscroll-behavior:contain;scrollbar-width:thin}
.crew-island-search{display:flex;gap:7px}
.crew-search{height:36px;display:flex;align-items:center;gap:8px;flex:1;min-width:0;padding:0 11px;border-radius:18px;background:#25262d;color:#a5a6af}
.crew-search input{width:100%;min-width:0;border:0;outline:0;background:none;color:white;font-size:12px}
.crew-track-list{display:grid;gap:1px;max-height:120px;overflow:auto;margin:6px -3px;overscroll-behavior:contain}
.crew-track{width:100%;display:flex;align-items:center;gap:9px;padding:6px;border:0;border-radius:12px;background:transparent;color:white;text-align:left;cursor:pointer}
.crew-track:hover{background:#ffffff12}
.crew-track-art,.crew-album{width:34px;height:34px;display:grid;place-items:center;flex:0 0 auto;border-radius:10px;background:linear-gradient(140deg,#9277f5,#ed84b3);font-size:16px}
.crew-track-copy,.crew-state-copy{display:grid;gap:2px;min-width:0;flex:1}
.crew-track-copy strong,.crew-state-copy strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:700}
.crew-track-copy small,.crew-state-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#a4a5ad;font-size:10px}
.crew-track-play{margin-left:auto;color:#b8a4ff;font-size:19px}
.crew-library-empty{padding:9px 4px;text-align:center;color:#a1a1aa;font-size:11px}
.crew-island-hint{display:block;padding:5px 2px 0;color:#9899a2;font-size:9px}
.crew-island-state,.crew-player-top{display:flex;align-items:center;gap:8px;min-width:0}
.crew-island-state .crew-album,.crew-player-top .crew-album{width:38px;height:38px;border-radius:12px}
.crew-pulse{width:7px;height:7px;border-radius:50%;background:#ffd166;animation:crew-pulse 1.25s infinite}
.crew-mini-control,.crew-reject,.crew-accept,.crew-player-bottom button{display:grid;place-items:center;border:0;color:white;cursor:pointer}
.crew-mini-control{width:27px;height:27px;border-radius:50%;background:#ffffff15;font-size:17px}
.crew-reject{width:30px;height:30px;border-radius:50%;background:#ff453a2c;color:#ff756c}
.crew-accept{height:32px;padding:0 9px;border-radius:18px;display:flex;gap:4px;background:#8f7cff;color:white;font-size:10px;font-weight:700;white-space:nowrap}
.crew-player-top{margin-bottom:8px}
.crew-player-top .crew-album{width:39px;height:39px}
.crew-album.spinning{animation:crew-disc 5s linear infinite}
.crew-progress-row{display:flex;align-items:center;gap:7px;color:#a4a5ad;font-size:9px}
.crew-scrubber{--crew-progress:0%;width:100%;height:4px;appearance:none;border-radius:5px;outline:none;background:linear-gradient(to right,#f4f4f5 var(--crew-progress),#424249 var(--crew-progress));cursor:pointer}
.crew-scrubber::-webkit-slider-thumb{width:10px;height:10px;appearance:none;border-radius:50%;background:#fff}
.crew-player-bottom{display:flex;align-items:center;gap:8px;margin-top:5px}
.crew-player-bottom button{width:28px;height:28px;border-radius:50%;background:transparent;font-size:14px}
.crew-player-bottom .crew-main-play{width:32px;height:32px;background:#fff;color:#09090b}
.crew-player-bottom small{max-width:135px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-left:auto;color:#a7a8b0;font-size:9px}
.crew-island[data-announcement]::before{content:attr(data-announcement);position:absolute;z-index:3;top:0;left:50%;width:max-content;max-width:calc(100vw - 40px);transform:translate(-50%,-112%);padding:7px 11px;border:1px solid #ffffff20;border-radius:20px;background:#171820;color:#e8e5f1;box-shadow:0 8px 22px #0007;font-size:11px;animation:crew-banner .22s ease-out}
@keyframes crew-eq{to{transform:scaleY(.35)}}
@keyframes crew-disc{to{transform:rotate(360deg)}}
@keyframes crew-pulse{70%{box-shadow:0 0 0 7px #ffd60a00}}
@keyframes crew-banner{from{opacity:0;transform:translate(-50%,-80%) scale(.96)}to{opacity:1;transform:translate(-50%,-112%) scale(1)}}
@media(max-width:760px){.dm-music-island-slot{padding:5px 9px 7px}.crew-island{width:clamp(170px,58vw,230px)}.crew-island.expanded{width:min(320px,100%)}.crew-island.expanded .crew-island-panel{max-height:min(245px,32dvh)}.crew-player-bottom small{max-width:105px}}
@media(prefers-reduced-motion:reduce){.crew-island,.crew-island *{animation-duration:.01ms!important;transition-duration:.01ms!important}}

.dm-music-island-slot[hidden]{display:none}
.crew-island,.crew-island *{box-sizing:border-box}
.crew-island.expanded .crew-pill-icon{width:42px;height:42px;border-radius:14px}
.crew-island:not(.is-playing) .crew-album.spinning,.crew-island:not(.is-playing) .crew-eq i{animation-play-state:paused}
.crew-island:not(.is-playing) .crew-eq{opacity:.35}
.crew-island[data-announcement]::before{display:none}
@media(max-width:360px){.crew-island:not(.expanded) .crew-pill-copy small{display:none}}

.crew-retry{margin:7px auto 0;display:block;border:1px solid #ffffff22;border-radius:999px;padding:5px 11px;background:#282a32;color:#f4f4f5;font:inherit;cursor:pointer}
.crew-retry:active{transform:scale(.97)}

.crew-player-bottom button{flex:0 0 auto}.crew-island-search .crew-mini-control{flex:0 0 27px}.crew-player-bottom small{min-width:0}
