/* ═══════════════════════════════════════════════════
   LORD AI — Premium Gray Design (ChatGPT 2026 × Claude)
   ═══════════════════════════════════════════════════ */

/* ── DESIGN TOKENS ── */
:root {
    --bg: #ffffff;
    --sidebar-bg: #f9f9f9;
    --sidebar-hover: rgba(0,0,0,.04);
    --sidebar-active: rgba(0,0,0,.06);
    --surface: #f4f4f4;
    --card: #ffffff;
    --code-bg: #f6f6f6;
    --code-head: #ebebeb;
    --user-bg: #f7f7f7;

    --c1: #0d0d0d;
    --c2: #4a4a4a;
    --c3: #8e8e8e;
    --c4: #c5c5c5;

    --accent: #4a4a4a;
    --accent2: #333333;
    --accent-soft: rgba(0,0,0,.04);
    --accent-glow: rgba(0,0,0,.03);

    --line: rgba(0,0,0,.06);
    --line2: rgba(0,0,0,.03);
    --inp-border: rgba(0,0,0,.1);
    --inp-focus: rgba(0,0,0,.06);

    --green: #10a37f;
    --red: #ef4444;

    --sh0: 0 0 0 1px rgba(0,0,0,.04);
    --sh1: 0 1px 3px rgba(0,0,0,.04);
    --sh2: 0 4px 20px rgba(0,0,0,.06);
    --sh3: 0 20px 60px rgba(0,0,0,.1);

    --sw: 260px;
    --r: 16px;
    --rs: 12px;
    --rxs: 8px;
    --content-w: 740px;

    --sans: 'Noto Sans Arabic','Inter',-apple-system,system-ui,sans-serif;
    --mono: 'JetBrains Mono','Consolas','Monaco',monospace;

    --ease: cubic-bezier(.16,1,.3,1);
    --ease-out: cubic-bezier(.33,1,.68,1);
}

[data-theme="dark"] {
    --bg: #0d0d0d;
    --sidebar-bg: #111111;
    --sidebar-hover: rgba(255,255,255,.06);
    --sidebar-active: rgba(255,255,255,.08);
    --surface: #1a1a1a;
    --card: #1a1a1a;
    --code-bg: #141414;
    --code-head: #0f0f0f;
    --user-bg: #141414;

    --c1: #ececec;
    --c2: #aaaaaa;
    --c3: #666666;
    --c4: #3a3a3a;

    --accent: #d1d1d1;
    --accent2: #ffffff;
    --accent-soft: rgba(255,255,255,.05);
    --accent-glow: rgba(255,255,255,.03);

    --line: rgba(255,255,255,.06);
    --line2: rgba(255,255,255,.03);
    --inp-border: rgba(255,255,255,.1);
    --inp-focus: rgba(255,255,255,.05);

    --sh0: 0 0 0 1px rgba(255,255,255,.04);
    --sh1: 0 1px 3px rgba(0,0,0,.2);
    --sh2: 0 4px 20px rgba(0,0,0,.25);
    --sh3: 0 20px 60px rgba(0,0,0,.4);
}

/* ── RESET ── */
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
html{font-size:16px;-webkit-text-size-adjust:100%}

body {
    font-family: var(--sans);
    background: var(--bg);
    color: var(--c1);
    display: flex;
    height: 100dvh;
    overflow: hidden;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    animation: bodyIn .5s var(--ease) both;
}

@keyframes bodyIn{from{opacity:0}to{opacity:1}}

::selection{background:rgba(0,0,0,.08);color:var(--c1)}
[data-theme="dark"] ::selection{background:rgba(255,255,255,.12)}

::-webkit-scrollbar{width:4px}
::-webkit-scrollbar-track{background:transparent}
::-webkit-scrollbar-thumb{background:var(--c4);border-radius:99px}
::-webkit-scrollbar-thumb:hover{background:var(--c3)}

a{color:var(--green);text-decoration:none;transition:color .15s}
a:hover{color:var(--green);text-decoration:underline}

.none{display:none!important}

/* ═══════════════════════════════════════════════════
   SIDEBAR
   ═══════════════════════════════════════════════════ */
.sidebar {
    width: var(--sw);
    height: 100dvh;
    background: var(--sidebar-bg);
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--line);
    flex-shrink: 0;
    z-index: 100;
    transition: transform .35s var(--ease);
}

