/* Crate toolkit (ext.js): Discover · Fetch · Export · Identify · Tools.
   Same ink-black canvas, one album-driven accent, Fraunces display over Outfit. Mobile-first. */

/* ---------- shared bits ---------- */
.xseg-row { display: flex; align-items: center; gap: 8px; margin: 2px 0 10px; min-height: 44px; }
.xseg-row .seg { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.xseg-row .seg::-webkit-scrollbar { display: none; }
.xseg-row .seg button { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.xseg-row .seg .ic { width: 15px; height: 15px; }
.xseg-row .grow { flex: 1; }
/* the Library search box pulls itself up under the status bar (negative margin); with the segmented control above it, that hid the control.
   Here it stays in flow and sticks below the status bar instead (html::before in styles.css masks the status-bar strip). */
.xseg-row + .searchbox { margin-top: 0; padding-top: 4px; top: var(--safe-t); }
.xtag { flex: none; display: inline-flex; align-items: center; gap: 3px; height: 17px; padding: 0 6px; border-radius: 4px; font-size: 9.5px; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase; color: var(--text-3); box-shadow: inset 0 0 0 1px var(--line-2); }
.xtag.off { color: var(--accent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 45%, transparent); }
.xtag.lib { color: #0b0b0c; background: var(--ok); box-shadow: none; }
.xtag.sim { color: var(--ok); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ok) 50%, transparent); }
.xtag.e { padding: 0 4px; color: var(--text-2); background: rgba(255,255,255,.1); box-shadow: none; }
.xtag .ic { width: 10px; height: 10px; stroke-width: 2.6; }
.xmuted { color: var(--text-3); }
.xspin { width: 18px; height: 18px; border-radius: 99px; border: 2px solid var(--line-2); border-top-color: var(--accent); animation: spin .8s linear infinite; flex: none; }
.xerr { color: var(--danger); }
.xnote { font-size: 12.5px; color: var(--text-3); line-height: 1.45; margin: 10px 0 0; text-wrap: pretty; }
.xnote b { color: var(--text-2); font-weight: 600; }
.xwarn { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r); background: rgba(245,181,68,.08); color: #f5c46a; font-size: 13px; line-height: 1.4; margin: 12px 0; }
.xwarn .ic { width: 18px; height: 18px; flex: none; margin-top: 1px; }
.xempty { padding: 36px 8px; text-align: center; color: var(--text-2); }
.xempty .ic { width: 34px; height: 34px; color: var(--text-3); margin: 0 auto 10px; display: block; }
.xempty h3 { font: 600 19px var(--serif); color: var(--text); margin: 0 0 6px; }
.xempty p { margin: 0 auto; max-width: 34ch; font-size: 14px; }

/* ---------- search field + suggestions ---------- */
.xsearch { position: sticky; top: 0; z-index: 16; padding: calc(var(--safe-t) + 8px) 0 8px; margin: calc(-1 * (var(--safe-t) + 8px)) 0 0; background: var(--bg); }
.xsearch .sfield input { padding-right: 84px; }
.xsearch .sfield .xpaste { position: absolute; right: 42px; top: 3px; }
.xsug { position: absolute; left: 0; right: 0; top: calc(100% + 4px); background: var(--bg-1); border-radius: var(--r); box-shadow: 0 18px 40px rgba(0,0,0,.6), inset 0 0 0 1px var(--line); padding: 6px; z-index: 30; }
.xsug button { display: flex; align-items: center; gap: 12px; width: 100%; height: 42px; padding: 0 10px; border-radius: 8px; text-align: left; font-size: 15px; color: var(--text-2); }
.xsug button b { color: var(--text); font-weight: 500; }
.xsug button .ic { width: 16px; height: 16px; color: var(--text-3); }
.xsug button.on, .xsug button:hover { background: rgba(255,255,255,.06); }
.xbar { display: flex; align-items: center; gap: 8px; margin: 2px 0 4px; }
.xbar .chips { flex: 1; min-width: 0; margin-right: 0; padding-right: 0; }
.xtarget { flex: none; display: inline-flex; align-items: center; gap: 6px; max-width: 46vw; height: 32px; padding: 0 10px 0 8px; border-radius: 999px; font-size: 12.5px;
  color: var(--text-2); background: var(--bg-2); }
.xtarget .ic { width: 15px; height: 15px; color: var(--accent); }
.xtarget span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xtarget b { color: var(--text); font-weight: 600; }

/* ---------- result rows ---------- */
.xlist { margin: 4px 0 0; }
.xr { position: relative; display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 7px 0; cursor: pointer; border-radius: 8px; -webkit-user-select: none; user-select: none; }
.xr::after { content: ""; position: absolute; left: 60px; right: 0; bottom: 0; height: 1px; background: var(--line); }
.xr:last-child::after { display: none; }
.xr .th { position: relative; width: 48px; height: 48px; border-radius: 6px; overflow: hidden; background: var(--bg-2); flex: none; }
.xr .th img { width: 100%; height: 100%; object-fit: cover; }
.xr .th.vid img { transform: scale(1.36); }
.xr .th .vb { position: absolute; right: 3px; bottom: 3px; width: 15px; height: 11px; border-radius: 3px; background: rgba(0,0,0,.7); display: grid; place-items: center; }
.xr .th .vb::before { content: ""; border-left: 5px solid #fff; border-top: 3px solid transparent; border-bottom: 3px solid transparent; margin-left: 1px; }
.xr .th .num { position: absolute; inset: 0; display: grid; place-items: center; font-size: 14px; color: var(--text-3); background: var(--bg-1); }
.xr .th .eqx { position: absolute; inset: 0; background: rgba(0,0,0,.55); display: grid; place-items: center; }
.xr .tx { flex: 1; min-width: 0; }
.xr .t { display: flex; align-items: center; gap: 6px; font-weight: 500; font-size: 15px; line-height: 1.25; }
.xr .t span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.xr .m { display: flex; align-items: center; gap: 6px; margin-top: 3px; font-size: 12.5px; color: var(--text-2); min-width: 0; }
.xr .m .s { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.xr .m .d { flex: none; color: var(--text-3); font-variant-numeric: tabular-nums; }
.xr.on .t { color: var(--accent); }
.xr .acts { display: flex; align-items: center; gap: 2px; flex: none; }
@media (hover: hover) { .xr:hover { background: rgba(255,255,255,.03); } }
.xr:active { background: rgba(255,255,255,.05); }
.xr.gone { opacity: .45; }

/* preview + fetch buttons */
.xpv, .xfx { position: relative; width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; color: var(--text-2); flex: none; transition: color .2s, background .2s, transform .15s var(--ease); }
.xpv:active, .xfx:active { transform: scale(.9); }
.xpv .ic, .xfx .ic { width: 20px; height: 20px; }
.xpv.on { color: var(--accent); }
.xpv.load::after { content: ""; position: absolute; inset: 7px; border-radius: 99px; border: 2px solid transparent; border-top-color: var(--accent); animation: spin .8s linear infinite; }
.xfx { box-shadow: inset 0 0 0 1.5px var(--line-2); width: 34px; height: 34px; margin: 0 3px; }
.xfx .ic { width: 17px; height: 17px; stroke-width: 2.1; }
.xfx.q { box-shadow: none; }
.xfx.q::after { content: ""; position: absolute; inset: 0; border-radius: 99px; border: 1.5px dashed var(--text-3); animation: spin 6s linear infinite; }
.xfx.run { box-shadow: none; color: var(--accent); }
.xfx.run svg.ring { position: absolute; inset: -1px; width: 36px; height: 36px; transform: rotate(-90deg); }
.xfx.run svg.ring circle { fill: none; stroke-width: 2.4; }
.xfx.run svg.ring .bg { stroke: var(--line-2); }
.xfx.run svg.ring .fg { stroke: var(--accent); stroke-linecap: round; transition: stroke-dashoffset .5s var(--ease); }
.xfx.run .pc { font-size: 10px; font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums; }
.xfx.ok { background: color-mix(in srgb, var(--ok) 18%, transparent); color: var(--ok); box-shadow: none; }
.xfx.err { color: var(--danger); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--danger) 50%, transparent); }
@media (hover: hover) { .xpv:hover { background: rgba(255,255,255,.06); color: var(--text); } .xfx:hover { background: rgba(255,255,255,.06); color: var(--text); } }

/* ---------- top result ---------- */
.xtop { display: flex; gap: 16px; align-items: center; padding: 16px; margin: 8px 0 6px; border-radius: var(--r-l); position: relative; overflow: hidden;
  background: linear-gradient(135deg, color-mix(in srgb, var(--deep) 70%, var(--bg-1)), var(--bg-1)); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; }
.xtop .art { width: 104px; height: 104px; border-radius: 10px; object-fit: cover; flex: none; background: var(--bg-2); box-shadow: 0 12px 30px rgba(0,0,0,.45); }
.xtop .art.round { border-radius: 999px; }
.xtop .art.vid { object-fit: cover; }
.xtop .tx { flex: 1; min-width: 0; }
.xtop .k { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); font-weight: 500; }
.xtop .t { font: 600 22px/1.12 var(--serif); letter-spacing: -.015em; margin: 4px 0 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.xtop .a { font-size: 13.5px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xtop .tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.xtop .bt { display: flex; gap: 8px; margin-top: 12px; }
.xtop .bt .btn { height: 36px; padding: 0 14px; font-size: 13.5px; }
@media (max-width: 380px) { .xtop { padding: 13px; gap: 13px; } .xtop .art { width: 84px; height: 84px; } .xtop .t { font-size: 19px; } }

/* shelves */
.xshelf .it img { aspect-ratio: 1; height: auto; }
.xshelf .it.round img { border-radius: 999px; }
.xshelf .it .y { font-size: 12px; color: var(--text-3); }
.xshelf .it { position: relative; }
.xsec { display: flex; align-items: baseline; justify-content: space-between; margin: 28px 0 8px; gap: 12px; }
.xsec h2 { font: 600 20px/1.1 var(--serif); letter-spacing: -.015em; margin: 0; }
.xsec .r { display: flex; gap: 6px; flex: none; }
.xsec button, .xsec a { font-size: 13px; color: var(--text-2); text-decoration: none; }

/* ---------- heroes (artist / album / playlist / radio) ---------- */
.xhero { position: relative; margin: calc(-1 * (var(--safe-t) + 8px)) calc(-1 * var(--pad)) 0; padding: calc(var(--safe-t) + 56px) var(--pad) 22px; overflow: hidden; isolation: isolate; }
.xhero .bg { position: absolute; inset: -20px; background-size: cover; background-position: center 25%; filter: blur(0px) saturate(1.1); opacity: .55; z-index: -2; }
.xhero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,10,11,.15) 0%, rgba(10,10,11,.55) 55%, var(--bg) 100%); }
.xhero .nav { position: absolute; top: calc(var(--safe-t) + 6px); left: calc(var(--pad) - 10px); right: calc(var(--pad) - 10px); display: flex; justify-content: space-between; }
.xhero .nav .ibtn { background: rgba(10,10,11,.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--text); }
.xhero .k { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); font-weight: 500; }
.xhero h1 { font: 600 clamp(34px, 10vw, 58px)/1 var(--serif); letter-spacing: -.03em; margin: 6px 0 8px; text-wrap: balance; }
.xhero .st { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; color: var(--text-2); }
.xhero .bt { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.xhero.artist { min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end; }
.xhead { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 40px; }
.xhead .cv { width: min(64vw, 250px); aspect-ratio: 1; border-radius: var(--r); object-fit: cover; box-shadow: 0 24px 60px rgba(0,0,0,.55); background: var(--bg-2); }
.xhead h1 { font: 600 27px/1.1 var(--serif); letter-spacing: -.02em; margin: 18px 0 6px; max-width: 20ch; text-wrap: balance; }
.xhead .a { color: var(--text-2); font-size: 14.5px; }
.xhead .a a { color: var(--text); text-decoration: none; font-weight: 500; }
.xhead .statline { justify-content: center; }
.xhead .bt { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 16px; }
.xdesc { color: var(--text-2); font-size: 14px; line-height: 1.55; margin: 14px 0 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; cursor: pointer; text-wrap: pretty; }
.xdesc.open { -webkit-line-clamp: unset; }
.xcount { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: var(--r); background: var(--bg-1); box-shadow: inset 0 0 0 1px var(--line); margin-top: 14px; font-size: 13.5px; color: var(--text-2); }
.xcount b { color: var(--text); }
.xcount .grow { flex: 1; }
.xprog { height: 3px; border-radius: 3px; background: var(--line-2); overflow: hidden; margin-top: 8px; }
.xprog i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .5s var(--ease); }

