:root{
  --bg:#0c0f0d;--panel:#111512;--panel2:#171c18;--panel3:#1d231e;--line:rgba(255,255,255,.09);--line2:rgba(255,255,255,.16);
  --text:#f4f5ef;--muted:#929a91;--muted2:#687168;--acid:#d8ff4f;--acidSoft:rgba(216,255,79,.14);--blue:#53a6ff;--violet:#b982ff;
  --red:#ff5d63;--orange:#ff9a42;--green:#3ee784;--shadow:0 24px 70px rgba(0,0,0,.38);--sidebar:244px;--radius:20px
}
*{box-sizing:border-box}html,body{margin:0;min-height:100%;background:var(--bg);color:var(--text);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"SF Pro Display","Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}body{overflow-x:hidden}button,input,textarea,select{font:inherit}button{color:inherit}.hidden{display:none!important}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid var(--acid);outline-offset:2px}
.boot-screen{position:fixed;inset:0;z-index:1000;background:#0a0d0b;display:grid;place-content:center;gap:16px;text-align:center;transition:.45s}.boot-screen.done{opacity:0;visibility:hidden}.boot-mark,.brand-mark{width:72px;height:72px;border-radius:23px;display:grid;place-items:center;background:var(--acid);color:#10130f;font-weight:950;font-size:42px;letter-spacing:-.08em;box-shadow:0 16px 48px rgba(216,255,79,.16)}.boot-mark{margin:auto;animation:bootPulse 1.4s ease-in-out infinite alternate}.boot-word{font-size:13px;letter-spacing:.32em;font-weight:800;color:#cbd2c8}@keyframes bootPulse{to{transform:translateY(-4px);filter:brightness(1.08)}}
/* Profile reference system */
.profile-gate{min-height:100vh;padding:28px;display:grid;place-items:center;background:radial-gradient(circle at 18% 15%,rgba(216,255,79,.09),transparent 29%),radial-gradient(circle at 82% 85%,rgba(80,159,255,.08),transparent 32%),#0b0e0c}.profile-shell{width:min(1180px,100%);min-height:720px;display:grid;grid-template-columns:1.05fr .95fr;background:#111512;border:1px solid var(--line);border-radius:34px;overflow:hidden;box-shadow:var(--shadow)}.profile-intro{position:relative;padding:42px 48px;background:linear-gradient(150deg,rgba(216,255,79,.07),transparent 40%),linear-gradient(180deg,#151a16,#0f1310);overflow:hidden}.brand-lockup{display:flex;align-items:center;gap:16px}.brand-mark{width:58px;height:58px;border-radius:18px;font-size:34px}.brand-name{font-weight:900;letter-spacing:.16em;font-size:15px}.brand-tag{font-size:12px;color:var(--muted);margin-top:5px}.profile-promise{margin-top:110px;max-width:470px}.eyebrow{display:block;color:var(--acid);font-weight:850;letter-spacing:.18em;font-size:11px;margin-bottom:10px}.profile-promise h1{margin:0;font-size:clamp(44px,5.2vw,76px);line-height:.94;letter-spacing:-.055em;max-width:560px}.profile-promise p{color:#aab1a8;font-size:16px;line-height:1.65;max-width:430px;margin-top:26px}.profile-preview{position:absolute;inset:auto -36px -42px 0;height:310px}.preview-orbit{position:absolute;width:340px;height:340px;border:1px solid rgba(216,255,79,.16);border-radius:50%;left:-130px;bottom:-140px;box-shadow:0 0 0 60px rgba(216,255,79,.025),0 0 0 120px rgba(216,255,79,.018)}.preview-card{position:absolute;right:40px;bottom:112px;width:310px;padding:18px 20px;border:1px solid rgba(255,255,255,.1);border-left:4px solid var(--green);border-radius:16px;background:rgba(28,34,29,.88);backdrop-filter:blur(18px);box-shadow:0 18px 50px rgba(0,0,0,.25);transform:rotate(-2deg)}.preview-card.secondary{right:110px;bottom:24px;width:270px;border-left-color:var(--blue);transform:rotate(2.4deg)}.preview-card span{display:block;font-size:11px;color:var(--muted);letter-spacing:.08em;margin-bottom:6px}.preview-card strong{display:block;font-size:15px}.preview-card small{display:block;color:var(--muted);margin-top:7px}.profile-form{padding:54px 56px;display:flex;flex-direction:column;justify-content:center;background:#f2f1eb;color:#111511}.form-title-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:34px}.form-title-row .eyebrow{color:#58634f;margin-bottom:8px}.form-title-row h2{margin:0;font-size:34px;letter-spacing:-.035em}.profile-avatar-preview{width:82px;height:82px;border-radius:25px;border:1px dashed #a4aa9d;background:#e4e6df center/cover no-repeat;display:grid;place-items:center;font-size:28px;color:#747c70;overflow:hidden}.form-grid{display:grid;gap:16px}.form-grid.two{grid-template-columns:1fr 1fr}.field{display:flex;flex-direction:column;gap:8px;margin-bottom:17px}.field>span{font-size:12px;font-weight:800;color:#555d53;text-transform:uppercase;letter-spacing:.08em}.field em{font-style:normal;font-weight:600;color:#8b9188;text-transform:none;letter-spacing:0}.field input,.field textarea,.field select{width:100%;border:1px solid #d4d8d0;background:#fafaf7;color:#151815;border-radius:13px;padding:14px 15px;transition:.18s}.field input:focus,.field textarea:focus,.field select:focus{border-color:#7b8c2b;box-shadow:0 0 0 4px rgba(140,170,48,.11);outline:none}.field.dark>span{color:#aeb6aa}.field.dark input,.field.dark textarea,.field.dark select{border-color:var(--line2);background:#0e120f;color:var(--text)}.media-choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:2px}.media-choice{position:relative;min-height:116px;border:1px solid #d6d9d1;border-radius:16px;padding:18px;cursor:pointer;display:grid;grid-template-columns:44px 1fr;column-gap:13px;align-content:center;background:#f8f8f4;transition:.2s}.media-choice:hover{transform:translateY(-2px);border-color:#a9b373;box-shadow:0 8px 24px rgba(43,54,37,.08)}.media-choice input{position:absolute;opacity:0}.media-icon{grid-row:1/3;width:42px;height:42px;border-radius:13px;background:#e4e8dc;display:grid;place-items:center;color:#48503f;font-size:20px}.media-choice strong{font-size:14px;align-self:end}.media-choice small{font-size:12px;color:#767d73;align-self:start;margin-top:3px}.micro-copy{font-size:12px;color:#697066;min-height:18px;margin-top:10px}.primary-cta{margin-top:24px;border:0;border-radius:15px;background:#111511;color:white;padding:17px 20px;font-weight:850;display:flex;align-items:center;justify-content:space-between;cursor:pointer;transition:.2s}.primary-cta b{width:32px;height:32px;border-radius:10px;background:var(--acid);color:#111511;display:grid;place-items:center;font-size:18px}.primary-cta:hover{transform:translateY(-2px);box-shadow:0 15px 36px rgba(14,20,14,.18)}
/* Shell */
.app-shell{min-height:100vh;display:grid;grid-template-columns:var(--sidebar) minmax(0,1fr)}.sidebar{height:100vh;position:sticky;top:0;border-right:1px solid var(--line);background:#0f130f;padding:22px 16px 18px;display:flex;flex-direction:column;z-index:30}.sidebar-brand{display:flex;align-items:center;gap:12px;padding:0 8px 28px}.sidebar-brand img{width:42px;height:42px}.sidebar-brand span{display:flex;flex-direction:column}.sidebar-brand strong{font-size:12px;letter-spacing:.15em}.sidebar-brand small{font-size:10px;color:var(--muted);margin-top:3px}.main-nav{display:flex;flex-direction:column;gap:5px}.nav-item{border:0;background:transparent;color:#9ba39a;border-radius:12px;padding:11px 12px;display:flex;align-items:center;gap:12px;text-align:left;font-weight:680;font-size:13px;cursor:pointer;transition:.17s}.nav-item:hover{background:rgba(255,255,255,.045);color:#e6ebe4}.nav-item.active{background:var(--acidSoft);color:var(--acid)}.nav-item small{margin-left:auto;font-size:8px;color:var(--muted)}.nav-icon{width:25px;height:25px;border-radius:8px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.08);font-size:12px;font-weight:900}.nav-item.active .nav-icon{border-color:rgba(216,255,79,.25);background:rgba(216,255,79,.1)}.sidebar-quick{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:16px}.sidebar-quick button{border:1px solid var(--line);background:#151a16;color:#d7ddd4;border-radius:12px;padding:10px 7px;cursor:pointer;text-align:left;transition:.17s}.sidebar-quick button:hover{border-color:rgba(216,255,79,.28);background:#1a211b;transform:translateY(-1px)}.sidebar-quick button span{width:28px;height:28px;border-radius:9px;display:grid;place-items:center;background:var(--acidSoft);color:var(--acid);font-weight:900;font-size:14px;margin-bottom:8px}.sidebar-quick button strong{display:block;font-size:10px;line-height:1.2}.sidebar-spacer{flex:1}.sidebar-profile{margin-top:14px;border:1px solid var(--line);background:#151a16;border-radius:15px;padding:10px;display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:9px;text-align:left;cursor:pointer;color:var(--text)}.sidebar-avatar{width:38px;height:38px;border-radius:12px;background:#242b25 center/cover no-repeat;display:grid;place-items:center;color:var(--acid);font-weight:900}.sidebar-profile-copy{min-width:0;display:flex;flex-direction:column}.sidebar-profile-copy strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sidebar-profile-copy small{font-size:10px;color:var(--muted);margin-top:3px}.workspace{min-width:0;padding:24px clamp(22px,3vw,48px) 80px;background:radial-gradient(circle at 82% 0%,rgba(216,255,79,.035),transparent 24%),#0c0f0d}.mobile-topbar{display:none}.mobile-scrim{display:none}
/* Player */
.player-deck{position:relative;z-index:20;max-width:1560px;margin:0 auto 28px;border:1px solid var(--line2);border-radius:28px;background:linear-gradient(145deg,#171d18,#0e120f 68%);box-shadow:0 20px 60px rgba(0,0,0,.25);overflow:hidden}.player-main{display:grid;grid-template-columns:150px minmax(320px,1fr) 210px 112px;gap:24px;align-items:center;padding:22px}.player-cover-wrap{position:relative}.player-cover{width:150px;height:150px;border-radius:24px;object-fit:cover;background:#202721;box-shadow:0 15px 35px rgba(0,0,0,.32)}.live-badge{position:absolute;left:10px;bottom:10px;padding:6px 9px;border-radius:999px;background:var(--red);color:white;font-size:9px;font-weight:900;letter-spacing:.12em}.player-info{min-width:0}.player-info h2{margin:0;font-size:clamp(24px,2.5vw,40px);letter-spacing:-.045em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.player-info p{margin:7px 0 14px;color:var(--muted);font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.audio-progress-area input,.volume-row input{width:100%;accent-color:var(--acid)}.time-row{display:flex;justify-content:space-between;color:var(--muted2);font-size:10px;margin-top:4px}.platform-embed{margin-top:12px}.platform-embed iframe{width:100%;height:152px;border:0;border-radius:14px;background:#0b0e0c}.transport-block{display:grid;gap:14px}.transport-controls{display:flex;align-items:center;justify-content:center;gap:10px}.transport{border:1px solid var(--line2);background:#1b211c;width:46px;height:46px;border-radius:15px;cursor:pointer;font-size:25px}.transport.play{width:62px;height:62px;border-radius:20px;background:var(--acid);color:#10130f;border-color:var(--acid);font-size:22px;font-weight:900}.transport:disabled{opacity:.35;cursor:not-allowed}.volume-row{display:grid;grid-template-columns:34px 1fr;align-items:center;gap:8px}.small-icon{border:1px solid var(--line);background:#151a16;border-radius:10px;width:34px;height:34px;cursor:pointer}.player-mode-row{display:flex;gap:6px;justify-content:center}.chip-button{border:1px solid var(--line);background:#151a16;color:#c8cec5;border-radius:999px;padding:7px 10px;font-size:10px;font-weight:800;cursor:pointer}.player-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px}.action-button{border:1px solid var(--line);background:#151a16;border-radius:14px;padding:10px 6px;display:grid;gap:5px;place-items:center;cursor:pointer;color:#cbd2c8}.action-button:hover{border-color:rgba(216,255,79,.3);background:#1b221c}.action-button b{font-size:17px;color:var(--acid)}.action-button span{font-size:9px;font-weight:800}.source-strip-head{border-top:1px solid var(--line);padding:12px 18px 7px;display:flex;gap:12px;align-items:baseline}.source-strip-head span{font-size:9px;font-weight:900;letter-spacing:.15em;color:#dfe4dc}.source-strip-head small{font-size:9px;color:var(--muted)}.source-strip{display:flex;gap:8px;overflow:auto;padding:0 18px 16px;scrollbar-width:thin}.source-chip{flex:0 0 auto;min-width:170px;max-width:240px;border:1px solid var(--line);background:#111612;border-radius:14px;padding:8px;display:grid;grid-template-columns:42px minmax(0,1fr) 24px;gap:9px;align-items:center;cursor:pointer;text-align:left}.source-chip:hover,.source-chip.active{border-color:rgba(216,255,79,.32);background:rgba(216,255,79,.05)}.source-chip img{width:42px;height:42px;border-radius:11px;object-fit:cover;background:#202721}.source-chip strong,.source-chip small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.source-chip strong{font-size:11px}.source-chip small{font-size:9px;color:var(--muted);margin-top:4px}.source-chip .edit-source{border:0;background:transparent;color:var(--muted);cursor:pointer;font-size:18px}.source-empty{border:1px dashed var(--line2);border-radius:12px;padding:13px;color:var(--muted);font-size:10px;flex:1}.restore-player{position:fixed;right:0;top:120px;z-index:55;border:1px solid var(--line2);border-right:0;background:#151b16;border-radius:15px 0 0 15px;padding:11px 13px;display:flex;gap:8px;align-items:center;cursor:pointer;box-shadow:var(--shadow)}.restore-player span{color:var(--acid);font-size:18px}.restore-player b{font-size:10px}.mini-player{position:fixed;right:18px;bottom:18px;z-index:80;width:116px;height:116px;border:1px solid var(--line2);border-radius:25px;background:#101511;box-shadow:var(--shadow);overflow:hidden}.mini-player img{width:100%;height:100%;object-fit:cover}.mini-play{position:absolute;inset:34px;width:48px;height:48px;border:0;border-radius:50%;background:rgba(216,255,79,.9);color:#111511;font-weight:900;cursor:pointer}.mini-expand{position:absolute;right:7px;top:7px;width:30px;height:30px;border:1px solid rgba(255,255,255,.25);border-radius:10px;background:rgba(8,11,9,.78);color:white;cursor:pointer;font-size:16px}.mini-copy{position:absolute;inset:auto 6px 6px;padding:6px 7px;border-radius:9px;background:rgba(8,11,9,.82);pointer-events:none}.mini-copy strong,.mini-copy span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mini-copy strong{font-size:9px}.mini-copy span{font-size:7px;color:#aab2a8;margin-top:2px}
/* Main header */
.page-header{max-width:1560px;margin:0 auto;display:flex;justify-content:space-between;align-items:flex-start;gap:24px}.header-date{font-size:11px;text-transform:uppercase;letter-spacing:.17em;color:var(--acid);font-weight:800;margin-bottom:9px}.page-header h1{font-size:clamp(34px,4vw,58px);line-height:1;margin:0;letter-spacing:-.05em}.page-header p{margin:10px 0 0;color:var(--muted);font-size:13px}.header-side{display:flex;align-items:center;gap:12px}.search-box{height:45px;min-width:300px;border:1px solid var(--line);background:#111512;border-radius:14px;display:flex;align-items:center;gap:10px;padding:0 13px}.search-box span{color:var(--muted);font-size:18px}.search-box input{border:0;outline:0;background:transparent;color:var(--text);width:100%}.header-avatar{width:64px;height:64px;border-radius:20px;border:1px solid var(--line2);background:#1d241e center/cover no-repeat;cursor:pointer}.cycle-bar{max-width:1560px;margin:18px auto 0;display:flex;gap:8px;flex-wrap:wrap}.metric-chip{border:1px solid var(--line);background:rgba(255,255,255,.025);padding:8px 10px;border-radius:11px;display:flex;align-items:baseline;gap:7px}.metric-chip span{font-size:9px;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}.metric-chip strong{font-size:14px}.view-host{max-width:1560px;margin:22px auto 0}
/* Cards */
.view-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px}.filter-row{display:flex;gap:7px;overflow:auto}.filter-chip{border:1px solid var(--line);background:#111512;color:#aab2a8;border-radius:999px;padding:8px 12px;font-size:10px;font-weight:800;cursor:pointer;white-space:nowrap}.filter-chip.active{background:var(--acidSoft);border-color:rgba(216,255,79,.25);color:var(--acid)}.dashboard-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));grid-auto-flow:dense;gap:14px}.tile{position:relative;border:1px solid var(--line);background:#111512;border-radius:20px;overflow:hidden;cursor:pointer;text-align:left;min-width:0;transition:.2s ease;box-shadow:0 14px 35px rgba(0,0,0,.1)}.tile:hover{transform:translateY(-4px);border-color:rgba(216,255,79,.28);box-shadow:0 20px 45px rgba(0,0,0,.22)}.tile.square{aspect-ratio:1}.tile.wide{grid-column:span 2;aspect-ratio:2/1}.tile-media{position:absolute;inset:0}.tile-media img{width:100%;height:100%;object-fit:cover;background:#1b211c}.tile-media:after{content:"";position:absolute;inset:20% 0 0;background:linear-gradient(transparent,rgba(7,10,8,.96))}.tile-content{position:absolute;inset:auto 0 0;padding:15px;z-index:2}.tile-label{display:flex;align-items:center;gap:7px;margin-bottom:7px}.tile-label span{font-size:8px;font-weight:900;letter-spacing:.13em;color:var(--acid);text-transform:uppercase}.tile h3{margin:0;font-size:clamp(13px,1.3vw,19px);letter-spacing:-.025em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tile p{margin:5px 0 0;color:#aeb5ac;font-size:9px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.tile-tools{position:absolute;top:9px;right:9px;z-index:3;display:flex;gap:5px;opacity:0;transition:.18s}.tile:hover .tile-tools{opacity:1}.tile-tools button{width:30px;height:30px;border:1px solid rgba(255,255,255,.2);border-radius:9px;background:rgba(9,12,10,.8);cursor:pointer}.tile-placeholder .tile-media{display:grid;place-items:center;background:linear-gradient(145deg,#1a211b,#101411)}.tile-placeholder .tile-media b{font-size:52px;color:var(--acid)}.category-section{margin-bottom:28px}.category-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.category-head h2{font-size:18px;margin:0}.category-head small{color:var(--muted);font-size:10px}.empty-state{padding:54px 30px;text-align:center;border:1px dashed var(--line2);border-radius:18px;color:var(--muted)}.empty-state strong{display:block;color:var(--text);font-size:16px;margin-bottom:7px}.empty-state p{max-width:440px;margin:0 auto 18px;font-size:12px;line-height:1.6}.playlist-page-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.playlist-card{border:1px solid var(--line);background:#111512;border-radius:19px;padding:12px;cursor:pointer;transition:.18s}.playlist-card:hover{border-color:rgba(216,255,79,.3);transform:translateY(-3px)}.playlist-card img{width:100%;aspect-ratio:1.8/1;object-fit:cover;border-radius:13px;background:#1b211c}.playlist-card strong{display:block;margin-top:10px;font-size:13px}.playlist-card small{display:block;color:var(--muted);font-size:9px;margin-top:4px}.section-title-row{display:flex;justify-content:space-between;align-items:center;gap:12px}.top-gap{margin-top:18px}
/* Buttons, dialogs */
.btn{border:1px solid var(--line2);background:#181e19;color:#e9ede6;border-radius:11px;padding:10px 13px;font-size:11px;font-weight:760;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:7px;transition:.17s;text-decoration:none}.btn:hover{background:#202721;transform:translateY(-1px)}.btn.primary{background:var(--acid);border-color:var(--acid);color:#10130f}.btn.danger{background:rgba(255,93,99,.11);border-color:rgba(255,93,99,.28);color:#ff7d82}.btn.ghost{background:transparent}.btn.small{padding:7px 9px;border-radius:9px;font-size:10px}.button-row{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.icon-btn{width:38px;height:38px;border:1px solid var(--line);border-radius:11px;background:#151a16;cursor:pointer;color:#cbd2c8}.modal{width:min(720px,calc(100% - 28px));max-height:92vh;padding:0;border:1px solid var(--line2);border-radius:24px;background:#101511;color:var(--text);box-shadow:var(--shadow)}.large-modal{width:min(1040px,calc(100% - 28px))}.modal::backdrop,.workspace-dialog::backdrop{background:rgba(1,3,2,.76);backdrop-filter:blur(8px)}.modal-shell{display:grid;grid-template-rows:auto minmax(0,1fr) auto;max-height:92vh}.modal-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 22px 16px;border-bottom:1px solid var(--line)}.modal-header h2{margin:0;font-size:24px;letter-spacing:-.035em}.modal-body{min-height:0;overflow:auto;padding:20px 22px}.modal-footer{display:grid;grid-template-columns:auto 1fr auto auto;align-items:center;gap:8px;padding:14px 22px;border-top:1px solid var(--line)}.form-stack{display:grid;gap:12px}.form-stack .field{margin:0}.upload-tile{position:relative;border:1px dashed var(--line2);border-radius:15px;padding:15px;display:grid;grid-template-columns:42px minmax(0,1fr);gap:2px 12px;cursor:pointer}.upload-tile input{position:absolute;opacity:0}.upload-tile span{grid-row:1/3;width:42px;height:42px;border-radius:12px;background:var(--acidSoft);color:var(--acid);display:grid;place-items:center;font-size:20px}.upload-tile strong{font-size:12px;align-self:end}.upload-tile small{font-size:10px;color:var(--muted);align-self:start}.thumb-preview{min-height:0}.thumb-preview img{width:120px;height:80px;border-radius:13px;object-fit:cover;border:1px solid var(--line)}.split-modal{display:grid;grid-template-columns:1fr 1fr;gap:22px}.split-modal section+section{border-left:1px solid var(--line);padding-left:22px}.split-modal h3,.playlist-editor-grid h3{margin:0 0 14px;font-size:15px}.choice-card{width:100%;border:1px solid var(--line);background:#151a16;border-radius:16px;padding:15px;display:grid;grid-template-columns:44px 1fr;gap:12px;text-align:left;cursor:pointer;margin-bottom:9px}.choice-card:hover{border-color:rgba(216,255,79,.3);background:#1a211b}.choice-card>span{width:44px;height:44px;border-radius:13px;background:var(--acidSoft);color:var(--acid);display:grid;place-items:center;font-size:20px}.choice-card strong,.choice-card small{display:block}.choice-card strong{font-size:12px}.choice-card small{font-size:10px;color:var(--muted);margin-top:5px;line-height:1.45}.danger-choice>span{background:rgba(255,93,99,.12);color:#ff7d82}.support-note{font-size:10px;color:var(--muted);line-height:1.6}.manager-list{display:grid;gap:7px}.manager-row{border:1px solid var(--line);background:#141915;border-radius:13px;padding:8px;display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:10px;align-items:center}.manager-row img{width:48px;height:48px;border-radius:11px;object-fit:cover;background:#202721}.manager-row strong,.manager-row small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.manager-row strong{font-size:11px}.manager-row small{font-size:9px;color:var(--muted);margin-top:4px}.manager-actions{display:flex;gap:5px}.manager-actions button{width:30px;height:30px;border:1px solid var(--line);border-radius:9px;background:#101411;cursor:pointer}.playlist-editor-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:22px}.playlist-editor-grid>section+section{border-left:1px solid var(--line);padding-left:22px}.source-list{display:grid;gap:7px;margin-top:14px}.source-list-row{border:1px solid var(--line);border-radius:12px;padding:10px;display:grid;grid-template-columns:1fr auto;gap:10px}.source-list-row strong,.source-list-row small{display:block}.source-list-row strong{font-size:11px}.source-list-row small{font-size:9px;color:var(--muted);margin-top:4px}.status-text{font-size:10px;color:var(--muted)}
/* Workspace */
.inline-workspace{position:relative;max-width:1560px;height:calc(100vh - 250px);min-height:560px;margin:20px auto 0;border:1px solid var(--line2);border-radius:22px;overflow:hidden;background:#090d0a;box-shadow:var(--shadow)}.workspace-toolbar{height:64px;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:9px 14px;border-bottom:1px solid var(--line);background:#0f140f}.workspace-ident{display:flex;align-items:center;gap:10px;min-width:0}.workspace-ident img{width:42px;height:42px;border-radius:12px;object-fit:cover}.workspace-ident small,.workspace-ident strong{display:block}.workspace-ident small{font-size:8px;letter-spacing:.15em;color:var(--acid)}.workspace-ident strong{font-size:12px;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.workspace-actions{display:flex;gap:7px;align-items:center}.workspace-frames{position:relative;height:calc(100% - 64px);min-height:0}.workspace-frames iframe{position:absolute;inset:0;width:100%;height:100%;border:0;background:white}.workspace-diagnostic{position:absolute;inset:64px 0 0;z-index:4;display:grid;place-content:center;text-align:center;background:#0d110e}.workspace-diagnostic h2{margin:0}.workspace-diagnostic p{color:var(--muted)}
/* Chat and toasts */
.chat-panel{position:fixed;inset:0 0 0 auto;z-index:100;width:min(430px,100vw);transform:translateX(102%);background:#0f140f;border-left:1px solid var(--line2);box-shadow:var(--shadow);transition:.25s;display:grid;grid-template-rows:auto 1fr}.chat-panel.open{transform:translateX(0)}.chat-panel header{display:flex;justify-content:space-between;align-items:center;padding:18px;border-bottom:1px solid var(--line)}.chat-panel h2{margin:0}.chat-empty{display:grid;place-content:center;text-align:center;padding:30px}.sr-avatar{width:88px;height:88px;border-radius:28px;background:var(--acid);color:#111511;display:grid;place-items:center;margin:0 auto 18px;font-size:30px;font-weight:950}.chat-empty p{max-width:300px;color:var(--muted);font-size:12px;line-height:1.6}.toast-host{position:fixed;left:50%;bottom:24px;z-index:200;transform:translateX(-50%);display:grid;gap:8px}.toast{padding:11px 14px;border:1px solid var(--line2);border-radius:12px;background:#161d17;box-shadow:var(--shadow);font-size:11px;animation:toastIn .25s ease}.toast.error{border-color:rgba(255,93,99,.35);color:#ff9da1}.toast.success{border-color:rgba(62,231,132,.35);color:#8ff6b5}@keyframes toastIn{from{opacity:0;transform:translateY(12px)}}
@media(max-width:1350px){.dashboard-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.player-main{grid-template-columns:130px minmax(280px,1fr) 190px 104px}.player-cover{width:130px;height:130px}}
@media(max-width:1120px){:root{--sidebar:214px}.dashboard-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.player-main{grid-template-columns:110px minmax(260px,1fr) 180px}.player-cover{width:110px;height:110px;border-radius:19px}.player-actions{grid-column:1/-1;grid-template-columns:repeat(4,1fr)}.action-button{display:flex;justify-content:center;gap:8px}.playlist-page-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:860px){.app-shell{display:block}.sidebar{position:fixed;left:0;top:0;bottom:0;width:260px;transform:translateX(-102%);transition:.23s;z-index:120}.sidebar.open{transform:translateX(0)}.mobile-scrim{position:fixed;inset:0;z-index:110;background:rgba(0,0,0,.62)}.mobile-scrim.open{display:block}.workspace{padding:14px 14px 70px}.mobile-topbar{height:54px;display:flex;align-items:center;gap:12px;margin-bottom:12px}.mobile-topbar img{width:180px}.player-main{grid-template-columns:88px minmax(0,1fr)}.player-cover{width:88px;height:88px}.transport-block{grid-column:1/-1;grid-template-columns:1fr 180px;align-items:center}.transport-controls{justify-content:flex-start}.volume-row{display:none}.player-actions{grid-column:1/-1}.page-header{align-items:center}.header-side{flex:1;justify-content:flex-end}.search-box{min-width:0;width:min(300px,100%)}.header-avatar{width:52px;height:52px}.dashboard-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.tile.wide{grid-column:span 2}.split-modal,.playlist-editor-grid{grid-template-columns:1fr}.split-modal section+section,.playlist-editor-grid>section+section{border-left:0;border-top:1px solid var(--line);padding-left:0;padding-top:20px}.profile-shell{grid-template-columns:1fr}.profile-intro{min-height:330px}.profile-promise{margin-top:55px}.profile-preview{display:none}.profile-form{padding:38px 28px}}
@media(max-width:600px){.profile-gate{padding:0}.profile-shell{min-height:100vh;border:0;border-radius:0}.profile-intro{min-height:280px;padding:28px}.profile-promise h1{font-size:44px}.profile-promise p{font-size:13px}.form-grid.two,.media-choice-grid{grid-template-columns:1fr}.player-deck{border-radius:20px;margin-bottom:20px}.player-main{padding:14px;gap:14px}.player-info h2{font-size:21px}.player-info p{font-size:10px}.transport-block{display:block}.transport-controls{margin-top:6px}.player-actions{grid-template-columns:repeat(4,1fr)}.action-button span{display:none}.source-strip-head small{display:none}.page-header{display:block}.header-side{margin-top:14px}.search-box{width:100%}.header-avatar{display:none}.dashboard-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.tile.wide{grid-column:span 2}.playlist-page-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-actions .btn:not(.primary){display:none}.workspace-toolbar{padding:8px}.workspace-ident img{width:36px;height:36px}.modal-footer{grid-template-columns:auto 1fr auto}.modal-footer .btn.ghost{display:none}.mini-player{right:12px;bottom:12px}}

/* V5: group-first dashboards, real audio artwork, official Chat With SR */
.player-cover,.mini-player>img{background:#111713}.player-cover[src$="audio-placeholder.svg"]{object-fit:cover}.mini-player>img[src$="audio-placeholder.svg"]{object-fit:cover}
.group-browser{display:grid;gap:18px}.group-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:4px}.group-toolbar-left,.group-toolbar-right{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.group-filter-row{display:flex;gap:7px;flex-wrap:wrap}.group-filter-chip{border:1px solid var(--line);background:#141915;color:#aeb6ad;border-radius:999px;padding:8px 11px;font-size:10px;font-weight:780;cursor:pointer}.group-filter-chip:hover{border-color:var(--line2);color:#fff}.group-filter-chip.active{background:var(--acidSoft);border-color:rgba(216,255,79,.33);color:var(--acid)}.sort-select{border:1px solid var(--line);background:#141915;color:#dfe5dc;border-radius:11px;padding:9px 31px 9px 11px;font-size:10px}.group-tile .tile-media:after{content:"";position:absolute;inset:auto 12px 12px auto;width:34px;height:34px;border-radius:11px;background:rgba(10,14,11,.82);border:1px solid rgba(255,255,255,.15);backdrop-filter:blur(10px)}.group-tile .tile-media:before{content:"▦";position:absolute;right:21px;bottom:19px;z-index:2;color:var(--acid);font-size:15px}.group-tile .tile-content h3{max-width:85%}.group-count{color:var(--muted);font-size:10px}.group-open-head{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;padding:14px 16px;border:1px solid var(--line);border-radius:18px;background:#121713;margin-bottom:16px}.group-open-head>img{width:72px;height:72px;border-radius:17px;object-fit:cover;background:#1b221d}.group-open-copy{min-width:0}.group-open-copy small{display:block;color:var(--acid);font-size:9px;letter-spacing:.13em;font-weight:850}.group-open-copy h2{margin:4px 0 3px;font-size:22px}.group-open-copy p{margin:0;color:var(--muted);font-size:11px;line-height:1.45}.group-open-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.check-field>span{display:flex;align-items:center;gap:8px;text-transform:none;letter-spacing:0}.check-field input{width:auto}
.chat-mini{position:fixed;right:18px;bottom:18px;z-index:94;min-width:218px;border:1px solid rgba(216,255,79,.28);border-radius:17px;background:rgba(17,22,18,.95);box-shadow:0 18px 55px rgba(0,0,0,.45);backdrop-filter:blur(18px);display:grid;grid-template-columns:42px minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px 11px;color:#eef3eb;cursor:pointer;text-align:left;transition:.2s}.chat-mini:hover{transform:translateY(-2px);border-color:rgba(216,255,79,.55)}.chat-mini-avatar{width:42px;height:42px;border-radius:13px;background:var(--acid);color:#10130f;display:grid;place-items:center;font-size:13px;font-weight:950}.chat-mini strong,.chat-mini small{display:block}.chat-mini strong{font-size:11px}.chat-mini small{font-size:9px;color:var(--muted);margin-top:3px}.chat-mini b{color:var(--acid);font-size:15px}.chat-panel{width:min(500px,100vw)}.chat-panel.open+.toast-host{}.chat-header-actions{display:flex;gap:7px;align-items:center}.chat-frame-wrap{position:relative;min-height:0;background:#0b0f0c}.chat-frame-wrap iframe{width:100%;height:100%;border:0;background:#0c0f0d}.chat-diagnostic{position:absolute;inset:0;display:grid;place-content:center;text-align:center;padding:28px;background:#0d120e}.chat-diagnostic p{color:var(--muted)}.chat-panel.open~.chat-mini,.chat-mini.hidden-by-panel{display:none}.chat-panel.open{transform:translateX(0)}
@media(max-width:860px){.group-open-head{grid-template-columns:58px minmax(0,1fr)}.group-open-head>img{width:58px;height:58px}.group-open-actions{grid-column:1/-1;justify-content:flex-start}.chat-mini{right:12px;bottom:12px;min-width:190px}.chat-panel{width:100vw}.chat-panel header{padding-top:max(14px,env(safe-area-inset-top))}}
@media(max-width:600px){.group-toolbar{align-items:stretch}.group-toolbar-left,.group-toolbar-right{width:100%}.group-filter-row{flex-wrap:nowrap;overflow:auto;padding-bottom:4px}.group-filter-chip{white-space:nowrap}.sort-select{flex:1}.group-open-head{padding:11px}.group-open-copy h2{font-size:18px}.chat-mini span:nth-child(2){display:none}.chat-mini{min-width:0;grid-template-columns:42px auto;padding:7px}.chat-mini b{display:none}}

/* V6: every object has visible create, edit and delete controls */
.tile-tools,.tile-tools.always-visible{opacity:1;max-width:calc(100% - 18px);flex-wrap:wrap;justify-content:flex-end}
.tile-tools button{width:auto;min-width:30px;height:30px;padding:0 9px;display:flex;align-items:center;justify-content:center;gap:5px;font-size:9px;font-weight:850;backdrop-filter:blur(12px)}
.tile-tools button span{display:inline}
.tile-tools .tile-action.add{border-color:rgba(216,255,79,.34);color:var(--acid)}
.tile-tools .tile-action.edit{border-color:rgba(83,166,255,.32);color:#d9eaff}
.tile-tools .tile-action.delete{border-color:rgba(255,93,99,.38);color:#ff9da1;padding:0;width:30px}
.tile:hover .tile-tools{opacity:1}
.group-tile .tile-content{padding-right:52px}
.empty-actions{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}
.playlist-toolbar-copy strong,.playlist-toolbar-copy small{display:block}
.playlist-toolbar-copy strong{font-size:13px}.playlist-toolbar-copy small{font-size:10px;color:var(--muted);margin-top:4px}
.playlist-card{cursor:default;display:flex;flex-direction:column;min-width:0}
.playlist-card>img{cursor:pointer}
.playlist-card-actions{display:grid;grid-template-columns:auto 1fr auto;gap:6px;margin-top:11px}
.playlist-action{min-height:34px;border:1px solid var(--line);border-radius:10px;background:#171d18;color:#e8ece6;padding:7px 9px;font-size:9px;font-weight:850;cursor:pointer;white-space:nowrap}
.playlist-action:hover{border-color:var(--line2);background:#1c241d}
.playlist-action.play{border-color:rgba(216,255,79,.3);color:var(--acid)}
.playlist-action.edit{border-color:rgba(83,166,255,.26);color:#d9eaff}
.playlist-action.delete{border-color:rgba(255,93,99,.3);color:#ff9da1}
.playlist-manager-actions button{width:auto;min-width:32px;padding:0 9px;font-size:9px;font-weight:800}
.playlist-manager-actions button.danger{border-color:rgba(255,93,99,.35);color:#ff9da1}

/* Chat With SR cannot be embedded because the official site refuses iframes.
   The minimized control opens the real site in a compact browser window. */
.chat-mini{display:flex;align-items:center;gap:6px;min-width:0;padding:6px;border-radius:18px;cursor:default}
.chat-mini:hover{transform:none}
.chat-mini-main{min-width:190px;border:0;background:transparent;color:inherit;display:grid;grid-template-columns:42px minmax(0,1fr);align-items:center;gap:10px;padding:3px 6px 3px 3px;text-align:left;cursor:pointer;border-radius:13px}
.chat-mini-main:hover{background:rgba(216,255,79,.07)}
.chat-mini-main>span:nth-child(2){min-width:0}
.chat-mini-direct{width:38px;height:38px;border:1px solid var(--line2);border-radius:12px;background:#111712;color:var(--acid);cursor:pointer;font-size:15px;font-weight:900}
.chat-mini-direct:hover{border-color:rgba(216,255,79,.5);background:#182018}
.chat-mini.chat-opened{border-color:rgba(62,231,132,.42)}
.chat-mini.chat-opened .chat-mini-main small{color:#8ff6b5}
.chat-mini.chat-opened .chat-mini-main small::after{content:" · fenêtre ouverte"}

@media(max-width:860px){
  .tile-tools button span{display:none}
  .tile-tools button{width:30px;padding:0}
  .playlist-card-actions{grid-template-columns:1fr 1fr}
  .playlist-action.delete{grid-column:1/-1}
}
@media(max-width:600px){
  .view-toolbar{align-items:stretch;flex-direction:column}
  .view-toolbar>.button-row{width:100%}.view-toolbar>.button-row .btn{flex:1}
  .tile-tools{top:7px;right:7px;gap:4px}
  .tile-tools button{height:28px;width:28px;min-width:28px}
  .chat-mini{right:10px;bottom:10px;padding:5px}
  .chat-mini-main{min-width:0;width:46px;grid-template-columns:42px;padding:2px}
  .chat-mini-main>span:nth-child(2){display:none}
  .chat-mini-direct{width:36px;height:36px}
  .playlist-page-grid{grid-template-columns:1fr}
}

/* V7: les actions des cartes sont regroupées derrière un bouton à trois points. */
.tile{overflow:visible;z-index:1}
.tile-media{overflow:hidden;border-radius:inherit}
.tile:has(.card-menu[open]),.playlist-card:has(.card-menu[open]){z-index:40}
.playlist-card{position:relative}
.card-menu,.header-menu{position:absolute;top:9px;right:9px;z-index:20;margin:0}
.card-menu summary,.header-menu summary{list-style:none;width:34px;height:34px;border:1px solid rgba(255,255,255,.2);border-radius:10px;background:rgba(8,12,9,.88);color:#f1f4ed;display:grid;place-items:center;font-size:15px;font-weight:900;letter-spacing:2px;cursor:pointer;backdrop-filter:blur(14px);user-select:none}
.card-menu summary::-webkit-details-marker,.header-menu summary::-webkit-details-marker{display:none}
.card-menu summary:hover,.header-menu summary:hover,.card-menu[open] summary,.header-menu[open] summary{border-color:rgba(216,255,79,.48);background:#1a211b;color:var(--acid)}
.card-menu-popover{position:absolute;right:0;top:calc(100% + 7px);min-width:176px;padding:6px;border:1px solid var(--line2);border-radius:13px;background:rgba(13,18,14,.98);box-shadow:0 18px 45px rgba(0,0,0,.48);backdrop-filter:blur(18px);display:grid;gap:3px}
.card-menu-popover button{width:100%;min-height:35px;border:0;border-radius:9px;background:transparent;color:#e9ede6;padding:8px 10px;text-align:left;font-size:10px;font-weight:780;cursor:pointer;white-space:nowrap}
.card-menu-popover button:hover{background:rgba(216,255,79,.08);color:var(--acid)}
.card-menu-popover button.danger{color:#ff9da1}
.card-menu-popover button.danger:hover{background:rgba(255,93,99,.1);color:#ffb3b6}
.header-menu{position:relative;top:auto;right:auto}
.header-menu .card-menu-popover{min-width:190px}
.group-tile .tile-content{padding-right:15px}
.playlist-card>strong,.playlist-card>small{padding-right:34px}
.playlist-card-actions{display:none}
@media(max-width:600px){
  .card-menu,.header-menu{top:7px;right:7px}
  .header-menu{top:auto;right:auto}
  .card-menu summary,.header-menu summary{width:31px;height:31px;border-radius:9px}
  .card-menu-popover{min-width:164px}
}
.source-row-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.access-state{display:block;margin-top:5px;font-size:9px!important}.access-state.granted{color:#bfe96d!important}.access-state.prompt{color:#f2cf73!important}.access-state.denied,.access-state.missing{color:#ff858a!important}.manager-row .access-state{white-space:normal;line-height:1.35}.choice-card.hidden{display:none}
@media(max-width:620px){.source-list-row{grid-template-columns:1fr}.source-row-actions{justify-content:flex-start}}


/* V11: official NINE identity + integrated Help */
.boot-mark,.brand-mark{overflow:hidden;background:#08141b;padding:0;border:1px solid rgba(73,238,255,.28);box-shadow:0 16px 48px rgba(0,219,255,.16)}
.boot-mark img,.brand-mark img{width:100%;height:100%;object-fit:cover;display:block}
.sidebar-brand img{border-radius:11px;object-fit:cover;border:1px solid rgba(73,238,255,.18)}
.mobile-topbar .mobile-brand-logo{width:42px;height:42px;border-radius:10px;object-fit:cover}
.mobile-topbar strong{font-size:12px;letter-spacing:.14em}
.help-layout{display:grid;grid-template-columns:minmax(230px,310px) minmax(0,1fr);gap:18px;align-items:start}
.help-index{position:sticky;top:18px;border:1px solid var(--line);border-radius:18px;background:#111512;padding:13px;max-height:calc(100vh - 36px);overflow:auto}
.help-index-head{display:grid;gap:8px;padding:3px 3px 12px}
.help-index-head strong{font-size:13px}.help-index-head small{font-size:10px;color:var(--muted);line-height:1.45}
.help-select{width:100%;border:1px solid var(--line2);background:#0d120e;color:var(--text);border-radius:11px;padding:10px 12px;font-size:10px;margin-bottom:10px}
.help-topic-list{display:grid;gap:4px}
.help-topic-button{width:100%;border:0;border-radius:10px;background:transparent;color:#aeb6ad;text-align:left;padding:9px 10px;font-size:10px;line-height:1.3;cursor:pointer}
.help-topic-button:hover{background:rgba(255,255,255,.045);color:#eef3eb}.help-topic-button.active{background:var(--acidSoft);color:var(--acid)}
.help-article{min-width:0;border:1px solid var(--line);border-radius:22px;background:linear-gradient(150deg,#151a16,#0f1310);padding:clamp(22px,3vw,42px)}
.help-article .eyebrow{margin-bottom:9px}.help-article h2{margin:0 0 24px;font-size:clamp(28px,3.4vw,48px);letter-spacing:-.045em}
.help-copy{max-width:880px;color:#c8cec6;font-size:13px;line-height:1.72}.help-copy h3{margin:28px 0 10px;color:#f2f5ef;font-size:17px}.help-copy p{margin:0 0 15px}.help-copy ul,.help-copy ol{margin:8px 0 18px;padding-left:22px}.help-copy li{margin:6px 0}.help-copy strong{color:#f5f7f2}.help-copy a{color:var(--acid)}
.help-empty{padding:34px;border:1px dashed var(--line2);border-radius:16px;color:var(--muted);text-align:center}
.system-source-tag{display:inline-flex;align-items:center;gap:5px;color:#72eaf6!important;font-size:8px!important;letter-spacing:.08em;text-transform:uppercase}
@media(max-width:860px){.help-layout{grid-template-columns:1fr}.help-index{position:relative;top:auto;max-height:none}.help-topic-list{display:none}}
@media(max-width:600px){.mobile-topbar img.mobile-brand-logo{width:40px;height:40px}.mobile-topbar strong{font-size:10px}.help-article{padding:20px}.help-copy{font-size:12px}.help-article h2{font-size:29px}}

/* V12 — lecteur plus compact sur desktop */
@media (min-width:861px){
  .player-deck{margin-bottom:18px;border-radius:22px}
  .player-main{grid-template-columns:92px minmax(300px,1fr) 170px 92px;gap:14px;padding:12px 14px}
  .player-cover{width:92px;height:92px;border-radius:17px}
  .live-badge{left:6px;bottom:6px;padding:4px 6px;font-size:8px}
  .player-info h2{font-size:clamp(20px,1.9vw,30px)}
  .player-info p{margin:4px 0 7px;font-size:11px}
  .time-row{font-size:9px;margin-top:2px}
  .transport-block{gap:7px}
  .transport-controls{gap:7px}
  .transport{width:38px;height:38px;border-radius:12px;font-size:21px}
  .transport.play{width:50px;height:50px;border-radius:15px;font-size:18px}
  .volume-row{grid-template-columns:30px 1fr;gap:6px}
  .small-icon{width:30px;height:30px}
  .chip-button{padding:5px 8px;font-size:9px}
  .player-actions{gap:5px}
  .action-button{border-radius:11px;padding:6px 4px;gap:2px}
  .action-button b{font-size:14px}
  .action-button span{font-size:8px}
  .source-strip-head{padding:7px 14px 5px}
  .source-strip{padding:0 14px 10px}
  .source-chip{min-width:155px;padding:6px;grid-template-columns:34px minmax(0,1fr) 20px;border-radius:11px}
  .source-chip img{width:34px;height:34px;border-radius:8px}
  .source-empty{padding:8px 10px}
  .platform-embed{margin-top:7px}
  .platform-embed iframe{height:118px}
}




/* V17 · lecteur NineTarot transplanté */
.nine-tarot-player-deck{padding:0!important;margin:0 0 18px!important;border:0!important;background:transparent!important;box-shadow:none!important;min-height:0!important}
.audioBar{min-width:0;height:44px;display:grid;grid-template-columns:auto 36px minmax(110px,190px) auto auto auto auto auto minmax(90px,1fr) 70px auto auto auto auto;align-items:center;gap:5px;padding:4px 6px;border:1px solid var(--line);border-radius:13px;background:rgba(255,255,255,.028);box-shadow:inset 0 1px rgba(255,255,255,.025)}
.audioCover{width:34px;height:34px;display:grid;place-items:center;overflow:hidden;border-radius:9px;border:1px solid var(--line);background:#09090d center/cover no-repeat;color:rgba(255,255,255,.55);font-weight:900}.audioCover img{width:100%;height:100%;object-fit:cover;display:block}
.audioInfo{min-width:0}.audioTitle{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:1.15;font-weight:750}.audioMeta{display:flex;gap:7px;align-items:center;min-width:0;margin-top:2px;color:var(--muted);font-size:8.5px;white-space:nowrap;overflow:hidden}.audioMeta span{overflow:hidden;text-overflow:ellipsis}.audioMeta #audioTime{margin-left:auto;overflow:visible;font-variant-numeric:tabular-nums}
.audioBtn,.audioFolder{min-height:27px;padding:5px 7px;font-size:10px;border-radius:9px;white-space:nowrap}.audioPlay{min-width:43px}.audioRandomOn{border-color:rgba(141,122,245,.43);color:#c8c0ff;box-shadow:0 0 0 1px rgba(141,122,245,.11) inset}.audioSeek,.audioVolume{width:100%;accent-color:var(--accent)}.audioSeek{min-width:90px}.audioVolume{min-width:55px}.nine-tarot-source-strip{display:none!important}
.audioBar .platform-embed{grid-column:1/-1;min-height:84px}.audioBar .platform-embed iframe{width:100%;height:84px;border:0;border-radius:10px}
@media(max-width:1300px){.audioBar{grid-template-columns:auto 36px minmax(110px,190px) auto auto auto auto auto minmax(90px,1fr) 70px auto}.audioBar #miniPlayerButton,.audioBar #hidePlayerButton,.audioBar #muteButton{display:none}}
@media(max-width:860px){.audioBar{height:auto;grid-template-columns:auto 34px minmax(110px,1fr) auto auto auto;overflow-x:auto}.audioBar .audioSeek{grid-column:1/-2}.audioBar .audioVolume{grid-column:-2}.audioBar #stopTrack,.audioBar .playerExtra{display:none}.audioMeta #playerArtist{display:none}}

/* V18 · même lecteur V17, légèrement agrandi · dark + vert fluo */
.audioBar{
  height:56px;
  grid-template-columns:auto 44px minmax(150px,240px) auto auto auto auto auto minmax(120px,1fr) 86px auto auto auto auto;
  gap:7px;
  padding:6px 9px;
  border-color:rgba(216,255,79,.22);
  border-radius:16px;
  background:linear-gradient(135deg,rgba(20,28,21,.98),rgba(7,11,8,.99) 72%);
  box-shadow:inset 0 1px rgba(255,255,255,.03),0 10px 30px rgba(0,0,0,.22),0 0 22px rgba(216,255,79,.035);
}
.audioCover{
  width:42px;height:42px;border-radius:11px;
  border-color:rgba(216,255,79,.22);
  background:#080c09 center/cover no-repeat;
}
.audioTitle{font-size:12.5px;font-weight:800;color:#f2f6ef}
.audioMeta{font-size:9.5px;color:#8f9a8e;margin-top:3px}
.audioBtn,.audioFolder{
  min-height:32px;padding:6px 9px;font-size:10.5px;border-radius:10px;
  background:#101611;border-color:rgba(255,255,255,.11);
}
.audioBtn:hover,.audioFolder:hover{border-color:rgba(216,255,79,.38);background:#151d16}
.audioPlay{
  min-width:52px;background:var(--acid)!important;color:#0b100c!important;
  border-color:var(--acid)!important;font-weight:900;
  box-shadow:0 0 18px rgba(216,255,79,.14);
}
.audioRandomOn{
  border-color:rgba(216,255,79,.48)!important;
  color:var(--acid)!important;
  background:rgba(216,255,79,.07)!important;
  box-shadow:0 0 0 1px rgba(216,255,79,.10) inset;
}
.audioSeek,.audioVolume{accent-color:var(--acid)}
@media(max-width:1300px){
  .audioBar{grid-template-columns:auto 42px minmax(130px,210px) auto auto auto auto auto minmax(105px,1fr) 76px auto}
}
@media(max-width:860px){
  .audioBar{height:auto;grid-template-columns:auto 40px minmax(130px,1fr) auto auto auto;padding:6px 7px}
  .audioCover{width:40px;height:40px}
}


/* V19 · refinement du lecteur, notifications contextuelles, mini sans collision Chat With SR */
.audioBar{
  height:78px;
  grid-template-columns:auto 58px minmax(190px,300px) auto auto auto auto auto minmax(150px,1fr) 96px auto auto auto auto;
  gap:9px;
  padding:10px 12px;
  border:1px solid rgba(216,255,79,.17);
  border-radius:20px;
  background:
    radial-gradient(circle at 16% 0%,rgba(216,255,79,.055),transparent 30%),
    linear-gradient(135deg,#111713 0%,#0b100d 58%,#080c0a 100%);
  box-shadow:inset 0 1px rgba(255,255,255,.035),0 16px 38px rgba(0,0,0,.25);
}
.audioBar:before{content:"";position:absolute;pointer-events:none}
.nine-tarot-player-deck{margin-bottom:24px!important}
.audioCover{width:56px;height:56px;border-radius:15px;border:1px solid rgba(216,255,79,.22);box-shadow:0 8px 22px rgba(0,0,0,.32)}
.audioInfo{padding-left:2px;border-left:1px solid rgba(216,255,79,.10);padding-left:13px}
.audioTitle{font-size:14px;font-weight:820;letter-spacing:-.012em;color:#f5f7f2}
.audioMeta{font-size:9.5px;margin-top:5px;gap:9px;color:#7f8a80}.audioMeta #playerSourceLabel{color:var(--acid);font-weight:850;letter-spacing:.08em}
.audioBtn,.audioFolder{min-height:36px;padding:7px 10px;border-radius:11px;background:#111713;border-color:rgba(255,255,255,.10);color:#d9dfd7;transition:.16s ease}
.audioBtn:hover,.audioFolder:hover{transform:translateY(-1px);border-color:rgba(216,255,79,.34);background:#161e17}
.audioPlay{min-width:62px;min-height:42px;border-radius:13px!important;background:var(--acid)!important;color:#0a0e0b!important;box-shadow:0 7px 20px rgba(216,255,79,.13)!important}
.audioRandomOn{background:rgba(216,255,79,.055)!important;border-color:rgba(216,255,79,.30)!important;color:var(--acid)!important}
.audioSeek,.audioVolume{accent-color:var(--acid);filter:saturate(.9)}
.audioSeek{height:5px}.audioVolume{height:5px}

/* Le mini lecteur reste au-dessus de Chat With SR, sans le recouvrir. */
.mini-player{right:18px;bottom:96px;width:120px;height:120px;border-color:rgba(216,255,79,.24);background:#0c120e;box-shadow:0 18px 48px rgba(0,0,0,.42),0 0 22px rgba(216,255,79,.04)}

.music-start-prompt{position:fixed;right:28px;top:28px;z-index:230;width:min(410px,calc(100vw - 28px));display:grid;grid-template-columns:44px minmax(0,1fr) auto auto;gap:11px;align-items:center;padding:12px 12px 12px 13px;border:1px solid rgba(216,255,79,.25);border-radius:17px;background:rgba(13,19,15,.96);box-shadow:0 20px 60px rgba(0,0,0,.42);backdrop-filter:blur(18px);opacity:0;transform:translateY(-10px);transition:.2s ease}.music-start-prompt.show{opacity:1;transform:none}.music-start-icon{width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:var(--acid);color:#0b0f0c;font-size:16px;font-weight:950}.music-start-copy{min-width:0}.music-start-copy small{display:block;color:var(--acid);font-size:8px;font-weight:900;letter-spacing:.16em}.music-start-copy strong{display:block;margin-top:3px;font-size:13px}.music-start-copy span{display:block;margin-top:3px;color:var(--muted);font-size:9px;line-height:1.35}.music-start-action{border:0;border-radius:11px;background:var(--acid);color:#0b100c;font-weight:900;padding:10px 13px;cursor:pointer}.music-start-close{width:30px;height:30px;border:1px solid var(--line);border-radius:9px;background:#111713;color:#8d978e;cursor:pointer}

.app-hover-note{position:fixed;z-index:220;padding:14px 16px 15px;border:1px solid rgba(216,255,79,.19);border-radius:16px;background:rgba(13,18,14,.965);box-shadow:0 18px 50px rgba(0,0,0,.42);backdrop-filter:blur(18px);opacity:0;transform:translateY(5px) scale(.985);pointer-events:none;transition:opacity .14s ease,transform .14s ease}.app-hover-note.visible{opacity:1;transform:none}.app-hover-kicker{font-size:8px;font-weight:900;letter-spacing:.16em;color:var(--acid);margin-bottom:5px}.app-hover-note strong{display:block;font-size:14px;letter-spacing:-.01em}.app-hover-note p{margin:7px 0 0;color:#aab3aa;font-size:10px;line-height:1.55}

@media(max-width:1300px){.audioBar{height:74px;grid-template-columns:auto 54px minmax(160px,240px) auto auto auto auto auto minmax(110px,1fr) 80px auto}.audioCover{width:52px;height:52px}.audioBar #miniPlayerButton,.audioBar #hidePlayerButton,.audioBar #muteButton{display:none}}
@media(max-width:860px){.audioBar{height:auto;min-height:74px;grid-template-columns:auto 48px minmax(130px,1fr) auto auto auto;padding:8px}.audioCover{width:48px;height:48px}.audioInfo{padding-left:9px}.mini-player{right:12px;bottom:88px}.music-start-prompt{right:14px;top:14px}.app-hover-note{display:none!important}}


/* V20 · coins du grand lecteur retravaillés + mini lecteur réellement séparé de Chat With SR */
.audioBar{
  position:relative;
  overflow:hidden;
  border-radius:11px;
  border-color:rgba(216,255,79,.16);
  background:
    linear-gradient(180deg,rgba(255,255,255,.018),transparent 36%),
    linear-gradient(135deg,#111713 0%,#0b100d 58%,#080c0a 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.035),
    inset 0 -1px 0 rgba(216,255,79,.025),
    0 14px 34px rgba(0,0,0,.24);
}
.audioBar:before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:10px;
  pointer-events:none;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.018);
}
/* On garde la hauteur V19 : seul le traitement des coins change. */
@media(min-width:1301px){.audioBar{height:78px}}

/* La position verticale est calculée en JS selon la vraie hauteur de Chat With SR. */
.mini-player{
  right:18px;
  bottom:18px;
  border-radius:18px;
  z-index:88;
}
@media(max-width:860px){.mini-player{right:12px;bottom:12px}}


/* V26 · ouverture externe guidée + retour propre à l’accueil */
.workspace-toolbar{position:relative;z-index:8;overflow:visible}
.workspace-frames{z-index:1}
#workspaceExternal{position:relative;overflow:visible}
.workspace-external-hint{
  position:absolute;
  right:0;
  top:calc(100% + 15px);
  z-index:40;
  width:250px;
  padding:12px 14px 13px;
  border:1px solid rgba(216,255,79,.38);
  border-radius:13px;
  background:rgba(12,18,14,.98);
  color:#eef3eb;
  text-align:left;
  box-shadow:0 18px 48px rgba(0,0,0,.46),0 0 26px rgba(216,255,79,.06);
  backdrop-filter:blur(18px);
  pointer-events:none;
  opacity:0;
  transform:translateY(-5px) scale(.985);
  transition:opacity .18s ease,transform .18s ease;
}
.workspace-external-hint:before{
  content:"";
  position:absolute;
  right:30px;
  top:-8px;
  width:14px;
  height:14px;
  background:rgba(12,18,14,.98);
  border-left:1px solid rgba(216,255,79,.38);
  border-top:1px solid rgba(216,255,79,.38);
  transform:rotate(45deg);
}
.workspace-external-hint.show{opacity:1;transform:none}
.workspace-external-hint b{display:block;color:var(--acid);font-size:11px;letter-spacing:.01em}
.workspace-external-hint small{display:block;margin-top:5px;color:#aeb8ae;font-size:9.5px;line-height:1.45;font-weight:600}
@media(max-width:860px){.workspace-external-hint{right:-36px;width:220px}.workspace-external-hint:before{right:66px}}


/* V27 · lecteur audio réellement adapté au mobile
   Toutes les règles restent sous 860px : la version desktop n'est pas modifiée. */
@media (max-width:860px){
  .nine-tarot-player-deck{
    margin:0 0 16px!important;
    width:100%;
  }
  .audioBar{
    width:100%;
    height:auto;
    min-height:0;
    overflow:visible;
    grid-template-columns:50px minmax(0,1fr) auto;
    grid-template-areas:
      "cover info sources"
      "seek seek seek"
      "prev play next"
      "random playlist playlist";
    gap:9px 10px;
    padding:10px;
    border-radius:14px;
    background:
      radial-gradient(circle at 18% -10%,rgba(216,255,79,.07),transparent 34%),
      linear-gradient(145deg,#111813 0%,#0a0f0c 72%);
    box-shadow:inset 0 1px rgba(255,255,255,.03),0 10px 28px rgba(0,0,0,.24);
  }
  .audioBar:before{border-radius:13px}
  .audioCover{
    grid-area:cover;
    width:50px;height:50px;
    align-self:start;
    border-radius:12px;
  }
  .audioInfo{
    grid-area:info;
    align-self:center;
    min-width:0;
    padding:0 0 0 10px;
    border-left:1px solid rgba(216,255,79,.10);
  }
  .audioTitle{
    font-size:12px;
    line-height:1.2;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .audioMeta{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:3px 8px;
    margin-top:5px;
    font-size:8.5px;
    line-height:1.2;
    overflow:visible;
  }
  .audioMeta #playerSourceLabel{
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  .audioMeta #playerArtist{display:none}
  .audioMeta #audioTime{
    margin:0;
    justify-self:end;
    color:#8e988f;
    overflow:visible;
  }

  .audioBar #addSourceButton{
    grid-area:sources;
    align-self:start;
    min-width:0;
    width:auto;
    min-height:31px;
    padding:6px 8px;
    border-radius:9px;
    font-size:9px;
    color:var(--acid);
    border-color:rgba(216,255,79,.24);
    background:rgba(216,255,79,.045);
  }

  .audioBar .audioSeek{
    grid-area:seek;
    width:100%;
    min-width:0;
    height:22px;
    margin:0;
    touch-action:pan-x;
  }
  .audioBar .audioVolume{display:none!important}

  .audioBar #prevTrack{grid-area:prev}
  .audioBar #playPause{grid-area:play}
  .audioBar #nextTrack{grid-area:next}
  .audioBar #orderButton{grid-area:random}
  .audioBar #playlistButton{grid-area:playlist}

  .audioBar #prevTrack,
  .audioBar #nextTrack{
    width:100%;
    min-width:0;
    min-height:42px;
    padding:0;
    display:grid;
    place-items:center;
    font-size:24px;
    line-height:1;
    border-radius:12px;
  }
  .audioBar #playPause{
    width:100%;
    min-width:0;
    min-height:42px;
    padding:0 18px;
    display:grid;
    place-items:center;
    font-size:11px;
    border-radius:12px!important;
  }
  .audioBar #orderButton{
    display:flex!important;
    align-items:center;
    justify-content:center;
    min-width:0;
    min-height:34px;
    padding:6px 10px;
    font-size:9px;
    border-radius:10px;
  }
  .audioBar #playlistButton{
    display:flex!important;
    align-items:center;
    justify-content:center;
    width:100%;
    min-width:0;
    min-height:34px;
    padding:6px 10px;
    font-size:9px;
    border-radius:10px;
  }

  /* Commandes redondantes sur téléphone : le volume est celui du téléphone et le mini lecteur n'apporte rien ici. */
  .audioBar #stopTrack,
  .audioBar #miniPlayerButton,
  .audioBar #hidePlayerButton,
  .audioBar #muteButton,
  .audioBar #returnAudio{display:none!important}
}

@media (max-width:480px){
  .workspace{padding-left:10px;padding-right:10px}
  .audioBar{
    grid-template-columns:46px minmax(0,1fr) 62px;
    gap:8px;
    padding:9px;
    border-radius:13px;
  }
  .audioBar:before{border-radius:12px}
  .audioCover{width:46px;height:46px;border-radius:11px}
  .audioInfo{padding-left:8px}
  .audioTitle{font-size:11.5px}
  .audioMeta{font-size:8px}
  .audioBar #addSourceButton{
    width:62px;
    padding:5px 5px;
    font-size:8px;
  }
  .audioBar #prevTrack,
  .audioBar #nextTrack,
  .audioBar #playPause{min-height:40px}
  .audioBar #prevTrack,
  .audioBar #nextTrack{font-size:22px}
  .audioBar #orderButton,
  .audioBar #playlistButton{min-height:32px;font-size:8.5px}
}

@media (max-width:360px){
  .audioBar{
    grid-template-columns:42px minmax(0,1fr) 56px;
    gap:7px;
    padding:8px;
  }
  .audioCover{width:42px;height:42px}
  .audioBar #addSourceButton{width:56px;font-size:7.5px}
  .audioTitle{font-size:11px}
  .audioMeta #audioTime{font-size:7.5px}
}