.sidebar-head {
    display: flex;
    gap: 6px;
    padding: 12px 12px 8px;
}

.sidebar-new {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--rs);
    color: var(--c1);
    font: 500 .84rem var(--sans);
    cursor: pointer;
    transition: all .2s var(--ease);
    box-shadow: var(--sh0);
}

.sidebar-new:hover {
    background: var(--sidebar-hover);
    border-color: var(--c4);
    box-shadow: var(--sh1);
    transform: translateY(-1px);
}

.sidebar-convs {
    flex: 1;
    overflow-y: auto;
    padding: 4px 8px;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.conv {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-radius: var(--rs);
    cursor: pointer;
    font-size: .84rem;
    color: var(--c2);
    transition: all .15s var(--ease);
    position: relative;
}

.conv:hover{background:var(--sidebar-hover);color:var(--c1)}
.conv.on{background:var(--sidebar-active);color:var(--c1);font-weight:500}

.conv.on::before {
    content: '';
    position: absolute;
    right: 0;
    top: 25%;
    height: 50%;
    width: 3px;
    background: var(--c1);
    border-radius: 99px;
    animation: indicatorIn .3s var(--ease) both;
}

@keyframes indicatorIn{from{height:0;opacity:0}to{height:50%;opacity:1}}

.conv-t {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.conv-x {
    opacity: 0;
    background: none;
    border: none;
    color: var(--c3);
    cursor: pointer;
    padding: 4px;
    border-radius: var(--rxs);
    display: flex;
    transition: all .15s;
}

.conv:hover .conv-x{opacity:1}
.conv-x:hover{color:var(--red);background:rgba(239,68,68,.08)}

/* Sidebar Footer */
.sidebar-foot {
    padding: 8px 10px 12px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: var(--rs);
    background: var(--accent-soft);
}

.brand-icon {
    width: 32px;
    height: 32px;
    background: var(--c1);
    color: var(--bg);
    border-radius: var(--rxs);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .9rem;
    font-family: 'Inter',sans-serif;
}

.brand-info{display:flex;flex-direction:column;gap:0}
.brand-name{font-size:.82rem;font-weight:600;color:var(--c1)}
.brand-ver{font-size:.68rem;color:var(--c3)}

.sidebar-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    background: none;
    border: none;
    border-radius: var(--rs);
    color: var(--c3);
    font: .8rem var(--sans);
    cursor: pointer;
    transition: all .15s;
    width: 100%;
}

.sidebar-btn:hover{background:var(--sidebar-hover);color:var(--c1)}
.text-danger-hover:hover{color:var(--red)!important;background:rgba(239,68,68,.05)!important}

.sidebar-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--c4);
    font-size: .8rem;
    gap: 8px;
}

/* ═══════════════════════════════════════════════════
   OVERLAY
   ═══════════════════════════════════════════════════ */
.overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.3);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 90;
    animation: fadeIn .25s var(--ease);
}
.overlay.on{display:block}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}

/* ═══════════════════════════════════════════════════
   MAIN
   ═══════════════════════════════════════════════════ */
.main {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: var(--bg);
}

/* ═══════════════════════════════════════════════════
   TOPBAR
   ═══════════════════════════════════════════════════ */
.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 52px;
    padding: 0 16px;
    flex-shrink: 0;
    border-bottom: 1px solid var(--line);
}

.topbar-r{display:flex;align-items:center;gap:8px}
.topbar-actions{display:flex;align-items:center;gap:4px}

.topbar-title {
    font-weight: 700;
    font-size: .95rem;
    color: var(--c1);
    letter-spacing: -.03em;
}

.icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    color: var(--c3);
    cursor: pointer;
    border-radius: var(--rs);
    transition: all .15s var(--ease);
}

.icon-btn:hover{background:var(--sidebar-hover);color:var(--c1)}

.show-mobile{display:none}
.hide-desktop{display:none}

/* ═══════════════════════════════════════════════════
   WELCOME SCREEN
   ═══════════════════════════════════════════════════ */
.chat-area {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    scroll-behavior: smooth;
}

.welcome {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 24px 100px;
    text-align: center;
    animation: welcomeIn .6s var(--ease) both;
}

@keyframes welcomeIn {
    from{opacity:0;transform:translateY(20px) scale(.97)}
    to{opacity:1;transform:translateY(0) scale(1)}
}