/* ---------- quick actions (home) ---------- */
.xqa { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 2px var(--pad); margin: 18px calc(-1 * var(--pad)) 0; scroll-snap-type: x proximity; }
.xqa::-webkit-scrollbar { display: none; }
.xqa a { flex: none; display: flex; align-items: center; gap: 9px; height: 46px; padding: 0 16px 0 12px; border-radius: 14px; text-decoration: none; font-size: 14px; font-weight: 500;
  background: var(--bg-1); box-shadow: inset 0 0 0 1px var(--line); color: var(--text); scroll-snap-align: start; }
.xqa a .ic { width: 20px; height: 20px; color: var(--accent); }
.xqa a:active { transform: scale(.97); }
@media (hover: hover) { .xqa a:hover { background: var(--bg-2); } }

/* ---------- floating preview bar + jobs pill ---------- */
.xprev { position: fixed; z-index: 31; left: calc(8px + var(--safe-l)); right: calc(8px + var(--safe-r)); bottom: calc(var(--tab-h) + var(--safe-b) + var(--mini-h) + 14px);
  display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 6px 0 7px; border-radius: 14px; overflow: hidden;
  background: rgba(30,30,34,.96); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 12px 34px rgba(0,0,0,.5), inset 0 0 0 1px rgba(255,255,255,.08);
  transform: translateY(20px); opacity: 0; pointer-events: none; transition: transform .3s var(--ease), opacity .2s; }
