/* Private Music: mobile-first emerald/charcoal refresh.
   Restrained green accent, legible text, consistent SVG controls. */
body.pm-unified-ready{
 --pm-base:#0b1110;--pm-surface:#121b17;--pm-surface-high:#1b2921;
 --pm-border:#30483b;--pm-accent:#75dca7;--pm-text:#f2f7f3;--pm-muted:#a8bcb0;
 --mint:#75dca7;--paper:#f2f7f3;--muted:#a8bcb0;--bg:#0b1110;
 color-scheme:dark;
 color:var(--pm-text);
 background:radial-gradient(ellipse at 84% 0,rgba(55,139,96,.17),transparent 39%),#0b1110!important;
}
body.pm-unified-ready .topbar{border-color:#254033}
body.pm-unified-ready .brand-mark{color:#eafff0}
body.pm-unified-ready .brand-sub,body.pm-unified-ready .brand-sub .sep{color:#b4d5c1}
body.pm-unified-ready .langs{border-color:#385b47;background:#14231b}
body.pm-unified-ready .langs button.active{background:#75dca7;color:#0a1710}
body.pm-unified-ready .pm-unified-intro h1 em,
body.pm-unified-ready .pm-u-heading small,body.pm-unified-ready .pm-u-count strong,
body.pm-unified-ready .pm-see-all,body.pm-unified-ready .pm-genre-header,
body.pm-unified-ready .pm-account-count small,body.pm-unified-ready .pm-feature-info small{
 color:var(--pm-accent)!important;
}
body.pm-unified-ready .pm-unified-intro p{color:#b6cbbd}
body.pm-unified-ready .pm-unified-feature{
 background:radial-gradient(circle at 67% 29%,rgba(67,166,107,.17),transparent 54%),linear-gradient(135deg,#16231b,#0c1410);
 border:1px solid #335241;box-shadow:0 16px 42px #0006;
}
body.pm-unified-ready .pm-feature-art strong{color:#8ce4b5}
body.pm-unified-ready .pm-feature-art small,body.pm-unified-ready .pm-feature-info>div>span{color:#b9cfbf}
body.pm-unified-ready .pm-disc-halo{border-color:#315542}
body.pm-unified-ready .pm-feature-info{background:#101b15cc}
body.pm-unified-ready .pm-u-btn.primary,body.pm-unified-ready .pm-circle{
 background:#75dca7!important;border-color:#75dca7!important;color:#091b11!important;
}
body.pm-unified-ready .pm-u-btn.secondary,body.pm-unified-ready .pm-load-more{
 background:#18271e;color:#e8f6ed;border-color:#3b5b46;
}
body.pm-unified-ready .pm-account-count{
 background:linear-gradient(160deg,#17261c,#101b16);border-color:#355140;
}
body.pm-unified-ready .pm-song-list{background:#101913;border:1px solid #294336;border-radius:14px}
body.pm-unified-ready .pm-u-song{border-color:#253a2f}
body.pm-unified-ready .pm-u-song:hover,body.pm-unified-ready .pm-u-song:focus-within{background:#1b2c21}
body.pm-unified-ready .pm-u-copy strong{color:#f6fff8}
body.pm-unified-ready .pm-u-copy small{color:#acc4b4;font-size:11px}
body.pm-unified-ready .pm-u-art{
 background:linear-gradient(155deg,#234c34,#14261c);border:1px solid #3f7653;color:#b4f3ce;
}
body.pm-unified-ready .pm-u-art svg{width:20px;height:20px;stroke-width:1.7}
body.pm-unified-ready .pm-u-arrow{color:#7bdcad;display:flex}
body.pm-unified-ready .pm-u-arrow svg{width:17px;height:17px}
body.pm-unified-ready .pm-u-actions summary{color:#c0d5c7;width:42px;height:44px;border-radius:11px}
body.pm-unified-ready .pm-u-actions summary:hover,body.pm-unified-ready .pm-u-actions[open] summary{background:#254632;color:#8aefb2}
body.pm-unified-ready .pm-u-actions summary svg{height:19px;width:19px}
body.pm-unified-ready .pm-u-song-menu{
 background:#192a20;border-color:#416b4d;box-shadow:0 18px 44px #000b;padding:7px;
}
body.pm-unified-ready .pm-u-song-menu button{
 display:flex;align-items:center;gap:12px;min-height:45px;border-radius:8px;color:#f0f7f1;font-size:13px;
}
body.pm-unified-ready .pm-u-song-menu button svg{width:18px;height:18px;color:#8fddb2;flex:none}
body.pm-unified-ready .pm-u-song-menu button:hover{background:#2b4c35}
body.pm-unified-ready .pm-genre-chip{
 background:#17251c;border:1px solid #395444;color:#d5e8d9;min-height:43px;
}
body.pm-unified-ready .pm-genre-chip[aria-pressed=true]{
 background:#75dca7;border-color:#75dca7;color:#0b2517;
}
body.pm-unified-ready .pm-search{background:#15221a;border-color:#375743;color:#92e8b7}
body.pm-unified-ready .pm-search input{color:#f1fff4}
body.pm-unified-ready .pm-search input::placeholder{color:#a3bbae}
body.pm-unified-ready .pm-home-search{max-width:990px;margin:9px 0 16px}
body.pm-unified-ready .pm-library-bar{align-items:stretch;flex-wrap:wrap}
body.pm-unified-ready .pm-sort-wrap{display:flex;min-width:148px;flex:0 0 148px}
body.pm-unified-ready .pm-sort-wrap select{
 appearance:none;-webkit-appearance:none;width:100%;min-height:49px;background:#15221a;
 border:1px solid #375743;border-radius:10px;color:#e5f4e8;font:inherit;font-size:12px;
 font-weight:700;padding:0 26px 0 12px;
 background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238de4b5' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
 background-repeat:no-repeat;background-position:right 9px center;
}
body.pm-unified-ready .pm-u-nav{background:#101c16ed!important;border-color:#32523d!important}
body.pm-unified-ready .pm-u-nav button{color:#aac1b1}
body.pm-unified-ready .pm-u-nav button[aria-current=page]{
 background:#20372a;color:#80eab1!important;
}
body.pm-unified-ready .pm-u-nav button svg{stroke-width:1.8}
body.pm-unified-ready .player{
 background:linear-gradient(120deg,#1c2a21,#0e1712)!important;
 border-color:#395a42!important;
}
body.pm-unified-ready .player .cover{background:#68c998;color:#0b1912}
body.pm-unified-ready .player .play-btn{background:#75dca7!important;color:#091e13!important}
body.pm-unified-ready .player .icon-btn[aria-pressed=true]{color:#75dca7}
body.pm-unified-ready .pm-lyrics-toggle{color:#8ceab5}
body.pm-unified-ready .pm-lyrics-shell{background:radial-gradient(ellipse at 80% 0,rgba(56,161,102,.18),transparent 50%),#111b15}
body.pm-unified-ready .pm-lyrics-title small,body.pm-unified-ready .pm-lyrics-line.is-current{color:#86e6b1}
body.pm-unified-ready .pm-lyrics-edit-toggle,body.pm-unified-ready .pm-lyrics-save{background:#75dca7;color:#0c1c13!important;border-color:#75dca7!important}
body.pm-unified-ready .pm-lyrics-editor{background:#16271c}
body.pm-unified-ready .pm-lyrics-editor label{color:#9ce9bd}
body.pm-unified-ready .pm-lyrics-editor input{border-color:#477055;background:#0e1b14}
body.pm-unified-ready .pm-op-monitor{background:#15251b;border-color:#36513e}
body.pm-unified-ready .pm-op-counts>span{background:#203326;border-color:#3b5b46}
body.pm-unified-ready .pm-op-actions button,body.pm-unified-ready .pm-op-retry-genres{background:#23402d;color:#e2f6e9;border-color:#4c7555}
body.pm-unified-ready button:focus-visible,body.pm-unified-ready input:focus-visible,
body.pm-unified-ready select:focus-visible{outline:2px solid #a6ffd1;outline-offset:3px}
body.pm-player-open .player{background:radial-gradient(circle at 50% 23%,#244833 0%,#12241a 47%,#09130d 90%)!important}
body.pm-player-open .player .cover{background:radial-gradient(circle at 38% 30%,#377650,#152b1d 65%,#08140c);color:#adf7cb;box-shadow:0 0 0 1px #6ed5a055,0 20px 50px #0008}
.pm-meta-overlay{
 position:fixed;inset:0;z-index:400;background:#050b08d9;display:grid;place-items:center;
 padding:calc(14px + env(safe-area-inset-top)) 14px calc(14px + env(safe-area-inset-bottom));
 backdrop-filter:blur(8px);
}
.pm-meta-panel{
 width:min(100%,480px);max-height:100%;overflow-y:auto;background:#17241b;
 border:1px solid #477356;border-radius:19px;box-shadow:0 25px 75px #000c;
 padding:24px;display:grid;gap:14px;color:#f2fff5;
}
.pm-meta-panel h3{font-size:25px;letter-spacing:-.04em;margin:0}
.pm-meta-help,.pm-meta-current{color:#b7d0bd;font-size:12px;line-height:1.55;margin:0}
.pm-meta-panel label{display:grid;gap:7px;font-size:12px;font-weight:750;color:#addfc0}
.pm-meta-panel input,.pm-meta-panel select{
 width:100%;min-height:48px;background:#0f1a13;border:1px solid #446850;
 border-radius:11px;color:#f1fff5;padding:10px 13px;font:inherit;font-size:16px;
}
.pm-meta-panel select{font-size:14px}
.pm-meta-feedback{color:#ffccbf;font-size:12px;line-height:1.5;margin:0;overflow-wrap:anywhere}
.pm-meta-feedback:empty{display:none}
.pm-meta-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:7px}
.pm-meta-actions button{min-height:47px;border-radius:10px;border:1px solid #568263;background:#263c2d;color:#f1fbf3;font-weight:750;cursor:pointer}
.pm-meta-actions .pm-meta-save{background:#75dca7;color:#092017;border-color:#75dca7}
.pm-meta-actions button:disabled{opacity:.55;cursor:wait}
@media(max-width:700px){
 body.pm-unified-ready{padding-bottom:calc(191px + env(safe-area-inset-bottom));background:radial-gradient(ellipse at 84% 0,rgba(55,139,96,.17),transparent 39%),#0b1110!important}
 body.pm-unified-ready .topbar{min-height:64px;padding:0 17px}
 body.pm-unified-ready main{padding:0 16px}
 body.pm-unified-ready .pm-unified{padding-top:8px}
 body.pm-unified-ready .pm-unified-intro{padding:3px 0 13px}
 body.pm-unified-ready .pm-unified-intro h1{font-size:clamp(33px,9vw,47px);margin:10px 0 8px;line-height:1.08}
 body.pm-unified-ready .pm-unified-intro p{font-size:12px;max-width:340px;margin-bottom:0}
 body.pm-unified-ready .pm-feature-art{min-height:128px}
 body.pm-unified-ready .pm-feature-art strong{font-size:59px}
 body.pm-unified-ready .pm-feature-art small{margin-top:4px}
 body.pm-unified-ready .pm-disc-halo{width:175px;height:175px}
 body.pm-unified-ready .pm-feature-info{padding:12px 14px}
 body.pm-unified-ready .pm-feature-info strong{font-size:18px}
 body.pm-unified-ready .pm-account-count{margin:13px 0 17px;padding:13px}
 body.pm-unified-ready .pm-u-heading{margin:17px 0 11px}
 body.pm-unified-ready .pm-u-heading h2{font-size:24px}
 body.pm-unified-ready .pm-genre-rail{margin-bottom:5px;gap:7px;padding-bottom:8px}
 body.pm-unified-ready .pm-genre-chip{min-height:39px;padding:9px 11px;font-size:11px}
 body.pm-unified-ready .pm-u-song{min-height:67px;padding:0 8px;gap:6px}
 body.pm-unified-ready .pm-u-song-play{gap:10px}
 body.pm-unified-ready .pm-u-art{height:41px;width:41px;min-width:41px}
 body.pm-unified-ready .pm-u-copy strong{font-size:13px}
 body.pm-unified-ready .pm-u-copy small{font-size:10px}
 body.pm-unified-ready .pm-u-actions summary{width:39px;min-width:39px;height:42px}
 body.pm-unified-ready .pm-u-arrow{display:none}
 body.pm-unified-ready .pm-library-bar{gap:8px}
 body.pm-unified-ready .pm-library-bar .pm-search{flex:1 1 calc(100% - 60px);max-width:none;order:0}
 body.pm-unified-ready .pm-library-bar .pm-u-btn{order:1;flex:0 0 48px}
 body.pm-unified-ready .pm-sort-wrap{order:2;flex:1 1 100%}
 body.pm-unified-ready .pm-sort-wrap select{min-height:43px}
 body.pm-unified-ready .pm-u-nav{background:#0c1911f5!important;border-color:#365744!important}
 body.pm-unified-ready .pm-u-nav button[aria-current=page]{background:none;color:#7fe9b1!important}
 body.pm-unified-ready .player{background:linear-gradient(105deg,#223d2a,#101d16)!important;border-color:#477654!important}
 body.pm-player-open .player{background:radial-gradient(circle at 50% 25%,#244a32 0%,#15281c 42%,#08120d 90%)!important}
 .pm-meta-overlay{align-items:end;padding:8px}
 .pm-meta-panel{border-radius:20px 20px 14px 14px;padding:19px;max-height:calc(96dvh - env(safe-area-inset-top))}
 .pm-meta-panel h3{font-size:22px}
}
@media(prefers-reduced-motion:reduce){
 body.pm-unified-ready .pm-u-song,body.pm-unified-ready .pm-genre-chip{transition:none}
}


/* LRCLIB recovery: source-grounded "Did you mean?" suggestions. */
body.pm-unified-ready .pm-lyrics-suggestions{width:100%;max-width:720px;margin:0 auto;padding:12px 4px 30px;text-align:left}
body.pm-unified-ready .pm-lyrics-suggestion-note{font-size:12px;line-height:1.6;color:#b8d0bf;margin:0 0 16px}
body.pm-unified-ready .pm-lyrics-suggestions h3{font-size:20px;letter-spacing:-.03em;font-weight:800;color:#f0fff4;margin:16px 0 13px}
body.pm-unified-ready .pm-lyrics-suggestion-list{display:flex;flex-direction:column;gap:9px}
body.pm-unified-ready .pm-lyrics-suggestion{
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  background:#1a3022;border:1px solid #416d4e;border-radius:13px;padding:12px 13px
}
body.pm-unified-ready .pm-lyrics-suggestion-info{min-width:0;flex:1;display:flex;flex-direction:column;gap:5px}
body.pm-unified-ready .pm-lyrics-suggestion-info strong{font-size:14px;color:#eefaf1;overflow-wrap:anywhere}
body.pm-unified-ready .pm-lyrics-suggestion-info span{font-size:11px;color:#a9cab5;line-height:1.5;overflow-wrap:anywhere}
body.pm-unified-ready .pm-lyrics-suggestion>button{
  background:#75dca7;border:1px solid #75dca7;color:#0b2415;
  border-radius:9px;font-size:12px;font-weight:850;min-width:101px;min-height:40px;padding:8px 12px;cursor:pointer
}
body.pm-unified-ready .pm-lyrics-suggestion-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:20px}
body.pm-unified-ready .pm-lyrics-suggestion-actions button{
  border:1px solid #477558;background:#254733;color:#d6f8e3;padding:12px 16px;
  border-radius:10px;font-weight:760;font-size:12px;cursor:pointer
}
body.pm-unified-ready .pm-lyrics-suggestion-empty{font-size:12px;color:#a4bdaa;line-height:1.5}
body.pm-unified-ready .pm-lyrics-suggestion>button:focus-visible,
body.pm-unified-ready .pm-lyrics-suggestion-actions button:focus-visible{outline:2px solid #b0ffd3;outline-offset:3px}
@media(max-width:600px){
 body.pm-unified-ready .pm-lyrics-suggestions{padding:6px 0 20px}
 body.pm-unified-ready .pm-lyrics-suggestion{gap:8px;padding:10px}
 body.pm-unified-ready .pm-lyrics-suggestion-info strong{font-size:12px}
 body.pm-unified-ready .pm-lyrics-suggestion>button{min-width:77px;min-height:39px;padding:8px;font-size:10px}
 body.pm-unified-ready .pm-lyrics-suggestion-actions button{flex:1}
}


/* PM song artwork and the separate ten-second/track transport controls. */
body.pm-unified-ready .player .cover{overflow:hidden}
body.pm-unified-ready .player .cover img,
body.pm-unified-ready .pm-u-art img{
  display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit;
}
body.pm-unified-ready .pm-u-art{overflow:hidden;background:#f7f7f3}
body.pm-unified-ready .player .cover:has(img){background:#f7f7f3!important;color:#0b1110}
body.pm-unified-ready .player .transport{gap:8px}
body.pm-unified-ready .player .pm-seek-ten{display:inline-flex;justify-content:center;align-items:center}
body.pm-unified-ready .player .pm-seek-ten svg{width:27px;height:27px}
.pm-meta-artwork{
  display:grid;grid-template-columns:96px minmax(0,1fr);align-items:center;gap:14px;
  background:#0e1b13;border:1px solid #42694d;border-radius:13px;padding:12px;
}
.pm-meta-artwork-preview{
  width:96px;height:96px;border-radius:9px;object-fit:cover;background:#f7f7f3;
}
.pm-meta-artwork-actions{display:flex;flex-direction:column;align-items:flex-start;gap:9px;min-width:0}
.pm-meta-artwork-actions strong{font-size:12px;color:#f4fff4}
.pm-meta-artwork-actions small{font-size:11px;color:#a6b9a9;line-height:1.4}
.pm-meta-panel .pm-meta-artwork-actions .pm-meta-cover-select,
.pm-meta-panel .pm-meta-artwork-actions .pm-meta-cover-reset{
  width:auto;min-height:37px;border:1px solid #669877;border-radius:9px;
  background:#223e2b;color:#e9fff0;padding:8px 11px;font-size:12px;font-weight:700;cursor:pointer;
}
.pm-meta-panel .pm-meta-artwork-actions .pm-meta-cover-reset{background:transparent;color:#b2cab8}
@media(max-width:700px){
  body.pm-unified-ready:not(.pm-player-open) .transport #prevBtn{display:inline-flex}
  body.pm-unified-ready:not(.pm-player-open) .transport .pm-seek-ten{display:none}
  body.pm-unified-ready:not(.pm-player-open) .transport{gap:0}
  body.pm-unified-ready:not(.pm-player-open) .transport #prevBtn,
  body.pm-unified-ready:not(.pm-player-open) .transport #nextBtn{min-width:27px;padding:3px}
  body.pm-player-open .transport{gap:2px;justify-content:space-between}
  body.pm-player-open .transport .icon-btn{padding:4px;min-width:30px}
  body.pm-player-open .transport .pm-seek-ten{display:inline-flex}
  body.pm-player-open .transport .pm-seek-ten svg{width:27px;height:27px}
  body.pm-player-open .cover{overflow:hidden}
  .pm-meta-artwork{grid-template-columns:86px minmax(0,1fr);gap:11px}
  .pm-meta-artwork-preview{width:86px;height:86px}
}

/* 4IN PM: song start trim + tap-to-seek lyrics, desktop and iPhone. */
.pm-meta-timing{display:flex;flex-direction:column;gap:11px;border:1px solid #41654a;background:#101f16;border-radius:12px;padding:14px;margin-top:8px}
.pm-meta-timing strong{font-size:13px;color:#e6fff0}
.pm-meta-timing p{margin:0;font-size:11px;line-height:1.6;color:#b8cebf}
.pm-meta-timing-row{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap}
.pm-meta-timing-row label{display:flex;flex-direction:column;gap:5px;flex:1;min-width:140px;font-size:11px;color:#c7efd5}
.pm-meta-timing-row input[type=number]{width:100%;min-height:44px;border:1px solid #678974;border-radius:7px;background:#0c1710;color:#f2fff6;padding:9px;font-size:15px}
.pm-meta-timing input[type=range]{width:100%;height:20px;accent-color:#7de6a5;touch-action:pan-y}
.pm-meta-panel .pm-meta-timing button{min-height:41px;padding:8px 12px;border:1px solid #6fb38a;border-radius:8px;background:#23412d;color:#e5fff0;font-size:12px;font-weight:700;cursor:pointer}
.pm-meta-timing>button{align-self:flex-start}
.pm-lyrics-follow{border:1px solid #487b59;border-radius:9px;background:#1f3728;color:#a9eac2;padding:9px 10px;font-size:11px;font-weight:700;cursor:pointer}
.pm-lyrics-follow[aria-pressed=false]{background:#152319;color:#c6d7c9}
.pm-lyrics-body .pm-lyrics-line{display:block;width:100%;max-width:34ch;border:0;background:transparent;padding:5px 7px;font-family:inherit;text-align:center;cursor:pointer;border-radius:9px}
.pm-lyrics-body .pm-lyrics-line:focus-visible{outline:2px solid #94ffc2;outline-offset:2px}
.pm-lyrics-body .pm-lyrics-line:hover{background:rgba(112,220,156,.10)}
@media(max-width:700px){.pm-lyrics-follow{padding:8px;font-size:10px}.pm-meta-timing-row{align-items:stretch}.pm-meta-timing-row button{flex:0 0 auto}}

/* Keep Lyrics header controls usable on narrow iPhone screens. */
@media(max-width:700px){
 .pm-lyrics-head{flex-wrap:wrap;row-gap:10px}
 .pm-lyrics-head-actions{width:100%;justify-content:flex-end;flex-wrap:wrap}
 .pm-lyrics-head-actions .pm-lyrics-follow{margin-right:auto;min-height:40px}
 .pm-lyrics-head-actions .pm-lyrics-edit-toggle{min-height:40px}
}
