/* Drive Player 2 — Developed by Miroslav Kolomejac */

@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(fonts/inter-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(fonts/inter-latin-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-display: swap; font-weight: 600; src: url(fonts/space-grotesk-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-display: swap; font-weight: 600; src: url(fonts/space-grotesk-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-display: swap; font-weight: 700; src: url(fonts/space-grotesk-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-display: swap; font-weight: 700; src: url(fonts/space-grotesk-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-display: swap; font-weight: 500; src: url(fonts/jetbrains-mono-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2212; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-display: swap; font-weight: 500; src: url(fonts/jetbrains-mono-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+1E00-1E9F, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #0b0b10;
  --bg-2: #13131a;
  --glass: rgba(30, 30, 40, .55);
  --glass-2: rgba(38, 38, 50, .6);
  --glass-hi: rgba(255, 255, 255, .08);
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .13);
  --text: #f4f3f8;
  --soft: #cfd0d8;
  --muted: #a0a3ad;
  --dim: #767987;
  --cyan: #b79cff;
  --cyan-2: #d3c3ff;
  --lav: #9466ff;
  --lav-2: #c8b2ff;
  --violet: #7e52ee;
  --mint: #2fe3b0;
  --mint-2: #8af0d2;
  --ok: #2fe3b0;
  --warn: #f2d38a;
  --err: #ff9b9b;
  --on-acc: #f6f2ff;
  --grad-text: linear-gradient(90deg, #ffffff 0%, #e6dcff 45%, #c8b2ff 75%, #9466ff 100%);
  --grad: linear-gradient(180deg, #8a5cfa 0%, #6539d6 100%);
  --grad-h: linear-gradient(90deg, #6539d6, #a988ff 70%, #c8b2ff);
  --grad-soft: linear-gradient(90deg, rgba(148, 102, 255, .16), rgba(148, 102, 255, .03));
  --r: 20px;
  --r-md: 14px;
  --r-sm: 10px;
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, .9);
  --inset: inset 0 1px 0 rgba(255, 255, 255, .06);
  --blur: blur(20px) saturate(150%);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --head: "Space Grotesk", "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --bar-h: 104px;
  --wrap: 1770px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { color-scheme: dark; -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column; position: relative;
  font: 15px/1.55 var(--font); color: var(--text); font-feature-settings: "cv11", "ss01";
  background:
    radial-gradient(62% 58% at -6% 4%, rgba(148, 102, 255, .22) 0%, transparent 70%),
    radial-gradient(50% 60% at 106% 30%, rgba(79, 70, 229, .16) 0%, transparent 70%),
    radial-gradient(46% 42% at -6% 96%, rgba(47, 227, 176, .06) 0%, transparent 70%),
    radial-gradient(56% 48% at 96% 104%, rgba(148, 102, 255, .14) 0%, transparent 70%),
    linear-gradient(180deg, #13131a 0%, #0b0b10 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.3px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, .2)); mask-image: linear-gradient(180deg, rgba(0, 0, 0, .9), rgba(0, 0, 0, .2)); }
a { color: var(--cyan); text-underline-offset: 3px; }
a:hover { color: var(--lav); }
img { max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
code, .dp-mono { font-family: var(--mono); font-size: .92em; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; letter-spacing: -.02em; }
::selection { background: rgba(148, 102, 255, .3); }

/* Scrollbar */
* { scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .16) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .14); border-radius: 10px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: rgba(148, 102, 255, .4); }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; border-radius: 8px; }

.dp-skip { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: 10px; background: var(--cyan); color: var(--bg); font-weight: 700; text-decoration: none; }
.dp-skip:focus { top: 12px; }
.dp-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.dp-ic { flex: none; }

/* ---------- Tipografija ---------- */
.dp-kicker, .dp-card-k { font-size: 12px; letter-spacing: .26em; font-weight: 600; color: var(--cyan); text-transform: uppercase; }
.dp-card-k { font-size: 11px; letter-spacing: .24em; }
.dp-grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dp-display { margin: 8px 0 6px; font-size: clamp(40px, 6vw, 72px); line-height: 1.02; font-weight: 800; letter-spacing: -.04em; }
.dp-h1 { margin: 8px 0 26px; font-size: clamp(34px, 4.6vw, 56px); line-height: 1.04; font-weight: 800; letter-spacing: -.035em; }
.dp-h2 { font-size: 24px; font-weight: 750; margin-bottom: 4px; }
.dp-h3 { font-size: 20px; font-weight: 700; margin: 6px 0 2px; }
.dp-h4 { font-size: 16px; font-weight: 700; }
.dp-lead { margin: 0; font-size: 17px; color: var(--muted); max-width: 640px; }
.dp-muted { color: var(--muted); margin: 0; }
.dp-note { margin: 0; font-size: 13.5px; color: var(--muted); text-align: center; }
.dp-hint { color: var(--dim); font-size: 12.5px; }
.dp-label, .dp-field > label { font-size: 13px; font-weight: 600; color: var(--soft); }
.dp-r { text-align: right; justify-self: end; }
.dp-small-link { font-size: 13.5px; }
.dp-linkbtn { border: 0; background: none; padding: 0; color: var(--cyan); cursor: pointer; font-size: 13.5px; text-decoration: underline; text-underline-offset: 3px; }
.dp-linkbtn:hover { color: var(--lav); }
.dp-mt { margin-top: 24px; }
.dp-text-center { text-align: center; }

/* ---------- Header ---------- */
.dp-header { position: sticky; top: 0; z-index: 60; border-bottom: 1px solid rgba(255, 255, 255, .07); background: rgba(7, 7, 11, .72); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.dp-header-in { max-width: var(--wrap); margin: 0 auto; padding: 12px 32px; display: flex; align-items: center; gap: 24px; }
.dp-brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 800; font-size: 18px; letter-spacing: -.01em; flex: none; }
.dp-brand:hover { color: var(--text); }
.dp-brand-lg { font-size: 20px; margin-bottom: 36px; }
.dp-logo-mark { width: 32px; height: 32px; border-radius: 10px; flex: none; background: radial-gradient(circle at 50% 50%, #0b0b10 0 18%, transparent 19%), conic-gradient(from 210deg, #b79cff, #9466ff, #7e52ee, #b79cff); box-shadow: 0 0 22px rgba(148, 102, 255, .25); }
.dp-logo-img { display: block; height: 36px; width: auto; }
.dp-nav { display: flex; gap: 4px; flex: 1; min-width: 0; }
.dp-nav a { padding: 8px 16px; border-radius: 999px; color: #a6a8b2; text-decoration: none; font-weight: 500; font-size: 14px; white-space: nowrap; transition: color .15s, background .15s; }
.dp-nav a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.dp-nav a[aria-current="page"] { background: rgba(148, 102, 255, .12); color: #ddd0ff; font-weight: 600; }
.dp-spacer { flex: 1; }
.dp-header .dp-btn + .dp-btn { margin-left: 8px; }

.dp-menu { position: relative; }
.dp-user { display: flex; align-items: center; gap: 10px; padding: 4px 12px 4px 4px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); cursor: pointer; }
.dp-user:hover { border-color: var(--line-2); }
.dp-user .dp-ic { color: var(--muted); transition: transform .15s; }
.dp-user[aria-expanded="true"] .dp-ic { transform: rotate(180deg); }
.dp-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex: none; }
.dp-avatar-i { display: grid; place-items: center; background: var(--grad); color: var(--on-acc); font-weight: 800; font-size: 13px; }
.dp-user-name { font-size: 14px; font-weight: 600; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dp-role-tag { font: 500 10.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; border-radius: 6px; background: rgba(255, 255, 255, .06); color: var(--soft); white-space: nowrap; }
.dp-role-admin, .dp-role-pro { background: rgba(148, 102, 255, .14); color: var(--lav-2); }
.dp-role-plus { background: rgba(148, 102, 255, .10); color: var(--cyan-2); }
.dp-menu-pop { position: absolute; right: 0; top: calc(100% + 8px); min-width: 210px; padding: 6px; border-radius: 16px; background: rgba(18, 18, 26, .96); border: 1px solid var(--line-2); box-shadow: var(--shadow); backdrop-filter: blur(20px); z-index: 70; }
.dp-menu-pop a, .dp-menu-pop button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 10px; border: 0; background: none; color: var(--soft); text-decoration: none; font-size: 14px; cursor: pointer; text-align: left; }
.dp-menu-pop a:hover, .dp-menu-pop button:hover, .dp-menu-pop a:focus-visible, .dp-menu-pop button:focus-visible { background: rgba(255, 255, 255, .06); color: var(--text); }
.dp-menu-pop form { margin: 0; border-top: 1px solid var(--line); margin-top: 4px; padding-top: 4px; }

/* ---------- Layout ---------- */
.dp-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 40px 32px 64px; flex: 1; }
.dp-wrap-narrow { max-width: 860px; }
.dp-wrap-player { padding-bottom: calc(var(--bar-h) + 56px); }
.dp-center { flex: 1; display: grid; place-items: center; padding: 40px 16px; }
.dp-narrow { max-width: 520px; width: 100%; }
.dp-pad-lg { padding: 40px; }

.dp-footer { border-top: 1px solid rgba(255, 255, 255, .06); }
.dp-footer-in { max-width: var(--wrap); margin: 0 auto; padding: 20px 32px 28px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--dim); }
.dp-footer a { color: var(--muted); }
.dp-footer a:hover { color: var(--cyan); }
.dp-footer .dp-linkbtn { color: var(--muted); font-size: 13px; }
.dp-page-player .dp-footer, .dp-page-fav .dp-footer, .dp-page-sets .dp-footer { padding-bottom: var(--bar-h); }

.dp-flashes { width: 100%; max-width: var(--wrap); margin: 20px auto 0; padding: 0 32px; display: grid; gap: 8px; }
.dp-layout-bare .dp-flashes { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 90; max-width: 560px; }

/* ---------- Staklo ---------- */
.dp-glass { background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02)); border: 1px solid rgba(255, 255, 255, .09); box-shadow: var(--inset), var(--shadow); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-radius: var(--r); }
.dp-card { padding: 26px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.dp-card > .dp-h3 { margin-top: -10px; }
.dp-card-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.dp-card-head > div { flex: 1; min-width: 0; }
.dp-card-head .dp-h3 { margin: 4px 0 0; }
.dp-step { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex: none; background: rgba(148, 102, 255, .12); color: var(--cyan); font-weight: 700; font-size: 14px; }
.dp-badge { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .06); color: var(--soft); white-space: nowrap; }
.dp-badge-ok { background: rgba(143, 227, 184, .12); color: var(--ok); }
.dp-badge-warn { background: rgba(242, 211, 138, .12); color: var(--warn); }
.dp-grid-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 24px; align-items: start; }
.dp-card-wide { grid-column: 1 / -1; }
.dp-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.dp-stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-bottom: 24px; }
.dp-stat { display: flex; flex-direction: column; gap: 2px; padding: 16px 20px; border-radius: var(--r-md); }
.dp-stat-k { font-size: 10.5px; letter-spacing: .2em; color: var(--muted); font-weight: 600; }
.dp-stat-v { font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.dp-stat small { color: var(--muted); font-size: 12.5px; }
.dp-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dp-actions form, .dp-inline-form, .dp-inline { margin: 0; display: inline-flex; }
.dp-row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }

/* ---------- Obavijesti ---------- */
.dp-alert { padding: 13px 16px; border-radius: var(--r-md); border: 1px solid; font-size: 14px; background: rgba(255, 255, 255, .03); backdrop-filter: blur(16px); }
.dp-alert a { color: inherit; font-weight: 600; }
.dp-alert-ok { border-color: rgba(143, 227, 184, .35); color: #cff3df; background: rgba(143, 227, 184, .08); }
.dp-alert-err { border-color: rgba(255, 155, 155, .4); color: #ffd6d6; background: rgba(255, 155, 155, .08); }
.dp-alert-info { border-color: rgba(148, 102, 255, .3); color: #e6dcff; background: rgba(148, 102, 255, .07); }
.dp-alert-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }

/* ---------- Gumbi ---------- */
.dp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 13px; border: 1px solid transparent; font-weight: 650; font-size: 14.5px; text-decoration: none; cursor: pointer; white-space: nowrap; transition: filter .15s, border-color .15s, background .15s, color .15s, transform .1s, opacity .15s; }
.dp-btn:active:not(:disabled) { transform: translateY(1px); }
.dp-btn:disabled, .dp-btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.dp-btn-primary { background: var(--grad); color: var(--on-acc); border-color: rgba(160, 120, 255, .55); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 2px 10px rgba(0, 0, 0, .3); }
.dp-btn-primary:hover:not(:disabled) { filter: brightness(1.12); color: var(--on-acc); }
.dp-btn-ghost { background: transparent; border-color: var(--line-2); color: var(--text); }
.dp-btn-ghost:hover:not(:disabled) { border-color: rgba(148, 102, 255, .5); color: var(--cyan); }
.dp-btn-glass { background: var(--glass-2); border-color: var(--line); color: var(--text); box-shadow: var(--inset); }
.dp-btn-glass:hover { background: var(--glass-hi); color: var(--text); }
.dp-btn-danger { background: #ff8a8a; color: #1a0707; }
.dp-btn-danger:hover { filter: brightness(1.08); color: #1a0707; }
.dp-btn-danger-ghost { background: transparent; border-color: rgba(255, 155, 155, .35); color: var(--err); }
.dp-btn-danger-ghost:hover { background: rgba(255, 155, 155, .08); color: var(--err); }
.dp-btn-sm { height: 36px; padding: 0 14px; font-size: 13px; border-radius: 10px; }
.dp-btn-lg { height: 52px; padding: 0 26px; font-size: 15.5px; border-radius: 14px; }
.dp-btn-block { width: 100%; }

/* ---------- Forme ---------- */
.dp-form { display: flex; flex-direction: column; gap: 16px; }
.dp-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.dp-input { -webkit-appearance: none; appearance: none; width: 100%; height: 48px; padding: 0 16px; border-radius: 13px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .32); color: var(--text); font: inherit; font-size: 15px; transition: border-color .15s, box-shadow .15s, background .15s; }
.dp-input::placeholder { color: #6f7382; }
.dp-input:hover { border-color: rgba(255, 255, 255, .2); }
.dp-input:focus { outline: none; border-color: rgba(148, 102, 255, .6); box-shadow: 0 0 0 4px rgba(148, 102, 255, .12); background: rgba(0, 0, 0, .4); }
.dp-input:-webkit-autofill { -webkit-text-fill-color: var(--text); -webkit-box-shadow: 0 0 0 60px #0e0e15 inset; caret-color: var(--text); }
.dp-input[readonly] { opacity: .7; }
.dp-input-sm { height: 38px; padding: 0 12px; font-size: 14px; border-radius: 10px; }
.dp-input-num { width: 76px; text-align: center; font-family: var(--mono); }
.dp-textarea { height: auto; padding: 12px 16px; line-height: 1.55; resize: vertical; min-height: 96px; }
.dp-pass { position: relative; }
.dp-pass .dp-input { padding-right: 52px; }
.dp-pass-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 10px; border: 0; background: transparent; color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.dp-pass-toggle:hover { color: var(--cyan); background: rgba(255, 255, 255, .05); }
.dp-meter { display: flex; gap: 6px; }
.dp-meter span { flex: 1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .1); transition: background .2s; }
.dp-meter[data-level="1"] span:nth-child(-n+1) { background: var(--err); }
.dp-meter[data-level="2"] span:nth-child(-n+2) { background: var(--warn); }
.dp-meter[data-level="3"] span:nth-child(-n+3) { background: var(--cyan); }
.dp-meter[data-level="4"] span { background: var(--lav); }
.dp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Checkbox */
.dp-check { display: inline-flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: 14px; color: var(--soft); line-height: 1.45; position: relative; }
.dp-check input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; cursor: pointer; }
.dp-check-box { width: 22px; height: 22px; flex: none; border-radius: 7px; border: 1.5px solid rgba(255, 255, 255, .25); display: grid; place-items: center; color: transparent; transition: background .15s, border-color .15s; margin-top: 0; }
.dp-check input:checked + .dp-check-box { background: var(--grad); border-color: transparent; color: var(--on-acc); }
.dp-check input:focus-visible + .dp-check-box { outline: 2px solid var(--cyan); outline-offset: 2px; }
.dp-check:hover .dp-check-box { border-color: rgba(148, 102, 255, .6); }
.dp-check-txt small { display: block; color: var(--muted); font-size: 12.5px; }
.dp-check-solo { gap: 0; }

/* Switch */
.dp-switch-row { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: var(--r-md); background: var(--glass); border: 1px solid rgba(255, 255, 255, .06); }
.dp-switch-txt { flex: 1; min-width: 0; }
.dp-switch-txt label { display: block; font-weight: 600; font-size: 15px; cursor: pointer; }
.dp-switch-txt small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.dp-switch { position: relative; width: 52px; height: 30px; flex: none; }
.dp-switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.dp-switch span { position: absolute; inset: 0; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .06); transition: background .2s, border-color .2s; }
.dp-switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--muted); transition: transform .2s, background .2s; }
.dp-switch input:checked + span { background: var(--grad); border-color: transparent; }
.dp-switch input:checked + span::after { transform: translateX(22px); background: var(--bg); }
.dp-switch input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }

/* Custom select */
.dp-select { position: relative; min-width: 0; }
.dp-select-btn { width: 100%; height: 48px; display: flex; align-items: center; gap: 10px; padding: 0 14px 0 16px; border-radius: 13px; border: 1px solid var(--line-2); background: rgba(0, 0, 0, .32); cursor: pointer; text-align: left; font-size: 14.5px; }
.dp-select-btn:hover { border-color: rgba(255, 255, 255, .2); }
.dp-select.is-open .dp-select-btn { border-color: rgba(148, 102, 255, .6); box-shadow: 0 0 0 4px rgba(148, 102, 255, .12); }
.dp-select-kicker { font-size: 10.5px; letter-spacing: .18em; color: var(--muted); font-weight: 600; text-transform: uppercase; flex: none; }
.dp-select-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dp-select-btn .dp-ic { color: var(--muted); transition: transform .15s; }
.dp-select.is-open .dp-select-btn .dp-ic { transform: rotate(180deg); }
.dp-select-pop { position: absolute; z-index: 80; top: calc(100% + 6px); left: 0; min-width: 100%; width: max-content; max-width: min(460px, 92vw); padding: 6px; border-radius: 14px; background: rgba(18, 18, 26, .97); border: 1px solid var(--line-2); box-shadow: var(--shadow); backdrop-filter: blur(20px); }
.dp-select-pop.is-right { left: auto; right: 0; }
.dp-select-search { padding: 4px 4px 8px; }
.dp-select-list { list-style: none; margin: 0; padding: 0; max-height: 340px; overflow-y: auto; outline: none; }
.dp-select-opt { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 9px; cursor: pointer; font-size: 14px; white-space: nowrap; }
.dp-select-opt.is-active { background: rgba(255, 255, 255, .06); }
.dp-select-opt.is-selected { color: var(--cyan); font-weight: 600; }
.dp-select-opt-label { flex: 1; overflow: hidden; text-overflow: ellipsis; }
.dp-select-count { color: var(--dim); font: 500 12px var(--mono); }
.dp-select-none { padding: 10px 12px; color: var(--dim); font-size: 13.5px; }
.dp-select-inline { min-width: 180px; }
.dp-select-inline .dp-select-btn { height: 44px; }

/* File upload */
.dp-file { position: relative; display: flex; align-items: center; gap: 12px; padding: 6px; border-radius: 13px; border: 1px dashed rgba(148, 102, 255, .35); background: rgba(148, 102, 255, .04); cursor: pointer; }
.dp-file:hover { border-color: rgba(148, 102, 255, .6); }
.dp-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.dp-file:focus-within { outline: 2px solid var(--cyan); outline-offset: 2px; }
.dp-file-btn { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 10px; background: var(--glass-hi); font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.dp-file-name { color: var(--muted); font-size: 13.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.dp-file.has-file .dp-file-name { color: var(--text); }
.dp-preview { display: flex; align-items: center; gap: 16px; padding: 12px; border-radius: var(--r-md); background: var(--glass); }
.dp-preview img { border-radius: 8px; }

.dp-copy { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border-radius: var(--r-md); background: rgba(148, 102, 255, .05); border: 1px dashed rgba(148, 102, 255, .3); }
.dp-copy-row { display: flex; align-items: center; gap: 10px; min-width: 0; }
.dp-copy code { flex: 1; min-width: 0; color: var(--cyan); font-size: 13px; overflow-wrap: anywhere; }

/* ---------- Auth ---------- */
.dp-auth { flex: 1; display: flex; }
.dp-auth-in { width: 100%; max-width: 1610px; margin: 0 auto; padding: 56px 32px; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.dp-auth-hero { flex: 1 1 440px; min-width: 0; }
.dp-auth-card { flex: 1 1 400px; max-width: 470px; padding: 34px; display: flex; flex-direction: column; gap: 16px; border-radius: 24px; }
.dp-role-list { list-style: none; margin: 32px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; max-width: 540px; }
.dp-role-item { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px 18px; border-radius: var(--r-md); background: var(--glass); border: 1px solid rgba(255, 255, 255, .07); font-size: 15px; font-weight: 600; }
.dp-role-k { font-size: 12px; letter-spacing: .18em; font-weight: 700; color: #a6a8b2; }
.dp-role-item-plus .dp-role-k { color: var(--cyan-2); }
.dp-role-item-pro { background: var(--grad-soft); border-color: rgba(148, 102, 255, .2); }
.dp-role-item-pro .dp-role-k { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dp-seg { display: flex; gap: 6px; padding: 5px; border-radius: 14px; background: rgba(255, 255, 255, .04); }
.dp-seg a { flex: 1; text-align: center; padding: 10px; border-radius: 10px; color: #a6a8b2; text-decoration: none; font-weight: 600; font-size: 14px; }
.dp-seg a:hover { color: var(--text); }
.dp-seg a[aria-current="page"] { background: rgba(255, 255, 255, .09); box-shadow: var(--inset); color: var(--text); }

/* ---------- Instalacija / liste ---------- */
.dp-checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.dp-checklist li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; }
.dp-checklist li .dp-ic { flex: none; padding: 3px; width: 22px; height: 22px; border-radius: 7px; }
.dp-checklist .is-ok .dp-ic { color: var(--bg); background: var(--ok); }
.dp-checklist .is-warn .dp-ic { color: var(--bg); background: var(--warn); }
.dp-checklist .is-bad .dp-ic { color: var(--bg); background: var(--err); }
.dp-checklist em { color: var(--muted); font-style: normal; font-size: 13px; }
.dp-page-install .dp-wrap > * + * { margin-top: 20px; }
.dp-page-install .dp-form { gap: 20px; }

.dp-list-plain { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.dp-li-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--glass); }
.dp-li-row small, .dp-top small { display: block; color: var(--muted); font-size: 12.5px; }
.dp-device { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; background: var(--glass); border: 1px solid transparent; }
.dp-device.is-current { border-color: rgba(148, 102, 255, .25); }
.dp-device-ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: rgba(148, 102, 255, .1); color: var(--cyan); flex: none; }
.dp-device-txt small { display: block; color: var(--muted); font-size: 12.5px; }
.dp-danger { margin-top: 12px; padding-top: 20px; border-top: 1px solid rgba(255, 155, 155, .18); display: flex; flex-direction: column; gap: 10px; }
.dp-danger .dp-h4 { color: var(--err); }

.dp-dl { margin: 0; border-radius: var(--r-md); border: 1px solid rgba(255, 255, 255, .06); overflow: hidden; }
.dp-dl div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 14px; }
.dp-dl div + div { border-top: 1px solid rgba(255, 255, 255, .06); }
.dp-dl dt { color: var(--muted); font-size: 13.5px; }
.dp-dl dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }

/* ---------- Admin ---------- */
.dp-tabs { display: flex; gap: 4px; flex-wrap: wrap; padding: 6px; margin-bottom: 28px; border-radius: 16px; background: var(--glass); border: 1px solid rgba(255, 255, 255, .07); width: fit-content; max-width: 100%; }
.dp-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 11px; color: #a6a8b2; text-decoration: none; font-size: 14px; font-weight: 500; white-space: nowrap; }
.dp-tabs a:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.dp-tabs a[aria-current="page"] { background: rgba(255, 255, 255, .09); box-shadow: var(--inset); color: var(--text); font-weight: 600; }
.dp-tabs a[aria-current="page"] .dp-ic { color: var(--cyan); }
.dp-back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 18px; color: var(--muted); text-decoration: none; font-size: 14px; }
.dp-back .dp-ic { transform: rotate(90deg); }

.dp-matrix { display: grid; gap: 4px 8px; align-items: center; grid-template-columns: minmax(0, 1.7fr) repeat(3, minmax(64px, 1fr)); }
.dp-matrix[data-cols="1"] { grid-template-columns: minmax(0, 1.7fr) minmax(64px, 1fr); }
.dp-matrix[data-cols="2"] { grid-template-columns: minmax(0, 1.7fr) repeat(2, minmax(64px, 1fr)); }
.dp-matrix[data-cols="4"] { grid-template-columns: minmax(0, 1.7fr) repeat(4, minmax(64px, 1fr)); }
.dp-matrix[data-cols="5"] { grid-template-columns: minmax(0, 1.7fr) repeat(5, minmax(64px, 1fr)); }
.dp-matrix[data-cols="6"] { grid-template-columns: minmax(0, 1.7fr) repeat(6, minmax(64px, 1fr)); }
.dp-matrix-h { font-size: 11px; letter-spacing: .2em; color: var(--dim); font-weight: 600; }
.dp-matrix-role .dp-input { text-align: center; font-weight: 700; background: transparent; border-color: transparent; }
.dp-matrix-role .dp-input:hover, .dp-matrix-role .dp-input:focus { border-color: var(--line-2); background: rgba(0, 0, 0, .3); }
.dp-role-name.dp-role-plus { color: var(--cyan-2); }
.dp-role-name.dp-role-pro { color: var(--lav-2); }
.dp-matrix-l, .dp-matrix-c { padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .06); }
.dp-matrix-l { font-size: 14.5px; font-weight: 600; }
.dp-matrix-l small { display: block; font-size: 12.5px; font-weight: 400; color: var(--muted); margin-top: 2px; }
.dp-matrix-c { display: flex; justify-content: center; align-self: stretch; align-items: center; }

.dp-filter { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 0; }
.dp-search-sm { flex: 1 1 260px; }
.dp-search-sm .dp-input { height: 44px; }
.dp-table-wrap { overflow-x: auto; border-radius: var(--r-md); border: 1px solid rgba(255, 255, 255, .06); }
.dp-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 720px; }
.dp-table th { text-align: left; font-size: 11px; letter-spacing: .18em; color: var(--dim); font-weight: 600; text-transform: uppercase; padding: 12px 14px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.dp-table td { padding: 12px 14px; border-bottom: 1px solid rgba(255, 255, 255, .05); vertical-align: middle; }
.dp-table tr:last-child td { border-bottom: 0; }
.dp-table tbody tr:hover { background: rgba(255, 255, 255, .025); }
.dp-table td.dp-r { display: flex; gap: 6px; justify-content: flex-end; }
.dp-status { font-weight: 600; font-size: 13.5px; }
.dp-status-active { color: var(--ok); }
.dp-status-pending { color: var(--warn); }
.dp-status-blocked { color: var(--err); }
.dp-pager { display: flex; align-items: center; justify-content: center; gap: 14px; }

.dp-bars { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.dp-bars li { display: grid; grid-template-columns: 70px 1fr 40px; gap: 12px; align-items: center; font-size: 14px; }
.dp-bars-t { height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.dp-bars-f { display: block; height: 100%; width: 0; border-radius: 8px; background: var(--grad-h); transition: width .6s; }
.dp-bars-n { text-align: right; font-family: var(--mono); color: var(--soft); }
.dp-top { margin: 0; padding: 0 0 0 22px; display: flex; flex-direction: column; gap: 8px; }
.dp-top li { padding-left: 4px; }
.dp-top li::marker { color: var(--dim); font-family: var(--mono); font-size: 12px; }
.dp-top li { display: list-item; }
.dp-top li > span:first-child { display: inline-block; max-width: calc(100% - 50px); vertical-align: top; }
.dp-top li > span:last-child { float: right; color: var(--cyan); }
.dp-log { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font: 12.5px/1.5 var(--mono); color: var(--soft); }
.dp-pre { margin: 0; white-space: pre-wrap; font: 13px/1.6 var(--mono); color: var(--soft); max-height: 360px; overflow: auto; }
.dp-version { font-size: 48px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }

.dp-progress { display: flex; flex-direction: column; gap: 8px; }
.dp-progress-bar { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.dp-progress-bar span { display: block; height: 100%; width: 40%; border-radius: 6px; background: var(--grad-h); animation: dp-indet 1.2s ease-in-out infinite; }
.dp-progress.is-done .dp-progress-bar span { width: 100%; animation: none; }
.dp-progress-text { margin: 0; font-size: 13.5px; color: var(--muted); }
@keyframes dp-indet { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }

/* ---------- Pravni tekstovi ---------- */
.dp-prose { font-size: 15.5px; line-height: 1.7; color: var(--soft); gap: 0; }
.dp-prose h2 { font-size: 19px; color: var(--text); margin: 26px 0 8px; }
.dp-prose h2:first-child { margin-top: 0; }
.dp-prose p { margin: 0 0 12px; }

/* ---------- Player ---------- */
.dp-lib-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.dp-head-stats { display: flex; gap: 10px; }
.dp-head-stats .dp-stat { padding: 12px 18px; }
.dp-head-stats .dp-stat-v { font-size: 20px; }
.dp-empty-card { align-items: flex-start; }

.dp-toolbar { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.dp-search { position: relative; flex: 1 1 380px; display: flex; align-items: center; }
.dp-search > .dp-ic { position: absolute; left: 16px; color: var(--muted); pointer-events: none; }
.dp-search .dp-input { height: 50px; padding: 0 46px; font-size: 15px; background: var(--glass); border-color: rgba(255, 255, 255, .09); }
.dp-search-clear { position: absolute; right: 7px; width: 36px; height: 36px; border-radius: 10px; border: 0; background: transparent; color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.dp-search-clear:hover { background: rgba(255, 255, 255, .06); color: var(--text); }
.dp-toolbar .dp-select { flex: 0 1 260px; }
.dp-toolbar .dp-select-btn { height: 50px; background: var(--glass); border-color: rgba(255, 255, 255, .09); }
.dp-list-meta { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 16px 4px 10px; font-size: 13px; color: var(--muted); }
.dp-keys { color: var(--dim); }

.dp-lib-grid { display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
.dp-lib-main { flex: 999 1 720px; min-width: 0; }
.dp-list-head, .dp-row { display: grid; grid-template-columns: 42px minmax(0, 2.6fr) minmax(0, 1fr) 64px 84px 86px; gap: 14px; align-items: center; }
.dp-list-head { padding: 0 16px 10px; font-size: 11px; letter-spacing: .2em; font-weight: 600; color: var(--dim); }
.dp-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.dp-row { padding: 9px 16px; min-height: 60px; border-radius: 16px; background: var(--glass); border: 1px solid rgba(255, 255, 255, .06); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .03); transition: background .12s, border-color .12s; content-visibility: auto; contain-intrinsic-size: auto 60px; }
.dp-row:hover { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); }
.dp-row.is-current { background: linear-gradient(90deg, rgba(148, 102, 255, .12), rgba(101, 57, 214, .08)); border-color: rgba(148, 102, 255, .28); box-shadow: var(--inset); }
.dp-row-q { display: flex; justify-content: center; overflow: hidden; }
.dp-row-play { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .06); color: var(--text); display: grid; place-items: center; cursor: pointer; transition: background .12s, transform .1s; }
.dp-row-play:hover { background: var(--grad); color: var(--on-acc); }
.dp-row-play .ic-pause { display: none; }
.dp-row.is-playing .dp-row-play { background: var(--grad); color: var(--on-acc); }
.dp-row.is-playing .dp-row-play .ic-play { display: none; }
.dp-row.is-playing .dp-row-play .ic-pause { display: block; }
.dp-row.is-disabled .dp-row-play { opacity: .3; cursor: not-allowed; background: transparent; color: var(--muted); }
.dp-row-main { min-width: 0; }
.dp-row-title { display: block; font-size: 15px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dp-row.is-current .dp-row-title { background: linear-gradient(90deg, #ffffff, #b79cff 70%, #9466ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dp-row-sub { display: none; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dp-row-folder { font-size: 13.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dp-row-ext { justify-self: start; font: 500 11px var(--mono); letter-spacing: .06em; padding: 4px 8px; border-radius: 7px; background: rgba(148, 102, 255, .10); color: var(--cyan-2); }
.dp-row-ext.is-lossless { background: rgba(148, 102, 255, .13); color: var(--lav-2); }
.dp-row-size { font: 500 13px var(--mono); color: var(--muted); text-align: right; }
.dp-row-act { display: flex; justify-content: flex-end; gap: 4px; }
.dp-row-btn { width: 38px; height: 38px; border-radius: 10px; border: 0; background: transparent; color: var(--dim); display: grid; place-items: center; cursor: pointer; text-decoration: none; transition: background .12s, color .12s; }
.dp-row-btn:hover { background: rgba(255, 255, 255, .06); color: var(--text); }
.dp-row-btn.is-on { color: var(--lav); }
.dp-row-btn.is-on .dp-ic { fill: currentColor; }
.dp-row-dl { background: rgba(148, 102, 255, .08); color: var(--cyan); }
.dp-row-dl:hover { background: rgba(148, 102, 255, .16); color: var(--cyan); }
.dp-row .dp-check input, .dp-row .dp-check-box { width: 20px; height: 20px; }

.dp-sentinel { height: 1px; }
.dp-empty, .dp-loading { text-align: center; color: var(--muted); padding: 56px 0; margin: 0; }
.dp-loading { display: flex; align-items: center; justify-content: center; gap: 12px; }
.dp-spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .12); border-top-color: var(--cyan); animation: dp-spin .8s linear infinite; }
@keyframes dp-spin { to { transform: rotate(360deg); } }

/* Red preuzimanja */
.dp-queue { flex: 1 1 440px; max-width: 520px; padding: 22px; position: sticky; top: 90px; display: flex; flex-direction: column; gap: 12px; }
.dp-queue-sum { display: flex; align-items: baseline; gap: 8px; }
.dp-queue-n { font-size: 40px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.dp-queue-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; max-height: 44vh; overflow-y: auto; }
.dp-queue-item { display: flex; align-items: center; gap: 10px; padding: 9px 10px 9px 12px; border-radius: 12px; background: var(--glass); border: 1px solid rgba(255, 255, 255, .06); }
.dp-queue-item b { font: 500 12px var(--mono); color: var(--dim); width: 22px; flex: none; }
.dp-queue-item span { flex: 1; min-width: 0; }
.dp-queue-item strong { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dp-queue-item small { display: block; font-size: 12px; color: var(--muted); }
.dp-queue-item button { width: 30px; height: 30px; flex: none; border-radius: 8px; border: 0; background: transparent; color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.dp-queue-item button:hover { background: rgba(255, 255, 255, .06); color: var(--text); }
.dp-queue-empty, .dp-queue-hint { font-size: 12.5px; line-height: 1.5; }
.dp-queue form { margin: 0; }

/* Custom range */
.dp-range { position: relative; flex: 1; height: 20px; display: flex; align-items: center; cursor: pointer; touch-action: none; }
.dp-range-track { position: relative; width: 100%; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.dp-range-buf { position: absolute; inset: 0 auto 0 0; width: 0; background: rgba(255, 255, 255, .08); }
.dp-range-fill { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--grad-h); }
.dp-range-thumb { position: absolute; top: 50%; left: 0; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px rgba(148, 102, 255, .6); transform: scale(0); transition: transform .12s; }
.dp-range:hover .dp-range-thumb, .dp-range.is-drag .dp-range-thumb, .dp-range:focus-visible .dp-range-thumb { transform: scale(1); }

/* Player traka */
.dp-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; min-height: var(--bar-h); border-top: 1px solid rgba(255, 255, 255, .08); background: rgba(10, 10, 16, .8); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); box-shadow: 0 -30px 60px -30px rgba(0, 0, 0, .9); }
.dp-bar-in { max-width: var(--wrap); margin: 0 auto; padding: 14px 32px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 620px) minmax(0, 1fr); align-items: center; gap: 24px; }
.dp-now { display: flex; align-items: center; gap: 14px; min-width: 0; }
.dp-cover { width: 56px; height: 56px; border-radius: 14px; flex: none; display: grid; place-items: center; background: linear-gradient(135deg, rgba(148, 102, 255, .3), rgba(101, 57, 214, .3)); border: 1px solid rgba(255, 255, 255, .12); color: var(--text); }
.dp-bar.is-playing .dp-cover { box-shadow: 0 0 28px rgba(148, 102, 255, .35); }
.dp-bar.is-playing .dp-cover .dp-ic { animation: dp-pulse 1.6s ease-in-out infinite; }
@keyframes dp-pulse { 50% { transform: scale(.88); } }
.dp-now-meta { min-width: 0; }
.dp-now-title { font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dp-now-sub { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dp-bar-center { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.dp-controls { display: flex; align-items: center; justify-content: center; gap: 10px; }
.dp-ctl { position: relative; width: 40px; height: 40px; border-radius: 50%; border: 0; background: transparent; color: var(--soft); display: grid; place-items: center; cursor: pointer; text-decoration: none; transition: color .12s, background .12s, transform .1s; }
.dp-ctl:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.dp-ctl:disabled, .dp-ctl[aria-disabled="true"] { opacity: .35; pointer-events: none; }
.dp-ctl-main { width: 52px; height: 52px; background: var(--grad); color: var(--on-acc); border: 1px solid rgba(160, 120, 255, .55); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 6px 24px -8px rgba(148, 102, 255, .6); }
.dp-ctl-main:hover { background: var(--grad); filter: brightness(1.12); color: var(--on-acc); transform: scale(1.04); }
.dp-ctl .ic-pause, .dp-ctl .ic-mute { display: none; }
.dp-bar.is-playing .dp-ctl-main .ic-play { display: none; }
.dp-bar.is-playing .dp-ctl-main .ic-pause { display: block; }
.dp-ctl.is-muted .ic-vol { display: none; }
.dp-ctl.is-muted .ic-mute { display: block; }
.dp-ctl-toggle[aria-pressed="true"], .dp-ctl-toggle[data-mode="all"], .dp-ctl-toggle[data-mode="one"], #dpFavNow[aria-pressed="true"] { color: var(--cyan); }
#dpFavNow[aria-pressed="true"] { color: var(--lav); }
#dpFavNow[aria-pressed="true"] .dp-ic { fill: currentColor; }
.dp-ctl-toggle[aria-pressed="true"]::after, .dp-ctl-toggle[data-mode="all"]::after, .dp-ctl-toggle[data-mode="one"]::after { content: ""; position: absolute; bottom: 3px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--cyan); }
.dp-one { display: none; position: absolute; top: 7px; right: 7px; font: 700 9px var(--mono); color: var(--cyan); }
.dp-ctl-toggle[data-mode="one"] .dp-one { display: block; }
.dp-seek { display: flex; align-items: center; gap: 12px; }
.dp-time { font: 500 12px var(--mono); color: var(--muted); min-width: 42px; text-align: center; }
.dp-side { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
#dpVol { flex: 0 1 110px; }

/* ---------- Toast, modal, kolacici ---------- */
.dp-toasts { position: fixed; z-index: 120; right: 20px; bottom: 20px; display: flex; flex-direction: column; gap: 8px; max-width: min(400px, calc(100vw - 40px)); }
.dp-page-player .dp-toasts, .dp-page-fav .dp-toasts, .dp-page-sets .dp-toasts { bottom: calc(var(--bar-h) + 16px); }
.dp-toast { padding: 13px 16px; border-radius: 14px; background: rgba(20, 20, 30, .95); border: 1px solid var(--line-2); box-shadow: var(--shadow); font-size: 14px; backdrop-filter: blur(16px); animation: dp-in .2s ease-out; }
.dp-toast.is-err { border-color: rgba(255, 155, 155, .5); }
.dp-toast.is-ok { border-color: rgba(143, 227, 184, .5); }
.dp-toast.is-warn { border-color: rgba(242, 211, 138, .5); }
.dp-toast.is-out { opacity: 0; transform: translateY(6px); transition: .25s; }
@keyframes dp-in { from { opacity: 0; transform: translateY(8px); } }

.dp-modal-back { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 16px; background: rgba(4, 4, 8, .7); backdrop-filter: blur(6px); animation: dp-fade .15s ease-out; }
.dp-modal { width: 100%; max-width: 460px; padding: 28px; border-radius: 22px; background: linear-gradient(180deg, rgba(30, 30, 44, .96), rgba(20, 20, 30, .96)); border: 1px solid var(--line-2); box-shadow: var(--inset), var(--shadow); animation: dp-in .18s ease-out; }
.dp-modal-title { font-size: 20px; margin-bottom: 8px; }
.dp-modal-text { color: var(--soft); margin: 0 0 24px; }
.dp-modal-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
@keyframes dp-fade { from { opacity: 0; } }

.dp-consent { position: fixed; z-index: 130; left: 50%; bottom: 20px; transform: translateX(-50%); width: min(720px, calc(100vw - 32px)); display: flex; align-items: center; gap: 18px; padding: 18px 20px; border-radius: 18px; background: rgba(18, 18, 26, .96); border: 1px solid var(--line-2); box-shadow: var(--shadow); backdrop-filter: blur(20px); }
.dp-consent p { margin: 0; font-size: 13.5px; color: var(--soft); flex: 1; }
.dp-consent-actions { display: flex; gap: 8px; flex: none; }
.dp-page-player .dp-consent, .dp-page-fav .dp-consent, .dp-page-sets .dp-consent { bottom: calc(var(--bar-h) + 16px); }

/* ---------- Responzivno ---------- */
@media (max-width: 1100px) {
  .dp-queue { max-width: none; position: static; flex-basis: 100%; }
  .dp-keys { display: none; }
}
@media (max-width: 980px) {
  :root { --bar-h: 132px; }
  .dp-bar-in { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; padding: 10px 16px; }
  .dp-now { grid-column: 1; grid-row: 1; }
  .dp-side { grid-column: 2; grid-row: 1; }
  .dp-bar-center { grid-column: 1 / -1; grid-row: 2; flex-direction: row; align-items: center; gap: 12px; }
  .dp-controls { gap: 2px; }
  .dp-seek { flex: 1; }
  .dp-cover { width: 44px; height: 44px; }
}
@media (max-width: 760px) {
  .dp-header-in, .dp-wrap, .dp-flashes, .dp-footer-in, .dp-auth-in { padding-left: 16px; padding-right: 16px; }
  .dp-header-in { gap: 10px; }
  .dp-logo-text, .dp-user-name, .dp-user .dp-role-tag { display: none; }
  .dp-nav a { padding: 8px 12px; }
  .dp-grid-2 { grid-template-columns: 1fr; }
  .dp-card, .dp-auth-card { padding: 20px; }
  .dp-auth-in { padding-top: 32px; gap: 32px; }
  .dp-role-list { margin-top: 20px; }
  .dp-toolbar .dp-select { flex: 1 1 calc(50% - 6px); min-width: 0; }
  .dp-toolbar .dp-select-kicker { display: none; }
  #dpVol, #dpMute { display: none; }
  .dp-ctl { width: 36px; height: 36px; }
  .dp-ctl-main { width: 46px; height: 46px; }
  .dp-time { min-width: 34px; font-size: 11px; }
  .dp-matrix { grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(52px, 1fr)); }
  .dp-matrix-l small { display: none; }
  .dp-consent { flex-direction: column; align-items: stretch; }
  .dp-head-stats { width: 100%; }
  .dp-head-stats .dp-stat { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- v2.1: izbornik s tri tockice, modal dozvola, izvjestaj skeniranja ---------- */
.dp-row-more.is-open { background: rgba(255, 255, 255, .1); color: var(--text); box-shadow: inset 0 0 0 1px rgba(148, 102, 255, .35); }
.dp-ctx { position: fixed; z-index: 140; width: 300px; max-width: calc(100vw - 16px); padding: 6px; border-radius: 14px; background: rgba(18, 18, 26, .97); border: 1px solid var(--line-2); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); animation: dp-in .14s ease-out; }
.dp-ctx-head { padding: 8px 12px 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; min-width: 0; }
.dp-ctx-head strong { display: block; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dp-ctx-head small { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dp-ctx button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; border: 0; background: transparent; color: var(--text); font-size: 14px; text-align: left; cursor: pointer; }
.dp-ctx button:hover, .dp-ctx button:focus-visible { background: rgba(255, 255, 255, .07); outline: none; }
.dp-ctx button > .dp-ic:first-child { color: var(--cyan); }
.dp-ctx button span { flex: 1; min-width: 0; }
.dp-ctx button em { font: normal 500 11.5px var(--mono); color: var(--muted); white-space: nowrap; }
.dp-ctx button.is-locked { color: var(--muted); }
.dp-ctx button.is-locked > .dp-ic:first-child { color: var(--dim); }
.dp-ctx button.is-locked > .dp-ic:last-child { width: 15px; height: 15px; color: var(--lav); }

.dp-modal-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(148, 102, 255, .14); color: var(--lav-2); margin-bottom: 14px; }
.dp-modal .dp-card-k { margin-bottom: 6px; }
.dp-modal-text p { margin: 0 0 10px; line-height: 1.6; }
.dp-modal-text strong { color: var(--lav-2); }

.dp-report { padding: 14px 16px; border-radius: var(--r-md); background: rgba(148, 102, 255, .05); border: 1px solid rgba(148, 102, 255, .18); display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.dp-report p { margin: 0; line-height: 1.55; }
.dp-report-k { font-size: 10.5px; letter-spacing: .2em; font-weight: 600; color: var(--cyan); }
.dp-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.dp-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 4px 10px; border-radius: 8px; background: rgba(255, 255, 255, .05); font: 500 12px var(--mono); color: var(--soft); }
.dp-chips b { color: var(--muted); font-weight: 500; }

/* v2.3: footer izbornika */
.dp-ctx-foot { margin-top: 4px; padding: 10px 12px 6px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 3px; }
.dp-ctx-meta { font: 500 12px var(--mono); color: var(--cyan-2); letter-spacing: .02em; }
.dp-ctx-path { font-size: 11.5px; color: var(--dim); line-height: 1.4; overflow-wrap: anywhere; }

/* v2.3: aktivnost */
.dp-mb { margin-bottom: 24px; }
.dp-stats-6 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.dp-stat-sep { color: var(--dim); font-weight: 400; }
.dp-legend { list-style: none; margin: 0; padding: 0; display: flex; gap: 16px; font-size: 13px; color: var(--muted); }
.dp-legend li { display: flex; align-items: center; gap: 8px; }
.dp-dot { width: 10px; height: 10px; border-radius: 3px; }
.dp-dot-p, .dp-bar-p { background: linear-gradient(180deg, #b79cff, rgba(148, 102, 255, .55)); }
.dp-dot-d, .dp-bar-d { background: linear-gradient(180deg, #9466ff, rgba(101, 57, 214, .55)); }
.dp-chart { display: grid; grid-template-columns: repeat(30, minmax(0, 1fr)); gap: 6px; height: 220px; align-items: end; padding-top: 8px; }
.dp-chart-col { height: 100%; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.dp-chart-bars { flex: 1; display: flex; align-items: flex-end; justify-content: center; gap: 2px; border-bottom: 1px solid var(--line); }
.dp-chart-bars span { width: 42%; max-width: 12px; height: 0; border-radius: 4px 4px 1px 1px; transition: height .6s cubic-bezier(.2, .8, .2, 1); }
.dp-chart-col:hover .dp-chart-bars { background: rgba(255, 255, 255, .03); border-radius: 6px 6px 0 0; }
.dp-chart-x { height: 16px; font: 500 10.5px var(--mono); color: var(--dim); text-align: center; white-space: nowrap; }
.dp-hours { display: grid; grid-template-columns: repeat(24, minmax(0, 1fr)); gap: 3px; height: 120px; align-items: end; }
.dp-hours-col { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; }
.dp-hours-col span { display: block; height: 0; border-radius: 3px 3px 1px 1px; background: linear-gradient(180deg, #9466ff, #b79cff); transition: height .6s; }
.dp-hours-col small { height: 14px; font: 500 10px var(--mono); color: var(--dim); text-align: center; }
.dp-act-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.dp-act-list li { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 12px; background: var(--glass); border: 1px solid rgba(255, 255, 255, .05); }
.dp-act-ic { width: 30px; height: 30px; flex: none; border-radius: 9px; display: grid; place-items: center; background: rgba(148, 102, 255, .1); color: var(--cyan); }
.dp-act-ic-dl { background: rgba(148, 102, 255, .12); color: var(--lav); }
.dp-act-ic-fav { background: rgba(148, 102, 255, .12); color: var(--lav); }
.dp-act-ic-fav .dp-ic { fill: currentColor; }
.dp-act-main { flex: 1; min-width: 0; }
.dp-act-main a { display: block; color: var(--text); font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dp-act-main a:hover { color: var(--cyan); }
.dp-act-main small { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dp-act-list time { font-size: 11.5px; color: var(--dim); white-space: nowrap; }
.dp-top a { color: inherit; text-decoration: none; }
.dp-top a:hover { color: var(--cyan); }
.dp-bars-wide li { grid-template-columns: minmax(0, 180px) 1fr 44px; }
.dp-bars-wide .dp-bars-l { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dp-dl-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.dp-dl-cols div + div { border-top: 0; }
.dp-dl-cols div { border-bottom: 1px solid rgba(255, 255, 255, .06); }
.dp-device-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 8px; }
@media (max-width: 760px) {
  .dp-chart { gap: 2px; height: 160px; }
  .dp-chart-x { font-size: 9px; }
  .dp-legend { display: none; }
}

/* ---------- v2.4: kompaktna tablica biblioteke ---------- */
.dp-toolbar { align-items: stretch; }
.dp-density { display: inline-flex; gap: 2px; padding: 4px; border-radius: 14px; background: var(--glass); border: 1px solid rgba(255, 255, 255, .09); }
.dp-density button { width: 42px; border: 0; border-radius: 10px; background: transparent; color: var(--dim); display: grid; place-items: center; cursor: pointer; transition: background .12s, color .12s; }
.dp-density button:hover { color: var(--text); }
.dp-density button[aria-pressed="true"] { background: rgba(255, 255, 255, .08); color: var(--cyan); }

.dp-tbl { border-radius: 20px; background: var(--glass); border: 1px solid rgba(255, 255, 255, .07); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04); overflow: hidden; }
.dp-tbl .dp-list-head, .dp-tbl .dp-row { grid-template-columns: 44px minmax(0, 1fr) 130px 58px 76px 76px; gap: 8px; }
.dp-tbl .dp-list-head { height: 40px; padding: 0 14px; font-size: 10.5px; letter-spacing: .18em; border-bottom: 1px solid rgba(255, 255, 255, .06); background: rgba(255, 255, 255, .02); }
.dp-list-head .dp-c { text-align: center; }
.dp-list-head .dp-r { text-align: right; }
.dp-tbl .dp-list { gap: 0; }
.dp-tbl .dp-row { position: relative; min-height: 44px; padding: 0 14px; border-radius: 0; background: transparent; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .04); box-shadow: none; contain-intrinsic-size: auto 44px; }
.dp-tbl .dp-row:hover { background: rgba(255, 255, 255, .035); border-color: rgba(255, 255, 255, .04); }
.dp-tbl .dp-row.is-current { background: linear-gradient(90deg, rgba(148, 102, 255, .10), rgba(101, 57, 214, .05) 60%, transparent); box-shadow: inset 2px 0 0 var(--cyan); }
.dp-row-lead { position: relative; display: grid; place-items: center; height: 100%; }
.dp-row-num { font: 500 12px var(--mono); color: #767987; }
.dp-tbl .dp-row-play { position: absolute; width: 30px; height: 30px; opacity: 0; pointer-events: none; }
.dp-tbl .dp-row-play .dp-ic { width: 14px; height: 14px; }
.dp-tbl .dp-row:hover .dp-row-play, .dp-tbl .dp-row.is-current .dp-row-play, .dp-tbl .dp-row-play:focus-visible { opacity: 1; pointer-events: auto; }
.dp-tbl .dp-row:hover .dp-row-num, .dp-tbl .dp-row.is-current .dp-row-num, .dp-tbl .dp-row:focus-within .dp-row-num { visibility: hidden; }
.dp-tbl .dp-row.is-current .dp-row-play { background: var(--grad); color: var(--on-acc); }
.dp-tbl .dp-row.is-disabled:hover .dp-row-num { visibility: visible; }
.dp-tbl .dp-row.is-disabled .dp-row-play { opacity: 0; }
.dp-tbl .dp-row-title { font-size: 14px; font-weight: 400; display: flex; align-items: center; gap: 0; min-width: 0; }
.dp-row-artist { color: #a6a8b2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 0 1 auto; max-width: 40%; }
.dp-sep { color: #50535e; white-space: pre; flex: none; }
.dp-row-name { font-weight: 700; color: #f4f3f8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 0 1 auto; min-width: 40px; }
.dp-remix { flex: 0 1 auto; max-width: 320px; margin-left: 8px; padding: 2px 8px; border-radius: 6px; font-size: 11.5px; color: #c8b2ff; background: rgba(148, 102, 255, .10); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dp-tbl .dp-row.is-current .dp-row-title { background: none; color: inherit; }
.dp-tbl .dp-row.is-current .dp-row-name { background: linear-gradient(90deg, #ffffff, #b79cff 70%, #9466ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dp-tbl .dp-row-folder { display: flex; justify-content: flex-end; min-width: 0; }
.dp-tbl .dp-row-folder span { max-width: 100%; padding: 3px 8px; border-radius: 6px; background: rgba(255, 255, 255, .05); color: #a6a8b2; font: 500 10.5px var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dp-tbl .dp-row-ext { font-size: 10.5px; padding: 3px 7px; border-radius: 6px; }
.dp-tbl .dp-row-size { font-size: 12px; }
.dp-tbl .dp-row-btn { width: 32px; height: 32px; border-radius: 8px; opacity: .35; transition: opacity .12s, background .12s, color .12s; }
.dp-tbl .dp-row:hover .dp-row-btn, .dp-tbl .dp-row.is-current .dp-row-btn, .dp-tbl .dp-row-btn.is-on, .dp-tbl .dp-row-btn:focus-visible, .dp-tbl .dp-row-more.is-open { opacity: 1; }
.dp-tbl .dp-row-act { gap: 2px; }

.dp-group { display: flex; align-items: center; gap: 14px; height: 40px; padding: 0 18px; border-bottom: 1px solid rgba(255, 255, 255, .04); background: rgba(255, 255, 255, .015); }
.dp-group::before, .dp-group::after { content: ""; flex: 1; height: 1px; }
.dp-group::before { background: linear-gradient(90deg, transparent, rgba(148, 102, 255, .45)); }
.dp-group::after { background: linear-gradient(90deg, rgba(148, 102, 255, .45), transparent); }
.dp-group-cap { display: inline-flex; align-items: center; gap: 8px; max-width: 70%; padding: 4px 14px; border-radius: 999px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); color: var(--cyan); font-size: 12.5px; }
.dp-group-cap b { color: #e6dcff; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dp-group-n { font: 500 11.5px var(--mono); color: var(--muted); }
.dp-group:first-child { border-top: 0; }

/* Udobni prikaz (stari, veći redovi) */
.dp-tbl.is-comfy .dp-row { min-height: 60px; contain-intrinsic-size: auto 60px; }
.dp-tbl.is-comfy .dp-row-num { visibility: hidden; }
.dp-tbl.is-comfy .dp-row-play { opacity: 1; pointer-events: auto; width: 40px; height: 40px; }
.dp-tbl.is-comfy .dp-row-title { font-size: 15px; }
.dp-tbl.is-comfy .dp-row-btn { width: 36px; height: 36px; opacity: 1; }

/* Kompaktni red preuzimanja */
.dp-queue { padding: 22px; gap: 12px; }
.dp-queue-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.dp-queue-top .dp-queue-sum { gap: 6px; font: 500 13px var(--mono); color: var(--muted); }
.dp-queue-top .dp-queue-sum b { font: 800 22px var(--font, inherit); color: var(--text); letter-spacing: -.02em; }
.dp-queue-list { gap: 0; max-height: 56vh; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .06); background: rgba(255, 255, 255, .015); }
.dp-queue-list:empty { display: none; }
.dp-queue-item { min-height: 44px; padding: 0 6px 0 14px; gap: 10px; border-radius: 0; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .04); background: transparent; }
.dp-queue-item:last-child { border-bottom: 0; }
.dp-queue-item:hover { background: rgba(255, 255, 255, .03); }
.dp-queue-t { flex: 1; min-width: 0; display: flex; font-size: 13.5px; }
.dp-queue-t strong { font-weight: 700; color: #f4f3f8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 30px; }
.dp-queue-item small { flex: none; font: 500 11px var(--mono); color: var(--dim); }
.dp-btn-block { width: 100%; justify-content: center; }

@media (max-width: 1100px) { .dp-queue { max-width: none; } }
@media (max-width: 1280px) {
  .dp-tbl .dp-list-head, .dp-tbl .dp-row { grid-template-columns: 44px minmax(0, 1fr) 110px 58px 72px 72px; }
}
@media (max-width: 980px) {
  .dp-tbl .dp-list-head, .dp-tbl .dp-row { grid-template-columns: 40px minmax(0, 1fr) 58px 72px; }
  .dp-tbl .dp-row-folder, .dp-tbl .dp-row-size, .dp-tbl .dp-list-head > span:nth-child(3), .dp-tbl .dp-list-head > span:nth-child(5) { display: none; }
  .dp-tbl .dp-row-btn { opacity: 1; }
}
@media (max-width: 760px) {
  .dp-tbl .dp-list-head { display: none; }
  .dp-tbl .dp-row { padding: 6px 8px; gap: 6px; grid-template-columns: 34px minmax(0, 1fr) auto; min-height: 52px; }
  .dp-tbl .dp-row-ext { display: none; }
  .dp-tbl .dp-row-main { display: flex; flex-direction: column; gap: 2px; }
  .dp-tbl .dp-row-sub { display: block; font-size: 11.5px; }
  .dp-tbl .dp-row-num { visibility: hidden; }
  .dp-tbl .dp-row-play { opacity: 1; pointer-events: auto; }
  .dp-remix { display: none; }
  .dp-row-artist { max-width: 45%; }
  .dp-density { display: none; }
  .dp-group-cap { max-width: 86%; }
}

/* ---------- v2.4: kompaktna aktivnost ---------- */
.dp-act-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.dp-act-head .dp-h1 { margin-bottom: 0; }
.dp-seg { display: inline-flex; gap: 2px; padding: 4px; border-radius: 14px; background: var(--glass); border: 1px solid rgba(255, 255, 255, .08); }
.dp-seg a { padding: 8px 14px; border-radius: 10px; color: #a6a8b2; text-decoration: none; font-size: 13.5px; font-weight: 500; }
.dp-seg a:hover { color: var(--text); }
.dp-seg a[aria-current="page"] { background: rgba(255, 255, 255, .09); color: var(--text); font-weight: 600; box-shadow: var(--inset); }
.dp-kpis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-radius: 20px; margin-bottom: 16px; }
.dp-kpi { padding: 16px 20px; display: flex; flex-direction: column; gap: 2px; min-width: 0; border-left: 1px solid rgba(255, 255, 255, .06); }
.dp-kpi:first-child { border-left: 0; }
.dp-kpi-k { font-size: 10.5px; letter-spacing: .18em; font-weight: 600; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dp-kpi-v { font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dp-kpi small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dp-card-tight { padding: 18px 20px; }
.dp-card-tight .dp-card-head { margin-bottom: 12px; align-items: center; }
.dp-dimmed { color: var(--dim); font-weight: 500; }
.dp-act-charts { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: 16px; margin-bottom: 16px; }
.dp-chart-sm { height: 120px; gap: 3px; }
.dp-chart-n7 { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px; }
.dp-chart-n30 { grid-template-columns: repeat(30, minmax(0, 1fr)); }
.dp-chart-n60 { grid-template-columns: repeat(60, minmax(0, 1fr)); gap: 2px; }
.dp-chart-n60 .dp-chart-bars span { width: 45%; border-radius: 2px 2px 0 0; }
.dp-hours-sm { height: 120px; }
.dp-act-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 16px; align-items: start; }
.dp-act-side { display: flex; flex-direction: column; gap: 16px; }
.dp-hist { border-radius: 20px; overflow: hidden; }
.dp-hist-tabs { display: flex; align-items: center; gap: 4px; padding: 10px 12px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.dp-hist-tabs button { padding: 8px 14px; border: 0; border-radius: 10px; background: transparent; color: #a6a8b2; font: 500 13.5px var(--font); cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.dp-hist-tabs button:hover { color: var(--text); }
.dp-hist-tabs button[aria-selected="true"] { background: rgba(255, 255, 255, .09); color: var(--text); font-weight: 600; box-shadow: var(--inset); }
.dp-hist-tabs b { font: 500 11.5px var(--mono); color: var(--cyan); }
.dp-hist-note { margin-left: auto; font-size: 12px; color: var(--dim); }
.dp-hist-head, .dp-hist-list li { display: grid; grid-template-columns: minmax(0, 1fr) 140px 58px 150px; gap: 10px; align-items: center; padding: 0 18px; }
.dp-hist-head { height: 36px; font-size: 10.5px; letter-spacing: .18em; font-weight: 600; color: var(--dim); border-bottom: 1px solid rgba(255, 255, 255, .06); background: rgba(255, 255, 255, .02); }
.dp-hist-head .dp-r { text-align: right; }
.dp-hist-list { list-style: none; margin: 0; padding: 0; }
.dp-hist-list li { min-height: 44px; border-bottom: 1px solid rgba(255, 255, 255, .04); }
.dp-hist-list li:last-child { border-bottom: 0; }
.dp-hist-list li:hover { background: rgba(255, 255, 255, .03); }
.dp-hist-list li.dp-hist-empty { display: block; padding: 28px 18px; color: var(--muted); text-align: center; }
.dp-hist-t { color: #f4f3f8; font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dp-hist-t:hover { color: var(--cyan); }
.dp-hist-f { display: flex; justify-content: flex-end; min-width: 0; }
.dp-hist-f span { max-width: 100%; padding: 3px 8px; border-radius: 6px; background: rgba(255, 255, 255, .05); color: #a6a8b2; font: 500 10.5px var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dp-hist-e { justify-self: start; font: 500 10.5px var(--mono); padding: 3px 7px; border-radius: 6px; background: rgba(148, 102, 255, .10); color: var(--cyan-2); }
.dp-hist-d { font: 500 11.5px var(--mono); color: var(--dim); text-align: right; white-space: nowrap; }
.dp-top-sm { list-style: none; margin: 0; padding: 0; }
.dp-top-sm li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; align-items: center; min-height: 32px; border-bottom: 1px solid rgba(255, 255, 255, .04); font-size: 13.5px; }
.dp-top-sm li:last-child { border-bottom: 0; }
.dp-top-sm b { font: 500 11.5px var(--mono); color: var(--dim); }
.dp-top-sm a { color: var(--text); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dp-top-sm a:hover { color: var(--cyan); }
.dp-top-sm span { font: 500 12px var(--mono); color: var(--cyan-2); }
.dp-bars-sm { gap: 8px; }
.dp-bars-sm li { font-size: 13px; grid-template-columns: minmax(0, 130px) 1fr 36px; }
.dp-bars-sm .dp-bars-t { height: 6px; }
.dp-link-sm { font-size: 13px; color: var(--cyan); text-decoration: none; }
.dp-link-sm:hover { text-decoration: underline; }
.dp-kv { margin: 0; display: flex; flex-direction: column; }
.dp-kv div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid rgba(255, 255, 255, .04); font-size: 13px; }
.dp-kv div:last-child { border-bottom: 0; }
.dp-kv dt { color: var(--muted); }
.dp-kv dd { margin: 0; text-align: right; color: var(--soft); }
@media (max-width: 1280px) {
  .dp-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dp-kpi:nth-child(4) { border-left: 0; }
  .dp-kpi:nth-child(n+4) { border-top: 1px solid rgba(255, 255, 255, .06); }
  .dp-act-grid { grid-template-columns: minmax(0, 1fr) 320px; }
}
@media (max-width: 980px) {
  .dp-act-charts, .dp-act-grid { grid-template-columns: 1fr; }
  .dp-hist-head, .dp-hist-list li { grid-template-columns: minmax(0, 1fr) 58px 120px; }
  .dp-hist-f, .dp-hist-head > span:nth-child(2) { display: none; }
  .dp-chart-n60 .dp-chart-x { font-size: 0; }
}
@media (max-width: 760px) {
  .dp-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dp-kpi { padding: 12px 14px; }
  .dp-kpi:nth-child(odd) { border-left: 0; }
  .dp-kpi:nth-child(4) { border-left: 1px solid rgba(255, 255, 255, .06); }
  .dp-kpi:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .06); }
  .dp-kpi-v { font-size: 22px; }
  .dp-hist-head { display: none; }
  .dp-hist-list li { grid-template-columns: minmax(0, 1fr) auto; padding: 8px 14px; }
  .dp-hist-e { display: none; }
  .dp-hist-note { display: none; }
  .dp-hist-tabs { overflow-x: auto; }
}
.dp-queue-item .dp-queue-t span { flex: 0 1 auto; }
.dp-queue-item .dp-queue-t .dp-sep { flex: none; }
.dp-queue-item .dp-row-artist { max-width: 45%; }
.dp-seg a { white-space: nowrap; }
.dp-card-tight .dp-card-head { justify-content: space-between; }
.dp-hist-list { max-height: 660px; overflow-y: auto; }

/* ---------- v2.5: setovi ---------- */
.dp-link-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px; border: 0; border-radius: 9px; background: transparent; color: var(--cyan); font: 600 13.5px var(--font); cursor: pointer; }
.dp-link-btn:hover { background: rgba(148, 102, 255, .08); }
.dp-btn-icon { width: 44px; padding: 0; }
.dp-btn-icon.is-open { border-color: rgba(148, 102, 255, .5); color: var(--cyan); }

/* Izbornik trake: mapa s ikonom, podizbornik setova */
.dp-ctx-head small { display: flex; align-items: center; gap: 7px; margin-top: 3px; }
.dp-ctx-head small .dp-ic { flex: none; color: var(--cyan); }
.dp-ctx-head small span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dp-ctx button > .dp-ic-sub { color: var(--muted); width: 16px; height: 16px; }
.dp-ctx button.is-open { background: rgba(255, 255, 255, .07); }
.dp-ctx button[data-act="sets"] > .dp-ic:first-child { color: var(--lav); }
.dp-ctx-sub { width: 280px; z-index: 141; }
.dp-ctx-k { padding: 8px 12px 6px; font-size: 10.5px; letter-spacing: .2em; font-weight: 600; color: var(--dim); }
.dp-ctx-sub [data-sid] > .dp-ic { visibility: hidden; color: var(--cyan); flex: none; }
.dp-ctx-sub [data-sid].is-in > .dp-ic { visibility: visible; }
.dp-ctx-sub [data-sid] span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dp-ctx-sub { max-height: min(420px, 70vh); overflow-y: auto; }
.dp-ctx-sep { height: 1px; margin: 4px 6px; background: var(--line); }
.dp-ctx .dp-ctx-new { color: var(--cyan); font-weight: 600; }
.dp-ctx .dp-ctx-new > .dp-ic { color: var(--cyan); }
.dp-ctx-none { margin: 0; padding: 6px 12px 10px; font-size: 13px; color: var(--muted); }
.dp-ctx-small { width: 230px; }
.dp-ctx button.is-danger, .dp-ctx button.is-danger > .dp-ic:first-child { color: #ff9c9c; }

/* Modal s formom */
.dp-form-modal { display: flex; flex-direction: column; }
.dp-form-modal .dp-modal-title { font-size: 26px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 18px; }
.dp-form-fields { display: flex; flex-direction: column; gap: 14px; }
.dp-form-fields label em { font-style: normal; }
.dp-form-note { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: rgba(148, 102, 255, .06); border: 1px solid rgba(148, 102, 255, .16); font-size: 13px; color: var(--cyan-2); }
.dp-form-note .dp-ic { flex: none; color: var(--cyan); }
.dp-form-err { margin: 14px 0 0; padding: 10px 14px; border-radius: 12px; font-size: 13.5px; color: #ffc9c9; background: rgba(255, 138, 138, .08); border: 1px solid rgba(255, 138, 138, .3); }
.dp-form-modal .dp-modal-actions { margin-top: 22px; }

/* Stranica Setovi */
.dp-sets-grid { align-items: flex-start; flex-wrap: nowrap; }
.dp-sets-side { flex: 0 0 340px; padding: 14px; border-radius: 20px; position: sticky; top: 90px; max-height: calc(100vh - 90px - var(--bar-h) - 20px); overflow-y: auto; }
.dp-sets-top { display: flex; justify-content: space-between; align-items: center; padding: 4px 4px 10px 8px; }
.dp-sets-list { display: flex; flex-direction: column; gap: 4px; }
.dp-set-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 14px; border: 1px solid transparent; color: var(--text); text-decoration: none; transition: background .12s, border-color .12s; }
.dp-set-item:hover { background: rgba(255, 255, 255, .04); }
.dp-set-item.is-on { background: linear-gradient(90deg, rgba(148, 102, 255, .12), rgba(101, 57, 214, .06)); border-color: rgba(148, 102, 255, .28); }
.dp-set-ic { width: 38px; height: 38px; flex: none; border-radius: 11px; display: grid; place-items: center; background: rgba(148, 102, 255, .12); color: var(--lav); }
.dp-set-txt { flex: 1; min-width: 0; }
.dp-set-txt strong { display: block; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dp-set-txt small { display: block; margin-top: 2px; font: 500 11.5px var(--mono); color: var(--muted); }
.dp-sets-empty { margin: 0; padding: 14px 10px; font-size: 13.5px; color: var(--muted); }
.dp-set-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; padding: 20px 22px 16px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.dp-set-title { min-width: 0; flex: 1 1 320px; }
.dp-set-name { margin: 2px 0 2px; font-size: 30px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; overflow-wrap: anywhere; }
.dp-set-meta { margin: 0; font-size: 13.5px; color: var(--muted); }
.dp-set-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.dp-set-actions form { margin: 0; }
.dp-set-hint { margin: 0; padding: 12px 22px; font-size: 12.5px; color: var(--muted); border-top: 1px solid rgba(255, 255, 255, .04); }
.dp-tbl.is-set .dp-list-head, .dp-tbl.is-set .dp-row { grid-template-columns: 24px 44px minmax(0, 1fr) 130px 58px 76px 76px; }
.dp-tbl.is-set .dp-empty { padding: 48px 20px; }
.dp-row-grip { display: grid; place-items: center; height: 32px; border-radius: 8px; color: #50535e; cursor: grab; }
.dp-row-grip:hover, .dp-row-grip:focus-visible { color: var(--cyan); background: rgba(255, 255, 255, .05); outline: none; }
.dp-row.is-drag { opacity: .45; }
.dp-row.is-drop-before { box-shadow: inset 0 2px 0 var(--cyan); }
.dp-row.is-drop-after { box-shadow: inset 0 -2px 0 var(--lav); }
.dp-tbl .dp-row-srm:hover { color: #ff9c9c; }
@media (max-width: 1280px) {
  .dp-tbl.is-set .dp-list-head, .dp-tbl.is-set .dp-row { grid-template-columns: 24px 44px minmax(0, 1fr) 110px 58px 72px 72px; }
  .dp-sets-side { flex-basis: 290px; }
}
@media (max-width: 980px) {
  .dp-sets-grid { flex-wrap: wrap; }
  .dp-sets-side { flex-basis: 100%; position: static; max-height: none; }
  .dp-sets-list { flex-direction: row; overflow-x: auto; padding-bottom: 4px; }
  .dp-set-item { flex: 0 0 240px; }
  .dp-tbl.is-set .dp-list-head, .dp-tbl.is-set .dp-row { grid-template-columns: 24px 40px minmax(0, 1fr) 58px 72px; }
}
@media (max-width: 760px) {
  .dp-tbl.is-set .dp-row { grid-template-columns: 24px 30px minmax(0, 1fr) auto; }
  .dp-set-head { padding: 16px; }
  .dp-set-name { font-size: 24px; }
  .dp-set-actions .dp-btn { height: 40px; padding: 0 14px; font-size: 13.5px; }
  .dp-set-hint { padding: 12px 16px; }
}
@media (max-width: 760px) {
  .dp-nav { overflow-x: auto; scrollbar-width: none; gap: 2px; }
  .dp-nav::-webkit-scrollbar { display: none; }
  .dp-nav a { padding: 7px 8px; font-size: 12.5px; }
  .dp-brand .dp-logo, .dp-brand img, .dp-brand svg { max-width: 72px; height: auto; }
  .dp-user > .dp-ic { display: none; }
  .dp-user { padding: 3px; }
}

/* ---------- v2.6: stranica pjesme ---------- */
.dp-row-link { color: inherit; text-decoration: none; }
.dp-row-link:hover .dp-row-name, .dp-row-link:focus-visible .dp-row-name { text-decoration: underline; text-decoration-color: var(--cyan); text-underline-offset: 4px; }
.dp-row-link:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; border-radius: 4px; }

.dp-crumbs { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; font-size: 14px; }
.dp-crumbs > a { display: inline-flex; align-items: center; gap: 6px; color: var(--cyan); text-decoration: none; }
.dp-crumbs > a:hover { text-decoration: underline; }
.dp-crumbs > a .dp-ic { transform: rotate(90deg); }
.dp-crumbs > a + .dp-sep + a { color: var(--muted); }
.dp-crumbs .dp-sep { color: #50535e; }
.dp-crumbs-nav { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; }
.dp-crumbs-nav .dp-ctl { width: 38px; height: 38px; }

.dp-tr-hero { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 36px; align-items: end; margin-bottom: 24px; }
.dp-tr-cover { position: relative; width: 300px; aspect-ratio: 1; border-radius: 28px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .10); box-shadow: 0 30px 80px -30px rgba(148, 102, 255, .35); background: #11121a; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px 26px; box-sizing: border-box; }
.dp-cover-v0 { background: radial-gradient(120% 90% at 20% 10%, rgba(148, 102, 255, .55), transparent 55%), radial-gradient(120% 90% at 90% 100%, rgba(101, 57, 214, .65), transparent 55%), #11121a; }
.dp-cover-v1 { background: radial-gradient(120% 90% at 80% 0%, rgba(148, 102, 255, .6), transparent 55%), radial-gradient(110% 90% at 0% 100%, rgba(148, 102, 255, .45), transparent 55%), #11121a; }
.dp-cover-v2 { background: radial-gradient(130% 100% at 50% 0%, rgba(214, 241, 252, .4), transparent 50%), radial-gradient(120% 90% at 100% 100%, rgba(101, 57, 214, .7), transparent 55%), #0d0e15; }
.dp-cover-v3 { background: linear-gradient(160deg, rgba(148, 102, 255, .5), transparent 45%), radial-gradient(120% 90% at 10% 100%, rgba(148, 102, 255, .6), transparent 60%), #11121a; }
.dp-cover-v4 { background: radial-gradient(120% 90% at 0% 0%, rgba(101, 57, 214, .6), transparent 55%), radial-gradient(120% 90% at 100% 90%, rgba(148, 102, 255, .5), transparent 55%), #0f1018; }
.dp-cover-v5 { background: conic-gradient(from 210deg at 70% 30%, rgba(148, 102, 255, .45), rgba(101, 57, 214, .55), rgba(148, 102, 255, .2), rgba(148, 102, 255, .45)), #11121a; }
.dp-tr-cover-k { position: absolute; left: 26px; top: 24px; font-size: 11px; letter-spacing: .24em; font-weight: 600; color: rgba(255, 255, 255, .75); }
.dp-tr-cover-ic { position: absolute; right: 22px; top: 20px; color: #fff; opacity: .85; }
.dp-tr-cover-t { font-size: 34px; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; color: #fff; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.dp-tr-cover-a { font-size: 14px; color: rgba(255, 255, 255, .78); margin-top: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dp-tr-head { min-width: 0; }
.dp-tr-artist { margin: 10px 0 0; font-size: 22px; }
.dp-tr-artist a { color: #a6a8b2; text-decoration: none; }
.dp-tr-artist a:hover { color: var(--cyan); }
.dp-tr-title { margin: 2px 0 10px; font-size: clamp(40px, 5.2vw, 76px); line-height: 1.02; font-weight: 800; letter-spacing: -.04em; overflow-wrap: anywhere; }
.dp-tr-remix { display: inline-block; padding: 5px 12px; border-radius: 8px; font-size: 14px; color: #c8b2ff; background: rgba(148, 102, 255, .12); }
.dp-tr-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.dp-tr-actions .dp-btn { height: 46px; }
.dp-tr-actions .dp-btn .ic-pause, .dp-tr-player .ic-pause { display: none; }
.dp-tr-actions .dp-btn.is-playing .ic-play, .dp-tr-player .dp-ctl-main.is-playing .ic-play { display: none; }
.dp-tr-actions .dp-btn.is-playing .ic-pause, .dp-tr-player .dp-ctl-main.is-playing .ic-pause { display: block; }
.dp-tr-actions .dp-btn.is-on { border-color: rgba(148, 102, 255, .55); color: var(--lav-2); }
.dp-tr-actions .dp-btn.is-on .dp-ic { fill: currentColor; }
#tQueue.is-on .dp-ic { fill: none; }
.dp-tr-actions .dp-btn.is-locked { color: var(--muted); }
.dp-tr-actions .dp-btn.is-open { border-color: rgba(148, 102, 255, .5); color: var(--cyan); }

.dp-tr-player { display: flex; align-items: center; gap: 16px; padding: 16px 22px; border-radius: 20px; margin-bottom: 16px; flex-wrap: wrap; }
.dp-tr-player .dp-ctl-main { width: 48px; height: 48px; }
.dp-tr-seek { flex: 1 1 300px; }
.dp-tr-vol { flex: 0 0 120px; width: 120px; }
.dp-tr-noplay { flex-basis: 100%; margin: 0; font-size: 13px; color: var(--muted); }

.dp-kpis-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.dp-tr-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 16px; align-items: start; }
.dp-tr-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.dp-tr-info { margin: 8px 0 0; }
.dp-tr-info div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 14px; padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, .05); font-size: 14px; }
.dp-tr-info div:last-child { border-bottom: 0; }
.dp-tr-info dt { color: var(--muted); }
.dp-tr-info dd { margin: 0; color: #e6e7ee; min-width: 0; overflow-wrap: anywhere; }
.dp-tr-info dd a { color: var(--cyan); text-decoration: none; }
.dp-tr-info dd a:hover { text-decoration: underline; }
.dp-tr-folder { display: inline-flex; align-items: center; gap: 7px; }
.dp-tr-small { font-size: 11.5px; color: #a6a8b2 !important; }
.dp-tr-info .dp-row-ext { display: inline-block; }
.dp-tr-list { border-radius: 20px; overflow: hidden; }
.dp-tr-list-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 16px 18px 12px; }
.dp-tr-rows { list-style: none; margin: 0; padding: 0; }
.dp-tr-rows li { display: grid; grid-template-columns: 30px minmax(0, 1fr) 58px 76px; gap: 8px; align-items: center; min-height: 44px; padding: 0 16px; border-top: 1px solid rgba(255, 255, 255, .04); }
.dp-tr-rows li:hover { background: rgba(255, 255, 255, .03); }
.dp-tr-n { font: 500 12px var(--mono); color: #767987; text-align: center; }
.dp-tr-t { display: flex; align-items: center; min-width: 0; font-size: 14px; color: inherit; text-decoration: none; }
.dp-tr-t:hover .dp-row-name { text-decoration: underline; text-decoration-color: var(--cyan); text-underline-offset: 4px; }
.dp-tr-e { justify-self: start; font: 500 10.5px var(--mono); padding: 3px 7px; border-radius: 6px; background: rgba(148, 102, 255, .10); color: var(--cyan-2); }
.dp-tr-s { font: 500 12px var(--mono); color: var(--muted); text-align: right; }
.dp-tr-none { display: block !important; padding: 18px !important; color: var(--muted); font-size: 13.5px; }

.dp-share { position: fixed; z-index: 140; width: 460px; max-width: calc(100vw - 16px); padding: 16px; border-radius: 16px; background: rgba(18, 18, 26, .98); border: 1px solid var(--line-2); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .95); animation: dp-in .14s ease-out; box-sizing: border-box; }
.dp-share .dp-ctx-k { padding: 0 0 10px; }
.dp-share-row { display: flex; gap: 8px; }
.dp-share-row .dp-input { flex: 1; min-width: 0; height: 42px; font: 500 12.5px var(--mono); color: var(--cyan-2); }
.dp-share-row .dp-btn { height: 42px; }
.dp-share p { margin: 10px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.5; }

@media (max-width: 1280px) {
  .dp-kpis-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .dp-kpis-5 .dp-kpi:nth-child(4) { border-left: 0; }
  .dp-tr-grid { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  .dp-tr-hero { grid-template-columns: 200px minmax(0, 1fr); gap: 24px; }
  .dp-tr-cover { width: 200px; padding: 18px; border-radius: 22px; }
  .dp-tr-cover-t { font-size: 24px; }
}
@media (max-width: 760px) {
  .dp-tr-hero { grid-template-columns: 1fr; }
  .dp-tr-cover { width: 100%; max-width: 320px; }
  .dp-tr-actions .dp-btn { height: 42px; padding: 0 14px; font-size: 13.5px; }
  .dp-tr-vol, #tMute { display: none; }
  .dp-tr-player { padding: 12px 14px; gap: 10px; flex-wrap: nowrap; }
  .dp-tr-seek { flex: 1 1 auto; }
  .dp-kpis-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dp-kpis-5 .dp-kpi { border-left: 1px solid rgba(255, 255, 255, .06); }
  .dp-kpis-5 .dp-kpi:nth-child(odd) { border-left: 0; }
  .dp-kpis-5 .dp-kpi:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .06); }
  .dp-tr-info div { grid-template-columns: 110px minmax(0, 1fr); }
  .dp-tr-rows li { grid-template-columns: 24px minmax(0, 1fr) auto; }
  .dp-tr-s { display: none; }
  .dp-tr-rows .dp-remix { display: none; }
  .dp-crumbs-nav .dp-mono { display: none; }
}

/* ================= v2.7: shema (ljubičasto | mint | staklo) ================= */
h1, h2, h3, .dp-display, .dp-h1, .dp-h2, .dp-h3, .dp-set-name, .dp-tr-title, .dp-kpi-v, .dp-stat-v, .dp-queue-top .dp-queue-sum b, .dp-modal-title { font-family: var(--head); }
.dp-display { font-weight: 700; letter-spacing: -.035em; }
.dp-h1 { font-weight: 700; letter-spacing: -.03em; }
.dp-kicker { color: var(--mint); }
.dp-card-k { color: var(--mint); }
a { color: var(--cyan); }
a:hover { color: var(--cyan-2); }

/* Staklene plohe */
.dp-glass, .dp-tbl, .dp-hist { background: linear-gradient(180deg, rgba(36, 36, 48, .58), rgba(22, 22, 30, .48)); border: 1px solid rgba(255, 255, 255, .08); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 24px 60px -30px rgba(0, 0, 0, .85); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); }
.dp-header { background: rgba(16, 16, 22, .62); border-bottom-color: rgba(255, 255, 255, .08); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); }
.dp-bar { background: rgba(16, 16, 22, .66); backdrop-filter: blur(24px) saturate(150%); -webkit-backdrop-filter: blur(24px) saturate(150%); }
.dp-ctx, .dp-menu-pop, .dp-select-pop, .dp-share, .dp-toast { background: rgba(24, 24, 32, .74); border-color: rgba(255, 255, 255, .12); backdrop-filter: blur(26px) saturate(160%); -webkit-backdrop-filter: blur(26px) saturate(160%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 30px 60px -20px rgba(0, 0, 0, .9); }
.dp-modal { background: linear-gradient(180deg, rgba(36, 34, 52, .9), rgba(22, 22, 30, .9)); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); }
.dp-modal-back { background: rgba(6, 6, 10, .6); }
.dp-input, .dp-select-btn { background: rgba(10, 10, 16, .45); }
.dp-search .dp-input, .dp-toolbar .dp-select-btn, .dp-density { background: linear-gradient(180deg, rgba(36, 36, 48, .55), rgba(22, 22, 30, .45)); backdrop-filter: var(--blur); -webkit-backdrop-filter: var(--blur); border-color: rgba(255, 255, 255, .09); }
.dp-input:focus, .dp-select-btn:focus-visible { border-color: rgba(148, 102, 255, .6); box-shadow: 0 0 0 3px rgba(148, 102, 255, .16); }
@media (max-width: 760px) {
  .dp-glass, .dp-tbl, .dp-hist, .dp-header, .dp-bar { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
}

/* Logo */
.dp-logo-mark { width: 34px; height: 34px; border-radius: 11px; background: none; box-shadow: 0 6px 20px -6px rgba(148, 102, 255, .6); }
.dp-logo-text { font-family: var(--head); font-weight: 700; letter-spacing: -.02em; }

/* Navigacija s ikonama */
.dp-nav a { display: inline-flex; align-items: center; gap: 8px; }
.dp-nav a .dp-ic { opacity: .75; }
.dp-nav a[aria-current="page"] { background: rgba(148, 102, 255, .18); color: #ede6ff; box-shadow: inset 0 0 0 1px rgba(148, 102, 255, .35); }
.dp-nav a[aria-current="page"] .dp-ic { opacity: 1; color: var(--cyan); }
@media (max-width: 760px) { .dp-nav a .dp-ic { display: none; } }
.dp-role-tag { background: rgba(148, 102, 255, .16); color: var(--lav-2); border-color: rgba(148, 102, 255, .35); }

/* Zaglavlje biblioteke */
.dp-lib-head { align-items: flex-end; gap: 28px; }
.dp-lib-title { min-width: 0; }
.dp-kicker-ic { display: inline-flex; align-items: center; gap: 8px; }
.dp-kicker-ic .dp-ic { color: var(--mint); }
.dp-chips-meta { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.dp-chips-meta li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px; font-size: 13.5px; color: var(--muted); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.dp-chips-meta li .dp-ic { color: var(--cyan); }
.dp-chips-meta b { color: var(--text); font-weight: 600; font-family: var(--mono); font-size: 13px; }
.dp-me { display: flex; border-radius: 20px; padding: 6px; }
.dp-me-cell { display: flex; align-items: center; gap: 14px; padding: 12px 20px 12px 14px; min-width: 220px; }
.dp-me-cell + .dp-me-cell { border-left: 1px solid rgba(255, 255, 255, .07); }
.dp-me-ic { width: 44px; height: 44px; flex: none; border-radius: 13px; display: grid; place-items: center; color: var(--cyan-2); background: rgba(148, 102, 255, .16); border: 1px solid rgba(148, 102, 255, .3); }
.dp-me-ic-mint { color: var(--mint); background: rgba(47, 227, 176, .1); border-color: rgba(47, 227, 176, .28); }
.dp-me-txt { display: flex; flex-direction: column; min-width: 0; }
.dp-me-k { font-size: 10px; letter-spacing: .2em; font-weight: 600; color: var(--muted); }
.dp-me-v { font-family: var(--head); font-size: 24px; font-weight: 700; line-height: 1.2; letter-spacing: -.02em; }
.dp-me-txt small { font-size: 12px; color: var(--dim); white-space: nowrap; }
.dp-me-bar { display: block; width: 100%; height: 4px; margin-top: 6px; border-radius: 4px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.dp-me-bar .dp-bars-f { background: linear-gradient(90deg, #1fb589, var(--mint)); }
@media (max-width: 760px) {
  .dp-me { width: 100%; }
  .dp-me-cell { min-width: 0; flex: 1; padding: 10px 12px; gap: 10px; }
  .dp-me-ic { width: 36px; height: 36px; border-radius: 11px; }
  .dp-me-v { font-size: 20px; }
  .dp-me-txt small { white-space: normal; }
}

/* Tablica i oznake */
.dp-row-ext { background: rgba(255, 255, 255, .06); color: var(--soft); }
.dp-row-ext.is-lossless, .dp-tr-e.is-lossless { background: rgba(47, 227, 176, .12); color: var(--mint); }
.dp-remix, .dp-tr-remix { color: var(--lav-2); background: rgba(148, 102, 255, .13); }
.dp-tbl .dp-row.is-current { background: linear-gradient(90deg, rgba(148, 102, 255, .18), rgba(148, 102, 255, .04) 60%, transparent); box-shadow: inset 2px 0 0 var(--lav); }
.dp-tbl .dp-row.is-current .dp-row-name { background: none; -webkit-background-clip: initial; background-clip: initial; color: var(--lav-2); }
.dp-group::before { background: linear-gradient(90deg, transparent, rgba(148, 102, 255, .6)); }
.dp-group::after { background: linear-gradient(90deg, rgba(47, 227, 176, .5), transparent); }
.dp-group-cap { color: var(--cyan); border-color: rgba(148, 102, 255, .3); background: rgba(148, 102, 255, .08); }
.dp-group-cap b { color: var(--text); }
.dp-row-btn.is-on { color: var(--lav); }
.dp-queue-top .dp-card-k { color: var(--mint); }
.dp-ctx-meta { color: var(--mint-2); }
.dp-ctx-sub [data-sid] > .dp-ic { color: var(--mint); }
.dp-dot-p, .dp-bar-p { background: linear-gradient(180deg, #a988ff, rgba(148, 102, 255, .55)); }
.dp-dot-d, .dp-bar-d { background: linear-gradient(180deg, #5cf0c4, rgba(47, 227, 176, .5)); }
.dp-hours-col span { background: linear-gradient(180deg, #c8b2ff, #6539d6); }
.dp-chips li b { color: var(--muted); }

/* Gumb za red preuzimanja na stranici pjesme */
#tQueue .dp-q-in, #tQueue .dp-q-rm { display: none; }
#tQueue.is-on .dp-q-add { display: none; }
#tQueue.is-on .dp-q-in { display: inline-flex; }
#tQueue.is-on:hover .dp-q-in, #tQueue.is-on:focus-visible .dp-q-in { display: none; }
#tQueue.is-on:hover .dp-q-rm, #tQueue.is-on:focus-visible .dp-q-rm { display: inline-flex; }
#tQueue span { align-items: center; gap: 9px; }
#tQueue .dp-q-add { display: inline-flex; }
.dp-tr-actions #tQueue.is-on { border-color: rgba(47, 227, 176, .5); color: var(--mint); background: rgba(47, 227, 176, .08); }
.dp-tr-actions #tQueue.is-on:hover { border-color: rgba(255, 140, 140, .5); color: #ffb4b4; background: rgba(255, 140, 140, .06); }
.dp-q-pos { font: 500 12px var(--mono); opacity: .85; }
.dp-tr-qnote { flex-basis: 100%; margin: 2px 0 0; font-size: 12.5px; color: var(--muted); }
.dp-tr-qnote a { color: var(--cyan); }
.dp-tr-actions .dp-btn.is-on:not(#tQueue) { border-color: rgba(148, 102, 255, .55); color: var(--lav-2); }
#tQueue.is-on.is-fresh:hover .dp-q-in { display: inline-flex; }
#tQueue.is-on.is-fresh:hover .dp-q-rm { display: none; }
.dp-tr-actions #tQueue.is-on.is-fresh:hover { border-color: rgba(47, 227, 176, .5); color: var(--mint); background: rgba(47, 227, 176, .08); }
.dp-search > .dp-ic, .dp-search-clear { z-index: 2; }
.dp-tr-actions #tQueue { min-width: 268px; justify-content: center; }
.dp-cover-v0 { background: radial-gradient(120% 90% at 15% 10%, rgba(148, 102, 255, .75), transparent 55%), radial-gradient(120% 90% at 95% 100%, rgba(47, 227, 176, .4), transparent 55%), #15151d; }
.dp-cover-v1 { background: radial-gradient(120% 90% at 85% 0%, rgba(169, 136, 255, .7), transparent 55%), radial-gradient(110% 90% at 0% 100%, rgba(79, 70, 229, .55), transparent 55%), #14141c; }
.dp-cover-v2 { background: radial-gradient(130% 100% at 50% 0%, rgba(200, 178, 255, .45), transparent 50%), radial-gradient(120% 90% at 100% 100%, rgba(101, 57, 214, .8), transparent 55%), #121219; }
.dp-cover-v3 { background: linear-gradient(160deg, rgba(148, 102, 255, .6), transparent 45%), radial-gradient(120% 90% at 10% 100%, rgba(47, 227, 176, .35), transparent 60%), #15151d; }
.dp-cover-v4 { background: radial-gradient(120% 90% at 0% 0%, rgba(101, 57, 214, .8), transparent 55%), radial-gradient(120% 90% at 100% 90%, rgba(169, 136, 255, .5), transparent 55%), #121219; }
.dp-cover-v5 { background: conic-gradient(from 210deg at 70% 30%, rgba(148, 102, 255, .55), rgba(79, 70, 229, .55), rgba(47, 227, 176, .25), rgba(148, 102, 255, .55)), #15151d; }
.dp-tr-cover { box-shadow: 0 30px 80px -30px rgba(148, 102, 255, .5); }

/* ================= v2.7.1: tanke ikone, izbornik, zaglavlje ================= */
.dp-ic { stroke-width: 1.6; }
.dp-check-box .dp-ic, .dp-ctx-sub [data-sid] > .dp-ic, .dp-form-note .dp-ic { stroke-width: 2.6; }

/* Glavni izbornik: staklena traka sa segmentima */
.dp-header-in { gap: 20px; }
.dp-nav { flex: 0 1 auto; gap: 2px; padding: 4px; border-radius: 14px; background: rgba(255, 255, 255, .035); border: 1px solid rgba(255, 255, 255, .07); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04); }
.dp-nav a { position: relative; height: 36px; padding: 0 14px 0 12px; gap: 8px; border-radius: 10px; color: var(--muted); font-size: 13.5px; font-weight: 500; letter-spacing: .005em; transition: color .15s, background .15s; }
.dp-nav a .dp-ic { width: 17px; height: 17px; opacity: .8; transition: opacity .15s, color .15s; }
.dp-nav a:hover { color: var(--text); background: rgba(255, 255, 255, .045); }
.dp-nav a:hover .dp-ic { opacity: 1; }
.dp-nav a[aria-current="page"] { color: #fff; font-weight: 600; background: linear-gradient(180deg, rgba(148, 102, 255, .32), rgba(101, 57, 214, .22)); box-shadow: inset 0 0 0 1px rgba(169, 136, 255, .35), inset 0 1px 0 rgba(255, 255, 255, .12), 0 6px 18px -10px rgba(148, 102, 255, .8); }
.dp-nav a[aria-current="page"] .dp-ic { color: #fff; opacity: 1; }
.dp-header .dp-nav { margin-right: auto; }
.dp-brand { gap: 11px; font-size: 17px; }
@media (max-width: 760px) {
  .dp-nav { padding: 3px; border-radius: 12px; }
  .dp-nav a { height: 32px; padding: 0 9px; font-size: 12.5px; }
}

/* Zaglavlje: brojke u jednom redu */
.dp-hs-row { display: flex; flex-wrap: wrap; align-items: stretch; margin-top: 14px; border-radius: 16px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .07); width: fit-content; max-width: 100%; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.dp-hs { display: flex; align-items: center; gap: 12px; padding: 10px 20px 10px 12px; }
.dp-hs + .dp-hs { border-left: 1px solid rgba(255, 255, 255, .07); }
.dp-hs-ic { width: 36px; height: 36px; flex: none; border-radius: 11px; display: grid; place-items: center; color: var(--cyan-2); background: rgba(148, 102, 255, .12); border: 1px solid rgba(148, 102, 255, .22); }
.dp-hs:last-child .dp-hs-ic { color: var(--mint); background: rgba(47, 227, 176, .08); border-color: rgba(47, 227, 176, .22); }
.dp-hs-t { display: flex; flex-direction: column; line-height: 1.15; }
.dp-hs-t b { font-family: var(--head); font-size: 18px; font-weight: 700; color: var(--text); letter-spacing: -.01em; }
.dp-hs-t small { font-size: 12px; color: var(--muted); margin-top: 2px; }
@media (max-width: 760px) {
  .dp-hs-row { width: 100%; }
  .dp-hs { flex: 1 1 33%; padding: 9px 10px; gap: 8px; }
  .dp-hs-ic { width: 30px; height: 30px; border-radius: 9px; }
  .dp-hs-t b { font-size: 15px; }
  .dp-hs-t small { font-size: 11px; }
}
@media (max-width: 760px) {
  .dp-hs-row { flex-wrap: nowrap; }
  .dp-hs { flex: 1 1 0; min-width: 0; padding: 9px 12px; }
  .dp-hs-ic { display: none; }
  .dp-hs-t { min-width: 0; }
  .dp-hs-t b { font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .dp-hs-t small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
@media (max-width: 760px) {
  .dp-lib-title { width: 100%; }
  .dp-hs-row { width: 100%; }
  .dp-hs:nth-child(3) { flex-grow: 1.6; }
}

/* ================= v2.7.2: padajući izbornici, glazbene ikone, mirnije zaglavlje ================= */
.dp-select-ic { display: grid; place-items: center; flex: none; color: var(--cyan); }
.dp-select-ic .dp-ic { width: 18px; height: 18px; }
.dp-select.is-empty .dp-select-label { color: var(--muted); }
.dp-toolbar .dp-select { flex: 0 1 230px; }
.dp-toolbar .dp-select-btn { gap: 10px; }
.dp-toolbar .dp-select-label { font-weight: 500; }
@media (max-width: 1280px) { .dp-toolbar .dp-select { flex: 1 1 200px; } }
@media (max-width: 760px) {
  .dp-toolbar .dp-select { flex: 1 1 calc(50% - 6px); }
  #dpSort { flex-basis: 100%; }
}

/* Zaglavlje: manje kutija, više zraka */
.dp-hs-row { background: none; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; margin-top: 12px; gap: 0; }
.dp-hs { padding: 4px 20px 4px 0; gap: 9px; }
.dp-hs + .dp-hs { padding-left: 20px; border-left: 1px solid rgba(255, 255, 255, .1); }
.dp-hs-ic, .dp-hs:last-child .dp-hs-ic { width: auto; height: auto; border: 0; background: none; color: var(--lav-2); }
.dp-hs:last-child .dp-hs-ic { color: var(--mint); }
.dp-hs-ic .dp-ic { width: 20px; height: 20px; }
.dp-hs-t { flex-direction: row; align-items: baseline; gap: 6px; }
.dp-hs-t b { font-size: 16px; }
.dp-hs-t small { font-size: 13.5px; margin: 0; }
.dp-me { padding: 4px; }
.dp-me-cell { padding: 10px 18px 10px 12px; gap: 12px; }
.dp-me-ic, .dp-me-ic-mint { width: 40px; height: 40px; border: 0; background: rgba(148, 102, 255, .1); color: var(--lav-2); border-radius: 50%; }
.dp-me-ic-mint { background: rgba(47, 227, 176, .08); color: var(--mint); }
.dp-me-v { font-size: 21px; }
@media (max-width: 760px) {
  .dp-hs { padding: 2px 10px 2px 0; }
  .dp-hs + .dp-hs { padding-left: 10px; }
  .dp-hs-ic { display: grid; }
  .dp-hs-ic .dp-ic { width: 16px; height: 16px; }
  .dp-hs-t { flex-direction: column; gap: 0; }
  .dp-hs-t b { font-size: 14px; }
  .dp-hs-t small { font-size: 11.5px; }
}

/* Glazbene ikone: malo „zraka” u izborniku */
.dp-nav a .dp-ic { width: 18px; height: 18px; }
@media (max-width: 760px) {
  #dpFolder .dp-select-ic, #dpFormat .dp-select-ic { display: none; }
  .dp-toolbar .dp-select-btn { padding: 0 12px; }
}

/* ================= v2.8: DeejaysFlow znak, centrirani izbornik, jednaki padajući izbornici ================= */
.dp-word { font-family: var(--head); font-weight: 700; font-size: 21px; letter-spacing: -.035em; color: #fff; line-height: 1; white-space: nowrap; }
.dp-word-acc { background: linear-gradient(90deg, #c8b2ff, #9466ff 55%, #2fe3b0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dp-brand-lg .dp-word { font-size: 28px; }
.dp-brand:hover .dp-word-acc { filter: brightness(1.15); }

.dp-header-app .dp-header-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.dp-header-app .dp-brand { justify-self: start; }
.dp-header-app .dp-nav { justify-self: center; margin: 0; }
.dp-header-app .dp-menu { justify-self: end; }
.dp-nav { gap: 10px; padding: 5px 6px; }
.dp-nav a { padding: 0 16px 0 14px; height: 38px; }
.dp-nav a + a::before { content: ""; position: absolute; left: -6px; top: 11px; bottom: 11px; width: 1px; background: rgba(255, 255, 255, .12); pointer-events: none; }
@media (max-width: 760px) {
  .dp-header-app .dp-header-in { grid-template-columns: auto 1fr auto; gap: 8px; }
  .dp-word { font-size: 17px; }
  .dp-nav { gap: 4px; padding: 3px; justify-self: center; }
  .dp-nav a { padding: 0 8px; height: 32px; }
  .dp-nav a + a::before { left: -3px; top: 9px; bottom: 9px; }
  .dp-logo-text { display: inline; }
}
@media (max-width: 420px) { .dp-word { font-size: 15px; } }

/* Svi padajući izbornici jednaki */
.dp-toolbar .dp-select-label, .dp-select.is-empty .dp-select-label { color: var(--soft); font-weight: 500; }
.dp-toolbar .dp-select-ic { color: var(--muted); }
.dp-toolbar .dp-select:not(.is-empty):not(#dpSort) .dp-select-ic { color: var(--cyan); }
@media (max-width: 760px) { .dp-header-app .dp-nav { min-width: 0; max-width: 100%; } }
.dp-header-app .dp-word { font-size: 24px; } @media (max-width: 760px) { .dp-header-app .dp-word { font-size: 16px; } }

/* ================= v2.8.1: mirniji izbornici ================= */
.dp-menu-pop, .dp-select-pop, .dp-ctx, .dp-share { background: rgba(20, 20, 28, .985); backdrop-filter: blur(24px) saturate(140%); -webkit-backdrop-filter: blur(24px) saturate(140%); }
.dp-toast { background: rgba(20, 20, 28, .95); }
.dp-menu-pop { min-width: 220px; padding: 6px; }
.dp-menu-pop a, .dp-menu-pop button { color: var(--soft); }
.dp-menu-pop a .dp-ic, .dp-menu-pop button .dp-ic { color: var(--muted); transition: color .15s; }
.dp-menu-pop a:hover, .dp-menu-pop button:hover, .dp-menu-pop a:focus-visible, .dp-menu-pop button:focus-visible { background: rgba(255, 255, 255, .05); color: var(--text); outline: none; }
.dp-menu-pop a:hover .dp-ic, .dp-menu-pop button:hover .dp-ic, .dp-menu-pop a:focus-visible .dp-ic, .dp-menu-pop button:focus-visible .dp-ic { color: var(--cyan); }
.dp-menu-pop form { margin: 4px 0 0; padding-top: 4px; border-top: 1px solid rgba(255, 255, 255, .07); }
.dp-select-opt.is-active, .dp-ctx button:focus-visible { outline: none; }

/* Glavni izbornik: blaža aktivna stavka */
.dp-nav a[aria-current="page"] { background: rgba(255, 255, 255, .06); box-shadow: none; color: #fff; font-weight: 600; }
.dp-nav a[aria-current="page"] .dp-ic { color: var(--cyan-2); }
.dp-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 18px; height: 2px; margin-left: -9px; border-radius: 2px; background: linear-gradient(90deg, #9466ff, #2fe3b0); }
.dp-nav a:focus-visible { outline: none; box-shadow: inset 0 0 0 1px rgba(148, 102, 255, .5); }

/* ================= v2.9.1: širi stupac Mapa ================= */
.dp-tbl { --fcol: 260px; }
.dp-tbl .dp-list-head, .dp-tbl .dp-row { grid-template-columns: 44px minmax(0, 1fr) var(--fcol) 58px 76px 76px; }
.dp-tbl.is-set .dp-list-head, .dp-tbl.is-set .dp-row { grid-template-columns: 24px 44px minmax(0, 1fr) var(--fcol) 58px 76px 76px; }
.dp-tbl .dp-row-folder span { font: 500 11.5px var(--font); letter-spacing: 0; padding: 3px 9px; }
@media (max-width: 1600px) { .dp-tbl { --fcol: 210px; } }
@media (max-width: 1280px) { .dp-tbl { --fcol: 160px; } }
@media (max-width: 980px) {
  .dp-tbl .dp-list-head, .dp-tbl .dp-row { grid-template-columns: 40px minmax(0, 1fr) 58px 72px; }
  .dp-tbl.is-set .dp-list-head, .dp-tbl.is-set .dp-row { grid-template-columns: 24px 40px minmax(0, 1fr) 58px 72px; }
}
@media (max-width: 760px) {
  .dp-tbl .dp-row { grid-template-columns: 34px minmax(0, 1fr) auto; }
  .dp-tbl.is-set .dp-row { grid-template-columns: 24px 30px minmax(0, 1fr) auto; }
}

/* ================= Uploadi (v3.0) ================= */
.dp-mono { font-family: var(--mono); font-size: 13px; }
.dp-kpis-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dp-kpi-v-sm { font-size: 21px; line-height: 1.55; }
.dp-badge-new { background: rgba(148, 102, 255, .16); color: var(--lav-2); }
.dp-badge-info { background: rgba(47, 227, 176, .1); color: var(--mint-2); }
.dp-badge-off { background: rgba(255, 255, 255, .04); color: var(--dim); }
.dp-fmt { display: inline-block; font: 600 10.5px var(--mono); letter-spacing: .04em; padding: 2px 6px; border-radius: 6px; background: rgba(255, 255, 255, .06); color: var(--soft); flex: none; }
.dp-link { border: 0; background: none; padding: 0; font: inherit; color: var(--cyan); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.dp-link:hover { color: var(--lav-2); }
.dp-up { display: flex; flex-direction: column; gap: 16px; }
.dp-up .dp-kpis { margin-bottom: 0; }
.dp-drop { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 30px 20px; border-radius: 16px; border: 1.5px dashed rgba(148, 102, 255, .38); background: rgba(148, 102, 255, .04); text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.dp-drop:hover, .dp-drop.is-over { border-color: rgba(47, 227, 176, .6); background: rgba(47, 227, 176, .05); }
.dp-drop:focus-within { outline: 2px solid var(--cyan); outline-offset: 2px; }
.dp-drop input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.dp-drop-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(148, 102, 255, .14); color: var(--lav-2); margin-bottom: 4px; }
.dp-drop-t { font-weight: 600; font-size: 15px; }
.dp-drop-t u { color: var(--cyan); text-underline-offset: 3px; }
.dp-drop-s { font-size: 13px; color: var(--muted); }
.dp-up-panel { display: flex; flex-direction: column; gap: 12px; }
.dp-up-top { display: flex; flex-direction: column; gap: 8px; }
.dp-up-sum { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; }
.dp-up-all { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .06); overflow: hidden; }
.dp-up-all span { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--lav), var(--mint)); transition: width .3s; }
.dp-up-info { margin: 0; display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.dp-up-info .dp-ic { color: var(--mint); margin-top: 3px; flex: none; stroke-width: 2.6; }
.dp-up-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.dp-up-note { flex: 1 1 260px; width: auto; }
.dp-up-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.dp-up-item { display: grid; grid-template-columns: 48px minmax(0, 1fr) minmax(120px, 220px); gap: 14px; align-items: center; padding: 10px 12px; border-radius: 14px; background: rgba(255, 255, 255, .025); border: 1px solid rgba(255, 255, 255, .05); }
.dp-up-cov { width: 48px; height: 48px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(148, 102, 255, .5), rgba(47, 227, 176, .35)), #12121a; color: var(--on-acc); font: 700 15px var(--head); }
.dp-up-cov:has(svg) { background: rgba(255, 255, 255, .05); color: var(--dim); }
.dp-up-main { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.dp-up-name { display: flex; gap: 8px; align-items: center; min-width: 0; font-size: 13px; color: var(--muted); }
.dp-up-fn { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.dp-up-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 8px; }
.dp-up-fields label { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.dp-up-fields label > span { font-size: 10px; letter-spacing: .18em; font-weight: 600; color: var(--dim); }
.dp-up-fields .dp-input { height: 34px; font-size: 14px; }
.dp-up-fields .dp-input[readonly] { opacity: 1; background: transparent; border-color: transparent; padding-left: 0; }
.dp-up-prog { height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .05); overflow: hidden; }
.dp-up-prog span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--lav), var(--mint)); transition: width .25s; }
.dp-up-side { display: flex; align-items: center; justify-content: flex-end; gap: 6px; min-width: 0; }
.dp-up-st { font-size: 12.5px; color: var(--muted); text-align: right; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.dp-up-item.is-up .dp-up-st { color: var(--lav-2); }
.dp-up-item.is-proc .dp-up-st { color: var(--warn); }
.dp-up-item.is-done .dp-up-st { color: var(--ok); }
.dp-up-item.is-err .dp-up-st { color: var(--err); }
.dp-up-item.is-err, .dp-up-item.is-cancel { opacity: .6; }
.dp-up-item.is-done .dp-up-prog, .dp-up-item.is-wait .dp-up-prog, .dp-up-item.is-err .dp-up-prog, .dp-up-item.is-cancel .dp-up-prog { visibility: hidden; }
.dp-up-hist { min-width: 640px; }
.dp-up-row[data-toggle-next] { cursor: pointer; }
.dp-up-row td:first-child { white-space: nowrap; }
.dp-up-row .dp-ic { vertical-align: -3px; margin-left: 6px; color: var(--dim); transition: transform .15s; }
.dp-up-row.is-open .dp-ic { transform: rotate(180deg); }
.dp-up-note-c { max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dp-up-sub td { background: rgba(0, 0, 0, .18); padding: 8px 14px 12px; }
.dp-up-files { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.dp-up-files li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 13.5px; }
.dp-up-files .dp-up-fn { color: var(--soft); }

/* Admin → Uploadi */
.dp-up-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.dp-up-filters { display: grid; grid-template-columns: minmax(220px, 1.6fr) repeat(3, minmax(150px, 1fr)) auto; gap: 10px; align-items: end; margin: 16px 0; }
.dp-up-filters .dp-field { gap: 0; }
.dp-up-filters .dp-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.dp-up-filters .dp-select-btn { height: 38px; }
.dp-up-search { position: relative; display: block; }
.dp-up-search .dp-ic { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--dim); z-index: 1; pointer-events: none; }
.dp-up-search .dp-input { padding-left: 38px; }
.dp-upa-list { padding: 6px; display: flex; flex-direction: column; overflow-x: auto; }
.dp-upa-h, .dp-upa-row { display: grid; grid-template-columns: 30px 74px minmax(140px, 1.6fr) minmax(110px, 1fr) 80px 90px 150px minmax(150px, 1fr); gap: 12px; align-items: center; min-width: 980px; }
.dp-upa-h { padding: 10px 12px 8px; font-size: 10.5px; letter-spacing: .18em; font-weight: 600; color: var(--dim); }
.dp-upa { border-radius: 14px; border: 1px solid transparent; }
.dp-upa + .dp-upa { margin-top: 2px; }
.dp-upa-row { padding: 9px 12px; font-size: 14px; border-radius: 12px; }
.dp-upa-row:hover { background: rgba(255, 255, 255, .025); }
.dp-upa.is-open { background: rgba(255, 255, 255, .02); border-color: rgba(255, 255, 255, .06); }
.dp-upa.is-gone .dp-upa-row { color: var(--muted); }
.dp-upa-id { display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; color: var(--text); cursor: pointer; padding: 4px 2px; font: inherit; }
.dp-upa-id .dp-ic { color: var(--dim); transition: transform .15s; }
.dp-upa.is-open .dp-upa-id .dp-ic { transform: rotate(180deg); color: var(--cyan); }
.dp-upa-note, .dp-upa-user { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.dp-upa-user a { color: var(--soft); text-decoration: none; }
.dp-upa-user a:hover { color: var(--cyan); }
.dp-upa-st { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.dp-upa-st small { font-size: 11.5px; }
.dp-upa-body { padding: 4px 12px 12px; min-width: 980px; }
.dp-upa-gone { margin: 4px 0 8px; font-size: 13px; }
.dp-upf-h, .dp-upf { display: grid; grid-template-columns: 30px 44px minmax(0, 1.3fr) minmax(0, 1.5fr) 62px 80px 170px 118px; gap: 12px; align-items: center; }
.dp-upf-h { padding: 8px 8px 6px; font-size: 10px; letter-spacing: .16em; font-weight: 600; color: var(--dim); border-top: 1px solid rgba(255, 255, 255, .05); }
.dp-upf { padding: 7px 8px; border-radius: 10px; font-size: 13.5px; }
.dp-upf:hover { background: rgba(255, 255, 255, .03); }
.dp-upf.is-off { opacity: .55; }
.dp-upf-cov { width: 40px; height: 40px; border-radius: 8px; overflow: hidden; display: grid; place-items: center; background: rgba(255, 255, 255, .05); color: var(--dim); }
.dp-upf-cov img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dp-upf-was, .dp-upf-now { display: flex; flex-direction: column; min-width: 0; gap: 1px; }
.dp-upf-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dp-upf-was .dp-upf-t { color: var(--muted); }
.dp-upf-now b { font-weight: 650; }
.dp-upf-was small, .dp-upf-now small { font-size: 11.5px; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dp-upf-now small .dp-ic { color: var(--mint); vertical-align: -2px; margin-right: 4px; stroke-width: 2.8; }
.dp-upf-om { font-size: 12px; color: var(--muted); }
.dp-upf-act { display: flex; justify-content: flex-end; gap: 2px; }
.dp-upf-act .dp-row-btn { width: 34px; height: 34px; }
.dp-row-btn-dim { opacity: .7; }
.dp-upa-form { position: relative; }
.dp-upa-bar { position: sticky; bottom: 16px; z-index: 20; margin-top: 14px; padding: 10px 12px 10px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-radius: 16px; background: rgba(22, 20, 32, .92); }
.dp-upa-sel { font-weight: 600; font-size: 14px; }
.dp-upa-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.dp-pager { margin-top: 18px; gap: 6px; flex-wrap: wrap; }
.dp-pager a { min-width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; color: var(--muted); text-decoration: none; font-size: 14px; }
.dp-pager a:hover { background: rgba(255, 255, 255, .05); color: var(--text); }
.dp-pager a[aria-current="page"] { background: rgba(255, 255, 255, .09); color: var(--text); font-weight: 600; }
.dp-modal.dp-upe { max-width: 620px; max-height: calc(100vh - 32px); overflow-y: auto; }
.dp-upe-orig { margin: -4px 0 0; font-size: 13px; overflow-wrap: anywhere; }
.dp-upe-grid { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 18px; align-items: start; }
.dp-upe-cov img { width: 132px; height: 132px; border-radius: 14px; object-fit: cover; display: block; border: 1px solid rgba(255, 255, 255, .08); }
.dp-upe .dp-hint { margin: 0; overflow-wrap: anywhere; }
.dp-upe-reset { margin-top: 10px; }
.dp-up-disk { display: flex; flex-direction: column; gap: 8px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .06); }
.dp-up-disk-t { display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; font-size: 14px; }
.dp-up-cover { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 18px; align-items: start; }
.dp-up-cover img { width: 140px; height: 140px; border-radius: 14px; object-fit: cover; border: 1px solid rgba(255, 255, 255, .08); }
.dp-up-cover p { margin: 0 0 10px; font-size: 13.5px; }
.dp-inline-form { margin: 0; }
.dp-up-fmts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.dp-up-fmts p { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 6px; }
.dp-up-fmts small { font-size: 12.5px; }
@media (max-width: 1100px) {
  .dp-up-filters { grid-template-columns: 1fr 1fr; }
  .dp-up-filters .dp-up-search { grid-column: 1 / -1; }
  .dp-up-fmts { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .dp-kpis-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dp-kpis-4 .dp-kpi:nth-child(3) { border-left: 0; }
  .dp-kpis-4 .dp-kpi:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .06); }
  .dp-up-item { grid-template-columns: 40px minmax(0, 1fr); }
  .dp-up-cov { width: 40px; height: 40px; }
  .dp-up-side { grid-column: 2; justify-content: space-between; }
  .dp-up-st { text-align: left; }
  .dp-up-fields { grid-template-columns: 1fr; }
  .dp-upe-grid, .dp-up-cover { grid-template-columns: 1fr; }
}

/* Uploadi: kompaktan popis traka (3.0.1) */
.dp-up-head-row { display: grid; grid-template-columns: 34px minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1.35fr) minmax(130px, 200px) 30px; gap: 12px; padding: 0 12px; font-size: 10px; letter-spacing: .18em; font-weight: 600; color: var(--dim); }
.dp-up-list { gap: 4px; }
.dp-up-item { position: relative; grid-template-columns: 34px minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 1.35fr) minmax(130px, 200px) 30px; gap: 12px; padding: 6px 12px; border-radius: 11px; overflow: hidden; }
.dp-up-main, .dp-up-fields, .dp-up-side { display: contents; }
.dp-up-cov { width: 34px; height: 34px; border-radius: 8px; font-size: 11.5px; }
.dp-up-name { font-size: 12.5px; }
.dp-up-fields label > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.dp-up-fields .dp-input { height: 32px; font-size: 13.5px; padding: 0 10px; }
.dp-up-fields .dp-input[readonly] { padding-left: 0; }
.dp-up-prog { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 0; background: transparent; }
.dp-up-st { font-size: 12px; -webkit-line-clamp: 1; text-align: left; }
.dp-up-item [data-rm] { width: 30px; height: 30px; }
@media (max-width: 900px) {
  .dp-up-head-row { display: none; }
  .dp-up-item { grid-template-columns: 34px minmax(0, 1fr) 30px; gap: 6px 10px; }
  .dp-up-name { grid-column: 2; }
  .dp-up-item [data-rm] { grid-column: 3; grid-row: 1; }
  .dp-up-fields label { grid-column: 2 / 4; }
  .dp-up-st { grid-column: 2 / 4; text-align: left; }
}

/* 3.0.2: jasniji korak slanja, album u uređivanju */
.dp-up-send { height: 40px; padding: 0 18px; font-size: 14px; box-shadow: 0 10px 30px -10px rgba(148, 102, 255, .7); }
.dp-up-steps { list-style: none; margin: 0; padding: 10px 12px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 18px; border-radius: 12px; background: rgba(148, 102, 255, .06); border: 1px solid rgba(148, 102, 255, .16); }
.dp-up-steps li { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--soft); line-height: 1.45; }
.dp-up-steps b { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: var(--grad); color: var(--on-acc); }
.dp-up-steps strong { color: var(--text); }
.dp-up-warn { margin: 0; display: flex; gap: 8px; align-items: center; padding: 8px 12px; border-radius: 10px; font-size: 13px; color: var(--warn); background: rgba(242, 211, 138, .07); border: 1px solid rgba(242, 211, 138, .18); }
.dp-up-warn .dp-ic { flex: none; }
.dp-upe-keep { margin-top: -4px; }
@media (max-width: 900px) { .dp-up-steps { grid-template-columns: 1fr; } }
.dp-up-cov { overflow: hidden; }
.dp-up-cov img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* 3.0.4: Admin → Uploadi lijevo popis, desno trake */
.dp-upm { display: grid; grid-template-columns: minmax(280px, 340px) minmax(0, 1fr); gap: 16px; align-items: start; }
.dp-upm-side { position: sticky; top: 90px; padding: 8px; display: flex; flex-direction: column; max-height: calc(100vh - 110px); }
.dp-upm-side-h { display: flex; justify-content: space-between; padding: 8px 10px 10px; font-size: 10.5px; letter-spacing: .18em; font-weight: 600; color: var(--dim); }
.dp-upm-items { display: flex; flex-direction: column; gap: 4px; overflow-y: auto; min-height: 0; padding-right: 2px; }
.dp-upm-item { display: grid; grid-template-columns: 22px minmax(0, 1fr) 34px; gap: 10px; align-items: center; padding: 8px 6px 8px 10px; border-radius: 13px; border: 1px solid transparent; transition: background .12s, border-color .12s; }
.dp-upm-item:hover { background: rgba(255, 255, 255, .03); }
.dp-upm-item.is-active { background: rgba(148, 102, 255, .1); border-color: rgba(148, 102, 255, .32); }
.dp-upm-item.is-gone { opacity: .6; }
.dp-upm-pick { display: flex; flex-direction: column; gap: 3px; min-width: 0; border: 0; background: none; padding: 2px 0; text-align: left; color: var(--text); font: inherit; cursor: pointer; }
.dp-upm-pick:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 8px; }
.dp-upm-top { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 14px; }
.dp-upm-top b { font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; flex: 1; }
.dp-upm-top .dp-badge { font-size: 11px; padding: 2px 8px; }
.dp-upm-note { font-size: 12.5px; color: var(--soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dp-upm-item:not(.is-active) .dp-upm-note { color: var(--muted); }
.dp-upm-meta { font-size: 11.5px; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dp-upm-zip { width: 34px; height: 34px; }
.dp-upm-zip:hover { color: var(--mint); }
.dp-upm-pager { margin-top: 8px; }
.dp-upm-main { padding: 18px 18px 12px; min-width: 0; }
.dp-upm-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; padding: 2px 6px 14px; }
.dp-upm-title { min-width: 0; }
.dp-upm-title .dp-h3 { margin: 4px 0 6px; }
.dp-upm-title .dp-h3 a { color: inherit; text-decoration: none; }
.dp-upm-title .dp-h3 a:hover { color: var(--cyan); }
.dp-upm-sub { margin: 0; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 12.5px; }
.dp-upm-q { color: var(--soft); font-style: italic; }
.dp-upm-acts { display: flex; gap: 8px; flex-wrap: wrap; }
.dp-upm-main .dp-upf-h, .dp-upm-main .dp-upf { grid-template-columns: 26px 40px minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.35fr) 52px 70px 108px; gap: 10px; }
.dp-upm-main .dp-upf { padding: 6px 6px; }
.dp-upm-main .dp-upf.is-dirty { background: rgba(47, 227, 176, .05); box-shadow: inset 2px 0 0 var(--mint); }
.dp-upf-in { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.dp-upf-in .dp-input { height: 32px; font-size: 13.5px; padding: 0 10px; }
.dp-upf-in small { font-size: 11px; color: var(--dim); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dp-upf-in small .dp-ic { color: var(--mint); vertical-align: -2px; margin-right: 4px; stroke-width: 2.8; }
.dp-upf-span { grid-column: span 2; }
.dp-upm-main .dp-upf-act .dp-row-btn { width: 32px; height: 32px; }
@media (max-width: 1100px) {
  .dp-upm { grid-template-columns: 1fr; }
  .dp-upm-side { position: static; max-height: 340px; }
  .dp-upm-main { overflow-x: auto; }
  .dp-upm-main .dp-upf-h, .dp-upm-main .dp-upf { min-width: 860px; }
}
.dp-upm-main .dp-upf-in { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 4px 10px; }
.dp-upm-main .dp-upf-in small { grid-column: 1 / -1; }

/* 3.0.5: kompaktne trake u otvorenom uploadu */
.dp-upm-main .dp-upf-h, .dp-upm-main .dp-upf { grid-template-columns: 24px 30px minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.35fr) 104px; gap: 8px; }
.dp-upm-main .dp-upf { padding: 3px 6px; border-radius: 9px; }
.dp-upm-main .dp-upf + .dp-upf { margin-top: 1px; }
.dp-upm-main .dp-upf-cov { width: 30px; height: 30px; border-radius: 6px; }
.dp-upm-main .dp-upf-was .dp-upf-t { font-size: 13px; }
.dp-upm-main .dp-upf-in { gap: 6px; }
.dp-upm-main .dp-upf-in .dp-input { height: 30px; font-size: 13px; border-radius: 8px; }
.dp-upm-main .dp-upf-act .dp-row-btn { width: 30px; height: 30px; }
.dp-upm-main .dp-upf-h { padding-top: 6px; }
.dp-upm-head { padding-bottom: 10px; }
@media (max-width: 1100px) { .dp-upm-main .dp-upf-h, .dp-upm-main .dp-upf { min-width: 720px; } }
.dp-upm-side-h { align-items: center; gap: 10px; padding-left: 12px; }
.dp-upm-side-h > span:nth-of-type(1) { flex: 1; }
.dp-upm-side-h .dp-check-box, .dp-upf-h .dp-check-box { width: 20px; height: 20px; border-radius: 6px; }
.dp-upm-main .dp-upf-h { align-items: center; }

/* ================= 3.1.0: BPM | Key | Energija (Mixed In Key) ================= */
.dp-cam { --h: 260; --l: 72%; --a: .16; display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 22px; padding: 0 6px; border-radius: 7px; border: 1px solid hsla(var(--h), 70%, 60%, .35); background: hsla(var(--h), 70%, 58%, var(--a)); color: hsl(var(--h), 85%, var(--l)); font: 600 11.5px var(--mono); letter-spacing: 0; line-height: 1; cursor: default; white-space: nowrap; }
button.dp-cam { cursor: pointer; transition: transform .1s, box-shadow .12s, opacity .12s; }
button.dp-cam:hover { box-shadow: 0 0 0 2px hsla(var(--h), 80%, 60%, .35); }
button.dp-cam:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.dp-cam.is-none { border-color: transparent; background: transparent; color: var(--dim); }
.dp-cam.is-sel { box-shadow: 0 0 0 2px var(--mint); }
.dp-cam.is-comp { box-shadow: 0 0 0 1px hsla(var(--h), 80%, 70%, .7); }
.dp-cam.is-dim { opacity: .38; }
.dp-cam[data-cam="1A"] { --h: 180; --l: 70%; --a: 0.16; }
.dp-cam[data-cam="1B"] { --h: 180; --l: 78%; --a: 0.2; }
.dp-cam[data-cam="2A"] { --h: 210; --l: 70%; --a: 0.16; }
.dp-cam[data-cam="2B"] { --h: 210; --l: 78%; --a: 0.2; }
.dp-cam[data-cam="3A"] { --h: 240; --l: 70%; --a: 0.16; }
.dp-cam[data-cam="3B"] { --h: 240; --l: 78%; --a: 0.2; }
.dp-cam[data-cam="4A"] { --h: 270; --l: 70%; --a: 0.16; }
.dp-cam[data-cam="4B"] { --h: 270; --l: 78%; --a: 0.2; }
.dp-cam[data-cam="5A"] { --h: 300; --l: 70%; --a: 0.16; }
.dp-cam[data-cam="5B"] { --h: 300; --l: 78%; --a: 0.2; }
.dp-cam[data-cam="6A"] { --h: 330; --l: 70%; --a: 0.16; }
.dp-cam[data-cam="6B"] { --h: 330; --l: 78%; --a: 0.2; }
.dp-cam[data-cam="7A"] { --h: 0; --l: 70%; --a: 0.16; }
.dp-cam[data-cam="7B"] { --h: 0; --l: 78%; --a: 0.2; }
.dp-cam[data-cam="8A"] { --h: 30; --l: 70%; --a: 0.16; }
.dp-cam[data-cam="8B"] { --h: 30; --l: 78%; --a: 0.2; }
.dp-cam[data-cam="9A"] { --h: 60; --l: 70%; --a: 0.16; }
.dp-cam[data-cam="9B"] { --h: 60; --l: 78%; --a: 0.2; }
.dp-cam[data-cam="10A"] { --h: 90; --l: 70%; --a: 0.16; }
.dp-cam[data-cam="10B"] { --h: 90; --l: 78%; --a: 0.2; }
.dp-cam[data-cam="11A"] { --h: 120; --l: 70%; --a: 0.16; }
.dp-cam[data-cam="11B"] { --h: 120; --l: 78%; --a: 0.2; }
.dp-cam[data-cam="12A"] { --h: 150; --l: 70%; --a: 0.16; }
.dp-cam[data-cam="12B"] { --h: 150; --l: 78%; --a: 0.2; }
.dp-en { display: inline-flex; align-items: flex-end; gap: 2px; height: 15px; }
.dp-en i { display: block; width: 3px; border-radius: 2px; background: rgba(255, 255, 255, .1); }
.dp-en i:nth-child(1) { height: 6px; } .dp-en i:nth-child(2) { height: 7px; } .dp-en i:nth-child(3) { height: 8px; } .dp-en i:nth-child(4) { height: 9px; } .dp-en i:nth-child(5) { height: 10px; } .dp-en i:nth-child(6) { height: 11px; } .dp-en i:nth-child(7) { height: 12px; } .dp-en i:nth-child(8) { height: 13px; } .dp-en i:nth-child(9) { height: 14px; } .dp-en i:nth-child(10) { height: 15px; } 
.dp-en[data-e="1"] i:nth-child(-n+1) { background: linear-gradient(180deg, var(--mint), var(--lav)); }
.dp-en[data-e="2"] i:nth-child(-n+2) { background: linear-gradient(180deg, var(--mint), var(--lav)); }
.dp-en[data-e="3"] i:nth-child(-n+3) { background: linear-gradient(180deg, var(--mint), var(--lav)); }
.dp-en[data-e="4"] i:nth-child(-n+4) { background: linear-gradient(180deg, var(--mint), var(--lav)); }
.dp-en[data-e="5"] i:nth-child(-n+5) { background: linear-gradient(180deg, var(--mint), var(--lav)); }
.dp-en[data-e="6"] i:nth-child(-n+6) { background: linear-gradient(180deg, var(--mint), var(--lav)); }
.dp-en[data-e="7"] i:nth-child(-n+7) { background: linear-gradient(180deg, var(--mint), var(--lav)); }
.dp-en[data-e="8"] i:nth-child(-n+8) { background: linear-gradient(180deg, var(--mint), var(--lav)); }
.dp-en[data-e="9"] i:nth-child(-n+9) { background: linear-gradient(180deg, var(--mint), var(--lav)); }
.dp-en[data-e="10"] i:nth-child(-n+10) { background: linear-gradient(180deg, var(--mint), var(--lav)); }
.dp-en-n { font: 600 11.5px var(--mono); color: var(--soft); margin-left: 6px; }
.dp-row-mik, .dp-h-mik { display: none; }
.dp-tbl.has-mik .dp-row-mik, .dp-tbl.has-mik .dp-h-mik { display: grid; grid-template-columns: 38px 46px minmax(0, 1fr); gap: 8px; align-items: center; min-width: 0; }
.dp-row-bpm { font: 600 12.5px var(--mono); text-align: right; color: var(--text); }
.dp-row-bpm.is-none { color: var(--dim); font-weight: 500; }
.dp-h-mik > span:first-child { text-align: right; }
.dp-row-en { display: flex; align-items: center; }
.dp-tbl.has-mik { --mcol: 178px; }
.dp-tbl.has-mik .dp-list-head, .dp-tbl.has-mik .dp-row { grid-template-columns: 44px minmax(0, 1fr) var(--fcol) var(--mcol) 58px 76px 76px; }
.dp-tbl.has-mik.is-set .dp-list-head, .dp-tbl.has-mik.is-set .dp-row { grid-template-columns: 24px 44px minmax(0, 1fr) var(--fcol) var(--mcol) 58px 76px 76px; }
@media (max-width: 1600px) { .dp-tbl.has-mik { --fcol: 140px; --mcol: 168px; } }
@media (max-width: 1280px) { .dp-tbl.has-mik { --fcol: 130px; --mcol: 150px; } .dp-tbl.has-mik .dp-row-en .dp-en { display: none; } .dp-tbl.has-mik .dp-row-en .dp-en-n { margin-left: 0; } }
@media (max-width: 980px) {
  .dp-tbl .dp-list-head > span { display: block; }
  .dp-tbl .dp-list-head > .dp-h-folder, .dp-tbl .dp-list-head > .dp-h-size, .dp-tbl:not(.has-mik) .dp-list-head > .dp-h-mik { display: none; }
  .dp-tbl.has-mik .dp-list-head > .dp-h-mik { display: grid; }
  .dp-tbl.has-mik .dp-list-head, .dp-tbl.has-mik .dp-row { grid-template-columns: 40px minmax(0, 1fr) 140px 58px 72px; }
  .dp-tbl.has-mik.is-set .dp-list-head, .dp-tbl.has-mik.is-set .dp-row { grid-template-columns: 24px 40px minmax(0, 1fr) 140px 58px 72px; }
}
@media (max-width: 760px) {
  .dp-tbl.has-mik .dp-row-mik { display: none; }
  .dp-tbl.has-mik .dp-row { grid-template-columns: 34px minmax(0, 1fr) auto; }
  .dp-tbl.has-mik.is-set .dp-row { grid-template-columns: 24px 30px minmax(0, 1fr) auto; }
}
/* Filteri BPM i Key */
.dp-mf-pop { width: 340px; padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.dp-mf-k { font-size: 10.5px; letter-spacing: .2em; font-weight: 600; color: var(--mint); }
.dp-mf-range { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; align-items: center; color: var(--dim); }
.dp-mf-range .dp-input { font-family: var(--mono); text-align: center; }
.dp-mf-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.dp-mf-chip { border: 1px solid rgba(255, 255, 255, .08); background: rgba(255, 255, 255, .04); color: var(--soft); border-radius: 8px; padding: 5px 9px; font: 500 12.5px var(--mono); cursor: pointer; }
.dp-mf-chip:hover { border-color: rgba(148, 102, 255, .5); color: var(--text); }
.dp-mf-chip.is-on { background: rgba(148, 102, 255, .22); border-color: rgba(148, 102, 255, .6); color: var(--text); }
.dp-mf-keys { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; }
.dp-mf-keys .dp-cam { min-width: 0; height: 30px; font-size: 12.5px; }
.dp-mf-check { font-size: 13.5px; }
.dp-mf-check small { font-size: 12px; }
.dp-mf-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 12px; color: var(--dim); padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, .06); }
.dp-mf.is-empty .dp-select-label { color: var(--soft); }
.dp-mf:not(.is-empty) .dp-select-btn { border-color: rgba(148, 102, 255, .5); }
/* Stranica pjesme */
.dp-tr-mik { margin-bottom: 16px; }
.dp-tr-key { display: flex; align-items: center; gap: 10px; }
.dp-cam-lg { height: 28px; min-width: 46px; font-size: 14px; border-radius: 8px; }
.dp-en-lg { height: 22px; gap: 3px; }
.dp-en-lg i { width: 5px; }
.dp-en-lg i:nth-child(1) { height: 9px; } .dp-en-lg i:nth-child(2) { height: 11px; } .dp-en-lg i:nth-child(3) { height: 12px; } .dp-en-lg i:nth-child(4) { height: 14px; } .dp-en-lg i:nth-child(5) { height: 15px; } .dp-en-lg i:nth-child(6) { height: 16px; } .dp-en-lg i:nth-child(7) { height: 18px; } .dp-en-lg i:nth-child(8) { height: 19px; } .dp-en-lg i:nth-child(9) { height: 21px; } .dp-en-lg i:nth-child(10) { height: 22px; } 
.dp-en-lg + .dp-en-n { font-size: 18px; margin-left: 10px; }
.dp-tr-mik small a { color: var(--cyan); }
/* Admin: Mixed In Key */
.dp-mik-grid { display: grid; grid-template-columns: minmax(280px, 380px) minmax(0, 1fr); gap: 24px; align-items: start; }
.dp-mik-form { display: flex; flex-direction: column; gap: 12px; }
.dp-mik-note { margin: 0; font-size: 13px; }
.dp-mik-res { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.dp-kpis-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 0; }
.dp-mik-kpis { background: rgba(0, 0, 0, .15); box-shadow: none; border: 1px solid rgba(255, 255, 255, .06); }
.dp-mik-ok { color: var(--mint); }
.dp-mik-list { display: flex; flex-direction: column; margin-top: 4px; }
.dp-mik-h, .dp-mik-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr) 52px 52px 120px; gap: 12px; align-items: center; }
.dp-mik-h { padding: 6px 10px; font-size: 10px; letter-spacing: .18em; font-weight: 600; color: var(--dim); }
.dp-mik-row { padding: 7px 10px; border-top: 1px solid rgba(255, 255, 255, .05); font-size: 13.5px; }
.dp-mik-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.dp-mik-row .dp-r { text-align: right; }
@media (max-width: 1100px) { .dp-mik-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .dp-mik-h { display: none; } .dp-mik-row { grid-template-columns: minmax(0, 1fr) auto auto; } .dp-mik-row > span:nth-child(2) { display: none; } .dp-kpis-3 { grid-template-columns: 1fr; } }
/* 3.1.0: alatna traka s BPM i Key u jednom redu */
@media (min-width: 1281px) {
  .dp-toolbar { flex-wrap: nowrap; }
  .dp-toolbar .dp-search { flex: 1 1 240px; min-width: 200px; }
  .dp-toolbar .dp-select { flex: 0 1 200px; min-width: 128px; }
  .dp-toolbar .dp-select-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
}