/* Animated Orb */
.welcome-orb {
    position: relative;
    width: 72px;
    height: 72px;
    margin-bottom: 24px;
}

.orb-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: var(--c3);
    border-right-color: var(--c4);
    animation: orbSpin 3s linear infinite;
}

@keyframes orbSpin{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}

.orb-core {
    width: 72px;
    height: 72px;
    background: var(--c1);
    color: var(--bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter',sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 32px rgba(0,0,0,.12);
    animation: orbPulse 3s ease-in-out infinite;
}

[data-theme="dark"] .orb-core {
    box-shadow: 0 8px 32px rgba(0,0,0,.3), 0 0 60px rgba(255,255,255,.03);
}

@keyframes orbPulse {
    0%,100%{transform:scale(1)}
    50%{transform:scale(1.04)}
}

.welcome-h {
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--c1);
    margin-bottom: 8px;
    letter-spacing: -.03em;
}

.welcome-sub {
    font-size: .88rem;
    color: var(--c3);
    margin-bottom: 36px;
    max-width: 420px;
    line-height: 1.7;
}

/* Prompt Cards */
.prompts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    max-width: 560px;
    width: 100%;
}

.prompt-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--r);
    cursor: pointer;
    text-align: right;
    font-family: var(--sans);
    color: var(--c1);
    transition: all .25s var(--ease);
    box-shadow: var(--sh0);
}

.prompt-card:hover {
    border-color: var(--c4);
    box-shadow: var(--sh2);
    transform: translateY(-3px);
    background: var(--surface);
}

.prompt-card:active{transform:translateY(-1px)}

.prompt-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--rs);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c2);
    transition: all .25s var(--ease);
}

.prompt-card:hover .prompt-icon{
    background: var(--c1);
    color: var(--bg);
    border-color: var(--c1);
}

.prompt-text{display:flex;flex-direction:column;gap:2px;padding-top:2px}
.prompt-text strong{font-size:.86rem;font-weight:600}
.prompt-text span{font-size:.76rem;color:var(--c3)}

/* ═══════════════════════════════════════════════════
   MESSAGES
   ═══════════════════════════════════════════════════ */
.messages {
    display: flex;
    flex-direction: column;
    padding-bottom: 24px;
}

.msg {
    padding: 24px 0;
    animation: msgIn .35s var(--ease) both;
}

@keyframes msgIn {
    from{opacity:0;transform:translateY(8px)}
    to{opacity:1;transform:translateY(0)}
}

.msg + .msg{border-top: 1px solid var(--line2)}

.msg-in {
    max-width: var(--content-w);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    gap: 16px;
    width: 100%;
}

.avatar {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    border-radius: var(--rxs);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .7rem;
    font-weight: 700;
    margin-top: 2px;
}

.msg-u .avatar{
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--c2);
    font-family: var(--sans);
}
.msg-a .avatar{
    background: var(--c1);
    color: var(--bg);
    font-family: 'Inter',sans-serif;
    font-size: .82rem;
}

.body {
    flex: 1;
    min-width: 0;
    font-size: .9rem;
    line-height: 1.8;
}

.msg-u{background:transparent}
.msg-a{background:var(--user-bg)}

/* ── Typography ── */
.body p{margin-bottom:10px}
.body p:last-child{margin-bottom:0}
.body strong{font-weight:600}
.body em{color:var(--c2)}

.body ul,.body ol{margin:8px 0;padding-right:22px}
.body li{margin-bottom:5px}

.body h1{font-size:1.2rem;font-weight:700;margin:18px 0 8px;letter-spacing:-.02em}
.body h2{font-size:1.08rem;font-weight:700;margin:16px 0 7px;letter-spacing:-.01em}
.body h3{font-size:.96rem;font-weight:600;margin:14px 0 6px}

.body blockquote {
    border-right: 3px solid var(--c3);
    padding: 8px 16px;
    margin: 12px 0;
    color: var(--c2);
    background: var(--accent-soft);
    border-radius: 0 var(--rxs) var(--rxs) 0;
}

.body hr{border:none;border-top:1px solid var(--line);margin:16px 0}

.body table{width:100%;border-collapse:collapse;margin:12px 0;font-size:.86rem}
.body th,.body td{padding:8px 12px;border:1px solid var(--line);text-align:right}
.body th{background:var(--code-bg);font-weight:600}