.no-track .xprev { bottom: calc(var(--tab-h) + var(--safe-b) + 8px); }
.xprev.show { transform: none; opacity: 1; pointer-events: auto; }
.xprev img { width: 42px; height: 42px; border-radius: 7px; object-fit: cover; flex: none; background: var(--bg-3); }
.xprev .tx { flex: 1; min-width: 0; }
.xprev .k { font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.xprev .t { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xprev .a { font-size: 12px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xprev .pb { position: absolute; left: 0; bottom: 0; height: 2px; background: var(--accent); width: 0; }
.xprev .ibtn { width: 38px; height: 38px; color: var(--text); }
.xjobs { position: fixed; z-index: 27; left: calc(14px + var(--safe-l)); right: calc(14px + var(--safe-r)); bottom: calc(var(--tab-h) + var(--safe-b) + var(--mini-h) + 8px);
  display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 10px 10px 4px 4px; overflow: hidden; text-decoration: none;
  background: rgba(24,24,27,.94); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--line); border-bottom: 0;
  font-size: 12px; color: var(--text-2); opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .25s var(--ease), transform .25s var(--ease), bottom .25s var(--ease); }
.xjobs.show { opacity: 1; transform: none; pointer-events: auto; }
.xjobs.stack { bottom: calc(var(--tab-h) + var(--safe-b) + var(--mini-h) + 40px); border-radius: 10px; border-bottom: 1px solid var(--line); }
.no-track .xjobs { bottom: calc(var(--tab-h) + var(--safe-b) + 8px); border-radius: 10px; border-bottom: 1px solid var(--line); }
.no-track .xjobs.stack { bottom: calc(var(--tab-h) + var(--safe-b) + 42px); }
.xjobs .ic { color: var(--accent); width: 15px; height: 15px; flex: none; }
.xjobs b { color: var(--text); font-weight: 600; }
.xjobs .grow { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xjobs .pbar { position: absolute; left: 0; bottom: 0; height: 2px; background: var(--accent); transition: width .5s var(--ease); }
.xprev.up { bottom: calc(var(--tab-h) + var(--safe-b) + var(--mini-h) + 46px); }
.no-track .xprev.up { bottom: calc(var(--tab-h) + var(--safe-b) + 44px); }

/* ---------- jobs list ---------- */
.xjob { padding: 14px 0; border-bottom: 1px solid var(--line); }
.xjob .hd { display: flex; align-items: center; gap: 12px; }
.xjob .ico { width: 38px; height: 38px; border-radius: 10px; background: var(--bg-2); display: grid; place-items: center; color: var(--accent); flex: none; overflow: hidden; }
.xjob .ico img { width: 100%; height: 100%; object-fit: cover; }
.xjob .ico .ic { width: 19px; height: 19px; }
.xjob .tx { flex: 1; min-width: 0; }
.xjob .t { font-size: 14.5px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xjob .s { font-size: 12.5px; color: var(--text-3); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xjob .s .sp { color: var(--text-2); }
.xjob .bt { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0 50px; }
.xjob .bt .btn { height: 32px; padding: 0 12px; font-size: 13px; }
.xjob .its { margin: 8px 0 0 50px; }
.xjob .its div { display: flex; gap: 8px; font-size: 12.5px; color: var(--text-3); padding: 3px 0; }
.xjob .its div span:first-child { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xjob .its .er { color: var(--danger); }

/* ---------- identify ---------- */
.xid { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 22px 0 8px; }
.xid .mic { position: relative; width: 196px; height: 196px; border-radius: 999px; display: grid; place-items: center; color: #0b0b0c; margin: 18px 0 20px;
  background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--accent) 80%, white), var(--accent) 55%, color-mix(in srgb, var(--accent) 60%, black)); box-shadow: 0 24px 70px color-mix(in srgb, var(--accent) 30%, transparent), inset 0 -8px 24px rgba(0,0,0,.25);
  transition: transform .25s var(--ease); }
.xid .mic:active { transform: scale(.96); }
.xid .mic .ic { width: 64px; height: 64px; stroke-width: 1.6; }
.xid .mic .lv { position: absolute; inset: -14px; border-radius: 999px; box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 50%, transparent); transform: scale(var(--lv, 1)); transition: transform .08s linear; opacity: .8; pointer-events: none; }
.xid .mic .rg { position: absolute; inset: 0; border-radius: 999px; box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--accent) 60%, transparent); animation: ripple 2.4s var(--ease) infinite; opacity: 0; pointer-events: none; }
.xid .mic .rg:nth-child(2) { animation-delay: .8s; } .xid .mic .rg:nth-child(3) { animation-delay: 1.6s; }
.xid.rec .mic .rg, .xid.busy .mic .rg { opacity: 1; }
.xid .mic svg.cd { position: absolute; inset: -8px; width: calc(100% + 16px); height: calc(100% + 16px); transform: rotate(-90deg); pointer-events: none; }
.xid .mic svg.cd circle { fill: none; stroke: var(--text); stroke-width: 2.5; stroke-linecap: round; opacity: .9; }
@keyframes ripple { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }
.xid h2 { font: 600 26px/1.1 var(--serif); letter-spacing: -.02em; margin: 0 0 6px; }
.xid p { color: var(--text-2); margin: 0; max-width: 32ch; font-size: 14.5px; }
.xmatch { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; padding: 16px; border-radius: var(--r-l); margin: 18px 0 4px; text-align: left;
  background: linear-gradient(135deg, color-mix(in srgb, var(--deep) 70%, var(--bg-1)), var(--bg-1)); box-shadow: inset 0 0 0 1px var(--line); animation: viewIn .4s var(--ease) both; }
