:root {
    --u: 8px;
    --s1: 8px;
    --s1h: 12px;
    --s2: 16px;
    --s2h: 20px;
    --s3: 24px;
    --s4: 32px;
    --s5: 40px;
    --s6: 48px;
    --s8: 64px;
    --hit: 44px;
    --hit-sm: 36px;
    --hit-lg: 56px;
    --r-xs: 8px;
    --r-sm: 12px;
    --r-lg: 20px;
    --bg: #F5F5F7;
    --bg-s: #FFFFFF;
    --t1: #1D1D1F;
    --t2: #6E6E73;
    --t3: #AEAEB2;
    --t4: #C7C7CC;
    --blue: #007AFF;
    --green: #34C759;
    --orange: #FF9500;
    --red: #FF3B30;
    --purple: #AF52DE;
    --g-bg: rgba(255,255,255,0.55);
    --g-bd: rgba(255,255,255,0.75);
    --g-bl: blur(40px) saturate(1.8);
    --e-bg: rgba(255,255,255,0.6);
    --e-bd: rgba(0,0,0,0.05);
    --w: 640px;
    --nav-h: 56px;
    --player-h: 80px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Unbounded', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--t1);
    font-size: 13px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--t4); border-radius: 99px; }

.app { display: flex; min-height: 100vh; }

.sidebar {
    position: fixed;
    top: 0; left: 0; bottom: 0;
    width: 240px;
    background: rgba(255,255,255,0.72);
    backdrop-filter: blur(24px) saturate(1.6);
    -webkit-backdrop-filter: blur(24px) saturate(1.6);
    border-right: 1px solid rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    z-index: 90;
    padding: var(--s3);
}

.sb-logo {
    display: flex;
    align-items: center;
    gap: var(--s1);
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    margin-bottom: var(--s4);
    padding: var(--s1) 0;
}
.sb-logo svg { width: 20px; height: 20px; color: var(--blue); }

.sb-nav { flex: 1; display: flex; flex-direction: column; gap: 4px; }

.sb-item {
    display: flex;
    align-items: center;
    gap: var(--s1h);
    height: var(--hit);
    padding: 0 var(--s1h);
    border-radius: var(--r-sm);
    font-size: 13px;
    font-weight: 500;
    color: var(--t2);
    cursor: pointer;
    transition: all 150ms ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-family: inherit;
}
.sb-item svg { width: 18px; height: 18px; min-width: 18px; }
.sb-item:hover { background: rgba(0,0,0,0.03); color: var(--t1); }
.sb-item.active { background: rgba(0,122,255,0.08); color: var(--blue); }

.sb-section {
    font-size: 10px;
    font-weight: 600;
    color: var(--t4);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: var(--s2h) var(--s1h) var(--s1);
    line-height: 1;
}

.sb-bottom {
    border-top: 1px solid rgba(0,0,0,0.04);
    padding-top: var(--s2);
    margin-top: auto;
}

.sb-user {
    display: flex;
    align-items: center;
    gap: var(--s1h);
    padding: var(--s1) var(--s1h);
    border-radius: var(--r-sm);
    cursor: pointer;
    transition: background 150ms ease;
}
.sb-user:hover { background: rgba(0,0,0,0.03); }

.sb-avatar {
    width: var(--hit-sm);
    height: var(--hit-sm);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    min-width: var(--hit-sm);
}