/* Inline code */
.body code {
    font-family: var(--mono);
    font-size: .82em;
    background: var(--code-bg);
    padding: 2px 6px;
    border-radius: 5px;
    border: 1px solid var(--line);
    color: var(--c1);
}

/* Code blocks */
.body pre {
    margin: 12px 0;
    border-radius: var(--rs);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--sh0);
}

.body pre code {
    display: block;
    padding: 16px 18px;
    overflow-x: auto;
    background: var(--code-bg);
    border: none;
    font-size: .82rem;
    line-height: 1.65;
    color: var(--c1);
}

.code-h {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 14px;
    background: var(--code-head);
    font-size: .72rem;
    color: var(--c3);
    border-bottom: 1px solid var(--line);
    font-family: var(--mono);
    letter-spacing: .03em;
    text-transform: lowercase;
}

.copy-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    color: var(--c3);
    cursor: pointer;
    font: .72rem var(--sans);
    padding: 4px 8px;
    border-radius: var(--rxs);
    transition: all .15s var(--ease);
}

.copy-btn:hover{color:var(--c1);background:var(--sidebar-hover)}

/* Links */
.body a{color:var(--green);text-decoration:underline;text-decoration-color:rgba(16,163,127,.3);text-underline-offset:3px}
.body a:hover{text-decoration-color:var(--green)}

/* Actions */
.msg-acts {
    display: flex;
    gap: 4px;
    margin-top: 12px;
    opacity: 0;
    transition: opacity .2s var(--ease);
}

.msg:hover .msg-acts{opacity:1}

.act-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    background: none;
    border: 1px solid var(--line);
    border-radius: var(--rxs);
    color: var(--c3);
    font: .72rem var(--sans);
    cursor: pointer;
    transition: all .15s var(--ease);
}

.act-btn:hover{color:var(--c1);border-color:var(--c4);background:var(--surface)}

/* ── Typing ── */
.dots{display:flex;gap:5px;padding:8px 0}
.dots i {
    width: 6px;height: 6px;border-radius: 50%;
    background: var(--c3);
    display: block;font-style:normal;
    animation: dotBounce 1.4s infinite ease-in-out;
}
.dots i:nth-child(2){animation-delay:.16s}
.dots i:nth-child(3){animation-delay:.32s}

@keyframes dotBounce {
    0%,60%,100%{transform:translateY(0);opacity:.2}
    30%{transform:translateY(-8px);opacity:1}
}

/* Streaming cursor */
.body.typing::after {
    content: '▍';
    color: var(--c2);
    animation: cursorBlink .8s step-end infinite;
    margin-right: 2px;
    font-weight: 300;
}

@keyframes cursorBlink{0%,100%{opacity:1}50%{opacity:0}}

/* ═══════════════════════════════════════════════════
   INPUT
   ═══════════════════════════════════════════════════ */
.input-wrap {
    padding: 0 16px 16px;
    flex-shrink: 0;
}

.input-shell {
    max-width: var(--content-w);
    margin: 0 auto;
}

.input-box {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    background: var(--surface);
    border: 1px solid var(--inp-border);
    border-radius: 20px;
    padding: 10px 12px 10px 16px;
    box-shadow: var(--sh1);
    transition: all .25s var(--ease);
}

.input-box:focus-within {
    border-color: var(--c3);
    box-shadow: var(--sh2);
    background: var(--card);
}

.input-box textarea {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: var(--c1);
    font: .9rem var(--sans);
    line-height: 1.55;
    resize: none;
    max-height: 160px;
    min-height: 24px;
    padding: 4px 0;
}

.input-box textarea::placeholder{color:var(--c4)}
.input-actions{display:flex;gap:4px;align-items:flex-end}

.send-btn {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--c1);
    color: var(--bg);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all .2s var(--ease);
    opacity: .2;
    flex-shrink: 0;
}

.send-btn:not(:disabled){opacity:1}
.send-btn:not(:disabled):hover{transform:scale(1.06)}
.send-btn:not(:disabled):active{transform:scale(.94)}
.send-btn:disabled{cursor:default}

.stop-btn {
    width: 34px;height: 34px;
    display: flex;align-items: center;justify-content: center;
    background: var(--c2);
    color: var(--bg);border: none;border-radius: 10px;
    cursor: pointer;transition: all .2s var(--ease);
    flex-shrink: 0;
}

.stop-btn:hover{background:var(--red)}