.xmatch img { width: 120px; height: 120px; border-radius: 10px; object-fit: cover; box-shadow: 0 14px 34px rgba(0,0,0,.5); background: var(--bg-2); }
.xmatch .t { font: 600 23px/1.1 var(--serif); letter-spacing: -.015em; }
.xmatch .a { color: var(--text-2); margin-top: 4px; font-size: 14.5px; }
.xmatch .m { color: var(--text-3); margin-top: 6px; font-size: 12.5px; }
.xmatch .bt { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 380px) { .xmatch { grid-template-columns: 92px 1fr; } .xmatch img { width: 92px; height: 92px; } .xmatch .t { font-size: 20px; } }

/* ---------- tools hub ---------- */
.xtools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.xtool { display: flex; flex-direction: column; gap: 10px; min-height: 124px; padding: 14px; border-radius: var(--r); background: var(--bg-1); box-shadow: inset 0 0 0 1px var(--line);
  text-decoration: none; color: var(--text); text-align: left; position: relative; overflow: hidden; }
.xtool .ic { width: 24px; height: 24px; color: var(--accent); }
.xtool b { font: 600 17px/1.15 var(--serif); letter-spacing: -.01em; }
.xtool span { font-size: 12.5px; color: var(--text-3); line-height: 1.35; margin-top: -4px; }
.xtool .n { position: absolute; top: 12px; right: 14px; font: 600 18px var(--serif); color: var(--text-2); }
.xtool:active { transform: scale(.98); }
@media (hover: hover) { .xtool:hover { background: var(--bg-2); } }