.sb-uname {
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.sb-uemail {
    font-size: 10px;
    color: var(--t3);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.content {
    margin-left: 240px;
    flex: 1;
    min-height: 100vh;
    padding-bottom: calc(var(--player-h) + var(--s4));
}

.page {
    max-width: var(--w);
    margin: 0 auto;
    padding: var(--s4) var(--s3);
}

.page-title {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: var(--s3);
}

.page-sub {
    font-size: 15px;
    font-weight: 300;
    color: var(--t2);
    margin-bottom: var(--s4);
    line-height: 1.5;
}

.search { position: relative; margin-bottom: var(--s3); }
.search svg {
    position: absolute;
    left: var(--s2); top: 50%;
    transform: translateY(-50%);
    width: 16px; height: 16px;
    color: var(--t3);
    pointer-events: none;
}
.search input {
    width: 100%;
    height: var(--hit);
    padding: 0 var(--s2) 0 var(--s5);
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    color: var(--t1);
    background: var(--e-bg);
    border: 1px solid var(--e-bd);
    border-radius: var(--r-sm);
    outline: none;
    box-shadow: inset 0 0.5px 0 rgba(255,255,255,0.8), 0 0.5px 2px rgba(0,0,0,0.03);
    transition: border-color 180ms ease, box-shadow 180ms ease;
}
.search input:focus {
    background: var(--bg-s);
    border-color: var(--blue);
    box-shadow: inset 0 0.5px 0 rgba(255,255,255,0.8), 0 0 0 3px rgba(0,122,255,0.12);
}
.search input::placeholder { color: var(--t4); font-weight: 400; }

.section-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--s2);
}
.section-label span {
    font-size: 10px;
    color: var(--t3);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.G {
    background: var(--g-bg);
    backdrop-filter: var(--g-bl);
    -webkit-backdrop-filter: var(--g-bl);
    border: 1px solid var(--g-bd);
    border-radius: var(--r-lg);
    box-shadow: 0 0 0 0.5px rgba(0,0,0,0.04), 0 2px 4px rgba(0,0,0,0.02), 0 8px 24px rgba(0,0,0,0.05), inset 0 0.5px 0 rgba(255,255,255,0.9);
    overflow: hidden;
}

.ti {
    display: flex;
    align-items: center;
    gap: var(--s1h);
    padding: var(--s1h) var(--s2);
    cursor: pointer;
    transition: background 150ms ease;
}
.ti:hover { background: rgba(0,0,0,0.02); }
.ti + .ti { border-top: 1px solid rgba(0,0,0,0.04); }
.ti.active { background: rgba(0,122,255,0.04); }
.ti.active .ti-n { color: var(--blue); }

.ti-art {
    width: var(--hit);
    height: var(--hit);
    min-width: var(--hit);
    border-radius: var(--r-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.ti-art svg { width: 18px; height: 18px; }
.ti-art img { width: 100%; height: 100%; object-fit: cover; }

.ti-i { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ti-n { font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.3; }
.ti-m { font-size: 10px; color: var(--t3); font-weight: 400; line-height: 1.3; }

.ti-acts {
    display: flex;
    align-items: center;
    gap: 4px;
    opacity: 0;
    transition: opacity 150ms ease;
}
.ti:hover .ti-acts { opacity: 1; }

.ti-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--hit-sm);
    height: var(--hit-sm);
    border-radius: 50%;
    border: none;
    background: transparent;
    color: var(--t3);
    cursor: pointer;
    transition: all 150ms ease;
    line-height: 0;
}
.ti-btn svg { width: 14px; height: 14px; }
.ti-btn:hover { background: rgba(0,0,0,0.04); color: var(--t1); }
.ti-btn.liked { color: var(--red); }
.ti-btn.del:hover { background: rgba(255,59,48,0.06); color: var(--red); }

.ti-dur { font-size: 11px; color: var(--t3); font-weight: 500; white-space: nowrap; min-width: var(--s4); text-align: right; }

.ti-vis {
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 2px 8px;
    border-radius: 99px;
    line-height: 1;
}
.ti-vis.public { background: rgba(52,199,89,0.08); color: var(--green); }
.ti-vis.friends { background: rgba(0,122,255,0.08); color: var(--blue); }
.ti-vis.private { background: rgba(174,174,178,0.12); color: var(--t3); }

.eq { display: flex; align-items: flex-end; gap: 2px; height: 18px; padding: 0 var(--s1); }
.eq i { display: block; width: 3px; background: var(--blue); border-radius: 1px; animation: eq 0.8s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: 0.2s; }
.eq i:nth-child(3) { animation-delay: 0.4s; }
@keyframes eq { 0%,100% { height: 4px; } 50% { height: 18px; } }

.empty {
    text-align: center;
    padding: var(--s8) var(--s3);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--s1h);
}
.empty svg { width: var(--s5); height: var(--s5); color: var(--t4); }
.empty p { font-size: 15px; font-weight: 500; color: var(--t2); line-height: 1; }
.empty span { font-size: 11px; color: var(--t3); }

.pl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s2); }

