/* SpinZ CZ app shell, 12 Nov 2026 redesign. Loaded last by app-workspace.html, after studio-ui.css.
   The older shell styles stay linked underneath as a safety net; every rule here is written to win over them.
   S = html[data-spinz-workspace] body, which beats the older "html[data-spinz-workspace] .x" rules. */

html[data-spinz-workspace],html[data-spinz-workspace] body{background:var(--ui-ground);color:var(--ui-ink);font:400 15px/1.45 var(--ui-font);-webkit-font-smoothing:antialiased}
html[data-spinz-workspace] body{--bg:#09090b;--panel:#121217;--line:#ffffff14;--text:#f6f4fa;--muted:#b0acbb;--app-accent:#c4a7ff;--app-muted:#b0acbb;--app-divider:#ffffff14}
html[data-spinz-workspace] body::before,html[data-spinz-workspace] body::after{display:none!important}
html[data-spinz-workspace] body :focus-visible{outline:2px solid var(--ui-lilac);outline-offset:3px}
html[data-spinz-workspace] body .out-arrow{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none;margin-left:6px;vertical-align:-2px}

/* ---------- frame: sidebar, header, work area ---------- */
html[data-spinz-workspace] body .rail{width:248px;padding:20px 12px 16px;background:var(--ui-ground);border-right:1px solid var(--ui-line);gap:0;overflow-y:auto;scrollbar-width:none}
html[data-spinz-workspace] body .rail::-webkit-scrollbar{display:none}
html[data-spinz-workspace] body .rail .brand{padding:4px 12px 0;flex:none}
html[data-spinz-workspace] body .rail .brand img{width:104px;height:34px}
html[data-spinz-workspace] body #app-nav{display:flex;flex-direction:column;gap:0;margin-top:18px}
html[data-spinz-workspace] body .nav-top{display:grid;gap:2px}
html[data-spinz-workspace] body .nav-group{margin-top:18px}
html[data-spinz-workspace] body .nav-group+.nav-group{margin-top:14px}
html[data-spinz-workspace] body .nav-group-label{margin:0 0 6px;padding:0 12px;font-size:12px;font-weight:600;letter-spacing:0;text-transform:none;color:var(--ui-ink3)}
html[data-spinz-workspace] body .nav-tools{display:grid;gap:2px}
html[data-spinz-workspace] body .nav-personal{margin-top:14px;padding-top:0;border-top:0;display:grid;gap:2px}
html[data-spinz-workspace] body .nav-item{width:100%;min-height:40px;padding:0 12px;gap:13px;border:0;border-radius:12px;background:none;color:var(--ui-ink2);font-size:15px;font-weight:500;letter-spacing:0;text-align:left;box-shadow:none;transition:background .2s var(--ui-ease),color .2s}
html[data-spinz-workspace] body .nav-item svg{width:20px;height:20px;stroke-width:1.6;filter:none;opacity:1}
html[data-spinz-workspace] body .nav-item:hover{background:var(--ui-s1);color:var(--ui-ink)}
html[data-spinz-workspace] body .nav-item[aria-current]{background:var(--ui-s2);color:var(--ui-ink);font-weight:600;border:0;box-shadow:none}
html[data-spinz-workspace] body .nav-item[aria-current]::before,html[data-spinz-workspace] body .nav-item[aria-current]::after{display:none}
html[data-spinz-workspace] body .nav-item .tool-new-badge{margin-left:auto;padding:0 7px;height:20px;border:0;border-radius:999px;background:var(--ui-s3);color:var(--ui-ink2);font:500 11px/20px ui-monospace,Menlo,monospace;letter-spacing:.02em;text-transform:uppercase}
html[data-spinz-workspace] body .rail-plan{margin:16px 0 0;padding:14px;border-radius:var(--ui-r-m);background:var(--ui-s1);display:grid;gap:12px;flex:none}
html[data-spinz-workspace] body .rail-plan p{margin:0;display:grid;gap:1px}
html[data-spinz-workspace] body .rail-plan b{font-size:16px;font-weight:700;letter-spacing:-.01em}
html[data-spinz-workspace] body .rail-plan span{font-size:13px;color:var(--ui-ink2)}
html[data-spinz-workspace] body .rail-plan button{height:40px;border:0;border-radius:999px;background:var(--ui-ink);color:var(--ui-on);font:700 14px/1 var(--ui-font);cursor:pointer}
html[data-spinz-workspace] body .rail-foot{margin-top:auto;padding:12px 12px 0;display:flex;flex-wrap:wrap;gap:0 18px;font-size:13px;color:var(--ui-ink3)}
html[data-spinz-workspace] body .rail-foot>a,html[data-spinz-workspace] body .rail-foot>button{display:flex;align-items:center;min-height:36px;color:var(--ui-ink3);font-size:13px;font-family:inherit;cursor:pointer}
html[data-spinz-workspace] body .rail-foot>a:hover,html[data-spinz-workspace] body .rail-foot>button:hover{color:var(--ui-ink)}

html[data-spinz-workspace] body .app-head{left:248px;height:64px;padding:0 28px;gap:12px;border-bottom:0;background:var(--ui-ground);backdrop-filter:none;-webkit-backdrop-filter:none}
html[data-spinz-workspace] body .app-location{gap:0;font-size:15px;font-weight:600;letter-spacing:0;color:var(--ui-ink);min-width:0;flex:1}
html[data-spinz-workspace] body .live-dot{display:none}
html[data-spinz-workspace] body .app-head-actions{display:flex;align-items:center;gap:8px}
html[data-spinz-workspace] body #app-credits{height:44px;padding:0 16px;border:0;border-radius:999px;background:var(--ui-s2);color:var(--ui-ink);font:600 14px/1 var(--ui-font);display:inline-flex;align-items:center;white-space:nowrap;cursor:pointer;box-shadow:none}
html[data-spinz-workspace] body #app-credits span{margin-left:8px;color:var(--ui-lilac);font-weight:700}
html[data-spinz-workspace] body #app-credits:hover,html[data-spinz-workspace] body #app-account:hover,html[data-spinz-workspace] body .ntc-bell:hover{background:var(--ui-s3)}
html[data-spinz-workspace] body #app-account,html[data-spinz-workspace] body .ntc-bell{width:44px;height:44px;flex:none;display:grid;place-items:center;border:0;border-radius:50%;background:var(--ui-s2);color:var(--ui-ink);box-shadow:none}
html[data-spinz-workspace] body #app-account svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
html[data-spinz-workspace] body #app-account[aria-current]{background:var(--ui-ink);color:var(--ui-on)}
html[data-spinz-workspace] body #app-back{display:none}

html[data-spinz-workspace] body #workspace{inset:64px 0 0 248px;background:var(--ui-ground)}
html[data-spinz-workspace] body .tool-frame{background:var(--ui-ground)}

/* ---------- pages ---------- */
html[data-spinz-workspace] body .page{padding:20px 40px 120px;background:none;scrollbar-width:thin;scrollbar-color:var(--ui-s3) transparent}
html[data-spinz-workspace] body .page>*{max-width:1120px;margin-left:auto;margin-right:auto}
html[data-spinz-workspace] body .page h1{margin:0 auto;font:700 34px/1.1 var(--ui-font);letter-spacing:-.025em;color:var(--ui-ink);-webkit-text-fill-color:currentColor;background:none;opacity:1;text-wrap:balance}
html[data-spinz-workspace] body .page h2{font-family:var(--ui-font)}
html[data-spinz-workspace] body .page .eyebrow{display:none}
html[data-spinz-workspace] body .quiet{height:44px;padding:0 18px;border:0;border-radius:999px;background:var(--ui-s2);color:var(--ui-ink);font:600 14px/1 var(--ui-font);cursor:pointer}
html[data-spinz-workspace] body .quiet:hover{background:var(--ui-s3)}

/* Home */
html[data-spinz-workspace] body #home-view>h1{margin:0 auto 22px}
html[data-spinz-workspace] body .home-make{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
html[data-spinz-workspace] body .home-make-card{display:grid;border-radius:var(--ui-r-m);background:var(--ui-s1);overflow:hidden;color:var(--ui-ink);text-decoration:none;transition:background .2s var(--ui-ease)}
html[data-spinz-workspace] body .home-make-card:hover{background:var(--ui-s2)}
html[data-spinz-workspace] body .home-art{display:block;aspect-ratio:4/3;background:var(--ui-s2) center/cover no-repeat}
html[data-spinz-workspace] body .home-copy{display:grid;gap:2px;min-width:0}
html[data-spinz-workspace] body .home-make-card .home-copy{padding:14px 16px 16px}
html[data-spinz-workspace] body .home-copy b{font-size:16px;font-weight:600;letter-spacing:-.01em;line-height:1.3}
html[data-spinz-workspace] body .home-copy span{font-size:13px;line-height:1.4;color:var(--ui-ink2)}
html[data-spinz-workspace] body .home-head{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin-top:40px;margin-bottom:14px}
html[data-spinz-workspace] body .home-head h2{margin:0;font-size:21px;font-weight:700;letter-spacing:-.02em;color:var(--ui-ink)}
html[data-spinz-workspace] body .home-head a{font-size:14px;font-weight:600;color:var(--ui-ink2);text-decoration:none;min-height:44px;display:inline-flex;align-items:center}
html[data-spinz-workspace] body .home-head a:hover{color:var(--ui-ink)}
html[data-spinz-workspace] body #home-recent .home-head{margin-bottom:6px}
html[data-spinz-workspace] body #home-rows{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 32px}
html[data-spinz-workspace] body .home-row .row-copy{text-decoration:none;color:inherit;align-self:center}
html[data-spinz-workspace] body .home-finish{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
html[data-spinz-workspace] body .home-finish-card{display:grid;grid-template-columns:44px minmax(0,1fr);align-items:center;gap:14px;padding:14px 16px;border-radius:var(--ui-r-m);background:var(--ui-s1);color:var(--ui-ink);text-decoration:none;transition:background .2s var(--ui-ease)}
html[data-spinz-workspace] body .home-finish-card:hover{background:var(--ui-s2)}
html[data-spinz-workspace] body .home-icon{width:44px;height:44px;border-radius:12px;background:var(--ui-s2);display:grid;place-items:center;color:var(--ui-ink)}
html[data-spinz-workspace] body .home-finish-card:hover .home-icon{background:var(--ui-s3)}
html[data-spinz-workspace] body .home-icon svg{width:21px;height:21px;stroke-width:1.6}
html[data-spinz-workspace] body .home-guest{margin-top:24px;padding:18px 20px;border-radius:var(--ui-r-m);background:var(--ui-s1);display:flex;align-items:center;justify-content:space-between;gap:16px}
html[data-spinz-workspace] body .home-guest[hidden]{display:none}
html[data-spinz-workspace] body .home-guest p{margin:0;display:grid;gap:2px}
html[data-spinz-workspace] body .home-guest b{font-size:16px;font-weight:600}
html[data-spinz-workspace] body .home-guest span{font-size:13px;color:var(--ui-ink2)}
html[data-spinz-workspace] body .home-guest button{height:44px;padding:0 22px;flex:none;border:0;border-radius:999px;background:var(--ui-ink);color:var(--ui-on);font:700 15px/1 var(--ui-font);cursor:pointer}

/* shop links (Home and Create) */
html[data-spinz-workspace] body .shop-links{margin-top:40px;padding:0;border:0;background:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
html[data-spinz-workspace] body .shop-links>div{grid-column:1/-1}
html[data-spinz-workspace] body .shop-links h2{margin:0 0 2px;font-size:21px;font-weight:700;letter-spacing:-.02em;color:var(--ui-ink)}
html[data-spinz-workspace] body .shop-links a{display:flex;align-items:center;justify-content:space-between;min-height:56px;padding:0 18px;border:0;border-radius:var(--ui-r-m);background:var(--ui-s1);color:var(--ui-ink);font-size:15px;font-weight:600;text-decoration:none}
html[data-spinz-workspace] body .shop-links a:hover{background:var(--ui-s2)}
html[data-spinz-workspace] body .shop-links a .out-arrow{color:var(--ui-ink3);width:16px;height:16px}

/* Create (all tools) */
html[data-spinz-workspace] body #tools-view{padding:20px 40px 120px}
html[data-spinz-workspace] body #tools-view>h1{margin:0 auto 8px;font-size:34px;line-height:1.1;letter-spacing:-.025em}
html[data-spinz-workspace] body #tools-view .tool-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:4px;margin-top:0;border:0;border-radius:0;background:none;box-shadow:none;overflow:visible}
html[data-spinz-workspace] body #tools-view .tool-card+.tool-card{border-top:0}
html[data-spinz-workspace] body #tools-view .tool-group-title{margin:22px 0 6px;font-size:21px;font-weight:700;letter-spacing:-.02em;color:var(--ui-ink)}
html[data-spinz-workspace] body #tools-view .tool-card{display:grid;grid-template-columns:56px minmax(0,1fr) 20px;align-items:center;gap:14px;min-height:72px;padding:8px 6px 8px 8px;border:0;border-radius:var(--ui-r-m);background:none;box-shadow:none;color:var(--ui-ink);text-decoration:none}
html[data-spinz-workspace] body #tools-view .tool-card:hover,html[data-spinz-workspace] body #tools-view .tool-card:active{background:var(--ui-s1);transform:none}
html[data-spinz-workspace] body #tools-view .tool-card:focus-visible{outline:2px solid var(--ui-lilac);outline-offset:2px;border-radius:var(--ui-r-m)}
html[data-spinz-workspace] body #tools-view .tool-list-icon{width:56px;height:56px;border-radius:12px;border:0;background-color:var(--ui-s2);background-size:cover;background-position:center;background-repeat:no-repeat;display:grid;place-items:center;color:var(--ui-ink)}
html[data-spinz-workspace] body #tools-view .tool-list-icon svg{width:22px;height:22px;stroke-width:1.6}
html[data-spinz-workspace] body #tools-view .tool-card.has-art .tool-list-icon svg{display:none}
html[data-spinz-workspace] body #tools-view .tool-card h2{margin:0;display:flex;align-items:center;gap:8px;font-size:16px;font-weight:600;letter-spacing:-.01em;color:var(--ui-ink)}
html[data-spinz-workspace] body #tools-view .tool-card p{margin:2px 0 0;font-size:13px;line-height:1.4;color:var(--ui-ink2)}
html[data-spinz-workspace] body #tools-view .tool-card .tool-new-badge{min-height:0;margin:0;padding:0 7px;height:20px;border:0;border-radius:999px;background:var(--ui-s3);color:var(--ui-ink2);font:500 11px/20px ui-monospace,Menlo,monospace;letter-spacing:.02em;text-transform:uppercase}
html[data-spinz-workspace] body #tools-view .tool-list-arrow{color:var(--ui-ink3);display:grid;place-items:center}
html[data-spinz-workspace] body #tools-view .tool-list-arrow svg{width:18px;height:18px}
html[data-spinz-workspace] body #tools-view .shop-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:40px}
html[data-spinz-workspace] body #tools-view .shop-links>div{display:block}
html[data-spinz-workspace] body #tools-view .shop-links>a{justify-content:space-between;min-height:56px;padding:0 18px;border:0;border-radius:var(--ui-r-m);background:var(--ui-s1);color:var(--ui-ink);font-size:15px;font-weight:600;text-align:left;white-space:nowrap}

/* ---------- Library ---------- */
html[data-spinz-workspace] body .page-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:18px}
html[data-spinz-workspace] body .library-tabs{display:flex;gap:8px;margin:18px auto 16px;padding:0;border:0;overflow-x:auto;scrollbar-width:none}
html[data-spinz-workspace] body .library-tabs::-webkit-scrollbar{display:none}
html[data-spinz-workspace] body .library-tabs [role=tab]{flex:none;height:40px;min-height:40px;padding:0 16px;border:0;border-radius:999px;background:var(--ui-s2);color:var(--ui-ink);font:500 14px/1 var(--ui-font);white-space:nowrap;cursor:pointer;box-shadow:none}
html[data-spinz-workspace] body .library-tabs [role=tab]:hover{background:var(--ui-s3)}
html[data-spinz-workspace] body .library-tabs [role=tab][aria-selected=true]{background:var(--ui-ink);color:var(--ui-on);font-weight:600}
html[data-spinz-workspace] body .library-tabs [role=tab]::after{display:none}
html[data-spinz-workspace] body .library-filter{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;margin:0 0 8px}
html[data-spinz-workspace] body .library-filter input,html[data-spinz-workspace] body .library-filter select{height:48px;min-height:48px;max-width:none;border:0;border-radius:999px;background:var(--ui-s2);color:var(--ui-ink);font:400 15px/1 var(--ui-font);padding:0 20px;box-shadow:none;width:100%}
html[data-spinz-workspace] body .library-filter select{width:auto;padding:0 44px 0 20px;font-weight:500;cursor:pointer;appearance:none;-webkit-appearance:none;background:var(--ui-s2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b0acbb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 16px center/16px no-repeat}
html[data-spinz-workspace] body .library-filter input::placeholder{color:var(--ui-ink3)}
html[data-spinz-workspace] body #library-message{margin:8px 0 0;font-size:13px;color:var(--ui-ink2)}
html[data-spinz-workspace] body #library-message:empty{display:none}
html[data-spinz-workspace] body .library-row{display:grid;grid-template-columns:56px minmax(0,1fr) auto;align-items:center;gap:14px;padding:10px 8px;margin:0 -8px;border:0;border-radius:var(--ui-r-s);background:none;transition:background .2s var(--ui-ease)}
html[data-spinz-workspace] body .library-row:hover{background:var(--ui-s1)}
html[data-spinz-workspace] body .library-row .row-art{width:56px;height:56px;border-radius:10px;border:0;background-color:var(--ui-s2);display:grid;place-items:center;position:relative;overflow:hidden;box-shadow:none;color:var(--ui-ink2)}
html[data-spinz-workspace] body .library-row .row-art.song-art{background-image:var(--song-cover);background-size:cover;background-position:center}
html[data-spinz-workspace] body .library-row .row-art svg{width:22px;height:22px}
html[data-spinz-workspace] body .library-row .play-row{position:absolute;inset:0;width:100%;height:100%;min-width:0;min-height:0;border:0;border-radius:0;background:#09090b59;color:#fff;display:grid;place-items:center;cursor:pointer;opacity:1;transition:opacity .2s;box-shadow:none}
@media(hover:hover) and (pointer:fine){html[data-spinz-workspace] body .library-row .play-row{opacity:0}}
html[data-spinz-workspace] body .library-row .play-row svg{width:22px;height:22px;fill:currentColor;stroke:none}
html[data-spinz-workspace] body .library-row:hover .play-row,html[data-spinz-workspace] body .library-row .play-row:focus-visible,html[data-spinz-workspace] body .library-row.is-current .play-row{opacity:1}
html[data-spinz-workspace] body .library-row .row-copy{min-width:0}
html[data-spinz-workspace] body .library-row .row-copy h2{margin:0;font-size:16px;font-weight:600;letter-spacing:-.01em;line-height:1.3;color:var(--ui-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html[data-spinz-workspace] body .library-row.is-current .row-copy h2{color:var(--ui-lilac)}
html[data-spinz-workspace] body .library-row .row-copy p{margin:2px 0 0;font-size:13px;line-height:1.4;color:var(--ui-ink2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html[data-spinz-workspace] body .row-actions{display:flex;align-items:center;gap:8px;padding:0}
html[data-spinz-workspace] body .row-actions>a,html[data-spinz-workspace] body .row-actions>button:not(.row-track-actions){height:40px;min-height:40px;padding:0 16px;border:0;border-radius:999px;background:var(--ui-s2);color:var(--ui-ink);font:600 13px/1 var(--ui-font);display:inline-flex;align-items:center;gap:6px;white-space:nowrap;text-decoration:none;cursor:pointer;box-shadow:none}
html[data-spinz-workspace] body .row-actions>a:hover,html[data-spinz-workspace] body .row-actions>button:not(.row-track-actions):hover{background:var(--ui-s3)}
html[data-spinz-workspace] body .row-menu summary,html[data-spinz-workspace] body .row-track-actions{width:40px;height:40px;min-width:40px;min-height:40px;padding:0;border:0;border-radius:50%;background:none;color:var(--ui-ink2);display:grid;place-items:center;font-size:15px;letter-spacing:1px;cursor:pointer;list-style:none;box-shadow:none}
html[data-spinz-workspace] body .row-menu summary::-webkit-details-marker{display:none}
html[data-spinz-workspace] body .row-menu summary:hover,html[data-spinz-workspace] body .row-track-actions:hover,html[data-spinz-workspace] body .row-menu[open] summary{background:var(--ui-s3);color:var(--ui-ink)}
html[data-spinz-workspace] body .row-menu-panel{padding:6px;border:1px solid var(--ui-line2);border-radius:var(--ui-r-m);background:var(--ui-s2);box-shadow:0 18px 40px #000000a6;min-width:200px}
html[data-spinz-workspace] body .row-menu-panel>*{display:flex;align-items:center;width:100%;min-height:44px;padding:0 12px;border:0;border-radius:10px;background:none;color:var(--ui-ink);font:500 15px/1.2 var(--ui-font);text-align:left;text-decoration:none;cursor:pointer}
html[data-spinz-workspace] body .row-menu-panel>*:hover{background:var(--ui-s3)}
html[data-spinz-workspace] body .row-menu-panel .delete-master{color:var(--ui-danger)}
html[data-spinz-workspace] body .row-menu-panel .row-menu-status{color:var(--ui-ink2);font-size:13px;cursor:default}
html[data-spinz-workspace] body #library-more{display:block;margin:20px auto 0;height:44px;padding:0 22px;border:0;border-radius:999px;background:var(--ui-s2);color:var(--ui-ink);font:600 14px/1 var(--ui-font);cursor:pointer}
html[data-spinz-workspace] body #library-more[hidden]{display:none}
html[data-spinz-workspace] body #library-storage{margin-top:28px;font-size:12px;line-height:1.55;color:var(--ui-ink3);max-width:70ch;margin-left:0}
html[data-spinz-workspace] body .empty{display:grid;justify-items:center;gap:8px;padding:56px 20px;border:0;border-radius:var(--ui-r-l);background:var(--ui-s1);text-align:center}
html[data-spinz-workspace] body .empty h2{margin:0;font-size:21px;font-weight:700;letter-spacing:-.02em;color:var(--ui-ink)}
html[data-spinz-workspace] body .empty p{margin:0;font-size:15px;color:var(--ui-ink2)}
html[data-spinz-workspace] body .empty button{margin-top:10px;height:48px;padding:0 24px;border:0;border-radius:999px;background:var(--ui-ink);color:var(--ui-on);font:700 15px/1 var(--ui-font);cursor:pointer}

/* install card inside the Library */
html[data-spinz-workspace] body .sz-install-inline{border:0;border-radius:var(--ui-r-m);background:var(--ui-s1);box-shadow:none;padding:14px 60px 14px 16px;margin:0 auto 4px}
html[data-spinz-workspace] body .sz-install-inline .sz-install-copy strong{font-size:15px;font-weight:600;color:var(--ui-ink)}
html[data-spinz-workspace] body .sz-install-inline .sz-install-copy span{font-size:13px;color:var(--ui-ink2)}
html[data-spinz-workspace] body .sz-install-inline .sz-install-action{height:40px;min-height:40px;padding:0 18px;border:0;border-radius:999px;background:var(--ui-ink);color:var(--ui-on);font:700 14px/1 var(--ui-font);box-shadow:none}
html[data-spinz-workspace] body .sz-install-inline .sz-install-dismiss{top:50%;right:8px;transform:translateY(-50%);width:44px;height:44px;border:0;border-radius:50%;background:none;color:var(--ui-ink2)}

/* ---------- docked player ---------- */
html[data-spinz-workspace] body #app-player{left:16px;right:16px;bottom:16px;padding:10px 14px 10px 10px;border:1px solid var(--ui-line);border-radius:var(--ui-r-m);background:var(--ui-s2);box-shadow:0 18px 44px #000000b3;backdrop-filter:none;-webkit-backdrop-filter:none;display:grid;grid-template-columns:minmax(200px,1fr) minmax(280px,1.5fr) 44px;align-items:center;gap:8px 18px}
html[data-spinz-workspace] body #app-player[hidden]{display:none}
html[data-spinz-workspace] body .player-summary{display:flex;align-items:center;gap:12px;min-width:0}
html[data-spinz-workspace] body #app-player .player-toggle{width:48px;height:48px;min-width:48px;border:0;border-radius:10px;background:linear-gradient(#09090b59,#09090b59),var(--song-cover,var(--ui-s3));background-size:cover;background-position:center;color:#fff;box-shadow:none}
html[data-spinz-workspace] body #app-player .player-toggle svg{width:20px;height:20px;fill:currentColor}
html[data-spinz-workspace] body .player-track{min-width:0;display:grid;gap:1px}
html[data-spinz-workspace] body #player-name{font-size:15px;font-weight:600;color:var(--ui-ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html[data-spinz-workspace] body #player-detail{font-size:13px;color:var(--ui-ink2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html[data-spinz-workspace] body .player-timeline{min-width:0;padding:0;grid-column:2;grid-row:1}
html[data-spinz-workspace] body #player-close{position:static;grid-column:3;grid-row:1;width:44px;height:44px;border:0;border-radius:50%;background:none;color:var(--ui-ink2)}
html[data-spinz-workspace] body #player-close:hover{background:var(--ui-s3);color:var(--ui-ink)}
html[data-spinz-workspace] body #player-close svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
html[data-spinz-workspace] body #player-seek{height:28px;accent-color:var(--ui-ink)}
html[data-spinz-workspace] body #player-seek::-webkit-slider-runnable-track{height:4px;border-radius:4px;background:linear-gradient(to right,var(--ui-ink) var(--progress,0%),var(--ui-s3) var(--progress,0%))}
html[data-spinz-workspace] body #player-seek::-webkit-slider-thumb{-webkit-appearance:none;width:14px;height:14px;margin-top:-5px;border:0;border-radius:50%;background:var(--ui-ink);box-shadow:none}
html[data-spinz-workspace] body #player-seek::-moz-range-track{height:4px;border-radius:4px;background:var(--ui-s3)}
html[data-spinz-workspace] body #player-seek::-moz-range-progress{height:4px;border-radius:4px;background:var(--ui-ink)}
html[data-spinz-workspace] body #player-seek::-moz-range-thumb{width:14px;height:14px;border:0;border-radius:50%;background:var(--ui-ink)}
html[data-spinz-workspace] body .player-times{display:flex;align-items:center;justify-content:space-between;font:500 12px/1 ui-monospace,Menlo,monospace;color:var(--ui-ink2);margin-top:-2px}
html[data-spinz-workspace] body .player-skips{display:flex;gap:4px}
html[data-spinz-workspace] body #app-player .player-skips button{width:36px;height:36px;min-width:36px;min-height:36px;border:0;border-radius:50%;background:none;color:var(--ui-ink2)}
html[data-spinz-workspace] body #app-player .player-skips button:hover:not(:disabled){background:var(--ui-s3);color:var(--ui-ink)}
html[data-spinz-workspace] body #player-status{grid-column:1/-1;margin:0;font-size:13px;color:var(--ui-ink2)}
html[data-spinz-workspace] body #workspace:has(#app-player:not([hidden])) .page{padding-bottom:150px}

/* ---------- small parts ---------- */
html[data-spinz-workspace] body #app-toast{left:50%;right:auto;bottom:24px;transform:translateX(-50%);max-width:min(92vw,460px);padding:13px 18px;border:1px solid var(--ui-line2);border-radius:14px;background:var(--ui-s3);color:var(--ui-ink);font:500 14px/1.4 var(--ui-font);box-shadow:0 18px 40px #000000a6}
html[data-spinz-workspace] body dialog.library-dialog,html[data-spinz-workspace] body dialog.workspace-switch-dialog{padding:24px;border:1px solid var(--ui-line2);border-radius:var(--ui-r-l);background:var(--ui-s1);color:var(--ui-ink);box-shadow:0 30px 80px #000000cc;max-width:min(92vw,440px)}
html[data-spinz-workspace] body dialog.library-dialog::backdrop,html[data-spinz-workspace] body dialog.workspace-switch-dialog::backdrop{background:#000000b3;backdrop-filter:none}
html[data-spinz-workspace] body dialog.library-dialog h2,html[data-spinz-workspace] body dialog.workspace-switch-dialog h2{margin:0 0 8px;font:700 21px/1.2 var(--ui-font);letter-spacing:-.02em;color:var(--ui-ink)}
html[data-spinz-workspace] body dialog.library-dialog p,html[data-spinz-workspace] body dialog.workspace-switch-dialog p{font-size:15px;line-height:1.5;color:var(--ui-ink2)}
html[data-spinz-workspace] body .workspace-switch-eyebrow{display:none}
html[data-spinz-workspace] body dialog.library-dialog label{display:grid;gap:8px;font-size:13px;font-weight:600;color:var(--ui-ink2)}
html[data-spinz-workspace] body dialog.library-dialog input[type=text]{height:52px;padding:0 16px;border:0;border-radius:var(--ui-r-m);background:var(--ui-s2);color:var(--ui-ink);font:400 16px/1 var(--ui-font)}
html[data-spinz-workspace] body .library-dialog-actions,html[data-spinz-workspace] body .workspace-switch-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px}
html[data-spinz-workspace] body .library-dialog-actions button,html[data-spinz-workspace] body .workspace-switch-actions button{height:48px;border:0;border-radius:999px;background:var(--ui-s2);color:var(--ui-ink);font:600 15px/1 var(--ui-font);cursor:pointer}
html[data-spinz-workspace] body .library-dialog-actions button[type=submit],html[data-spinz-workspace] body .workspace-switch-actions [data-stay]{background:var(--ui-ink);color:var(--ui-on);font-weight:700}
html[data-spinz-workspace] body #library-manage-error{color:var(--ui-danger);font-size:13px}
html[data-spinz-workspace] body .account-guest{max-width:520px;margin:40px auto;padding:36px 28px;border:0;border-radius:var(--ui-r-l);background:var(--ui-s1);text-align:center;display:grid;justify-items:center;gap:10px}
html[data-spinz-workspace] body .account-guest .eyebrow{display:none}
html[data-spinz-workspace] body .account-guest h1{font:700 28px/1.15 var(--ui-font);letter-spacing:-.025em;margin:0}
html[data-spinz-workspace] body .account-guest p{margin:0;font-size:15px;color:var(--ui-ink2)}
html[data-spinz-workspace] body .account-guest a{margin-top:10px;height:52px;padding:0 26px;display:inline-flex;align-items:center;border:0;border-radius:999px;background:var(--ui-sig);color:var(--ui-on);font:700 16px/1 var(--ui-font);text-decoration:none}

/* now playing row: the title turns lilac, nothing else */
html[data-spinz-workspace] body .library-row.is-current .row-art,html[data-spinz-workspace] body .library-row.is-current .row-art.song-art{box-shadow:none;outline:0}

/* ---------- bell panel ---------- */
html[data-spinz-workspace] body .ntc-badge{background:var(--ui-lilac);color:var(--ui-on);border:2px solid var(--ui-ground);font-weight:700}
html[data-spinz-workspace] body .ntc-panel::backdrop{background:#000000b3;backdrop-filter:none;-webkit-backdrop-filter:none}
html[data-spinz-workspace] body .ntc-sheet{background:var(--ui-s1);border:0;border-left:1px solid var(--ui-line);box-shadow:none}
html[data-spinz-workspace] body .ntc-head h2{font:700 21px/1.2 var(--ui-font);letter-spacing:-.02em;color:var(--ui-ink)}
html[data-spinz-workspace] body .ntc-close{width:44px;height:44px;border:0!important;box-shadow:none;border-radius:50%;background:var(--ui-s2);color:var(--ui-ink)}
html[data-spinz-workspace] body .ntc-close:hover{background:var(--ui-s3)}
html[data-spinz-workspace] body .ntc-tabs{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:2px;margin:4px 16px 0;padding:4px;border:0;border-radius:999px;background:var(--ui-s2)}
html[data-spinz-workspace] body .ntc-tabs button{height:36px;min-height:36px;padding:0 12px;border:0;border-radius:999px;background:none;color:var(--ui-ink2);font:600 14px/1 var(--ui-font);display:flex;align-items:center;justify-content:center;gap:8px}
html[data-spinz-workspace] body .ntc-tabs button::after{display:none}
html[data-spinz-workspace] body .ntc-tabs button[aria-selected="true"]{background:var(--ui-ink);color:var(--ui-on);box-shadow:none}
html[data-spinz-workspace] body .ntc-count{background:var(--ui-lilac);color:var(--ui-on);font-weight:700}
html[data-spinz-workspace] body .ntc-all{color:var(--ui-ink2);font:600 13px/1 var(--ui-font);min-height:44px}
html[data-spinz-workspace] body .ntc-all:hover{color:var(--ui-ink)}
html[data-spinz-workspace] body .ntc-item{border:0;border-radius:var(--ui-r-m);background:var(--ui-s2);box-shadow:none}
html[data-spinz-workspace] body .ntc-item:hover{background:var(--ui-s3)}
html[data-spinz-workspace] body .ntc-item.is-read{background:none}
html[data-spinz-workspace] body .ntc-item.is-unread .ntc-dot{background:var(--ui-lilac);box-shadow:none}
html[data-spinz-workspace] body .ntc-copy b{font-size:15px;font-weight:600;color:var(--ui-ink)}
html[data-spinz-workspace] body .ntc-body{font-size:13px;color:var(--ui-ink2)}
html[data-spinz-workspace] body .ntc-meta{font-size:12px;color:var(--ui-ink3)}
html[data-spinz-workspace] body .ntc-open{color:var(--ui-lilac);font-weight:600}
html[data-spinz-workspace] body .ntc-chip{border:0;border-radius:999px;background:var(--ui-s3);color:var(--ui-ink)}
html[data-spinz-workspace] body .ntc-empty{color:var(--ui-ink2);font-size:15px}

/* tool loading: a thin line, plain placeholders, and a plain notice with Retry */
html[data-spinz-workspace] body .workspace-loading-line{background:var(--ui-s2)}
html[data-spinz-workspace] body .workspace-loading-line::after{background:var(--ui-ink2)}
html[data-spinz-workspace] body .workspace-skeleton .sk{background:var(--ui-s1);border:0;box-shadow:none}
html[data-spinz-workspace] body .workspace-load-notice{border:1px solid var(--ui-line2);border-radius:var(--ui-r-m);background:var(--ui-s1);color:var(--ui-ink)}
html[data-spinz-workspace] body .workspace-load-notice p{font-size:15px;line-height:1.5;color:var(--ui-ink2)}
html[data-spinz-workspace] body .workspace-load-notice button{height:44px;padding:0 20px;border:0;border-radius:999px;background:var(--ui-ink);color:var(--ui-on);font:700 14px/1 var(--ui-font);cursor:pointer}

/* ---------- Beats chat panel, in the app's plain look (12 Nov 2026, owner: "everything"). Looks only; the chat's script is untouched. ---------- */
html[data-spinz-workspace] body .spc-root{--spc-primary-ink:#18141f;--spc-bg:#121217;--spc-bg2:#1a1b22;--spc-line:#ffffff14;--spc-text:#f6f4fa;--spc-muted:#b0acbb;--spc-dim:#8f8a9c;--spc-grad:linear-gradient(115deg,#c4a7ff 0%,#e9a9e0 48%,#ffad8e 100%);font-family:var(--ui-font)}
html[data-spinz-workspace] body .spc-ambient{display:none}
html[data-spinz-workspace] body .spc-panel{background:var(--ui-s1);backdrop-filter:none;-webkit-backdrop-filter:none;border-color:var(--ui-line2);box-shadow:0 30px 80px #000000cc}
html[data-spinz-workspace] body .spc-head{background:none;border-bottom:1px solid var(--ui-line)}
html[data-spinz-workspace] body .spc-avatar{box-shadow:none;background:var(--ui-s3)}
html[data-spinz-workspace] body .spc-hbtn{width:44px;height:44px;color:var(--ui-ink2)}
html[data-spinz-workspace] body .spc-hbtn:hover{background:var(--ui-s2);color:var(--ui-ink)}
html[data-spinz-workspace] body .spc-menu{background:var(--ui-s2);border-color:var(--ui-line2);border-radius:var(--ui-r-m)}
html[data-spinz-workspace] body .spc-bub{background:var(--ui-s2);border:0;color:var(--ui-ink)}
html[data-spinz-workspace] body .spc-msg.me .spc-bub{background:var(--ui-s3);border:0}
html[data-spinz-workspace] body .spc-foot{background:none;border-top:1px solid var(--ui-line)}
html[data-spinz-workspace] body .spc-form{background:var(--ui-s2);border:0;border-radius:24px;box-shadow:none}
html[data-spinz-workspace] body .spc-form::before,html[data-spinz-workspace] body .spc-form::after,html[data-spinz-workspace] body .spc-foot::before,html[data-spinz-workspace] body .spc-foot::after{display:none!important}
html[data-spinz-workspace] body .spc-form:focus-within{border:0;box-shadow:none;outline:2px solid var(--ui-lilac);outline-offset:2px}
html[data-spinz-workspace] body .spc-ai{font-size:12px;opacity:1;color:var(--ui-ink3)}
html[data-spinz-workspace] body .spc-card{background:var(--ui-s2);border:0;border-radius:var(--ui-r-m);box-shadow:none}
html[data-spinz-workspace] body .spc-run,html[data-spinz-workspace] body .spc-act{border-radius:999px;box-shadow:none}
html[data-spinz-workspace] body .spc-run-soft,html[data-spinz-workspace] body .spc-act-plain{background:var(--ui-s3);border:0;color:var(--ui-ink)!important}
html[data-spinz-workspace] body .spc-cancel{border:0;border-radius:999px;background:var(--ui-s3);color:var(--ui-ink);min-height:36px}
html[data-spinz-workspace] body .spc-fchip{background:var(--ui-s3);border:0}
html[data-spinz-workspace] body .spc-tease{background:var(--ui-s2);border-color:var(--ui-line2);color:var(--ui-ink)}
html[data-spinz-workspace] body .spc-tease-x{background:var(--ui-s3);border:0;color:var(--ui-ink2)}

/* ---------- phones ---------- */
@media(max-width:760px){
 html[data-spinz-workspace] body .rail{width:100%;height:calc(64px + env(safe-area-inset-bottom));padding:0 6px env(safe-area-inset-bottom);border-right:0;border-top:1px solid var(--ui-line);background:var(--ui-ground);overflow:visible}
 html[data-spinz-workspace] body .rail .brand,html[data-spinz-workspace] body .rail-plan,html[data-spinz-workspace] body .rail-foot{display:none}
 html[data-spinz-workspace] body #app-nav{flex-direction:row;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;margin:0;height:64px;width:100%}
 html[data-spinz-workspace] body .nav-item{flex-direction:column;justify-content:center;gap:4px;min-height:64px;height:64px;padding:0;border-radius:0;background:none;color:var(--ui-ink3);font-size:12px;font-weight:500;text-align:center;transform:none}
 html[data-spinz-workspace] body .nav-item:hover{background:none}
 html[data-spinz-workspace] body .nav-item[aria-current]{background:none;color:var(--ui-ink);font-weight:600}
 html[data-spinz-workspace] body .nav-item svg{width:24px;height:24px;stroke-width:1.6}
 html[data-spinz-workspace] body .nav-item[aria-current] svg{stroke-width:2;color:var(--ui-ink);stroke:currentColor}
 html[data-spinz-workspace] body .nav-beats-agent{margin:0;top:auto;position:static}
 html[data-spinz-workspace] body .nav-beats-agent .beats-orb{width:26px;height:26px;margin:0;border:0;border-radius:50%;overflow:hidden;box-shadow:none;background:none;transform:none;position:static;display:block}
 html[data-spinz-workspace] body .nav-beats-agent .beats-orb::before,html[data-spinz-workspace] body .nav-beats-agent .beats-orb::after{display:none}
 html[data-spinz-workspace] body .nav-beats-agent .beats-orb img{width:100%;height:100%;object-fit:cover;display:block}
 html[data-spinz-workspace] body .nav-beats-agent.is-open{color:var(--ui-ink)}
 html[data-spinz-workspace] body .nav-beats-agent.has-unread .beats-orb{outline:2px solid var(--ui-lilac);outline-offset:2px}
 html[data-spinz-workspace] body .app-head{left:0;height:calc(56px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 16px 0;gap:8px}
 html[data-spinz-workspace] body .app-location{font-size:16px;font-weight:700;letter-spacing:-.01em}
 html[data-spinz-workspace] body .app-head-actions{gap:6px}
 html[data-spinz-workspace] body #app-credits{height:44px;padding:0 13px;font-size:13px}
 html[data-spinz-workspace] body #app-account,html[data-spinz-workspace] body .ntc-bell{width:44px;height:44px}
 html[data-spinz-workspace] body .library-tabs [role=tab]{height:44px;min-height:44px}
 html[data-spinz-workspace] body .sz-install-inline .sz-install-action{height:44px;min-height:44px}
 html[data-spinz-workspace] body #app-back:not([hidden]){display:inline-flex;align-items:center;gap:4px;height:44px;max-width:38vw;padding:0 14px 0 8px;border:0;border-radius:999px;background:var(--ui-s2);color:var(--ui-ink);font:600 13px/1 var(--ui-font);cursor:pointer;flex:none}
 html[data-spinz-workspace] body #app-back svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}
 html[data-spinz-workspace] body #app-back span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 html[data-spinz-workspace] body #app-back:not([hidden])+.app-location{display:none}
 html[data-spinz-workspace] body #app-back:not([hidden]){margin-right:auto}
 html[data-spinz-workspace] body #workspace{inset:calc(56px + env(safe-area-inset-top)) 0 calc(64px + env(safe-area-inset-bottom)) 0}
 html[data-spinz-workspace] body .page,html[data-spinz-workspace] body #tools-view{padding:8px 16px 96px}
 html[data-spinz-workspace] body #tools-view>h1{font-size:28px}
 html[data-spinz-workspace] body #tools-view .shop-links{grid-template-columns:minmax(0,1fr);gap:8px;margin-top:32px}
 html[data-spinz-workspace] body .sz-install-inline .sz-install-dismiss{top:4px;right:4px;transform:none}
 html[data-spinz-workspace] body .sz-install-inline{padding:14px 52px 14px 14px}
 html[data-spinz-workspace] body .page h1{font-size:28px}
 html[data-spinz-workspace] body #home-view>h1{margin:0 auto 16px}
 html[data-spinz-workspace] body .home-make{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 html[data-spinz-workspace] body .home-make-card .home-copy{padding:10px 12px 12px}
 html[data-spinz-workspace] body .home-copy b{font-size:15px}
 html[data-spinz-workspace] body .home-head{margin-top:32px;margin-bottom:10px}
 html[data-spinz-workspace] body #home-rows{grid-template-columns:minmax(0,1fr)}
 html[data-spinz-workspace] body .home-finish{grid-template-columns:minmax(0,1fr);gap:4px}
 html[data-spinz-workspace] body .home-finish-card{padding:8px;background:none}
 html[data-spinz-workspace] body .home-guest{flex-direction:column;align-items:stretch;margin-top:20px}
 html[data-spinz-workspace] body .shop-links{grid-template-columns:minmax(0,1fr);gap:8px;margin-top:32px}
 html[data-spinz-workspace] body .library-row{grid-template-columns:52px minmax(0,1fr) auto;gap:4px 12px;padding:8px;align-items:center}
 html[data-spinz-workspace] body .library-row .row-art{width:52px;height:52px}
 html[data-spinz-workspace] body .library-row .play-row{opacity:1;background:#09090b40}
 html[data-spinz-workspace] body .library-row .row-copy h2{font-size:15px}
 html[data-spinz-workspace] body .library-row{position:relative}
 html[data-spinz-workspace] body .library-row:not(.home-row) .row-copy{grid-column:2/-1;padding-right:52px}
 html[data-spinz-workspace] body .library-row:not(.home-row) .row-actions{grid-column:2/-1;flex-wrap:wrap;gap:6px;padding:0}
 html[data-spinz-workspace] body .library-row .row-actions:has(>a,>button:not(.row-track-actions)){padding:4px 0 2px}
 html[data-spinz-workspace] body .row-actions>.row-menu,html[data-spinz-workspace] body .row-actions>.row-track-actions{position:absolute;top:12px;right:6px}
 html[data-spinz-workspace] body .row-actions>a,html[data-spinz-workspace] body .row-actions>button:not(.row-track-actions){height:44px;min-height:44px}
 html[data-spinz-workspace] body .row-menu summary,html[data-spinz-workspace] body .row-track-actions{width:44px;height:44px;min-width:44px;min-height:44px}
 html[data-spinz-workspace] body .library-filter input,html[data-spinz-workspace] body .library-filter select{font-size:16px}
 html[data-spinz-workspace] body #app-player{left:8px;right:8px;bottom:8px;padding:8px 8px 6px;grid-template-columns:minmax(0,1fr) 44px;gap:2px 8px;border-radius:14px}
 html[data-spinz-workspace] body .player-timeline{grid-column:1/-1;grid-row:2}
 html[data-spinz-workspace] body #player-close{grid-column:2;grid-row:1}
 html[data-spinz-workspace] body #app-player .player-toggle{width:44px;height:44px;min-width:44px}
 html[data-spinz-workspace] body #app-player .player-skips button{width:44px;height:44px;min-width:44px;min-height:44px}
 html[data-spinz-workspace] body #workspace:has(#app-player:not([hidden])) .page{padding-bottom:190px}
 html[data-spinz-workspace] body #app-toast{bottom:16px}
}
@media(min-width:761px) and (max-width:1100px){
 html[data-spinz-workspace] body .rail{width:220px}
 html[data-spinz-workspace] body .app-head{left:220px}
 html[data-spinz-workspace] body #workspace{left:220px}
 html[data-spinz-workspace] body .page{padding-inline:28px}
 html[data-spinz-workspace] body .home-make{grid-template-columns:repeat(2,minmax(0,1fr))}
 html[data-spinz-workspace] body .home-finish{grid-template-columns:repeat(2,minmax(0,1fr))}
}
/* small laptops: the header already shows the credits, so the sidebar card steps aside */
@media(min-width:761px) and (max-height:960px){html[data-spinz-workspace] body .rail-plan{display:none}html[data-spinz-workspace] body .nav-item{min-height:38px}html[data-spinz-workspace] body .rail{padding-top:16px;padding-bottom:10px}}
@media(prefers-reduced-motion:reduce){html[data-spinz-workspace] body *{transition:none!important}}
/* 13 Nov 2026 (owner): Home ends with the sample packs and their pictures; plug-ins are not shown. */
html[data-spinz-workspace] body .home-shop{margin-top:0;padding:0;border:0;background:none}
html[data-spinz-workspace] body .home-shop .home-head a{gap:6px}
html[data-spinz-workspace] body .home-shop .home-head .out-arrow{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
html[data-spinz-workspace] body .home-packs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}
html[data-spinz-workspace] body .home-pack{display:grid;align-content:start;min-width:0;color:var(--ui-ink);text-decoration:none;border-radius:var(--ui-r-m)}
html[data-spinz-workspace] body .home-pack img{display:block;width:100%;height:auto;aspect-ratio:3/4;object-fit:cover;border-radius:var(--ui-r-m);background:var(--ui-s2);transition:filter var(--duration-quick,150ms) var(--ease-smooth-out,ease),scale var(--duration-fast,250ms) var(--ease-smooth-out,ease)}
html[data-spinz-workspace] body .home-pack b{margin-top:10px;font-size:15px;font-weight:600;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html[data-spinz-workspace] body .home-pack small{margin-top:2px;font-size:13px;line-height:1.35;color:var(--ui-ink2);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
@media(hover:hover){html[data-spinz-workspace] body .home-pack:hover img{filter:brightness(1.12);scale:1.015}}
html[data-spinz-workspace] body .home-pack:active img{scale:.985}
html[data-spinz-workspace] body .home-pack:focus-visible{outline:2px solid var(--ui-lilac);outline-offset:4px}
@media(max-width:1099px){
 html[data-spinz-workspace] body .home-packs{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(150px,22%);gap:12px;margin:0 -16px 0 0;padding:0 16px 4px 0;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:none}
 html[data-spinz-workspace] body .home-packs::-webkit-scrollbar{display:none}
 html[data-spinz-workspace] body .home-pack{scroll-snap-align:start}
}
@media(max-width:760px){html[data-spinz-workspace] body .home-packs{grid-auto-columns:42%}}
@media(prefers-reduced-motion:reduce){html[data-spinz-workspace] body .home-pack img{transition:none}html[data-spinz-workspace] body .home-pack:hover img,html[data-spinz-workspace] body .home-pack:active img{scale:1}}
/* 13 Nov 2026 (owner): the player is a panel docked to the bottom edge: cover, name, then back 10, play or pause, forward 10, then the slider, then the X. It slides up and slides down. */
html[data-spinz-workspace] body #app-player{left:0;right:0;bottom:0;padding:10px 12px 10px 20px;border:0;border-top:1px solid var(--ui-line);border-radius:0;background:var(--ui-s1);box-shadow:none;grid-template-columns:minmax(160px,280px) auto minmax(0,1fr) 44px;gap:6px 20px}
html[data-spinz-workspace] body #app-player[hidden]{opacity:1;translate:0 100%}
@starting-style{html[data-spinz-workspace] body #app-player:not([hidden]){opacity:1;translate:0 100%}}
html[data-spinz-workspace] body #app-player .player-summary{grid-column:1;grid-row:1}
html[data-spinz-workspace] body #app-player .player-skips{grid-column:2;grid-row:1;align-items:center;gap:6px}
html[data-spinz-workspace] body #app-player .player-timeline{grid-column:3;grid-row:1;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:0}
html[data-spinz-workspace] body #app-player #player-close{grid-column:4;grid-row:1}
html[data-spinz-workspace] body #app-player #player-elapsed,html[data-spinz-workspace] body #app-player #player-duration{min-width:34px;font:500 12px/1 ui-monospace,Menlo,monospace;color:var(--ui-ink2);font-variant-numeric:tabular-nums}
html[data-spinz-workspace] body #app-player #player-duration{text-align:right}
html[data-spinz-workspace] body #app-player .player-skips button.player-play:not(#\9){width:40px;height:40px;min-width:40px;min-height:40px;border-radius:50%;background:var(--ui-ink);color:var(--ui-on);transition:scale var(--duration-quick,150ms) var(--ease-smooth-out,ease),background-color var(--duration-quick,150ms) var(--ease-smooth-out,ease)}
html[data-spinz-workspace] body #app-player .player-skips button.player-play:not(#\9):hover{background:#fff;color:var(--ui-on);scale:1.04}
html[data-spinz-workspace] body #app-player .player-skips .player-play:active{scale:.96}
html[data-spinz-workspace] body #app-player .player-skips button.player-play:not(#\9) svg{width:16px;height:16px;fill:currentColor;stroke:none}
html[data-spinz-workspace] body #workspace:has(#app-player:not([hidden])) .page{padding-bottom:112px}
/* the chat bubble keeps clear of the panel (chat.js reads this when it settles; workspace.js asks it to settle when the player opens or closes) */
html[data-spinz-workspace]:has(#app-player:not([hidden])){--spc-safe-bottom:76px}
@media(max-width:760px){
 html[data-spinz-workspace] body #app-player{left:0;right:0;bottom:0;padding:8px 4px 8px 12px;border-radius:0;grid-template-columns:minmax(0,1fr) auto 44px;gap:2px 4px}
 html[data-spinz-workspace] body #app-player .player-summary{grid-column:1;grid-row:1}
 html[data-spinz-workspace] body #app-player .player-skips{grid-column:2;grid-row:1;gap:0}
 html[data-spinz-workspace] body #app-player #player-close{grid-column:3;grid-row:1}
 html[data-spinz-workspace] body #app-player .player-timeline{grid-column:1/-1;grid-row:2;padding:0 8px 0 0}
 html[data-spinz-workspace] body #app-player .player-skips button.player-play:not(#\9){width:44px;height:44px;min-width:44px;min-height:44px}
 html[data-spinz-workspace] body #workspace:has(#app-player:not([hidden])) .page{padding-bottom:150px}
 html[data-spinz-workspace]:has(#app-player:not([hidden])){--spc-safe-bottom:176px}
}
@media(prefers-reduced-motion:reduce){html[data-spinz-workspace] body #app-player[hidden]{translate:0 0}html[data-spinz-workspace] body #app-player .player-skips .player-play{transition:none}}

/* 13 Nov 2026 (owner: "too many buttons ... all types also feels like a button, and somehow it's not aligned ... refresh itself also no need to be a button"):
   search and type are one bar (the type is plain words at its end), refresh is a small icon at the end of the same row. */
html[data-spinz-workspace] body .library-filter{grid-template-columns:minmax(0,1fr) auto 44px;gap:0;align-items:center}
html[data-spinz-workspace] body .library-filter label.search input{border-radius:999px 0 0 999px}
html[data-spinz-workspace] body .library-filter select{height:48px;border-radius:0 999px 999px 0;padding:0 40px 0 16px;font-weight:400;color:var(--ui-ink2);background-color:var(--ui-s2);background-position:right 16px center;background-size:16px;box-shadow:inset 1px 0 0 var(--ui-line)}
html[data-spinz-workspace] body .library-filter select:hover{color:var(--ui-ink)}
html[data-spinz-workspace] body .library-filter #library-refresh{justify-self:end;display:grid;place-items:center;width:40px;height:40px;min-height:40px;padding:0;border:0;border-radius:50%;background:none;color:var(--ui-ink2);cursor:pointer;transition:background-color var(--duration-quick,150ms) var(--ease-smooth-out,ease),color var(--duration-quick,150ms) var(--ease-smooth-out,ease)}
html[data-spinz-workspace] body .library-filter #library-refresh:hover{background:var(--ui-s2);color:var(--ui-ink)}
html[data-spinz-workspace] body .library-filter #library-refresh svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;transition:rotate var(--duration-medium,350ms) var(--ease-smooth-out,ease)}
html[data-spinz-workspace] body .library-filter #library-refresh:active svg{rotate:180deg}
html[data-spinz-workspace] body #library-view .page-heading{margin-bottom:12px}
@media(max-width:760px){html[data-spinz-workspace] body .library-filter #library-refresh{width:44px;height:44px}}
@media(prefers-reduced-motion:reduce){html[data-spinz-workspace] body .library-filter #library-refresh svg{transition:none}}