/* ---------- export sheet ---------- */
.xfmts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 6px 0 4px; }
.xfmt { display: flex; flex-direction: column; gap: 3px; padding: 11px 12px; border-radius: 12px; text-align: left; box-shadow: inset 0 0 0 1px var(--line-2); min-height: 74px; }
.xfmt b { font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.xfmt span { font-size: 11.5px; color: var(--text-3); line-height: 1.3; }
.xfmt.on { box-shadow: inset 0 0 0 2px var(--accent); background: color-mix(in srgb, var(--accent) 7%, transparent); }
.xfmt .rec { font-size: 9px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.xopts { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.xlbl { font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); font-weight: 500; margin: 16px 0 6px; }
.xsum { display: flex; align-items: center; gap: 10px; padding: 12px 0 0; font-size: 13px; color: var(--text-2); }
.xsum .grow { flex: 1; }
.xfield { width: 100%; height: 44px; border: 0; border-radius: 10px; background: var(--bg-2); padding: 0 14px; font-size: 16px; box-shadow: inset 0 0 0 1px var(--line); }
.xfield:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--accent); }
.xform { display: grid; gap: 10px; }
.xform label { display: grid; gap: 5px; font-size: 12px; color: var(--text-3); letter-spacing: .04em; }
.xform .two { display: grid; grid-template-columns: 1fr 110px; gap: 10px; }
select.xfield { -webkit-appearance: none; appearance: none; padding-right: 30px; background-image: linear-gradient(45deg, transparent 50%, var(--text-3) 50%), linear-gradient(135deg, var(--text-3) 50%, transparent 50%);
  background-position: calc(100% - 16px) 19px, calc(100% - 11px) 19px; background-size: 5px 5px; background-repeat: no-repeat; }

/* ---------- stats / listening ---------- */
.xbars { display: grid; gap: 10px; margin-top: 8px; }
.xbarr { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 14px; }
.xbarr .r { color: var(--text-3); font-size: 12px; text-align: right; font-variant-numeric: tabular-nums; }
.xbarr .n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xbarr .tr { grid-column: 2 / 3; height: 4px; border-radius: 3px; background: var(--line); overflow: hidden; margin-top: -6px; }
.xbarr .tr i { display: block; height: 100%; background: var(--accent); border-radius: 3px; }
.xbarr .v { color: var(--text-2); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.xhist { display: grid; grid-template-columns: repeat(24, 1fr); gap: 3px; align-items: end; height: 84px; margin-top: 10px; }
.xhist i { display: block; background: color-mix(in srgb, var(--accent) 75%, transparent); border-radius: 3px 3px 1px 1px; min-height: 2px; }
.xhist-l { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-3); margin-top: 5px; }
.xdays { display: grid; grid-template-columns: repeat(auto-fill, minmax(10px, 1fr)); gap: 3px; margin-top: 10px; }
.xdays i { aspect-ratio: 1; border-radius: 3px; background: var(--bg-2); }