.pl-card {
    background: var(--e-bg);
    border: 1px solid var(--e-bd);
    border-radius: var(--r-sm);
    padding: var(--s2h);
    cursor: pointer;
    transition: all 150ms ease;
    display: flex;
    flex-direction: column;
    gap: var(--s1);
}
.pl-card:hover { background: var(--bg-s); border-color: rgba(0,0,0,0.08); }
.pl-card-n { font-size: 13px; font-weight: 600; line-height: 1.3; }
.pl-card-m { font-size: 10px; color: var(--t3); }

.profile-header {
    display: flex;
    align-items: center;
    gap: var(--s3);
    margin-bottom: var(--s4);
}

.profile-av {
    width: var(--s8);
    height: var(--s8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    min-width: var(--s8);
}

.profile-info { flex: 1; min-width: 0; }
.profile-name { font-size: 18px; font-weight: 600; line-height: 1; margin-bottom: 4px; }
.profile-bio { font-size: 11px; color: var(--t2); margin-bottom: var(--s1h); }

.profile-stats { display: flex; gap: var(--s3); }
.profile-stat { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.profile-stat-v { font-size: 15px; font-weight: 600; line-height: 1; }
.profile-stat-l { font-size: 9px; color: var(--t3); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; line-height: 1; }

.player {
    position: fixed;
    bottom: 0; left: 240px; right: 0;
    z-index: 100;
    background: rgba(255,255,255,0.82);
    backdrop-filter: blur(40px) saturate(1.8);
    -webkit-backdrop-filter: blur(40px) saturate(1.8);
    border-top: 1px solid rgba(0,0,0,0.04);
    transform: translateY(100%);
    transition: transform 300ms ease;
}
.player.on { transform: translateY(0); }

.pl-in {
    max-width: var(--w);
    margin: 0 auto;
    padding: var(--s2) var(--s3);
}
.pl-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s1); }
.pl-info { display: flex; align-items: center; gap: var(--s1h); flex: 1; min-width: 0; }
.pl-art {
    width: var(--hit-sm); height: var(--hit-sm);
    min-width: var(--hit-sm);
    border-radius: var(--r-xs);
    overflow: hidden;
}
.pl-art img { width: 100%; height: 100%; object-fit: cover; }
.pl-nm { font-size: 11px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-c { display: flex; align-items: center; gap: var(--s1h); }
.pl-c button {
    display: flex; align-items: center; justify-content: center;
    width: var(--hit-sm); height: var(--hit-sm);
    border-radius: 50%; border: none; background: transparent;
    color: var(--t1); cursor: pointer; transition: all 150ms ease; line-height: 0;
}
.pl-c button:hover { background: rgba(0,0,0,0.04); }
.pl-c button svg { width: 16px; height: 16px; }
.pl-c .pp {
    width: var(--hit); height: var(--hit);
    background: var(--t1); color: var(--bg-s); border-radius: 50%;
}
.pl-c .pp:hover { background: #000; }
.pl-c .pp svg { width: 18px; height: 18px; }
.pl-bot { display: flex; align-items: center; gap: var(--s1h); }
.pl-t { font-size: 10px; color: var(--t3); font-weight: 500; min-width: var(--s4); }
.pl-t:last-child { text-align: right; }
.pb { flex: 1; height: 4px; background: rgba(0,0,0,0.08); border-radius: 99px; cursor: pointer; position: relative; }
.pb-f { height: 100%; background: var(--t1); border-radius: 99px; width: 0; position: relative; }
.pb-f::after {
    content: ''; position: absolute; right: -6px; top: 50%; transform: translateY(-50%);
    width: 12px; height: 12px; background: var(--t1); border-radius: 50%;
    opacity: 0; transition: opacity 150ms ease;
}
.pb:hover .pb-f::after { opacity: 1; }

.modal {
    position: fixed; inset: 0; z-index: 200;
    display: flex; align-items: center; justify-content: center;
    padding: var(--s3);
    opacity: 0; visibility: hidden;
    transition: opacity 320ms cubic-bezier(0.2, 0.9, 0.3, 1), visibility 320ms;
}
.modal.on { opacity: 1; visibility: visible; }
.modal-ov {
    position: absolute; inset: 0;
    background: rgba(0,0,0,0.08);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
}
.modal-c {
    position: relative;
    width: 100%; max-width: 400px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(48px) saturate(2);
    -webkit-backdrop-filter: blur(48px) saturate(2);
    border: 1px solid rgba(255,255,255,0.9);
    border-radius: var(--r-lg);
    padding: var(--s3);
    box-shadow: 0 0 0 0.5px rgba(0,0,0,0.02), 0 4px 16px rgba(0,0,0,0.04), 0 16px 48px rgba(0,0,0,0.06), inset 0 0.5px 0 #fff;
    transform: scale(0.97);
    transition: transform 320ms cubic-bezier(0.2, 0.9, 0.3, 1);
}
.modal.on .modal-c { transform: scale(1); }
.mh { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s3); }
.mh span { font-size: 15px; font-weight: 600; line-height: 1; }
.mx {
    display: flex; align-items: center; justify-content: center;
    width: var(--hit-sm); height: var(--hit-sm);
    border-radius: 50%; border: none;
    background: rgba(0,0,0,0.04); color: var(--t2);
    cursor: pointer; transition: all 150ms ease; line-height: 0;
}
.mx:hover { background: rgba(0,0,0,0.08); color: var(--t1); }
.mx svg { width: 14px; height: 14px; }

.tabs { display: flex; gap: 4px; margin-bottom: var(--s3); padding: 4px; background: rgba(0,0,0,0.03); border-radius: 10px; }
.tab {
    flex: 1; height: var(--hit-sm); border: none; background: transparent;
    border-radius: var(--r-xs); font-family: inherit; font-size: 11px;
    font-weight: 600; color: var(--t3); cursor: pointer; transition: all 180ms ease;
}
.tab.active { background: var(--bg-s); color: var(--t1); box-shadow: 0 1px 3px rgba(0,0,0,0.04); }

.al {
    min-height: var(--hit); display: flex; align-items: center; justify-content: center;
    padding: var(--s1h) var(--s2); border-radius: var(--r-sm);
    font-size: 11px; font-weight: 600; text-align: center; margin-bottom: var(--s2);
}
.al-e { background: rgba(255,59,48,0.06); color: var(--red); border: 1px solid rgba(255,59,48,0.08); }

.f { margin-bottom: var(--s2); }
.f label {
    display: block; font-size: 10px; font-weight: 600;
    color: var(--t3); text-transform: uppercase;
    letter-spacing: 0.06em; margin-bottom: var(--s1); line-height: 1;
}
.f input, .f select, .f textarea {
    width: 100%; height: var(--hit); padding: 0 var(--s2);
    font-family: inherit; font-size: 13px; font-weight: 500;
    color: var(--t1); background: rgba(255,255,255,0.7);
    border: 1px solid rgba(0,0,0,0.06); border-radius: var(--r-sm);
    outline: none;
    box-shadow: inset 0 0.5px 0 rgba(255,255,255,0.8), 0 0.5px 2px rgba(0,0,0,0.03);
    transition: border-color 180ms ease, box-shadow 180ms ease;
}
.f textarea { height: 80px; padding: var(--s1h) var(--s2); resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus {
    background: var(--bg-s); border-color: var(--blue);
    box-shadow: inset 0 0.5px 0 rgba(255,255,255,0.8), 0 0 0 3px rgba(0,122,255,0.12);
}
.f input::placeholder, .f textarea::placeholder { color: var(--t4); font-weight: 400; }

.hcap { margin-bottom: var(--s2); min-height: 78px; }

.bp {
    display: inline-flex; align-items: center; justify-content: center;
    gap: var(--s1); height: var(--hit); padding: 0 var(--s2h);
    font-family: inherit; font-size: 13px; font-weight: 600;
    background: var(--blue); color: #FFF; border: none; border-radius: var(--r-sm);
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0,122,255,0.2), 0 4px 12px rgba(0,122,255,0.16), inset 0 0.5px 0 rgba(255,255,255,0.2);
    transition: background 180ms ease, transform 120ms ease;
}
.bp:hover { background: #0077ED; }
.bp:active { transform: scale(0.97); }
.bp:disabled { opacity: 0.4; pointer-events: none; }
.bp svg { width: 16px; height: 16px; }
.bp-f { width: 100%; }

.bs {
    display: inline-flex; align-items: center; justify-content: center;
    gap: var(--s1); height: var(--hit); padding: 0 var(--s2h);
    font-family: inherit; font-size: 13px; font-weight: 600;
    background: var(--e-bg); color: var(--t1);
    border: 1px solid var(--e-bd); border-radius: var(--r-sm); cursor: pointer;
    box-shadow: inset 0 0.5px 0 rgba(255,255,255,0.8), 0 0.5px 2px rgba(0,0,0,0.03);
    transition: background 180ms ease;
}
.bs:hover { background: var(--bg-s); }

.b-sm { height: var(--hit-sm); padding: 0 var(--s2); font-size: 11px; }
.b-danger { background: rgba(255,59,48,0.08); color: var(--red); border-color: rgba(255,59,48,0.1); }
.b-danger:hover { background: rgba(255,59,48,0.12); }

.drop {
    border: 2px dashed rgba(0,0,0,0.08); border-radius: var(--r-sm);
    padding: var(--s4) var(--s3); text-align: center;
    cursor: pointer; transition: border-color 180ms ease, background 180ms ease;
    margin-bottom: var(--s2);
}
.drop:hover, .drop.drag { border-color: var(--blue); background: rgba(0,122,255,0.02); }
.drop svg { width: var(--s4); height: var(--s4); color: var(--t3); margin-bottom: var(--s1); }
.drop p { font-size: 13px; font-weight: 500; color: var(--t2); margin-bottom: 4px; }
.drop > span { font-size: 10px; color: var(--t3); }
.drop-f { display: block; margin-top: var(--s1); font-size: 9px; color: var(--t4); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }

.fi {
    display: flex; align-items: center; justify-content: space-between;
    padding: var(--s1h) var(--s2); background: rgba(0,122,255,0.03);
    border: 1px solid rgba(0,122,255,0.06); border-radius: var(--r-sm);
    margin-bottom: var(--s2); font-size: 11px;
}
.fi-n { font-weight: 500; color: var(--blue); flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-right: var(--s1); }
.fi-s { color: var(--t3); font-weight: 400; }

.up { margin-top: var(--s2); }
.up-b { height: 4px; background: rgba(0,0,0,0.06); border-radius: 99px; overflow: hidden; }
.up-f { height: 100%; background: var(--blue); border-radius: 99px; width: 0; transition: width 150ms ease; }

.toast {
    position: fixed; top: var(--s3); left: 50%; transform: translateX(-50%) translateY(-var(--s2));
    z-index: 300; padding: var(--s1h) var(--s2h); border-radius: var(--r-sm);
    font-size: 11px; font-weight: 600; opacity: 0; pointer-events: none;
    transition: all 300ms ease; white-space: nowrap;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px) saturate(1.6);
    -webkit-backdrop-filter: blur(20px) saturate(1.6);
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.toast.on { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast-e { background: rgba(255,59,48,0.08); color: var(--red); border: 1px solid rgba(255,59,48,0.08); }
.toast-s { background: rgba(52,199,89,0.08); color: var(--green); border: 1px solid rgba(52,199,89,0.08); }

.gap-s { gap: var(--s1); }
.gap-m { gap: var(--s2); }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.mt-s { margin-top: var(--s1); }
.mt-m { margin-top: var(--s2); }
.mt-l { margin-top: var(--s3); }
.mb-m { margin-bottom: var(--s2); }
.mb-l { margin-bottom: var(--s3); }
.hidden { display: none !important; }

.hero {
    text-align: center;
    padding: var(--s8) var(--s3);
}
.hero-in { max-width: 480px; margin: 0 auto; }
.hero-ico { margin-bottom: var(--s3); }
.hero-ico svg { width: var(--s6); height: var(--s6); color: var(--blue); opacity: 0.5; }
.hero h1 { font-size: clamp(24px, 5vw, 32px); font-weight: 600; letter-spacing: -0.02em; line-height: 1; margin-bottom: var(--s2); }
.hero p { font-size: 15px; font-weight: 300; color: var(--t2); line-height: 1.6; margin-bottom: var(--s4); max-width: 320px; margin-left: auto; margin-right: auto; }
.hero-stats { display: flex; justify-content: center; gap: var(--s6); margin-top: var(--s4); }
.hero-st { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.hero-sv { font-size: 20px; font-weight: 600; line-height: 1; }
.hero-sl { font-size: 9px; font-weight: 600; color: var(--t3); text-transform: uppercase; letter-spacing: 0.06em; }

.mobile-nav {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    height: var(--nav-h);
    background: rgba(255,255,255,0.72);
    backdrop-filter: blur(24px) saturate(1.6);
    -webkit-backdrop-filter: blur(24px) saturate(1.6);
    border-bottom: 1px solid rgba(0,0,0,0.04);
    padding: 0 var(--s2);
    align-items: center;
    justify-content: space-between;
}

.mobile-bar {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 99;
    height: calc(var(--s6) + env(safe-area-inset-bottom, 0px));
    background: rgba(255,255,255,0.82);
    backdrop-filter: blur(24px) saturate(1.6);
    -webkit-backdrop-filter: blur(24px) saturate(1.6);
    border-top: 1px solid rgba(0,0,0,0.04);
    padding: 0 var(--s2);
    align-items: center;
    justify-content: space-around;
}

.mobile-bar button {
    display: flex; flex-direction: column; align-items: center; gap: 2px;
    border: none; background: none; color: var(--t3);
    font-family: inherit; font-size: 9px; font-weight: 600;
    cursor: pointer; padding: var(--s1);
    transition: color 150ms ease;
}
.mobile-bar button svg { width: 20px; height: 20px; }
.mobile-bar button.active { color: var(--blue); }

/* ─── Admin Panel ─── */
.admin-row {
    display: flex;
    align-items: center;
    gap: var(--s2);
    padding: var(--s2);
    border-bottom: 1px solid rgba(0,0,0,0.04);
}
.admin-row:last-child { border-bottom: none; }

.admin-cover {
    width: var(--hit);
    height: var(--hit);
    min-width: var(--hit);
    border-radius: var(--r-xs);
    background: rgba(0,0,0,0.03);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.admin-cover svg { width: 18px; height: 18px; color: var(--t3); }
.admin-cover img { width: 100%; height: 100%; object-fit: cover; }

.admin-info { flex: 1; min-width: 0; }
.admin-name { font-size: 13px; font-weight: 500; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-meta { font-size: 10px; color: var(--t3); }

.admin-acts { display: flex; gap: var(--s1); flex-shrink: 0; }

@media (max-width: 768px) {
    .sidebar { display: none; }
    .content { margin-left: 0; }
    .player { left: 0; bottom: calc(var(--s6) + env(safe-area-inset-bottom, 0px)); }
    .mobile-nav { display: flex; }
    .mobile-bar { display: flex; }
    .page { padding-top: calc(var(--nav-h) + var(--s3)); }
    .content { padding-bottom: calc(var(--s6) + var(--player-h) + var(--s4) + env(safe-area-inset-bottom, 0px)); }
    .pl-grid { grid-template-columns: 1fr; }
    .ti-acts { opacity: 1; }
}