.input-note {
    display: block;
    text-align: center;
    font-size: .68rem;
    color: var(--c4);
    margin-top: 8px;
    letter-spacing: .01em;
}

/* ═══════════════════════════════════════════════════
   TOAST
   ═══════════════════════════════════════════════════ */
.toast {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(14px);
    background: var(--c1);
    color: var(--bg);
    border: none;
    border-radius: 10px;
    padding: 10px 22px;
    font: .82rem var(--sans);
    box-shadow: var(--sh3);
    z-index: 2000;
    opacity: 0;
    transition: all .3s var(--ease);
    pointer-events: none;
}
.toast.show{opacity:1;transform:translateX(-50%) translateY(0)}

/* ═══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════ */
@media(max-width:768px){
    .sidebar {
        position: fixed;
        right: 0;top: 0;
        transform: translateX(100%);
        z-index: 200;
        box-shadow: var(--sh3);
    }
    .sidebar.open{transform:translateX(0)}
    .show-mobile{display:flex}
    .hide-desktop{display:flex}
    .prompts{grid-template-columns:1fr}
    .welcome-h{font-size:1.35rem}
    .welcome-sub{font-size:.82rem}
    .msg-in{padding:0 14px}
    .input-wrap{padding:0 10px 10px}
    .input-box{border-radius:16px;padding:8px 10px 8px 14px}
    .prompt-card{padding:12px 14px}
}

@media(max-width:480px){
    .avatar{width:26px;height:26px;font-size:.65rem}
    .topbar{height:48px}
    .welcome-orb{width:60px;height:60px}
    .orb-core{width:60px;height:60px;font-size:1.3rem}
    .orb-ring{inset:-5px}
}

/* Print */
@media print{
    .sidebar,.topbar,.input-wrap,.msg-acts{display:none!important}
    .main{width:100%}
}

/* ── MUSIC PLAYER ── */
.music-player{
    background:var(--surface);
    border:1px solid var(--line);
    border-radius:12px;
    padding:14px;
    margin:12px 0;
    display:flex;
    align-items:center;
    gap:14px;
    transition:all .25s;
    max-width:380px;
}
.music-player:hover{
    border-color:var(--accent);
    box-shadow:0 4px 16px rgba(0,0,0,.06);
    transform:translateY(-1px);
}
.mp-art{
    width:48px;height:48px;
    background:linear-gradient(135deg,#6366f1,#a855f7);
    border-radius:10px;
    display:flex;align-items:center;justify-content:center;
    color:#fff;
    flex-shrink:0;
    box-shadow:0 2px 8px rgba(99,102,241,.25);
}
.mp-body{
    display:flex;flex-direction:column;gap:8px;flex:1;min-width:0;
}
.mp-head{
    display:flex;align-items:center;justify-content:space-between;gap:10px;
}
.mp-info{
    display:flex;flex-direction:column;gap:2px;min-width:0;
}
.mp-title{
    font-size:13px;font-weight:600;color:var(--c1);
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.mp-artist{
    font-size:11px;color:var(--c3);
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.mp-dl{
    color:var(--c3);
    display:flex;align-items:center;justify-content:center;
    width:28px;height:28px;border-radius:6px;
    transition:all .2s;
}
.mp-dl:hover{
    background:var(--line);color:var(--c1);
}
.mp-ctrls{
    display:flex;align-items:center;gap:10px;
}
.mp-play{
    background:none;border:none;color:var(--c1);cursor:pointer;
    display:flex;align-items:center;justify-content:center;
    width:24px;height:24px;border-radius:50%;
    transition:all .2s;padding:0;
}
.mp-play:hover{
    background:var(--line);
}
.mp-progress{
    flex:1;height:4px;background:var(--line);border-radius:2px;
    cursor:pointer;position:relative;overflow:hidden;
}
.mp-bar{
    position:absolute;left:0;top:0;height:100%;width:0;
    background:linear-gradient(90deg,#6366f1,#a855f7);
    border-radius:2px;transition:width 0.1s linear;
}
.mp-time{
    font-size:10px;color:var(--c3);font-variant-numeric:tabular-nums;
    min-width:55px;text-align:right;
}

[data-theme="dark"] .music-player{
    background:rgba(255,255,255,.04);
    border-color:rgba(255,255,255,.08);
}
[data-theme="dark"] .music-player:hover{
    border-color:rgba(99,102,241,.4);
    box-shadow:0 4px 16px rgba(0,0,0,.25);
}