/* ---------- duplicates ---------- */
.xdup { border-radius: var(--r); background: var(--bg-1); box-shadow: inset 0 0 0 1px var(--line); padding: 6px 12px 12px; margin-top: 12px; }
.xdup .hd { display: flex; align-items: center; gap: 8px; padding: 8px 0 4px; font-size: 12.5px; color: var(--text-3); }
.xdup .hd .grow { flex: 1; }
.xdup .xr::after { left: 60px; }
.xdup .keep { width: 22px; height: 22px; border-radius: 99px; box-shadow: inset 0 0 0 1.5px var(--line-2); display: grid; place-items: center; flex: none; color: #0b0b0c; }
.xdup .keep .ic { width: 13px; height: 13px; stroke-width: 2.8; opacity: 0; }
.xdup .xr.k .keep { background: var(--accent); box-shadow: none; }
.xdup .xr.k .keep .ic { opacity: 1; }

/* ---------- smart lists ---------- */
.xsmart { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 12px; }
.xsm { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 1 / 1.05; padding: 14px; display: flex; flex-direction: column; justify-content: flex-end; text-decoration: none; color: var(--text); isolation: isolate; box-shadow: inset 0 0 0 1px var(--line); }
.xsm .bgs { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; z-index: -2; }
.xsm .bgs img { width: 100%; height: 100%; object-fit: cover; }
.xsm::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,10,11,.05), rgba(10,10,11,.88) 70%); }
.xsm .ic { width: 20px; height: 20px; color: var(--accent); margin-bottom: 6px; }
.xsm b { font: 600 18px/1.1 var(--serif); letter-spacing: -.01em; }
.xsm span { font-size: 12px; color: var(--text-2); margin-top: 3px; }
.xrule { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.xrule .v { grid-column: 1 / -1; display: flex; gap: 8px; }
.xrule .v .xfield { flex: 1; }

/* ---------- desktop ---------- */
@media (min-width: 900px) {
  .xprev { left: auto; right: 20px; width: 380px; bottom: calc(var(--bar-h) + 14px); }
  .no-track .xprev { bottom: 20px; }
  .xprev.up { bottom: calc(var(--bar-h) + 56px); }
  .no-track .xprev.up { bottom: 62px; }
  .xjobs { left: auto; right: 20px; width: 380px; bottom: calc(var(--bar-h) + 14px); border-radius: 10px; border-bottom: 1px solid var(--line); height: 34px; }
  .xjobs.stack { bottom: calc(var(--bar-h) + 52px); }
  .no-track .xjobs { bottom: 20px; } .no-track .xjobs.stack { bottom: 58px; }
  .xtools { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .xsmart { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .xhero { margin-top: -30px; padding-top: 80px; }
  .xhero .nav { display: none; }
  .xhead { flex-direction: row; text-align: left; align-items: flex-end; gap: 28px; padding-top: 24px; }
  .xhead .cv { width: 220px; }
  .xhead h1 { font-size: 40px; margin-top: 6px; }
  .xhead .statline, .xhead .bt { justify-content: flex-start; }
  .xtop .art { width: 132px; height: 132px; }
  .xtop .t { font-size: 28px; }
  .xr .th { width: 46px; height: 46px; }
  .xgrid2 { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 0 36px; align-items: start; }
  .sheet:has(.xwide) { width: 560px; }
}

/* ================= v2: markup-matched refinements ================= */
.pg-head { margin: 2px 0 0; }
.pg-head .kicker { display: inline-flex; align-items: center; gap: 6px; }
.pg-head .kicker .ic { width: 13px; height: 13px; color: var(--accent); }
.it.round img { border-radius: 999px !important; }
.xhead .cv.round { border-radius: 999px; }
.xtop .bt { flex-wrap: wrap; }
.xyt { text-decoration: none; color: var(--text-2); margin-top: 14px; }
.xyt .ic { color: var(--accent); width: 19px; height: 19px; flex: none; }
.xcount > .ic { width: 18px; height: 18px; color: var(--accent); flex: none; }
a.xcount { color: var(--text-2); }
.xspin.big { width: 54px; height: 54px; border-width: 3px; border-color: rgba(0,0,0,.18); border-top-color: #0b0b0c; }
.sh-item.ready { color: var(--accent); }
.sh-item.ready .ic { color: var(--accent); }
.xr .th > .num { font-variant-numeric: tabular-nums; }
.xr .t .xtag { margin-left: 2px; }

/* jobs list rows */
.xjob { display: flex; align-items: center; gap: 12px; }
.xjob .m { font-size: 12.5px; color: var(--text-3); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xjob .acts { display: flex; align-items: center; gap: 4px; flex: none; }
.xjob.error .m, .xjob.cancelled .m { color: var(--danger); }
.xjob.done .ico .ic { color: var(--ok); }

/* identify */
.xid .mic svg.rg { position: absolute; inset: -12px; width: calc(100% + 24px); height: calc(100% + 24px); transform: rotate(-90deg); pointer-events: none; animation: none; opacity: 1; box-shadow: none; border-radius: 0; }
.xid .mic svg.rg circle { fill: none; stroke-width: 3; }
.xid .mic svg.rg .bg { stroke: transparent; }
.xid .mic svg.rg .fg { stroke: var(--text); stroke-linecap: round; opacity: 0; transition: opacity .2s; }
.xid.listening .mic svg.rg .bg { stroke: var(--line-2); }
.xid.listening .mic svg.rg .fg { opacity: 1; }
.xid .mic .lv { inset: 0; transition: transform .09s linear; opacity: 0; }
.xid.listening .mic .lv { opacity: 1; }
.xid.idle .mic::before { content: ""; position: absolute; inset: 0; border-radius: 999px; box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--accent) 60%, transparent); animation: ripple 2.6s var(--ease) infinite; }
.xid.working .mic { animation: breathe 1.4s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(.96); filter: brightness(.9); } }
.xid .cap { display: flex; flex-direction: column; gap: 4px; align-items: center; }
.xid .cap b { font: 600 26px/1.1 var(--serif); letter-spacing: -.02em; }
.xid .cap span { color: var(--text-2); font-size: 14.5px; max-width: 32ch; font-variant-numeric: tabular-nums; }
.xmatch { display: block; padding: 16px; }
.xmatch .hd { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; align-items: center; }
.xmatch .k { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.xmatch .tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.xmatch .xcount { background: rgba(255,255,255,.03); }
.xmatch .xlist .xr::after { left: 60px; }
@media (max-width: 380px) { .xmatch .hd { grid-template-columns: 92px minmax(0, 1fr); } }
/* identify v2: level meter, backend + confidence, per-backend detail */
.xidmeter { display: flex; gap: 3px; align-items: flex-end; height: 22px; margin: 0 0 12px; opacity: 0; transition: opacity .2s; }
.xidmeter.on { opacity: 1; }
.xidmeter i { width: 5px; border-radius: 2px; background: var(--line-2); height: calc(6px + (var(--i) * 1px)); transition: background .08s; }
.xidmeter i:nth-child(n+5) { height: calc(4px + var(--i) * 1.1px); }
.xidmeter i.lit { background: var(--accent); }
.xidmeter i.lit:nth-child(n+14) { background: #f5b14c; }
.xidhow { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 12.5px; color: var(--text-2); font-variant-numeric: tabular-nums; }
.xidhow .xbk { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--text); font-weight: 600; }
.xidhow .xbk.ag { background: color-mix(in srgb, var(--ok, #4caf7a) 16%, transparent); }
.xidhow .xbk .ic { width: 14px; height: 14px; }
.xidhow .conf { flex: 1 1 30px; min-width: 24px; height: 5px; border-radius: 3px; background: var(--line-2); overflow: hidden; }
.xidhow .conf i { display: block; height: 100%; background: var(--accent); border-radius: 3px; }
.xidhow .tm { color: var(--text-3); white-space: nowrap; }
.xidhow .xbk { white-space: nowrap; }
.xmatch.guess .k { color: #f5b14c; }
.xmatch.guess .xidhow .conf i { background: #f5b14c; }
.xheard { margin: 10px 0 0; font-size: 13px; color: var(--text-3); font-style: italic; text-align: left; }
.xidbk { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 10px; text-align: left; }
.xidbk summary { display: flex; align-items: center; gap: 8px; min-height: 36px; cursor: pointer; color: var(--text-2); font-size: 13px; list-style: none; font-variant-numeric: tabular-nums; }
.xidbk summary::-webkit-details-marker { display: none; }
.xidbk summary::after { content: "›"; margin-left: auto; transition: transform .2s; font-size: 18px; color: var(--text-3); }
.xidbk[open] summary::after { transform: rotate(90deg); }
.xidbl { display: grid; gap: 6px; padding: 4px 0 2px; }
.xidbl .b { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 8px; align-items: baseline; font-size: 13px; padding: 7px 10px; border-radius: 10px; background: rgba(255,255,255,.03); }
.xidbl .b b { font-weight: 600; }
.xidbl .b .r { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-2); }
.xidbl .b .ms { color: var(--text-3); font-variant-numeric: tabular-nums; font-size: 12px; }
.xidbl .b.ok b { color: var(--accent); } .xidbl .b.err .r { color: var(--danger); } .xidbl .b.skip .r, .xidbl .b.none .r { color: var(--text-3); }
.xidbl .off { font-size: 12px; color: var(--text-3); padding: 2px 2px 0; }
.xidbl .off span { text-decoration: underline dotted; text-underline-offset: 3px; }
.xiderr .btn { margin-top: 14px; }
#xidres > .xidbk { margin: 0 16px; }

/* export + edit */
.xfmt i { font-style: normal; font-size: 11px; color: var(--text-2); margin-top: auto; padding-top: 4px; font-variant-numeric: tabular-nums; }
.xsum > .ic { width: 18px; height: 18px; color: var(--accent); flex: none; }
.xfl { display: grid; gap: 6px; font-size: 12px; color: var(--text-3); letter-spacing: .03em; }
.xfl > span { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.xreset { font-size: 12px; color: var(--accent); letter-spacing: 0; max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
select.xinl, .xrule select { height: 40px; border: 0; border-radius: 10px; background: var(--bg-2); color: var(--text); padding: 0 10px; font: inherit; font-size: 16px; box-shadow: inset 0 0 0 1px var(--line); }
.xlbl select.xinl { height: 30px; font-size: 16px; text-transform: none; letter-spacing: 0; margin: 0 4px; }
.xrule { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 8px 0; }
.xrule select, .xrule .field { flex: 1 1 28%; min-width: 0; width: auto; height: 40px; }
.xrule .ibtn { width: 36px; height: 36px; flex: none; }

/* listening */
.xstats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.xstats .stat { display: flex; flex-direction: column; gap: 2px; padding: 14px; border-radius: var(--r); background: var(--bg-1); box-shadow: inset 0 0 0 1px var(--line); }
.xstats .stat b { font: 600 28px/1 var(--serif); letter-spacing: -.02em; }
.xstats .stat span { font-size: 12.5px; color: var(--text-3); }
.xbarr { grid-template-columns: minmax(64px, 34%) minmax(0, 1fr) auto; }
.xbarr .b { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.xbarr .b i { display: block; height: 100%; background: var(--accent); border-radius: 3px; }
.xdays { display: flex; align-items: flex-end; height: 72px; gap: 3px; }
.xdays i { flex: 1; aspect-ratio: auto; min-height: 3px; border-radius: 3px 3px 1px 1px; background: color-mix(in srgb, var(--accent) 75%, transparent); }

/* duplicates */
.xdup .hd b { color: var(--text); font-size: 14.5px; font-weight: 600; }
.xdup .row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); cursor: pointer; }
.xdup .row input { accent-color: var(--accent); width: 18px; height: 18px; flex: none; margin: 0; }
.xdup .row img { width: 40px; height: 40px; border-radius: 6px; object-fit: cover; flex: none; }
.xdup .row .tx { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.xdup .row .t { font-size: 14px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xdup .row .m { font-size: 12px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.xdup .bt { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.xsm .bgs.one { grid-template-columns: 1fr; }

@media (min-width: 900px) {
  .xstats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .xid .mic { width: 220px; height: 220px; }
}

/* brand */
.side .brand .logo { width: 30px; height: 30px; border-radius: 8px; flex: none; box-shadow: 0 4px 14px rgba(0,0,0,.4), inset 0 0 0 1px rgba(255,255,255,.06); }
.login .mark { width: 64px; height: 64px; }
.login .mark img { width: 64px; height: 64px; border-radius: 16px; display: block; box-shadow: 0 16px 40px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.06); }

/* v3 fixes */
.xtag { white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.xmatch .tags .xtag { flex: 0 1 auto; min-width: 0; }
.xr .m .xtag + .xtag { margin-left: -1px; }
.xgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 18px 12px; margin-top: 6px; }
.xgrid .it { display: block; min-width: 0; text-decoration: none; color: inherit; cursor: pointer; }
.xgrid .it img { width: 100%; aspect-ratio: 1; height: auto; object-fit: cover; border-radius: 10px; background: var(--bg-2); display: block; }
.xgrid .it .t { font-size: 13.5px; font-weight: 600; margin-top: 8px; }
.xgrid .it .a { font-size: 12.5px; color: var(--text-3); }
@media (min-width: 900px) { .xgrid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 22px 18px; } }
a.chip { text-decoration: none; color: inherit; display: inline-flex; align-items: center; }
.xempty .btn .ic { width: 16px; height: 16px; margin: 0; opacity: 1; color: currentColor; display: inline-block; }

/* preview player v2: mini bar (tap to expand, scrubbable line) + expanded player reusing the .np look */
.xprev .xpvopen { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; text-align: left; color: inherit; background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
.xprev .k .tm { color: var(--text-3); letter-spacing: .02em; text-transform: none; font-weight: 600; font-variant-numeric: tabular-nums; }
.xprev .pbw { position: absolute; left: 10px; right: 10px; bottom: -9px; height: 20px; touch-action: none; cursor: pointer; }
.xprev .pbw::before { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 3px; border-radius: 2px; background: rgba(255,255,255,.12); }
.xprev .pbw .pbuf, .xprev .pbw .pb { position: absolute; left: 0; top: 8px; height: 3px; border-radius: 2px; width: 0; bottom: auto; }
.xprev .pbw .pbuf { background: rgba(255,255,255,.16); }
.xprev .pbw .pb { background: var(--accent); }
.xprev .pbw:active .pb, .xprev .pbw.active .pb { height: 5px; top: 7px; }
.xpvnp { z-index: 62; }
.xpvnp .np-ctl { justify-content: center; gap: 22px; }
.xpvnp .np-ctl .sp { flex: 0; }
.xpvnp .np-ctl .skip .ic { width: 34px; height: 34px; }
.xpvnp .np-ctl .big .xspin.big { width: 30px; height: 30px; border-color: rgba(0,0,0,.25); border-top-color: #0b0b0c; }
.xpvnp .np-title .xfx { flex: none; }
.xpvnp .times .xpvst { color: var(--accent); font-weight: 600; }
.xpvnp .scrub .kn { transform: scale(1); }
.xpvvol { display: flex; align-items: center; gap: 10px; margin-top: 18px; color: var(--text-2); flex: none; }
.xpvvol input { flex: 1; accent-color: var(--text); height: 28px; }
.xpvact { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 20px; flex: none; }
.xpvact .btn { min-height: 40px; }
html.xpv-open .xprev { opacity: 0; pointer-events: none; }

/* deploy notice (update.js) */
.upd-pill{position:fixed;left:50%;top:calc(env(safe-area-inset-top,0px) + 10px);transform:translate(-50%,-140%);z-index:9999;display:flex;gap:8px;align-items:center;padding:9px 16px;border-radius:999px;border:1px solid rgba(255,255,255,.12);background:rgba(28,28,32,.92);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);color:#fff;font:600 14px/1.2 inherit;box-shadow:0 8px 30px rgba(0,0,0,.45);transition:transform .35s cubic-bezier(.2,.9,.3,1.2)}
.upd-pill.on{transform:translate(-50%,0)}
.upd-pill span{font-weight:500;opacity:.7}

/* preview player v3: Lyrics / About / Up next panes in the artwork slot (same lyric styles as the library player) */
.xpvnp .np-art { width: min(100%, calc(100dvh - 520px - var(--safe-t) - var(--safe-b))); min-width: 150px; }
.xpvnp .np-title { margin-top: 18px; }
.xpvnp .np-title .a { font-size: 15px; }
.xpvtags { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.xpv-pane { position: relative; flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; margin: 4px -4px 0; padding: 0 4px;
  -webkit-mask-image: linear-gradient(transparent, #000 22px, #000 calc(100% - 34px), transparent); mask-image: linear-gradient(transparent, #000 22px, #000 calc(100% - 34px), transparent); }
.xpv-pane .lyr { padding: 18% 0 42%; }
.xpv-pane .lyr .ln { font-size: 24px; }
.xpv-pane .lyr.plain .ln { font-size: 18px; }
.xpv-pane .empty { padding: 40px 8px; text-align: center; color: var(--text-2); }
.xpv-pane .empty h3 { margin: 10px 0 6px; color: var(--text); }
.xpv-lbar { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 10px 0 6px; }
.xpv-lbar .grow { flex: 1; }
.xpv-lbar .chip { min-height: 32px; padding: 0 12px; }
.xpv-pane .lyr-now { position: sticky; bottom: 12px; display: none; margin: -40px auto 0; width: max-content; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 99px; font-size: 13px; font-weight: 600; background: var(--text); color: #0b0b0c; z-index: 3; }
.xpv-pane.off-now .lyr-now { display: flex; }
.xpv-pane .about { padding: 12px 2px 30px; font-size: 15px; line-height: 1.5; color: var(--text-2); }
.xpv-pane .about h4 { color: var(--text); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin: 18px 0 8px; }
.xpv-pane .about h4:first-child { margin-top: 4px; }
.xpv-pane .about h5 { color: var(--text); font-size: 15px; margin: 14px 0 4px; }
.xpv-pane .about p { margin: 0 0 10px; }
.xpv-pane .src-links { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 14px; font-size: 13px; }
.xpv-pane .src-links a { color: var(--text-2); display: inline-flex; align-items: center; gap: 4px; }
.xpv-pane .xlist { margin-top: 10px; }
.xpvtabs { display: flex; gap: 6px; justify-content: center; margin-top: 14px; flex: none; }
.xpvtabs button { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 99px; font-size: 14px; font-weight: 600; color: var(--text-2); background: rgba(255,255,255,.06); }
.xpvtabs button.on { color: #0b0b0c; background: var(--text); }
.xpvtabs button .ic { width: 16px; height: 16px; }
.xpvnp .xpvact { margin-top: 12px; }
.xnote.xcorr { margin: 2px 0 10px; }
@media (max-height: 700px) { .xpvtabs button span { display: none; } .xpvtabs button { padding: 0 16px; } }
