/* APP 3.0 (app-v3.js; Phil 11-23). Only loaded with pg_app_v3_on(); every rule is under body.pg-app-v3 too. */

/* 2. The Songs search box: no pick (it only went back to the Guide list; the Songs tab does that). */
body.pg-app-v3 #pg-app-pick { display: none !important; }
body.pg-app-v3 .pg-app__search-pill-input { padding-left: 16px; }

/* 1. The song screen is the song: the band strip stays off the chart. */
body.pg-app-v3 #pg-app-band { display: none !important; }

/* 1. The site's pick in the song screen's bar, and its menu = the site's switch. */
body.pg-app-v3 #pg-app-practice-btn.pgv3-pickbtn { width: 40px; min-width: 40px; height: 40px; padding: 0; display: grid; place-items: center;
    background: transparent !important; border: 0 !important; box-shadow: none !important; }
body.pg-app-v3 #pg-app-practice-btn .pgv3-pick--btn { width: auto; height: 30px; display: block; }
body.pg-app-v3 #pg-app-practice-btn .pg-app__practice-caret { display: none; }
body.pg-app-v3 .pgv3-menu { min-width: 236px; padding: 6px; display: grid; gap: 2px; }
body.pg-app-v3 .pgv3-menu .pgv3-mi { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 0 12px; border: 0; border-radius: 10px;
    background: none; color: inherit; font: inherit; font-size: 15.5px; font-weight: 600; text-align: left; cursor: pointer; }
body.pg-app-v3 .pgv3-menu .pgv3-mi.is-on { background: rgba(30, 79, 117, .08); }
body.pg-app-v3 .pgv3-menu .pgv3-mi svg { flex: none; }
body.pg-app-v3 .pgv3-pl { display: grid; gap: 6px; padding: 8px 12px 10px; border-radius: 10px; }
body.pg-app-v3 .pgv3-pl__t { display: flex; align-items: center; gap: 10px; font-size: 15.5px; font-weight: 600; }
body.pg-app-v3 .pgv3-pick { width: 18px; height: auto; display: block; flex: none; }
body.pg-app-v3 .pgv3-pl__seg { display: flex; gap: 6px; padding-left: 28px; }
body.pg-app-v3 .pgv3-pl__seg button { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border: 1px solid rgba(30, 79, 117, .18);
    border-radius: 999px; background: #fff; color: inherit; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
body.pg-app-v3 .pgv3-pl__seg button[hidden] { display: none; }
body.pg-app-v3 .pgv3-pl__seg svg { width: 16px; height: 16px; }

/* 3. The player's top row: Song, The Player, Chord Engine, and Band / Karaoke under The Player. The player's own
   mode icons hide; they still do the switching (app-v3.js clicks them). */
body.pg-app-v3 #pg-practice-shell .pgtb__mode[data-pgtb-mode="play"],
body.pg-app-v3 #pg-practice-shell .pgtb__mode[data-pgtb-mode="sing"],
body.pg-app-v3 #pg-practice-shell .pgtb__mode[data-pgtb-mode="backing"],
body.pg-app-v3 #pg-practice-shell .pgtb__mode[data-pgtb-mode="solo"] { display: none !important; }
body.pg-app-v3 #pg-practice-shell .pgv3-row { display: flex; align-items: stretch; justify-content: center; gap: 2px; flex: 1 1 auto; min-width: 0; }
/* Song closes the player onto the song's screen, so the player's own close goes. */
body.pg-app-v3 #pg-practice-shell .pg-practice__close { display: none !important; }
body.pg-app-v3 #pg-practice-shell .pgv3-tab { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 58px;
    padding: 4px 6px; border: 0; border-radius: 10px; background: none; color: #4a5763; font: inherit; font-size: 11.5px; font-weight: 600; line-height: 1.1; cursor: pointer; }
body.pg-app-v3 #pg-practice-shell .pgv3-tab .pgv3-pick { width: 16px; }
body.pg-app-v3 #pg-practice-shell .pgv3-tab.is-on { background: #eef4f9; color: #1E4F75; }
body.pg-app-v3 .pgv3-sub { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(8px + max(6px, env(safe-area-inset-bottom, 0px))); z-index: 2147482001;
    display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .96); box-shadow: 0 6px 22px rgba(18, 32, 46, .18); }
body.pg-app-v3 .pgv3-sub[hidden] { display: none; }
body.pg-app-v3 .pgv3-sub button { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 14px; border: 1px solid #dfe5eb;
    border-radius: 999px; background: #fff; color: #3b4650; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; }
body.pg-app-v3 .pgv3-sub button.is-on { background: #eef4f9; border-color: #bcd0e2; color: #1E4F75; }
body.pg-app-v3 .pgv3-sub button[hidden] { display: none; }
body.pg-app-v3 .pgv3-sub svg { width: 15px; height: 15px; }

/* The switch at the bottom (Phil 11-23): the header's pick and the player's top row give way to it. */
body.pg-app-v3 #pg-app-practice-btn, body.pg-app-v3 #pg-app-practice-menu { display: none !important; }
body.pg-app-v3 #pg-practice-shell .pgv3-row { display: none !important; }
body.pg-app-v3 .pgv3-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 2147482000; display: flex; align-items: stretch; justify-content: space-around;
    padding: 4px 6px max(6px, env(safe-area-inset-bottom, 0px)); background: #fff; border-top: 1px solid #e3e7eb; box-shadow: 0 -2px 10px rgba(16, 24, 40, .06); }
body.pg-app-v3 .pgv3-bar[hidden] { display: none; }
body.pg-app-v3 .pgv3-bar__t { flex: 1 1 0; min-width: 0; height: 52px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    padding: 4px 2px; border: 0; border-radius: 10px; background: none; color: #6b7280; font: inherit; font-size: 11.5px; font-weight: 600; white-space: nowrap; cursor: pointer; }
body.pg-app-v3 .pgv3-bar__t.is-on { color: #1E4F75; background: #eef4f9; }
body.pg-app-v3 .pgv3-bar__t svg { width: 20px; height: 20px; }
body.pg-app-v3 .pgv3-bar__t .pgv3-pick { width: 17px; }
body.pg-app-v3 .pgv3-bar__t[data-v3-bar="backing"] svg { color: #e08a2b; }
body.pg-app-v3 .pgv3-bar__t[data-v3-bar="song"] svg { color: #1E4F75; }
/* Room for it: the song's screen and the player end above it; Band / Karaoke float just over it. */
body.pg-app-v3.pgv3-bar-on .pg-app__song { bottom: calc(56px + max(6px, env(safe-area-inset-bottom, 0px))); }
body.pg-app-v3.pgv3-bar-on #pg-practice-shell#pg-practice-shell { bottom: calc(56px + max(6px, env(safe-area-inset-bottom, 0px))) !important; }
body.pg-app-v3 .pgv3-sub { bottom: calc(66px + max(6px, env(safe-area-inset-bottom, 0px))); }
html.pg-night body.pg-app-v3 .pgv3-bar, body.pg-app-v3.pg-night .pgv3-bar { background: #1d2731; border-top-color: rgba(255, 255, 255, .1); }
html.pg-night body.pg-app-v3 .pgv3-bar__t.is-on, body.pg-app-v3.pg-night .pgv3-bar__t.is-on { background: rgba(156, 195, 228, .14); color: #9cc3e4; }

/* Settings: green main buttons (the site's since Phil's 11-03 call), not navy. */
body.pg-app-v3 .pg-app__action-btn:not(.pg-app__action-btn--secondary),
body.pg-app-v3 .pg-app__share-btn--primary { background: #53A96B; color: #fff; }

/* The Practice tab's swapped icons: the pick and | C / | at the size of the icons they replace. */
body.pg-app-v3 .pg-app__pr-modebtn .pgv3-pick--ic { width: 22px; height: auto; margin: 0 auto; }
body.pg-app-v3 .pg-app__pr-resume-go .pgv3-pick--ic { width: 24px; height: auto; }
body.pg-app-v3 .pg-app__mchip .pgv3-pick--ic { width: 13px; height: auto; display: inline-block; vertical-align: -2px; }
body.pg-app-v3 .pg-app__mchip .pgv3-lab { width: 14px; height: 14px; }

/* Header (Phil 11-23): with the pick gone from the song's header, its right-hand buttons (Tools, Settings, Full
   screen) stay pinned to the right edge together; and the Songs search box leaves some room before Tools. */
body.pg-app-v3 #pg-app-song-tools > .pg-app__tools:not(.pg-app__setmenu) { margin-left: auto; }
body.pg-app-v3 .pg-app__bar--search .pg-app__search-pill { margin-right: 12px; }

/* Band | Karaoke in the bottom bar, right beside The Player (Phil 11-23, as on the computer). */
body.pg-app-v3 .pgv3-bar .pgv3-sub { position: static; transform: none; left: auto; bottom: auto; z-index: auto; box-shadow: none;
    flex: none; display: flex; align-items: center; gap: 2px; align-self: center; margin: 0 2px 0 -4px; padding: 3px; border-radius: 12px; background: #f1f4f7; }
body.pg-app-v3 .pgv3-bar .pgv3-sub button { min-height: 0; height: 44px; min-width: 50px; padding: 2px 6px; display: flex; flex-direction: column; align-items: center;
    justify-content: center; gap: 2px; border: 0; border-radius: 9px; background: none; color: #6b7280; font: inherit; font-size: 10.5px; font-weight: 600; }
body.pg-app-v3 .pgv3-bar .pgv3-sub button.is-on { background: #fff; color: #1E4F75; box-shadow: 0 1px 3px rgba(16, 24, 40, .12); border: 0; }
body.pg-app-v3 .pgv3-bar .pgv3-sub button[hidden] { display: none; }
body.pg-app-v3 .pgv3-bar .pgv3-sub svg { width: 16px; height: 16px; }
html.pg-night body.pg-app-v3 .pgv3-bar .pgv3-sub, body.pg-app-v3.pg-night .pgv3-bar .pgv3-sub { background: rgba(255, 255, 255, .06); }
html.pg-night body.pg-app-v3 .pgv3-bar .pgv3-sub button.is-on, body.pg-app-v3.pg-night .pgv3-bar .pgv3-sub button.is-on { background: rgba(156, 195, 228, .16); color: #9cc3e4; }
/* ...as two icons (Phil 11-23). */
body.pg-app-v3 .pgv3-bar .pgv3-sub button { height: 38px; min-width: 40px; padding: 0 8px; }
body.pg-app-v3 .pgv3-bar .pgv3-sub svg { width: 19px; height: 19px; }
body.pg-app-v3 .pgv3-bar .pgv3-sub button[data-v3-sub="play"].is-on { color: #3a7fc0; }
body.pg-app-v3 .pgv3-bar .pgv3-sub button[data-v3-sub="sing"].is-on { color: #3f8f5a; }
/* One control: The Player + its two icons in one box (Phil 11-23). No grey pill; the icons keep their colors; the box
   lights as a whole in The Player, and the icon in use gets a white inner highlight. Nothing is lit on the song's screen. */
body.pg-app-v3 .pgv3-pgroup { flex: 1.9 1 0; min-width: 0; display: flex; align-items: center; gap: 0; padding: 0 4px 0 0; border-radius: 10px; }
body.pg-app-v3 .pgv3-pgroup.is-on { background: #eef4f9; }
body.pg-app-v3 .pgv3-pgroup .pgv3-bar__t { flex: 1 1 auto; background: none !important; }
body.pg-app-v3 .pgv3-pgroup.is-on .pgv3-bar__t { color: #1E4F75; }
body.pg-app-v3 .pgv3-bar .pgv3-pgroup .pgv3-sub { background: none; margin: 0; padding: 0; gap: 2px; border-radius: 0; }
body.pg-app-v3 .pgv3-bar .pgv3-pgroup .pgv3-sub button { background: none; box-shadow: none; height: 36px; min-width: 36px; padding: 0 6px; }
body.pg-app-v3 .pgv3-bar .pgv3-pgroup .pgv3-sub button[data-v3-sub="play"] { color: #3a7fc0; }
body.pg-app-v3 .pgv3-bar .pgv3-pgroup .pgv3-sub button[data-v3-sub="sing"] { color: #3f8f5a; }
body.pg-app-v3 .pgv3-bar .pgv3-pgroup.is-on .pgv3-sub button.is-on { background: #fff; box-shadow: 0 1px 3px rgba(16, 24, 40, .14); }
html.pg-night body.pg-app-v3 .pgv3-pgroup.is-on, body.pg-app-v3.pg-night .pgv3-pgroup.is-on { background: rgba(156, 195, 228, .14); }
html.pg-night body.pg-app-v3 .pgv3-bar .pgv3-pgroup.is-on .pgv3-sub button.is-on, body.pg-app-v3.pg-night .pgv3-bar .pgv3-pgroup.is-on .pgv3-sub button.is-on { background: rgba(255, 255, 255, .12); }

/* The player's top bar = the song's (Phil 11-23): Back, the playlists button ... Tools, Settings. */
body.pg-app-v3 #pg-practice-shell :is(.pgtb__tuner-btn, .pgtb__explorer-btn, .pgtb__night-btn) { display: none !important; }
body.pg-app-v3 #pg-practice-shell .pgv3-back { margin: 0 2px 0 0; width: 40px; height: 40px; color: #111827; }
body.pg-app-v3.pg-app--dark #pg-practice-shell .pgv3-back { color: #e9e6e0; }
body.pg-app-v3 #pg-practice-shell .pgv3-right { display: inline-flex; align-items: center; gap: 12px; margin-left: auto; flex: none; }
body.pg-app-v3 #pg-practice-shell .pgv3-right .pg-app__tools-trigger { width: 38px; height: 38px; margin: 0; padding: 0; display: grid; place-items: center;
    border: 1px solid #e5e7eb; border-radius: 10px; background: #fff; color: #374151; }
body.pg-app-v3 #pg-practice-shell .pgv3-right .pg-app__tools-trigger svg { width: 20px; height: 20px; }
body.pg-app-v3.pg-app--dark #pg-practice-shell .pgv3-right .pg-app__tools-trigger { background: #232930; border-color: #3a424b; color: #c6ccd3; }
body.pg-app-v3 #pg-practice-shell .pgv3-back { order: -3; }   /* before the playlists button (order -2) */
/* Phil 11-23: no Exercises in the player's top bar for now; Band / Karaoke right up against The Player. */
body.pg-app-v3 #pg-practice-shell .pgtb__modepicker { display: none !important; }
body.pg-app-v3 .pgv3-pgroup { justify-content: center; gap: 2px; padding: 0 4px; }
body.pg-app-v3 .pgv3-pgroup .pgv3-bar__t { flex: none; padding: 4px 6px; }

/* PLAYLISTS = A DRAWER ON EVERY SCREEN (Phil 11-23). The tab leaves the bottom row; the Playlists screen slides in from
   the left over whatever screen you're on, below the app's sheets (9000) so adding and sharing still show over it. */
body.pg-app-v3 .pg-app__tabs [data-tab="playlists"] { display: none !important; }
body.pg-app-v3 .pgv3-plbtn { flex: none; margin: -8px 2px -8px -4px; width: 40px; height: 40px; color: #111827; }
body.pg-app-v3 .pgv3-plbtn--song { margin-left: 0; }
body.pg-app-v3.pg-app--dark .pgv3-plbtn { color: #e9e6e0; }
body.pg-app-v3 .pgv3-scrim { position: fixed; inset: 0; z-index: 49; background: rgba(18, 32, 46, .35); opacity: 0; pointer-events: none; transition: opacity .2s; }
body.pg-app-v3.pgv3-pl-open .pgv3-scrim { opacity: 1; pointer-events: auto; }
body.pg-app-v3.pgv3-pl-open .pg-app__view[data-view="playlists"] { display: flex !important; position: fixed; top: 0; bottom: 0; left: 0; right: auto;
    width: min(88vw, 400px); z-index: 50; background: var(--pg-white, #fff); box-shadow: 4px 0 24px rgba(16, 24, 40, .2);
    padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); animation: pgv3-slide .22s ease; }
body.pg-app-v3.pg-app--dark.pgv3-pl-open .pg-app__view[data-view="playlists"] { background: #1d2731; }
@keyframes pgv3-slide { from { transform: translateX(-100%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { body.pg-app-v3.pgv3-pl-open .pg-app__view[data-view="playlists"] { animation: none; } }
body.pg-app-v3 .pg-app__view[data-view="playlists"] > .pg-app__bar .pg-app__tools { display: none !important; }
body.pg-app-v3 .pgv3-plx { margin-left: auto; color: #6b7280; }
/* The bottom bar: just over the song's screen (20) and under the app's sheets (9000); over the player (99999) while it's up. */
body.pg-app-v3 .pgv3-bar { z-index: 25; }
html.pg-practice-open body.pg-app-v3 .pgv3-bar { z-index: 100000; }
/* The Songs search box leaves real room (Phil 11-23: 'Search bar does not need to be so wide'). */
body.pg-app-v3 .pg-app__bar--search .pg-app__search-pill { margin-right: 28px; }

/* No Practice tab in 3.0 (Phil 11-23). Account: the email under your name; managing the account under Membership. */
body.pg-app-v3 .pg-app__tabs [data-tab="practice"] { display: none !important; }
body.pg-app-v3 .pg-app__me-mail { display: block; margin-top: 1px; font-size: 13px; color: #6b7280; word-break: break-all; }
body.pg-app-v3 .pgv3-acct { display: grid; gap: 8px; margin-top: 12px; }
/* ACCOUNT AS A PHONE SETTINGS SCREEN (Phil 11-26): each group a card with its name small above the rows; rows are
   one line with a › where they open something; Log out alone at the bottom, in red. */
body.pg-app-v3 [data-view="account"] .pg-app__section { margin: 0 0 18px; padding: 12px 16px; border-radius: 14px; }
body.pg-app-v3 [data-view="account"] .pg-app__section-title { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #6b7280; margin: 0 0 6px; }
body.pg-app-v3 [data-view="account"] .pg-app__section-desc { font-size: 14px; margin: 0 0 10px; }
body.pg-app-v3 .pgv3-list { margin: 0 -16px -12px; border-top: 1px solid var(--pg-border, #e5e7eb); }
body.pg-app-v3 .pgv3-list:first-child { border-top: 0; margin-top: -12px; }
body.pg-app-v3 .pgv3-row { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 48px; padding: 0 16px; box-sizing: border-box; border: 0; border-bottom: 1px solid var(--pg-border, #e5e7eb); background: none; text-align: left; text-decoration: none; font: 500 16px/1.2 var(--pg-font-ui, -apple-system, BlinkMacSystemFont, sans-serif); color: var(--pg-text, #1a1a1a); cursor: pointer; -webkit-tap-highlight-color: transparent; }
body.pg-app-v3 .pgv3-row:last-child { border-bottom: 0; }
body.pg-app-v3 .pgv3-row::after { content: "\203A"; font-size: 22px; line-height: 1; color: #9ca3af; margin-left: 12px; }
body.pg-app-v3 .pgv3-row:active { background: #f3f4f6; }
body.pg-app-v3 .pgv3-me { text-decoration: none; color: inherit; margin: 0 0 18px; padding: 14px 16px; background: var(--pg-white, #fff); border: 1px solid var(--pg-border, #e5e7eb); border-radius: 14px; }
body.pg-app-v3 .pgv3-me::after { content: "\203A"; margin-left: auto; font-size: 22px; color: #9ca3af; }
body.pg-app-v3 .pgv3-me .pg-app__me-txt { min-width: 0; }
body.pg-app-v3 .pgv3-logout-sec { padding: 0 !important; overflow: hidden; }
body.pg-app-v3 .pgv3-fb-sec .pgv3-list { margin: -12px -16px; border-top: 0; }
body.pg-app-v3 .pgv3-fb-sec .pgv3-list[hidden] { display: none; }
body.pg-app-v3 .pg-app__action-btn.pgv3-logout { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; margin: 0; border: 0; border-radius: 0; background: none; color: #c62828; font-weight: 600; font-size: 16px; text-decoration: none; }
body.pg-app-v3.pg-app--dark .pgv3-me, body.pg-app-v3.pg-app--dark [data-view="account"] .pg-app__section { background: #1e2328; border-color: #2c333a; }
body.pg-app-v3.pg-app--dark .pgv3-row { color: #e6e9ec; border-color: #2c333a; }
body.pg-app-v3.pg-app--dark .pgv3-list { border-color: #2c333a; }
body.pg-app-v3.pg-app--dark .pgv3-row:active { background: #262c33; }
body.pg-app-v3.pg-app--dark .pg-app__action-btn.pgv3-logout { color: #ef7b7b; }
body.pg-app-v3 .pgv3-acct .pg-app__action-btn { text-align: center; text-decoration: none; }
body.pg-app-v3 .pgv3-acct__note { margin-top: 8px; font-size: 13px; }
body.pg-app-v3 .pgv3-ps:empty { display: none; }
body.pg-app-v3 .pgv3-ps { margin: 4px 0 8px; }
/* The drawer is your playlists (Phil 11-23): the jam circles' lists are on the Circle tab. */
body.pg-app-v3 #pg-app-playlists > .pg-app__jams, body.pg-app-v3 #pg-app-playlists > .pg-app__mine-h { display: none !important; }


/* OPTION A (Phil 11-23): the pick big, Band | Karaoke small beside it with "The Player" under them; the view in use
   highlighted in its own color; no grey boxes -- a tab in use is navy with a navy underline. */
body.pg-app-v3 .pgv3-bar__t { position: relative; }
body.pg-app-v3 .pgv3-bar__t.is-on { background: none !important; color: #1E4F75; }
body.pg-app-v3 .pgv3-bar > .pgv3-bar__t.is-on::after, body.pg-app-v3 .pgv3-pgroup.is-on::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: -4px; height: 3px; border-radius: 3px; background: #1E4F75; }
body.pg-app-v3 .pgv3-pgroup { position: relative; flex: 1.7 1 0; justify-content: center; gap: 6px; padding: 0; background: none !important; }
body.pg-app-v3 .pgv3-pgroup.is-on::after { left: 14%; right: 14%; }
body.pg-app-v3 .pgv3-pgroup .pgv3-bar__t[data-v3-bar="play"] { flex: none; padding: 0 2px; }
body.pg-app-v3 .pgv3-pgroup .pgv3-bar__t[data-v3-bar="play"] > span { display: none; }
body.pg-app-v3 .pgv3-pgroup .pgv3-bar__t[data-v3-bar="play"] .pgv3-pick { width: auto; height: 32px; }
body.pg-app-v3 .pgv3-prt { display: grid; justify-items: center; gap: 1px; }
body.pg-app-v3 .pgv3-prt__lbl { font-size: 11.5px; font-weight: 600; color: #6b7280; white-space: nowrap; cursor: pointer; }
body.pg-app-v3 .pgv3-pgroup.is-on .pgv3-prt__lbl { color: #1E4F75; }
body.pg-app-v3 .pgv3-bar .pgv3-pgroup .pgv3-sub { gap: 2px; }
body.pg-app-v3 .pgv3-bar .pgv3-pgroup .pgv3-sub button { width: 30px; min-width: 0; height: 26px; padding: 0; border-radius: 8px; opacity: .6; background: none !important; box-shadow: none !important; }
body.pg-app-v3 .pgv3-bar .pgv3-pgroup .pgv3-sub button svg { width: 17px; height: 17px; }
body.pg-app-v3 .pgv3-bar .pgv3-pgroup.is-on .pgv3-sub button.is-on { opacity: 1; }
body.pg-app-v3 .pgv3-bar .pgv3-pgroup.is-on .pgv3-sub button[data-v3-sub="play"].is-on { background: rgba(58, 127, 192, .16) !important; }
body.pg-app-v3 .pgv3-bar .pgv3-pgroup.is-on .pgv3-sub button[data-v3-sub="sing"].is-on { background: rgba(63, 143, 90, .18) !important; }
body.pg-app-v3.pg-app--dark .pgv3-bar__t.is-on, body.pg-app-v3.pg-app--dark .pgv3-pgroup.is-on .pgv3-prt__lbl { color: #9cc3e4; }
body.pg-app-v3.pg-app--dark .pgv3-bar > .pgv3-bar__t.is-on::after, body.pg-app-v3.pg-app--dark .pgv3-pgroup.is-on::after { background: #9cc3e4; }

/* No grey card behind the player's controls, in Band, Karaoke and Chord Engine (Phil 11-23). */
body.pg-app-v3 #pg-practice-shell :is(.pgbk2__head, .pgbk2__band.pg-band--inline, .pgrb2__head, .pgrb2__tbar),
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell :is(.pgbk2__head, .pgbk2__band.pg-band--inline, .pgrb2__head, .pgrb2__tbar) { background: transparent !important; box-shadow: none !important; }

/* The drawer over the player (Phil 11-23): above the player (99999) and its bottom bar (100000); the app's sheets
   opened from it (add songs, keys, rename) above the drawer. */
html.pg-practice-open body.pg-app-v3 .pgv3-scrim { z-index: 100001; }
html.pg-practice-open body.pg-app-v3.pgv3-pl-open .pg-app__view[data-view="playlists"] { z-index: 100002; }
html.pg-practice-open body.pg-app-v3.pgv3-pl-open .pg-app__info-backdrop { z-index: 100010; }
html.pg-practice-open body.pg-app-v3.pgv3-pl-open .pg-app__info-sheet { z-index: 100011; }
html.pg-practice-open body.pg-app-v3.pgv3-pl-open #pg-app-keypick .pg-app__keypick-backdrop { z-index: 100012; }
html.pg-practice-open body.pg-app-v3.pgv3-pl-open #pg-app-keypick .pg-app__keypick { z-index: 100013; }
html.pg-practice-open body.pg-app-v3.pgv3-pl-open .pg-app__opt-pop { z-index: 100014; }
/* Chord Engine: with the grey card gone, its title and play rows line up with the Chart | Lyrics row (Phil 11-23). */
body.pg-app-v3 #pg-practice-shell :is(.pgbk2__head, .pgbk2__band.pg-band--inline),
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell :is(.pgbk2__head, .pgbk2__band.pg-band--inline) { padding-left: 0 !important; padding-right: 0 !important; }

/* The playlist's Prev / Next under a song: one slim line (Phil 11-23: 'real big ... needs to be much smaller'). The
   bottom bar takes the phone's bottom inset now, so this bar doesn't. */
body.pg-app-v3 .pg-app__setnav { gap: 4px; padding: 3px 6px !important; }
body.pg-app-v3 .pg-app__setnav-btn { min-height: 30px; padding: 2px 6px; gap: 4px; border-radius: 8px; }
body.pg-app-v3 .pg-app__setnav-lbl { display: none; }
body.pg-app-v3 .pg-app__setnav-title { font-size: 12.5px; }
body.pg-app-v3 .pg-app__setnav-arrow { font-size: 19px; }
body.pg-app-v3 .pg-app__setnav-center { flex-direction: row; align-items: baseline; gap: 5px; min-width: 0; padding: 0 4px; }
body.pg-app-v3 .pg-app__setnav-name { max-width: 96px; font-size: 11px; color: #6b7280; }
body.pg-app-v3 .pg-app__setnav-pos { font-size: 11px; }
body.pg-app-v3 .pg-app__setnav-btn--next { flex-direction: row; justify-content: flex-end; }   /* the arrow after the title, at the right edge */
body.pg-app-v3 .pg-app__setnav-center { align-self: center; }

/* THE HEADER NEVER CHANGES (Phil 11-23: 'Playlist then search or zoom then tools, gear and full screen'): no Back on a
   song's screen or in the player; the playlists button first; zoom in the player as on the song's screen. */
/* (Back came back the same afternoon: Phil 11-23, 'bring back the back arrow and add swipe'.) */
body.pg-app-v3 #pg-practice-shell .pgv3-zoom { display: inline-flex; align-items: center; gap: 2px; height: 32px; margin-left: 6px; padding: 0 3px 0 4px; flex: none;
    border: 1px solid #e5e7eb; border-radius: 999px; background: #fff; color: #374151; font-size: 13px; }
body.pg-app-v3 #pg-practice-shell .pgv3-zoom[hidden] { display: none; }
body.pg-app-v3 #pg-practice-shell .pgv3-zoom button { height: 26px; min-width: 24px; padding: 0 4px; border: 0; background: none; color: inherit; font: inherit; font-size: 16px; line-height: 1; }
body.pg-app-v3 #pg-practice-shell .pgv3-zoom__v { min-width: 38px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
body.pg-app-v3 #pg-practice-shell .pgv3-zoom .pgv3-zoom__fit { margin-left: 2px; padding: 0 9px; border-radius: 999px; font-size: 13px; font-weight: 700; color: #6b7280; }
body.pg-app-v3 #pg-practice-shell .pgv3-zoom .pgv3-zoom__fit.is-on { background: #eef4f9; color: #1E4F75; }
/* No Fit when it would change nothing (Phil 11-24, one sizing rule): app.js .is-moot on the song screen's, app-v3.js
   [hidden] on the player's. */
body.pg-app-v3 #pg-app-fit-btn.is-moot,
body.pg-app-v3 #pg-practice-shell .pgv3-zoom .pgv3-zoom__fit[hidden] { display: none !important; }
/* ...so Fit and Size leave the display gears. */
body.pg-app-v3 #pg-practice-shell :is(.pgbk__display-row--size, [data-pgbk-chartfit], [data-pgch-chartfit]) { display: none !important; }
/* The way back to the list: All songs, first in the playlists drawer. */
body.pg-app-v3 .pgv3-allsongs { display: flex; align-items: center; gap: 10px; width: calc(100% - 16px); margin: 8px 8px 4px; min-height: 44px; padding: 0 12px;
    border: 1px solid #e3e8ee; border-radius: 10px; background: #fff; font: inherit; font-size: 15.5px; font-weight: 600; color: #1E4F75; text-align: left; }
body.pg-app-v3.pg-app--dark .pgv3-allsongs { background: #232930; border-color: #3a424b; color: #9cc3e4; }
/* No All songs in the drawer (Phil 11-23: not necessary; Song tapped again goes to the list). */
body.pg-app-v3 .pgv3-allsongs { display: none !important; }

/* The Player's switcher row on top, with Key and Capo (Phil 11-23). */
body.pg-app-v3 #pg-practice-shell .pg-practice__transport,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell .pg-practice__transport { display: flex; flex-direction: column; }
body.pg-app-v3 #pg-practice-shell .pg-practice__transport > .pgrb2p2__top,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell .pg-practice__transport > .pgrb2p2__top { order: -1; display: flex; align-items: center; gap: 6px; flex-wrap: nowrap; }
body.pg-app-v3 #pg-practice-shell .pgrb2p2__top > .pgv3-kw,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell .pgrb2p2__top > .pgv3-kw { display: flex; align-items: center; gap: 4px; flex: 0 1 auto; min-width: 0; margin: 0; }
body.pg-app-v3 #pg-practice-shell .pgrb2p2__top > .pgrb2__singgear, body.pg-app-v3 #pg-practice-shell .pgrb2p2__top > [class*="gear"],
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell .pgrb2p2__top > .pgrb2__singgear, html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell .pgrb2p2__top > [class*="gear"] { margin-left: auto; }
/* ...and it fits a 390px phone: no Octave (it was out of sight in the play row too), the row at Chord Engine's edge,
   Key and Capo compact. */
body.pg-app-v3 #pg-practice-shell .pgv3-kw .pgpt__console-oct,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell .pgv3-kw .pgpt__console-oct { display: none !important; }
body.pg-app-v3 #pg-practice-shell .pg-practice__transport > .pgrb2p2__top,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell .pg-practice__transport > .pgrb2p2__top { padding-left: 12px !important; padding-right: 12px !important; gap: 5px; }
body.pg-app-v3 #pg-practice-shell .pgv3-kw .pgpt__console-key,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell .pgv3-kw .pgpt__console-key { flex: none; }
body.pg-app-v3 #pg-practice-shell .pgrb2p2__vs,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell .pgrb2p2__vs { flex: none; }
/* Octave as the ⋮ menu's last row (Phil 11-23). */
body.pg-app-v3 #pg-practice-shell .pgbk2-lyrhead__pop .pgv3-octrow,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell .pgbk2-lyrhead__pop .pgv3-octrow { display: flex !important; align-items: center; justify-content: space-between; gap: 10px; }
body.pg-app-v3 #pg-practice-shell .pgv3-octrow .pgpt__console-key-lbl,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell .pgv3-octrow .pgpt__console-key-lbl { font-weight: 600; }
/* The Octave row says Octave (Phil 11-23). */
body.pg-app-v3 #pg-practice-shell .pgv3-octrow .pgpt__console-key-lbl,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell .pgv3-octrow .pgpt__console-key-lbl { display: inline !important; visibility: visible !important; position: static !important; width: auto !important; height: auto !important; clip: auto !important; font-size: 14px; color: #1a2733; }

/* THE PLAYER'S PLAY ROW (Phil 11-23: 'the mute/levels row in the player ... it's an eyesore'): Play, restart, Levels,
   the tempo. The part buttons (banjo + Bs, voices + T L B) go: Levels holds every part's level and mute, and Octave.
   (So the Octave moved into the ⋮ is a second copy, and goes.) */
body.pg-app-v3 #pg-practice-shell .pgrb2__tbar .pgp3__row > .pgp3__mute,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell .pgrb2__tbar .pgp3__row > .pgp3__mute { display: none !important; }
/* (Octave stays in the ⋮: Levels, which was to hold it, went for the Vocal / Band split buttons -- restored 11-24.) */
/* ...but the one-tap mutes stay (Phil 11-23: 'mute buttons are completely gone now'): every part as a small button on
   one line under the play row, no group pills or banjo / voices icons. */
body.pg-app-v3 #pg-practice-shell .pgrb2__tbar .pgp3__row,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell .pgrb2__tbar .pgp3__row { flex-wrap: wrap !important; row-gap: 6px; }
body.pg-app-v3 #pg-practice-shell .pgrb2__tbar .pgp3__row > .pgrb2-vp,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell .pgrb2__tbar .pgp3__row > .pgrb2-vp { order: 20 !important; display: inline-flex !important; align-items: center; gap: 4px;
    flex: none; padding: 0 !important; margin: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; }
body.pg-app-v3 #pg-practice-shell .pgrb2__tbar .pgp3__row > .pgrb2-vp:first-of-type,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell .pgrb2__tbar .pgp3__row > .pgrb2-vp:first-of-type { margin-left: 0 !important; }
body.pg-app-v3 #pg-practice-shell .pgrb2__tbar .pgp3__row > .pgrb2-vp::before,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell .pgrb2__tbar .pgp3__row > .pgrb2-vp::before { display: none !important; }
body.pg-app-v3 #pg-practice-shell .pgrb2__tbar .pgp3__row > .pgrb2-vp svg,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell .pgrb2__tbar .pgp3__row > .pgrb2-vp svg { display: none !important; }
body.pg-app-v3 #pg-practice-shell .pgrb2__tbar .pgp3__row::after,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell .pgrb2__tbar .pgp3__row::after { content: ""; order: 19; flex-basis: 100%; height: 0; }
body.pg-app-v3 #pg-practice-shell .pgrb2__tbar .pgp3__row > .pgp3__keb,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell .pgrb2__tbar .pgp3__row > .pgp3__keb { order: 0; }
/* Levels right after restart; the tempo at the right end. */
body.pg-app-v3 #pg-practice-shell .pgrb2__tbar .pgp3__row > .pgp3__keb,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell .pgrb2__tbar .pgp3__row > .pgp3__keb { order: 3 !important; }
body.pg-app-v3 #pg-practice-shell .pgrb2__tbar .pgp3__row > .pgp3__bpm,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell .pgrb2__tbar .pgp3__row > .pgp3__bpm { margin-left: auto !important; }
body.pg-app-v3 #pg-practice-shell .pgrb2__tbar .pgp3__keb.pgv3-lvltxt,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell .pgrb2__tbar .pgp3__keb.pgv3-lvltxt { width: auto !important; height: 30px !important; padding: 0 10px !important; border: 1px solid #e5e7eb !important;
    border-radius: 9px !important; background: #fff !important; color: #374151 !important; box-shadow: none !important; display: inline-flex !important; align-items: center;
    font: 600 13px/1 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important; white-space: nowrap; }

/* KEY AND CAPO THE SAME IN EVERY MODE (Phil 11-23): the song's screen's pill -- 32px, a 1px #e5e7eb line, 9px corners,
   a small grey label and a bold value with its caret -- on Chord Engine's and The Player's too. */
body.pg-app-v3 #pg-practice-shell :is(.pgbk2__meta > .pgbk2__field:nth-child(-n+2), .pgv3-kw .pgpt__console-key),
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell :is(.pgbk2__meta > .pgbk2__field:nth-child(-n+2), .pgv3-kw .pgpt__console-key) {
    height: 32px !important; box-sizing: border-box; display: inline-flex !important; align-items: center; gap: 3px; padding: 0 8px !important; margin: 0 !important;
    border: 1px solid #e5e7eb !important; border-radius: 9px !important; background: #fff !important; box-shadow: none !important; }
body.pg-app-v3 #pg-practice-shell :is(.pgbk2__meta > .pgbk2__field:nth-child(-n+2) .pgbk2__lbl, .pgv3-kw .pgpt__console-key-lbl),
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell :is(.pgbk2__meta > .pgbk2__field:nth-child(-n+2) .pgbk2__lbl, .pgv3-kw .pgpt__console-key-lbl) {
    display: inline !important; font: 500 10px/1 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important; color: #6b7280 !important;
    text-transform: none !important; letter-spacing: 0 !important; margin: 0 !important; }
body.pg-app-v3 #pg-practice-shell :is(.pgbk2__meta > .pgbk2__field:nth-child(-n+2) .pgbk2__sel, .pgv3-kw .pgpt__console-key-select),
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell :is(.pgbk2__meta > .pgbk2__field:nth-child(-n+2) .pgbk2__sel, .pgv3-kw .pgpt__console-key-select) {
    -webkit-appearance: none !important; appearance: none !important; height: 30px !important; min-width: 0 !important; width: auto !important; max-width: none !important;
    margin: 0 !important; border: 0 !important; box-shadow: none !important; padding: 0 15px 0 0 !important; color: #111 !important;
    font: 700 14px/1 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0 center / 11px 11px !important; }

/* DISPLAY KEY IN THE PLAYER AND CHORD ENGINE (Phil 11-26: 'breaking everything in that row and the dropdown is way too
   wide'): the field shows the short name ("G c1") lettered and careted like the Key; the select sits hidden under it and
   no longer takes the tap, which opens the app's tiles (app.js paintDkFields / openOptPop). Chord Engine's row is tight:
   its label stacks "Display / key" as the song screen's phone bar does, and at 375 both fields lose 3px a side. */
body.pg-app #pg-practice-shell .pg-app-dkf { position: relative !important; flex: 0 0 auto !important; width: auto !important; min-width: 0 !important; max-width: none !important; }
body.pg-app #pg-practice-shell .pg-app-dkf > select { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; min-width: 0 !important; max-width: none !important; opacity: 0 !important; pointer-events: none !important; }
body.pg-app #pg-practice-shell .pg-app-dkf > .pg-app-dkf__v { white-space: nowrap; margin-left: 1px; padding-right: 15px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0 center / 11px 11px; }
body.pg-app #pg-practice-shell .pgbk2__meta > .pgbk2__field.pg-app-dkf > .pgbk2__lbl { white-space: normal !important; width: min-content !important; line-height: 1.05 !important; }
@media (max-width: 380px) {
    body.pg-app-v3 #pg-practice-shell :is(.pgbk2__meta > .pgbk2__field:nth-child(-n+2), .pgv3-kw .pgpt__console-key) { padding: 0 5px !important; }
}

/* ...and blue when the display key isn't the key you hear (Phil 11-26), as the song screen's pill. */
/* (Phil 11-27: no blue fill, it outweighed Key) */ body.pg-app-v3 #pg-practice-shell label.pg-app-dkf.pg-app-dk-diff.pg-app-dk-diff { /* border-color: #1E4F75 !important; background-color: #eef4f9 !important; */ }
/* (Phil 11-27: no blue fill, it outweighed Key) */ body.pg-app-v3 #pg-practice-shell label.pg-app-dkf.pg-app-dk-diff.pg-app-dk-diff > :is(.pg-app-dkf__v, span[class*="lbl"]) { /* color: #1E4F75 !important; */ }
/* (Phil 11-27: no blue fill, it outweighed Key) */ body.pg-app-v3.pg-app--dark #pg-practice-shell label.pg-app-dkf.pg-app-dk-diff.pg-app-dk-diff { /* border-color: #8bb8dc !important; background-color: rgba(139, 184, 220, .14) !important; */ }
/* (Phil 11-27: no blue fill, it outweighed Key) */ body.pg-app-v3.pg-app--dark #pg-practice-shell label.pg-app-dkf.pg-app-dk-diff.pg-app-dk-diff > :is(.pg-app-dkf__v, span[class*="lbl"]) { /* color: #8bb8dc !important; */ }

/* THE PLAYER'S SPACING = CHORD ENGINE'S (Phil 11-23: 'too much and it's different from the other modes'): the title and
   the play row start at the switcher row's 12px edge, with Chord Engine's gaps. And no Levels button (Phil 11-23). */
body.pg-app-v3 #pg-practice-shell .pgrb2__head,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell .pgrb2__head { margin: 2px 0 0 !important; padding: 8px 12px 2px !important; }
body.pg-app-v3 #pg-practice-shell .pgrb2__tbar,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell .pgrb2__tbar { margin: 0 !important; padding: 8px 12px 6px !important; }
body.pg-app-v3 #pg-practice-shell .pgrb2__tbar .pgp3__row > .pgp3__keb,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell .pgrb2__tbar .pgp3__row > .pgp3__keb { display: none !important; }
/* The Player's Play the same size as Chord Engine's (46px). */
body.pg-app-v3 #pg-practice-shell .pgrb2__tbar .pgpt__play,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell .pgrb2__tbar .pgpt__play { width: 46px !important; height: 46px !important; min-width: 46px !important; }

/* SINGERS AND BAND SPLIT BUTTONS (Phil 11-23, option E). The part-chip line and the loop readout go. */
body.pg-app-v3 #pg-practice-shell .pgrb2__tbar .pgp3__row > .pgrb2-vp, body.pg-app-v3 #pg-practice-shell .pgrb2__tbar .pgp3__row::after, body.pg-app-v3 #pg-practice-shell .pgsg__loopchip,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell .pgrb2__tbar .pgp3__row > .pgrb2-vp, html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell .pgrb2__tbar .pgp3__row::after, html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell .pgsg__loopchip { display: none !important; }
body.pg-app-v3 #pg-practice-shell .pgrb2__tbar .pgp3__row > .pgv3-mx,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell .pgrb2__tbar .pgp3__row > .pgv3-mx { order: 2 !important; position: relative; display: inline-flex; align-items: center; gap: 6px; margin-left: 2px; flex: none; }
body.pg-app-v3 .pgv3-sp,
html.pg-one-phone body:not(.pg-app-v3) .pgv3-sp { display: inline-flex; flex: none; }
body.pg-app-v3 .pgv3-sp > button,
html.pg-one-phone body:not(.pg-app-v3) .pgv3-sp > button { height: 34px; border: 1px solid #e5e7eb; background: #fff; color: #1a2733; display: grid; place-items: center; padding: 0; position: relative; cursor: pointer; }
body.pg-app-v3 .pgv3-sp__a,
html.pg-one-phone body:not(.pg-app-v3) .pgv3-sp__a { width: 36px; border-radius: 10px 0 0 10px; }
body.pg-app-v3 .pgv3-sp__b,
html.pg-one-phone body:not(.pg-app-v3) .pgv3-sp__b { width: 22px; border-left: 0 !important; border-radius: 0 10px 10px 0; color: #6b7280 !important; }
body.pg-app-v3 .pgv3-sp__b.is-open,
html.pg-one-phone body:not(.pg-app-v3) .pgv3-sp__b.is-open { background: #eef3fb !important; color: #1E4F75 !important; }
body.pg-app-v3 .pgv3-sp__a.is-muted,
html.pg-one-phone body:not(.pg-app-v3) .pgv3-sp__a.is-muted { color: #b42318; background: #fef3f2; border-color: #f7c9c4; }
body.pg-app-v3 .pgv3-sp__a.is-muted::after,
html.pg-one-phone body:not(.pg-app-v3) .pgv3-sp__a.is-muted::after { content: ""; position: absolute; left: 7px; right: 7px; top: 50%; height: 2px; margin-top: -1px; background: currentColor; transform: rotate(-45deg); border-radius: 2px; }
body.pg-app-v3 .pgv3-sp__n,
html.pg-one-phone body:not(.pg-app-v3) .pgv3-sp__n { position: absolute; top: -5px; right: -5px; min-width: 15px; height: 15px; padding: 0 3px; border-radius: 8px; background: #b42318; color: #fff; font: 700 9.5px/15px -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; font-style: normal; text-align: center; }
body.pg-app-v3 .pgv3-mxp,
html.pg-one-phone body:not(.pg-app-v3) .pgv3-mxp { position: absolute; top: calc(100% + 8px); left: 0; z-index: 30; width: 270px; max-width: calc(100vw - 32px); background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; box-shadow: 0 10px 28px rgba(16, 24, 40, .18); overflow: hidden;
    font: 500 13px/1.2 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: #1a2733; text-align: left; }
body.pg-app-v3 .pgv3-mxp[hidden],
html.pg-one-phone body:not(.pg-app-v3) .pgv3-mxp[hidden] { display: none !important; }
body.pg-app-v3 .pgv3-mxp__h,
html.pg-one-phone body:not(.pg-app-v3) .pgv3-mxp__h { padding: 8px 12px; background: #f8f9fb; border-bottom: 1px solid #e5e7eb; font: 700 11px/1.4 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; letter-spacing: .6px; text-transform: uppercase; color: #6b7280; }
body.pg-app-v3 .pgv3-mxp__all,
html.pg-one-phone body:not(.pg-app-v3) .pgv3-mxp__all { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid #e5e7eb; font-weight: 600; font-size: 12.5px; }
body.pg-app-v3 .pgv3-mxp__p + .pgv3-mxp__p,
html.pg-one-phone body:not(.pg-app-v3) .pgv3-mxp__p + .pgv3-mxp__p { border-top: 1px solid #e5e7eb; }
body.pg-app-v3 .pgv3-mxp__row,
html.pg-one-phone body:not(.pg-app-v3) .pgv3-mxp__row { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px 4px; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; text-align: left; }
body.pg-app-v3 .pgv3-mxp__row b,
html.pg-one-phone body:not(.pg-app-v3) .pgv3-mxp__row b { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; font-size: 13.5px; }
body.pg-app-v3 .pgv3-mxp__row b::before,
html.pg-one-phone body:not(.pg-app-v3) .pgv3-mxp__row b::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
body.pg-app-v3 .pgv3-mxp__p.is-off b,
html.pg-one-phone body:not(.pg-app-v3) .pgv3-mxp__p.is-off b { opacity: .5; }
body.pg-app-v3 .pgv3-mxp__p.is-off .pgv3-mxl { opacity: .35; }
body.pg-app-v3 .pgv3-mxp__p > .pgv3-mxl,
html.pg-one-phone body:not(.pg-app-v3) .pgv3-mxp__p > .pgv3-mxl { display: block; width: calc(100% - 24px); margin: 2px 12px 10px; }
body.pg-app-v3 .pgv3-mxp__p:not(:has(.pgv3-mxl)) .pgv3-mxp__row,
html.pg-one-phone body:not(.pg-app-v3) .pgv3-mxp__p:not(:has(.pgv3-mxl)) .pgv3-mxp__row { padding-bottom: 9px; }
body.pg-app-v3 .pgv3-mxl,
html.pg-one-phone body:not(.pg-app-v3) .pgv3-mxl { width: 100%; margin: 0; accent-color: #1E4F75; }
body.pg-app-v3 .pgv3-mxsw,
html.pg-one-phone body:not(.pg-app-v3) .pgv3-mxsw { position: relative; width: 34px; height: 20px; border-radius: 999px; background: #d4d9df; flex: none; transition: background .15s; }
body.pg-app-v3 .pgv3-mxsw::after,
html.pg-one-phone body:not(.pg-app-v3) .pgv3-mxsw::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: left .15s; }
body.pg-app-v3 .pgv3-mxsw.is-on,
html.pg-one-phone body:not(.pg-app-v3) .pgv3-mxsw.is-on { background: #3f9a5c; }
body.pg-app-v3 .pgv3-mxsw.is-on::after,
html.pg-one-phone body:not(.pg-app-v3) .pgv3-mxsw.is-on::after { left: 16px; }
body.pg-app-v3 .pgv3-mxp__none,
html.pg-one-phone body:not(.pg-app-v3) .pgv3-mxp__none { padding: 10px 12px 12px; color: #6b7280; font-size: 12.5px; }
/* The loop's × at the end of its gold stretch. */
body.pg-app-v3 #pg-practice-shell .pgpt__scrub,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell .pgpt__scrub { position: relative; }
body.pg-app-v3 .pgv3-lx,
html.pg-one-phone body:not(.pg-app-v3) .pgv3-lx { position: absolute; top: 50%; margin-top: -10px; width: 20px; height: 20px; z-index: 4; padding: 0; border: 0; border-radius: 50%; background: #F4C430; color: #3d3200;
    font: 700 13px/20px -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; text-align: center; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); cursor: pointer; }
body.pg-app-v3 .pgv3-lx[hidden],
html.pg-one-phone body:not(.pg-app-v3) .pgv3-lx[hidden] { display: none !important; }

/* Split buttons after restart, bigger; the menu one line per part (Phil 11-23). */
body.pg-app-v3 #pg-practice-shell .pgrb2__tbar .pgp3__row > .pgv3-mx,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell .pgrb2__tbar .pgp3__row > .pgv3-mx { order: 3 !important; gap: 8px; margin-left: 4px; position: static; }
body.pg-app-v3 #pg-practice-shell .pgrb2__tbar .pgp3__row,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell .pgrb2__tbar .pgp3__row { position: relative; }
body.pg-app-v3 .pgv3-sp > button,
html.pg-one-phone body:not(.pg-app-v3) .pgv3-sp > button { height: 40px; }
body.pg-app-v3 .pgv3-sp__a,
html.pg-one-phone body:not(.pg-app-v3) .pgv3-sp__a { width: 44px; }
body.pg-app-v3 .pgv3-sp__a svg,
html.pg-one-phone body:not(.pg-app-v3) .pgv3-sp__a svg { width: 21px; height: 21px; }
body.pg-app-v3 .pgv3-sp__b,
html.pg-one-phone body:not(.pg-app-v3) .pgv3-sp__b { width: 26px; }
body.pg-app-v3 .pgv3-mxp,
html.pg-one-phone body:not(.pg-app-v3) .pgv3-mxp { left: 0; right: 0; width: auto; max-width: none; top: calc(100% + 6px); }
body.pg-app-v3 .pgv3-mxp__p,
html.pg-one-phone body:not(.pg-app-v3) .pgv3-mxp__p { display: grid !important; grid-template-columns: 36px minmax(84px, auto) 1fr 40px; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; min-height: 48px; }
body.pg-app-v3 .pgv3-mxp__p + .pgv3-mxp__p,
html.pg-one-phone body:not(.pg-app-v3) .pgv3-mxp__p + .pgv3-mxp__p { border-top: 1px solid #eef0f3; }
body.pg-app-v3 .pgv3-mxp__p.is-all,
html.pg-one-phone body:not(.pg-app-v3) .pgv3-mxp__p.is-all { background: #f8f9fb; border-bottom: 1px solid #e5e7eb; }
body.pg-app-v3 .pgv3-mxp__p.is-all .pgv3-mxp__nm,
html.pg-one-phone body:not(.pg-app-v3) .pgv3-mxp__p.is-all .pgv3-mxp__nm { font-weight: 700; }
body.pg-app-v3 .pgv3-mxp__mu,
html.pg-one-phone body:not(.pg-app-v3) .pgv3-mxp__mu { width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border: 1px solid #e5e7eb; border-radius: 10px; background: #fff; color: #1a2733; cursor: pointer; position: relative; }
body.pg-app-v3 .pgv3-mxp__mu.is-muted,
html.pg-one-phone body:not(.pg-app-v3) .pgv3-mxp__mu.is-muted { color: #b42318; background: #fef3f2; border-color: #f7c9c4; }
body.pg-app-v3 .pgv3-mxp__mu.is-muted .pgv3-w,
html.pg-one-phone body:not(.pg-app-v3) .pgv3-mxp__mu.is-muted .pgv3-w { display: none; }
body.pg-app-v3 .pgv3-mxp__mu.is-muted::after,
html.pg-one-phone body:not(.pg-app-v3) .pgv3-mxp__mu.is-muted::after { content: ""; position: absolute; left: 8px; right: 8px; top: 50%; height: 2px; margin-top: -1px; background: currentColor; transform: rotate(-45deg); border-radius: 2px; }
body.pg-app-v3 .pgv3-mxp__nm,
html.pg-one-phone body:not(.pg-app-v3) .pgv3-mxp__nm { display: inline-flex; align-items: center; gap: 7px; font: 600 14px/1.2 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: #1a2733; white-space: nowrap; }
body.pg-app-v3 .pgv3-mxp__nm i,
html.pg-one-phone body:not(.pg-app-v3) .pgv3-mxp__nm i { width: 8px; height: 8px; border-radius: 50%; flex: none; }
body.pg-app-v3 .pgv3-mxp__v,
html.pg-one-phone body:not(.pg-app-v3) .pgv3-mxp__v { font: 600 12px/1 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: #6b7280; text-align: right; font-variant-numeric: tabular-nums; }
body.pg-app-v3 .pgv3-mxp__note,
html.pg-one-phone body:not(.pg-app-v3) .pgv3-mxp__note { grid-column: 3 / 5; font-size: 12px; color: #6b7280; }
body.pg-app-v3 .pgv3-mxp__p.is-off .pgv3-mxp__nm, body.pg-app-v3 .pgv3-mxp__p.is-off .pgv3-mxp__v,
html.pg-one-phone body:not(.pg-app-v3) .pgv3-mxp__p.is-off .pgv3-mxp__nm, html.pg-one-phone body:not(.pg-app-v3) .pgv3-mxp__p.is-off .pgv3-mxp__v { opacity: .45; }
body.pg-app-v3 .pgv3-mxp__p.is-off .pgv3-mxl { opacity: .35; }
/* A thin slider: navy fill to the thumb, a white thumb. */
body.pg-app-v3 .pgv3-mxl,
html.pg-one-phone body:not(.pg-app-v3) .pgv3-mxl { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; margin: 0; background: transparent; cursor: pointer; }
body.pg-app-v3 .pgv3-mxl::-webkit-slider-runnable-track,
html.pg-one-phone body:not(.pg-app-v3) .pgv3-mxl::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(to right, #1E4F75 var(--fill, 100%), #dfe4ea var(--fill, 100%)); }
body.pg-app-v3 .pgv3-mxl::-moz-range-track,
html.pg-one-phone body:not(.pg-app-v3) .pgv3-mxl::-moz-range-track { height: 4px; border-radius: 4px; background: #dfe4ea; }
body.pg-app-v3 .pgv3-mxl::-moz-range-progress,
html.pg-one-phone body:not(.pg-app-v3) .pgv3-mxl::-moz-range-progress { height: 4px; border-radius: 4px; background: #1E4F75; }
body.pg-app-v3 .pgv3-mxl::-webkit-slider-thumb,
html.pg-one-phone body:not(.pg-app-v3) .pgv3-mxl::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; margin-top: -8px; border-radius: 50%; background: #fff; border: 1px solid #c9d1da; box-shadow: 0 1px 3px rgba(16, 24, 40, .25); }
body.pg-app-v3 .pgv3-mxl::-moz-range-thumb,
html.pg-one-phone body:not(.pg-app-v3) .pgv3-mxl::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 1px solid #c9d1da; box-shadow: 0 1px 3px rgba(16, 24, 40, .25); }

/* The computer's icons in the split buttons: sized as ours. */
body.pg-app-v3 .pgv3-sp__a svg,
html.pg-one-phone body:not(.pg-app-v3) .pgv3-sp__a svg { width: 22px !important; height: 22px !important; }
/* The computer's icons carry their own slash (.p3-slash): only when muted, and no second slash of ours (Phil 11-23). */
body.pg-app-v3 .pgv3-sp__a .p3-slash,
html.pg-one-phone body:not(.pg-app-v3) .pgv3-sp__a .p3-slash { display: none; }
body.pg-app-v3 .pgv3-sp__a.is-muted .p3-slash,
html.pg-one-phone body:not(.pg-app-v3) .pgv3-sp__a.is-muted .p3-slash { display: inline; }
body.pg-app-v3 .pgv3-sp__a.is-muted:has(.p3-slash)::after,
html.pg-one-phone body:not(.pg-app-v3) .pgv3-sp__a.is-muted:has(.p3-slash)::after { content: none; }

/* THE TITLE LINE, ONE DEFINITION FOR EVERY MODE (Band, Karaoke, Chord Engine) -- Phil 11-23. It replaces ten
   stacked title blocks that left each mode a little different. Same rules as phone-player.css's title block.
   The add circle small, on the title's first line at its left; the title 27px/500, wrapping beside it; no pencil and
   no caret (you can't edit on a phone; the caret opened the retired song search); the artist line across underneath,
   in Chord Engine too. */
body.pg-app-v3 #pg-practice-shell#pg-practice-shell :is(.pgrb2__head, .pgbk2__head),
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell#pg-practice-shell :is(.pgrb2__head, .pgbk2__head) { text-align: left !important; }
body.pg-app-v3 #pg-practice-shell#pg-practice-shell :is(.pgrb2__head, .pgbk2__head) .pg-edit-pencil,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell#pg-practice-shell :is(.pgrb2__head, .pgbk2__head) .pg-edit-pencil { display: none !important; }
body.pg-app-v3 #pg-practice-shell#pg-practice-shell :is(.pgrb2__head, .pgbk2__head) .pgtb__title-block,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell#pg-practice-shell :is(.pgrb2__head, .pgbk2__head) .pgtb__title-block { display: block !important; margin: 0 !important; padding: 0 !important; width: 100% !important; text-align: left !important; }
body.pg-app-v3 #pg-practice-shell#pg-practice-shell :is(.pgrb2__head, .pgbk2__head) .pgtb__title-line,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell#pg-practice-shell :is(.pgrb2__head, .pgbk2__head) .pgtb__title-line { display: grid !important; grid-template-columns: auto minmax(0, 1fr) !important; justify-content: start !important;
    align-items: start !important; column-gap: 6px !important; row-gap: 3px !important; margin: 0 !important; padding: 0 !important; width: 100% !important; text-align: left !important; }
body.pg-app-v3 #pg-practice-shell#pg-practice-shell :is(.pgrb2__head, .pgbk2__head) .pgtb__title-line > .pg-page-add-btn,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell#pg-practice-shell :is(.pgrb2__head, .pgbk2__head) .pgtb__title-line > .pg-page-add-btn { grid-column: 1 !important; grid-row: 1 !important; position: static !important; left: auto !important; top: auto !important; transform: none !important;
    display: inline-flex !important; align-items: center !important; justify-content: center !important; width: 18px !important; height: 18px !important; min-width: 0 !important;
    margin: 4px 0 0 !important; padding: 0 !important; border: 0 !important; background: none !important; color: #1E4F75; opacity: .8 !important; visibility: visible !important; }
body.pg-app-v3 #pg-practice-shell#pg-practice-shell :is(.pgrb2__head, .pgbk2__head) .pgtb__title-line > .pg-page-add-btn svg,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell#pg-practice-shell :is(.pgrb2__head, .pgbk2__head) .pgtb__title-line > .pg-page-add-btn svg { width: 17px !important; height: 17px !important; }
body.pg-app-v3 #pg-practice-shell#pg-practice-shell :is(.pgrb2__head, .pgbk2__head) .pgtb__title-line > .pgtb__title,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell#pg-practice-shell :is(.pgrb2__head, .pgbk2__head) .pgtb__title-line > .pgtb__title { grid-column: 2 !important; grid-row: 1 !important; display: block !important; min-width: 0 !important; max-width: none !important; width: auto !important;
    margin: 0 !important; padding: 0 !important; white-space: normal !important; overflow: visible !important; text-overflow: clip !important; overflow-wrap: anywhere;
    font-size: 27px !important; font-weight: 500 !important; letter-spacing: -.02em !important; line-height: 1.15 !important; color: #111827 !important; text-align: left !important; }
body.pg-app-v3 #pg-practice-shell#pg-practice-shell :is(.pgrb2__head, .pgbk2__head) .pgtb__title-line > :is(.pg-edit-pencil, .pgea-caret),
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell#pg-practice-shell :is(.pgrb2__head, .pgbk2__head) .pgtb__title-line > :is(.pg-edit-pencil, .pgea-caret) { display: none !important; }
body.pg-app-v3 #pg-practice-shell#pg-practice-shell :is(.pgrb2__head, .pgbk2__head) .pgtb__title-line > .pgtb__keys,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell#pg-practice-shell :is(.pgrb2__head, .pgbk2__head) .pgtb__title-line > .pgtb__keys { grid-column: 1 / -1 !important; grid-row: 2 !important; display: block !important; width: auto !important; min-width: 0 !important; margin: 0 !important;
    font-size: 13px !important; font-weight: 500 !important; line-height: 1.3 !important; white-space: normal !important; overflow: visible !important; text-overflow: clip !important; text-align: left !important; }
/* The artist line's content in every mode: artist (year) · key, no labels, no tuning. */
/* THE ARTIST LINE (restored 11-24: the 11-23 'one artist line' change dropped the tuning correction and the instrumentals'
   key labels). Band and Karaoke: the short line -- Album (year) · key · −10¢ tuning correction; an instrumental's own
   phone line (Artist (year) · key · −26¢). Chord Engine plays no recording, so no tuning: Album (year) · key, and an
   instrumental's "Primary key: A". No "Source:" / "Recorded in" labels on vocal songs. */
body.pg-app-v3 #pg-practice-shell#pg-practice-shell .pgrb2__head .pgtb__keys > .pgtb__keys-full,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell#pg-practice-shell .pgrb2__head .pgtb__keys > .pgtb__keys-full { display: none !important; }
body.pg-app-v3 #pg-practice-shell#pg-practice-shell .pgrb2__head .pgtb__keys > .pgtb__keys-brief:not(.has-phone),
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell#pg-practice-shell .pgrb2__head .pgtb__keys > .pgtb__keys-brief:not(.has-phone) { display: inline !important; }
body.pg-app-v3 #pg-practice-shell#pg-practice-shell .pgrb2__head .pgtb__keys > .pgtb__keys-phone,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell#pg-practice-shell .pgrb2__head .pgtb__keys > .pgtb__keys-phone { display: inline !important; }
body.pg-app-v3 #pg-practice-shell#pg-practice-shell .pgrb2__head .pgtb__keys .pgtb__kb-long,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell#pg-practice-shell .pgrb2__head .pgtb__keys .pgtb__kb-long { display: none !important; }
body.pg-app-v3 #pg-practice-shell#pg-practice-shell .pgbk2__head .pgtb__keys > .pgtb__keys-full { display: inline !important; width: auto !important; max-width: 100% !important; }
body.pg-app-v3 #pg-practice-shell#pg-practice-shell .pgbk2__head .pgtb__keys > :is(.pgtb__keys-brief, .pgtb__keys-phone),
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell#pg-practice-shell .pgbk2__head .pgtb__keys > :is(.pgtb__keys-brief, .pgtb__keys-phone) { display: none !important; }
body.pg-app-v3 #pg-practice-shell#pg-practice-shell :is(.pgrb2__head, .pgbk2__head) .pgtb__keys:not(:has(.pgtb__keys-phone)) .pgtb__credit-lbl,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell#pg-practice-shell :is(.pgrb2__head, .pgbk2__head) .pgtb__keys:not(:has(.pgtb__keys-phone)) .pgtb__credit-lbl { display: none !important; }

/* ONE GAP ABOVE THE TITLE, 8px under the row above it, in every mode (Phil 11-23: 'too much padding and different amounts
   of padding above the title in each mode'). Was: Song 18, Band / Karaoke 18 (row gap 8 + 2 + 8), Chord Engine 16. */
body.pg-app-v3 #pg-practice-shell#pg-practice-shell .pgrb2__head { margin-top: 0 !important; padding-top: 0 !important; }
body.pg-app-v3 #pg-practice-shell#pg-practice-shell .pgbk2__head { margin-top: 0 !important; padding-top: 8px !important; }
body.pg-app-v3 #pg-app-song-body.pg-app__body { padding-top: 8px !important; }

/* THE SONG SCREEN'S TITLE = THE PLAYER'S (Phil 11-23: 'song page is using a completely different title line'): the add
   circle small on the first line at the title's left, the title 27px/500 wrapping beside it, the credit line under it. */
body.pg-app-v3 #pg-app-song-body .pg-app__lyrics-title { display: grid !important; grid-template-columns: auto minmax(0, 1fr) !important; column-gap: 6px !important;
    align-items: start !important; margin: 0 !important; white-space: normal !important; overflow-wrap: anywhere;
    font-size: 27px !important; font-weight: 500 !important; letter-spacing: -.02em !important; line-height: 1.15 !important; color: var(--pg-text, #111827); }
body.pg-app-v3 #pg-app-song-body .pg-app__lyrics-title > .pg-app__title-add { grid-column: 1; width: 18px !important; height: 18px !important; margin: 4px 0 0 !important;
    padding: 0 !important; border: 0 !important; background: none !important; opacity: .8; vertical-align: top; }
body.pg-app-v3 #pg-app-song-body .pg-app__lyrics-title > .pg-app__title-add svg { width: 17px !important; height: 17px !important; }
body.pg-app-v3 #pg-app-song-body .pg-app__lyrics-credit { margin: 3px 0 0 !important; font-size: 13px !important; font-weight: 500 !important; line-height: 1.3 !important; }

/* The app's add circle (app-v3.js) opens the app's add sheet over the player. */
html.pg-practice-open body.pg-app-v3 #pg-app-addpl-backdrop { z-index: 100020 !important; }
html.pg-practice-open body.pg-app-v3 #pg-app-addpl-sheet { z-index: 100021 !important; }


/* The song row fits icons, the view in use named, Key, Capo, record and the ⋮ at 390px with Melody named (Phil 11-24). */
body.pg-app-v3 #pg-app-song-opts.pg-app__ribbon--top { gap: 3px !important; padding-left: 6px !important; padding-right: 6px !important; }

/* Chord Engine's Lyrics ⋮ without Fit and Zoom: the header's zoom works the words in that view (Phil 11-24). */
body.pg-app-v3 #pg-practice-shell .pgbk2-lyrhead__pop .pgbk2-lyrhead__row:has([data-lyr="fit"]),
body.pg-app-v3 #pg-practice-shell .pgbk2-lyrhead__pop .pgbk2-lyrhead__zoom { display: none !important; }

/* The tuning switch in the artist line (Phil 11-24): −10¢ with a small switch after it; off = struck through, grey. */
body.pg-app-v3 #pg-practice-shell .pg-tune-tgl,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell .pg-tune-tgl { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
body.pg-app-v3 #pg-practice-shell .pg-tune-tgl::after,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell .pg-tune-tgl::after { content: ""; width: 22px; height: 13px; border-radius: 7px; flex: none;
    background: #2f8a4f radial-gradient(circle at 16px 6.5px, #fff 4.5px, transparent 5px); }
body.pg-app-v3 #pg-practice-shell.pgrb2-tuneoff .pg-tune-tgl,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell.pgrb2-tuneoff .pg-tune-tgl { text-decoration: line-through; color: #9aa3ad; }
body.pg-app-v3 #pg-practice-shell.pgrb2-tuneoff .pg-tune-tgl::after,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell.pgrb2-tuneoff .pg-tune-tgl::after { background: #cbd2d9 radial-gradient(circle at 6px 6.5px, #fff 4.5px, transparent 5px); }
/* Octave's name in the ⋮ (Phil 11-24: the row showed only '–'). */
body.pg-app-v3 #pg-practice-shell#pg-practice-shell .pgbk2-lyrhead__pop .pgv3-octrow > .pgpt__console-key-lbl,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell#pg-practice-shell .pgbk2-lyrhead__pop .pgv3-octrow > .pgpt__console-key-lbl { display: inline !important; visibility: visible !important; position: static !important; width: auto !important; height: auto !important; font-size: 14px; font-weight: 600; color: #111827; }

/* One menu style (Phil 11-24: 'some have icons some not'): the Song screen's ⋮ rows without icons, like every other ⋮. */
body.pg-app-v3 #pg-app-more-pop .pg-app__more-pop-row > svg, body.pg-app-v3 #pg-app-more-pop .pg-app__more-pop-var > svg { display: none !important; }
/* No "Show this part / whole chart" in Band's ⋮ in the app (Phil 11-24: "we don't need the setting"). */
body.pg-app-v3 #pg-practice-shell .pgbk2-lyrhead__pop [data-pgdm-proxy="Show"] { display: none !important; }

/* The title is just the title on a phone (Phil 11-24: it underlined when tapped, as if it were a link). */
body.pg-app-v3 #pg-practice-shell [data-pgtb="title"], body.pg-app-v3 #pg-practice-shell [data-pgtb="title"]:hover, body.pg-app-v3 #pg-practice-shell [data-pgtb="title"]:active, body.pg-app-v3 #pg-practice-shell [data-pgtb="title-display"],
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell [data-pgtb="title"], html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell [data-pgtb="title"]:hover, html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell [data-pgtb="title"]:active, html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell [data-pgtb="title-display"] { text-decoration: none !important; cursor: default !important; -webkit-tap-highlight-color: transparent; }

/* No Octave in the app (Phil 11-24: "I'd just remove this setting from app"). */
body.pg-app-v3 #pg-practice-shell#pg-practice-shell .pgbk2-lyrhead__pop .pgv3-octrow { display: none !important; }

/* Karaoke's Blur button in the Key / Capo row (Phil 11-24); its "Blur lyrics" row leaves the ⋮ (Blur after stays). */
body.pg-app-v3 #pg-practice-shell .pgv3-blurbtn,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell .pgv3-blurbtn { display: inline-flex; align-items: center; gap: 5px; height: 32px; padding: 0 10px; margin-left: auto; border: 1px solid #e5e7eb; border-radius: 9px;
    background: #fff; color: #4b5563; font: 600 13px/1 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; flex: none; }
body.pg-app-v3 #pg-practice-shell .pgv3-blurbtn[hidden],
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell .pgv3-blurbtn[hidden] { display: none !important; }
body.pg-app-v3 #pg-practice-shell .pgv3-blurbtn.is-on,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell .pgv3-blurbtn.is-on { background: #eef4f9; border-color: #bcd3e6; color: #1E4F75; }   /* soft: the strong blue is only for the view switch (Phil 11-24) */
body.pg-app-v3 #pg-practice-shell .pgv3-blurbtn:not([hidden]) + *,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell .pgv3-blurbtn:not([hidden]) + * { margin-left: 6px !important; }
body.pg-app-v3 #pg-practice-shell .pgbk2-lyrhead__pop .pgrb2__sg-blur:not([data-sg-blurafter]),
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell .pgbk2-lyrhead__pop .pgrb2__sg-blur:not([data-sg-blurafter]) { display: none !important; }

/* Blur's delay on the Blur button's ▾ (Phil 11-24: 'Blur should come out of the menu'); both blur rows leave the ⋮. */
body.pg-app-v3 #pg-practice-shell .pgv3-blurbtn,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell .pgv3-blurbtn { position: relative; }
/* Blur = a square icon button, and Karaoke's own delay card never shows: the box under the button replaces it (Phil 11-24). */
body.pg-app-v3 #pg-practice-shell .pgv3-blurbtn,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell .pgv3-blurbtn { width: 32px; padding: 0; justify-content: center; }
body.pg-app-v3 #pg-practice-shell [data-pgblur="pop"],
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell [data-pgblur="pop"] { display: none !important; }
body.pg-app-v3 #pg-practice-shell .pgv3-blurpop,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell .pgv3-blurpop { position: absolute; top: calc(100% + 6px); right: 0; z-index: 60; display: flex; align-items: center; gap: 8px; padding: 8px 10px; white-space: nowrap;
    background: #fff; color: #1a2733; border: 1px solid #e5e7eb; border-radius: 10px; box-shadow: 0 8px 22px rgba(17, 24, 39, .16); font: 500 13px/1 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }
body.pg-app-v3 #pg-practice-shell .pgv3-blurpop[hidden],
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell .pgv3-blurpop[hidden] { display: none !important; }
body.pg-app-v3 #pg-practice-shell .pgv3-blurpop button,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell .pgv3-blurpop button { width: 28px; height: 28px; border: 1px solid #e5e7eb; border-radius: 7px; background: #fff; color: #1a2733; font: 600 15px/1 inherit; }
body.pg-app-v3 #pg-practice-shell .pgv3-blurpop b,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell .pgv3-blurpop b { min-width: 30px; text-align: center; font-weight: 600; color: #6b7280; }
body.pg-app-v3 #pg-practice-shell .pgbk2-lyrhead__pop .pgrb2__sg-blur,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell .pgbk2-lyrhead__pop .pgrb2__sg-blur { display: none !important; }


/* The Song screen's ⋮ in Chord Engine's style, without what it shouldn't show (Phil 11-24): hidden rows stay hidden (the
   row style showed Compact, Show chart and Show lyrics), and Chords shows one value (its old "On" badge goes). */
body.pg-app-v3 #pg-app-more-pop :is(.pg-app__more-pop-row, .pg-app__more-pop-var):is([hidden], .pgdm-gone) { display: none !important; }
body.pg-app-v3 #pg-app-more-pop .pg-app__more-pop-row::after { content: none !important; display: none !important; }
body.pg-app-v3 #pg-app-more-pop { padding: 0 0 4px !important; border-radius: 12px !important; }

/* The player's ⋮ pinned at the row's right end (Phil 11-24: "kebab is not right pinned in player"); after Karaoke's Blur it sits beside it. */
body.pg-app-v3 #pg-practice-shell .pgrb2p2__top > :is(.pgrb2__singgear, [data-rb2-rbsheet], [data-rb2-singgear]):not(.pgv3-blurbtn:not([hidden]) + *),
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell .pgrb2p2__top > :is(.pgrb2__singgear, [data-rb2-rbsheet], [data-rb2-singgear]):not(.pgv3-blurbtn:not([hidden]) + *) { margin-left: auto !important; }

/* Band's beat ruler only on an enlarged card (Phil 11-24: on a small card it covers the wave; it showed only with a loop). */
body.pg-app-v3 #pg-practice-shell#pg-practice-shell .pgps__card:not(.is-soloed) .pgps__bar-ticks,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell#pg-practice-shell .pgps__card:not(.is-soloed) .pgps__bar-ticks { display: none !important; }
body.pg-app-v3 #pg-practice-shell#pg-practice-shell .pgps__card.is-soloed .pgps__bar-ticks,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell#pg-practice-shell .pgps__card.is-soloed .pgps__bar-ticks { display: block !important; }
/* ...but not under words or a chart: an enlarged card's measure bands and ticks sat behind the chart, top to bottom (Phil 11-27). */
body.pg-app-v3 #pg-practice-shell#pg-practice-shell .pgps__card.is-soloed.is-showing-words .pgps__bar-ticks,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell#pg-practice-shell .pgps__card.is-soloed.is-showing-words .pgps__bar-ticks { display: none !important; }

/* Karaoke words line up with the title and play row, 12px in (Phil 11-24: "slim the horizontal padding"); they sat 38px in. */
@media (max-width: 600px) {
  body.pg-app-v3 #pg-practice-shell .pg-practice__sing { padding-left: 0 !important; padding-right: 0 !important; }
  body.pg-app-v3 #pg-practice-shell .pgsg__inner { padding-left: 12px !important; padding-right: 12px !important; }
}

/* PHIL 11-24 BATCH. (1) No line under the Song screen's Lyrics / Key / Capo row: Chord Engine and The Player have none.
   (2) No underline in the bottom bar; the colored box marks the tab in use ("The Player" stays under Band / Karaoke, Phil 11-24).
   (3) The scrubber on phones (Band and Karaoke): the bar lined up with the play row and the times, the handle inside it at
   both ends, a small solid navy handle, the times in the app's font (whole seconds: transport-bar.js clockDec). */
body.pg-app-v3 .pg-app__ribbon--top { border-bottom: 0 !important; }
body.pg-app-v3 .pgv3-bar > .pgv3-bar__t.is-on::after, body.pg-app-v3 .pgv3-pgroup.is-on::after { content: none !important; display: none !important; }
@media (max-width: 600px) {
  body.pg-app-v3 #pg-practice-shell.pgrb2-p2 .pgp3__scrub .pgpt__scrub { margin: 0 7px !important; }
  body.pg-app-v3 #pg-practice-shell.pgrb2-p2 .pgp3__scrub .pgpt__scrub-track { left: -7px !important; width: calc(100% + 14px) !important; height: 4px !important; border-radius: 2px !important; }
  body.pg-app-v3 #pg-practice-shell.pgrb2-p2 .pgp3__scrub .pgpt__scrub-fill { left: -7px !important; padding-left: 7px !important; box-sizing: content-box !important; height: 4px !important; border-radius: 2px !important; }
  body.pg-app-v3 #pg-practice-shell.pgrb2-p2 .pgp3__scrub .pgpt__scrub-thumb { width: 14px !important; height: 14px !important; background: #1e4f75 !important; border: 0 !important; box-shadow: 0 0 0 2px #fff, 0 1px 3px rgba(15, 23, 42, .3) !important; }
  body.pg-app-v3 #pg-practice-shell.pgrb2-p2 .pgp3__times .pgpt__time { font: 500 12px/1 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important; font-variant-numeric: tabular-nums; }
  body.pg-app-v3.pg-app--dark #pg-practice-shell.pgrb2-p2 .pgp3__scrub .pgpt__scrub-thumb { box-shadow: 0 0 0 2px #1d2731, 0 1px 3px rgba(0, 0, 0, .4) !important; }
}
/* The loop's × centred on the bar at the end of the gold stretch: The Player's ".pgp3 button { margin: 0 }" wiped its -10px, so it hung below the bar over the times (Phil 11-24). */
body.pg-app-v3 #pg-practice-shell .pgv3-lx,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell .pgv3-lx { margin: 0 !important; top: 50% !important; transform: translateY(-50%) !important; }
/* The artist line in Band / Karaoke keeps the key and the tuning in view: a long name shortens with "…" (Phil 11-24,
   Wildflowers: "Dolly Parton, Linda Ronstadt and Emmylou Harris (1987)" pushed them off the screen). */
body.pg-app-v3 #pg-practice-shell#pg-practice-shell .pgrb2__head .pgtb__keys > .pgtb__keys-brief:not(.has-phone),
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell#pg-practice-shell .pgrb2__head .pgtb__keys > .pgtb__keys-brief:not(.has-phone) { display: flex !important; align-items: baseline; min-width: 0; max-width: 100%; overflow: hidden; }
body.pg-app-v3 #pg-practice-shell#pg-practice-shell .pgrb2__head .pgtb__keys > .pgtb__keys-brief:not(.has-phone) > *,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell#pg-practice-shell .pgrb2__head .pgtb__keys > .pgtb__keys-brief:not(.has-phone) > * { flex: none; }
body.pg-app-v3 #pg-practice-shell#pg-practice-shell .pgrb2__head .pgtb__keys > .pgtb__keys-brief:not(.has-phone) > .pgtb__kb:first-child,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell#pg-practice-shell .pgrb2__head .pgtb__keys > .pgtb__keys-brief:not(.has-phone) > .pgtb__kb:first-child { flex: 0 1 auto; display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* The scrub's times flush with the bar's ends in Band AND Karaoke: Karaoke centred "3:11" in a 56px box, so it sat in from the end and moved between modes (Phil 11-24). */
body.pg-app-v3 #pg-practice-shell.pgrb2-p2 .pgp3__times .pgpt__time,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell.pgrb2-p2 .pgp3__times .pgpt__time { min-width: 0 !important; width: auto !important; text-align: left !important; }
body.pg-app-v3 #pg-practice-shell.pgrb2-p2 .pgp3__times .pgpt__time--dur,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell.pgrb2-p2 .pgp3__times .pgpt__time--dur { margin-left: auto !important; text-align: right !important; }
/* "The Player" on the same line as "Song" and "Chord Engine" (it sat 3px lower; Phil 11-24). */
body.pg-app-v3 .pgv3-prt__lbl { position: relative; top: -3px; }
/* A LOOP ON THE SCRUB = two thin lines at its start and end, no fill and no × (Phil 11-24: "not crazy about it"). */
body.pg-app-v3 #pg-practice-shell .pgp3__scrub .pgpt__scrub-loop,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell .pgp3__scrub .pgpt__scrub-loop { background: transparent !important; }
body.pg-app-v3 #pg-practice-shell .pgv3-lx,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell .pgv3-lx { display: none !important; }

/* NO RECORDING YET in the app (11-24, Phil: bring the site's view over; norec.js is shared with the site). The player's
   old card hides; the drop-your-copy card and the greyed arrangement show, as on the phone site (one.css + phone-player.css). */
html.pg-one-norec body.pg-app-v3 #pg-practice-shell#pg-practice-shell.pgpt-has-noaudio .pgpt-noaudio { display: none !important; }
body.pg-app-v3 .pg-one-norec__dz { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 12px; row-gap: 10px; align-items: start; text-align: left; margin: 10px 12px; padding: 14px 16px;
    border: 2px dashed #cfe3d6; border-radius: 8px; background: #f7faf8; color: #1f2933; font: 15px/1.45 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }
body.pg-app-v3 .pg-one-norec__dz.is-over { border-color: #4f9a62; background: #eef7f1; }
body.pg-app-v3 .pg-one-norec__dz > svg { color: #4f9a62; width: 30px; height: 30px; grid-row: 1; margin-top: 2px; }
body.pg-app-v3 .pg-one-norec__dz p { margin: 0 0 4px; }
body.pg-app-v3 .pg-one-norec__txt { grid-column: 2; min-width: 0; }
body.pg-app-v3 .pg-one-norec__t { font-weight: 600; font-size: 15px; }
body.pg-app-v3 .pg-one-norec__s, body.pg-app-v3 .pg-one-norec__alt { color: #6b7280; font-size: 13px; }
body.pg-app-v3 .pg-one-norec__btn { grid-column: 2; justify-self: start; height: 34px; padding: 0 14px; border-radius: 9px; border: 1px solid #4f9a62; background: #4f9a62; color: #fff; font: 600 13px/1 inherit; cursor: pointer; }
body.pg-app-v3 .pg-one-norec__alt button { border: 0; background: none; padding: 0; color: #1E4F75; font: 600 13px inherit; cursor: pointer; }
body.pg-app-v3 .pg-one-norec__list { display: grid; gap: 8px; margin: 12px; opacity: .5; filter: grayscale(1); pointer-events: none; }
body.pg-app-v3 .pg-one-norec__sec { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 12px; border: 1px solid #e5e7eb; border-radius: 10px; background: #fff; }
body.pg-app-v3 .pg-one-norec__sec > b { font-size: 15px; font-weight: 600; color: #1f2933; min-width: 120px; }
body.pg-app-v3 .pg-one-norec__faces { display: flex; gap: 10px; flex-wrap: wrap; }
body.pg-app-v3 .pg-one-norec__f { display: inline-flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11.5px; color: #6b7280; }
body.pg-app-v3 .pg-one-norec__face { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: #dbe6f0; color: #335; font: 600 12px/1 inherit; }
body.pg-app-v3 .pg-one-norec__face img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Chord Engine's line under an instrumental's title: the record and its key ("The Tony Rice Unit (1979) · G"), as in
   The Player, not the computer's "Primary key: G" (Phil 11-25, sideways audit). */
body.pg-app-v3 #pg-practice-shell#pg-practice-shell .pgbk2__head .pgtb__keys:has(> .pgtb__keys-phone) > .pgtb__keys-full,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell#pg-practice-shell .pgbk2__head .pgtb__keys:has(> .pgtb__keys-phone) > .pgtb__keys-full { display: none !important; }
body.pg-app-v3 #pg-practice-shell#pg-practice-shell .pgbk2__head .pgtb__keys > .pgtb__keys-phone,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell#pg-practice-shell .pgbk2__head .pgtb__keys > .pgtb__keys-phone { display: inline !important; }
/* The old "Form A A B B" readout in Chord Engine's views row goes on phones and in the app at every width (it showed
   only sideways, Phil 11-25 audit); the part buttons above already read the form. */
body.pg-app-v3 #pg-practice-shell [data-pgbk2-formwrap],
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell [data-pgbk2-formwrap] { display: none !important; }
/* Chord Engine's band and melody mutes in The Player's look (Phil 11-25 audit: "old style controls"): a square white
   button with a hairline edge, like the singers / band buttons; muted = grey with the slash, no pink. */
body.pg-app-v3 #pg-practice-shell .pgp3--band .pgp3__row > .pgp3__mute:is([data-p3-mute="band"], [data-p3-mute="melody"]),
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell .pgp3--band .pgp3__row > .pgp3__mute:is([data-p3-mute="band"], [data-p3-mute="melody"]) { width: 36px !important; height: 34px !important; border: 1px solid #dfe3e8 !important; border-radius: 9px !important; background: #fff !important; color: #1f2933 !important; }
body.pg-app-v3 #pg-practice-shell .pgp3--band .pgp3__row > .pgp3__mute:is([data-p3-mute="band"], [data-p3-mute="melody"]) svg,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell .pgp3--band .pgp3__row > .pgp3__mute:is([data-p3-mute="band"], [data-p3-mute="melody"]) svg { width: 18px !important; height: 18px !important; }
body.pg-app-v3 #pg-practice-shell .pgp3--band .pgp3__row > .pgp3__mute.is-off:is([data-p3-mute="band"], [data-p3-mute="melody"]),
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell .pgp3--band .pgp3__row > .pgp3__mute.is-off:is([data-p3-mute="band"], [data-p3-mute="melody"]) { background: #f3f4f6 !important; color: #9aa3ad !important; }

/* CHORD ENGINE SIDEWAYS (Phil 11-25: "things start too low", "two setting kebabs", "both menus clip", "the count-in
   is ugly / out of date"). The phone on its side (pgbk2-sidehead, backing-band2.js):
   1. The play card sits beside the title, one row, so the chart and the melody or lyrics start ~65px higher. */
body.pg-app-v3 #pg-practice-shell.pgbk2-sidehead .pgbk2,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell.pgbk2-sidehead .pgbk2 { display: grid !important; grid-template-columns: minmax(0, max-content) minmax(0, 1fr); column-gap: 16px; align-items: center; }
body.pg-app-v3 #pg-practice-shell.pgbk2-sidehead .pgbk2 > *,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell.pgbk2-sidehead .pgbk2 > * { grid-column: 1 / -1; min-width: 0; }
body.pg-app-v3 #pg-practice-shell.pgbk2-sidehead .pgbk2 > .pgbk2__head,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell.pgbk2-sidehead .pgbk2 > .pgbk2__head { grid-column: 1; grid-row: 1; max-width: 38vw; }
body.pg-app-v3 #pg-practice-shell.pgbk2-sidehead .pgbk2 > .pgbk2__head .pgtb__title,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell.pgbk2-sidehead .pgbk2 > .pgbk2__head .pgtb__title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.pg-app-v3 #pg-practice-shell.pgbk2-sidehead .pgbk2 > .pgbk2__band,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell.pgbk2-sidehead .pgbk2 > .pgbk2__band { grid-column: 2; grid-row: 1; width: auto !important; margin: 0 !important; }
/* 2. Side by side: ONE ⋮, the chart's (it holds the lyrics rows too: Chords, Lyrics), at the right end. */
body.pg-app-v3 #pg-practice-shell.pgbk2-side .pgbk2-lyrhead__gearwrap,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell.pgbk2-side .pgbk2-lyrhead__gearwrap { display: none !important; }
body.pg-app-v3 #pg-practice-shell.pgbk2-side [data-pgbk2-top] > .pgbk2__gear,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell.pgbk2-side [data-pgbk2-top] > .pgbk2__gear { margin-left: auto !important; order: 99; }
/* 3. Its menus fit the short screen: they scroll instead of running off the bottom. */
body.pg-app-v3 #pg-practice-shell.pgbk2-sidehead :is(.pgbk__display-pop, .pgbk2-lyrhead__pop, [data-p3-menu]),
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell.pgbk2-sidehead :is(.pgbk__display-pop, .pgbk2-lyrhead__pop, [data-p3-menu]) { max-height: calc(100vh - 130px) !important; max-height: calc(100dvh - 130px) !important; overflow-y: auto !important; overscroll-behavior: contain; }
/* 4. The count-in in today's look: a white circle with a green ring and number, not the dark disc; sideways in side
   by side it sits over the chart half, not on the controls. */
body.pg-app-v3 #pg-practice-shell .pgbk2 > .pg-band-countin,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell .pgbk2 > .pg-band-countin { width: 84px !important; height: 84px !important; background: #fff !important; color: #2f8a4f !important; border: 3px solid #3f9b5c; box-shadow: 0 8px 24px rgba(17, 24, 39, .18); font-size: 42px !important; font-weight: 700 !important; }
body.pg-app-v3 #pg-practice-shell .pgbk2 > .pg-band-countin.is-pickup,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell .pgbk2 > .pg-band-countin.is-pickup { width: 104px !important; font-size: 34px !important; }
body.pg-app-v3 #pg-practice-shell.pgbk2-sidehead .pgbk2 > .pg-band-countin,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell.pgbk2-sidehead .pgbk2 > .pg-band-countin { top: 62% !important; }
body.pg-app-v3 #pg-practice-shell.pgbk2-side .pgbk2 > .pg-band-countin,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell.pgbk2-side .pgbk2 > .pg-band-countin { left: 25% !important; }

/* THE SONG SCREEN SIDEWAYS (Phil 11-25, mockup "Song screen"): ONE row on top. The title and its plain line
   ("Artist (year) · key") at the left; the view pill, Key, Capo and the ⋮ at the right. app.js sets
   body.pg-app--side and the pill lights every view on screen (no Side by side button). The ribbon keeps its
   own width and lies over the right end of the title row (--pg-side-opts = its width, app.js measures it);
   the title stays put while the halves scroll. */
@media (orientation: landscape) and (max-height: 540px) {
    body.pg-app-v3.pg-app--side #pg-app-song-opts.pg-app__ribbon--top { align-self: flex-end; width: max-content; max-width: 100%; height: 56px; box-sizing: border-box;
        margin-bottom: -56px; padding-top: 0 !important; padding-bottom: 0 !important; border-bottom: 0 !important; align-items: center;
        position: relative; z-index: 6; background: var(--pg-white, #fff); }
    body.pg-app-v3.pg-app--side #pg-app-song-opts .pg-app__viewpill:not([hidden]) { display: inline-flex; }
    body.pg-app-v3.pg-app--side #pg-app-song-opts .pg-app__jam,
    body.pg-app-v3.pg-app--side #pg-app-song-opts #pg-app-split { display: none !important; }
    body.pg-app-v3.pg-app--side #pg-app-song-body.pg-app__body { padding-top: 0 !important; }
    /* The title row: fixed at the top side by side (grid row 1), sticky over the chart alone. */
    body.pg-app-v3.pg-app--side #pg-app-song-body > .pg-app__lyrics-head { display: flex !important; align-items: center; gap: 0; box-sizing: border-box;
        min-height: 56px; margin: 0 !important; padding: 0 calc(var(--pg-side-opts, 340px) + 8px) 0 2px !important;
        border-bottom: 1px solid #eef0f2; position: sticky; top: 0; z-index: 4; background: var(--pg-white, #fff); }
    body.pg-app-v3.pg-app--side #pg-app-song-body > .pg-app__lyrics-head .pg-app__lyrics-titlewrap { display: block !important; flex: 1; min-width: 0; }
    body.pg-app-v3.pg-app--side #pg-app-song-body .pg-app__lyrics-head .pg-app__lyrics-title { display: block !important; white-space: nowrap !important; overflow: hidden;
        text-overflow: ellipsis; font-size: 21px !important; line-height: 1.2 !important; letter-spacing: -.01em !important; }
    body.pg-app-v3.pg-app--side #pg-app-song-body .pg-app__lyrics-title > .pg-app__title-add { display: inline-block; margin: 0 4px 0 0 !important; vertical-align: -1px; }
    body.pg-app-v3.pg-app--side #pg-app-song-body .pg-app__lyrics-head :is(.pg-app__lyrics-credit, .pg-app__src-pop, .pg-app__jam) { display: none !important; }
    body.pg-app-v3.pg-app--side #pg-app-song-body .pg-app__lyrics-line { display: block; margin: 2px 0 0; font-size: 12.5px; font-weight: 500; line-height: 1.3; color: #6b7280;
        white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    /* The ⋮ stops above the bottom bar on the short screen; the rest scrolls inside it. */
    body.pg-app-v3.pg-app--side #pg-app-more-pop { max-height: calc(100vh - 180px); max-height: calc(100dvh - 180px); overflow-y: auto; overscroll-behavior: contain; }
    /* A vocal song's Chart | Melody: the lyrics step aside. */
    body.pg-app-v3 .pg-app__body.is-split.is-side-mel > .pg-app__lyrics { display: none; }
}

/* THE TAB VIEW ON PHONES (Phil 11-25: 'as compact as possible so the tab is mostly on screen'; 'the control row needs
   to pin at the top of the screen when it scrolls'). The pickers (instrument, notation, octave) are one row that stays
   at the top while the music scrolls under it; Acoustic / Synth and Your tabs move into the ⋮ (display-menu.js,
   the Melody group). Chord Engine and the app's Song screen; the app and the phone site alike. */
body.pg-app-v3 #pg-practice-shell .pgbk__melody > .pgbk2-pickrow,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell .pgbk__melody > .pgbk2-pickrow,
body.pg-app-v3 .pg-app__melody > .pg-tt--compact { position: sticky !important; top: 0 !important; z-index: 6 !important; background: #fff !important; box-shadow: 0 -10px 0 #fff !important; }   /* (the shadow covers the scroller's top padding) */
body.pg-app-v3 :is(#pg-practice-shell, .pg-app__melody) .pg-app__melody-sound,
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell .pg-app__melody-sound,
body.pg-app-v3 #pg-practice-shell .pgbk__melody > .pgbk2-melbar [data-pgbk2-own],
html.pg-one-phone body:not(.pg-app-v3) #pg-practice-shell .pgbk__melody > .pgbk2-melbar [data-pgbk2-own] { display: none !important; }

/* THE PLAYLIST SIDEBAR'S EDITING (Phil 11-25, Craig's ask; body.pgv3-pl2): jams and bands back in the
   sidebar under your own lists; Share and ⋯ on every list; an × on each row (tap twice); the old Rename /
   Delete buttons move into ⋯. */
body.pg-app-v3.pgv3-pl2 #pg-app-playlists > .pg-app__jams, body.pg-app-v3.pgv3-pl2 #pg-app-playlists > .pg-app__mine-h { display: block !important; }
body.pgv3-pl2 .pg-app__pl-edit--rename, body.pgv3-pl2 .pg-app__pl-edit--delete, body.pgv3-pl2 .pg-app__jampl-rename { display: none !important; }
body.pgv3-pl2 .pg-app__playlist-head .pg-app__pl-headshare { display: inline-grid; }
body.pgv3-pl2 .pg-app__pl-more { display: inline-grid; flex: none; width: 30px; height: 30px; margin: -4px 0 -4px 6px; place-items: center;
    border-radius: 9px; color: #4b5563; cursor: pointer; -webkit-tap-highlight-color: transparent; }
body.pgv3-pl2 .pg-app__pl-more:active { background: #eef4f9; }
body.pgv3-pl2.pg-app--dark .pg-app__pl-more { color: #b8c0ca; }
body.pgv3-pl2 .pg-app__jampl-head { display: flex; align-items: center; }
body.pgv3-pl2 .pg-app__jampl-head .pg-app__pl-sp { flex: 1; }
body.pgv3-pl2 .pg-app__playlist-song, body.pgv3-pl2 .pg-app__playlist-ph, body.pgv3-pl2 .pg-app__playlist-break, body.pgv3-pl2 .pg-app__jampl-song { display: flex; align-items: center; gap: 8px; }
body.pgv3-pl2 .pg-app__playlist-break > .pg-app__pl-rm { margin-left: auto; }
body.pgv3-pl2 .pg-app__pl-rm { flex: none; min-width: 28px; height: 28px; padding: 0 8px; margin-left: 2px; border: 0; border-radius: 999px;
    background: #fbeceb; color: #c0392b; font-family: inherit; font-weight: 700; font-size: 17px; line-height: 1; cursor: pointer; -webkit-tap-highlight-color: transparent; }
body.pgv3-pl2 .pg-app__pl-rm.is-armed { background: #c0392b; color: #fff; font-size: 12.5px; }
body.pgv3-pl2.pg-app--dark .pg-app__pl-rm { background: #3a2220; color: #f08a7e; }
body.pgv3-pl2.pg-app--dark .pg-app__pl-rm.is-armed { background: #c0392b; color: #fff; }
.pg-app__plmenu { position: fixed; z-index: 60; min-width: 190px; padding: 6px 0; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px;
    box-shadow: 0 10px 30px rgba(16, 24, 40, .22); display: grid; }
.pg-app__plmenu-item { all: unset; box-sizing: border-box; padding: 11px 16px; font-size: 15px; color: #111827; cursor: pointer; }
.pg-app__plmenu-item:active { background: #f3f6f9; }
.pg-app__plmenu-item.is-danger { color: #c0392b; border-top: 1px solid #e5e7eb; margin-top: 4px; }
.pg-app__plmenu-item.is-armed { background: #c0392b; color: #fff; }
body.pg-app--dark .pg-app__plmenu { background: #1d2731; border-color: #2d3946; }
body.pg-app--dark .pg-app__plmenu-item { color: #e9e6e0; }
body.pg-app--dark .pg-app__plmenu-item.is-danger { color: #f08a7e; border-color: #2d3946; }
body.pg-app--dark .pg-app__plmenu-item.is-armed { color: #fff; }
.pg-app__pl-toast--undo { pointer-events: auto; display: flex; align-items: center; gap: 14px; }
.pg-app__pl-toast--undo button { all: unset; font-weight: 700; color: #9fd3ae; cursor: pointer; padding: 2px 4px; }

/* CHORD ENGINE'S BAND MIX = THE PLAYER'S ROWS on phones and in the app (Phil 11-25; ce-phone.js builds the rows in The
   Player's own classes): the dials and the old Volume row go; the rows sit in a box as The Player's levels do. */
body.pg-app-v3 .pg-band-mix:has(.pgce-mix) :is(.pg-band-knobs, .pg-band-mix__row.is-master, .pg-band-pop__rule),
html.pg-one-phone body:not(.pg-app-v3) .pg-band-mix:has(.pgce-mix) :is(.pg-band-knobs, .pg-band-mix__row.is-master, .pg-band-pop__rule) { display: none !important; }
body.pg-app-v3 .pgce-mix,
html.pg-one-phone body:not(.pg-app-v3) .pgce-mix { margin: 6px 0 10px; border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; background: #fff; }
body.pg-app-v3 .pg-band-mix:has(.pgce-mix),
html.pg-one-phone body:not(.pg-app-v3) .pg-band-mix:has(.pgce-mix) { width: min(340px, calc(100vw - 24px)) !important; max-width: none !important; box-sizing: border-box; }
body.pg-app-v3 .pgce-mix .pgv3-mxp__p,
html.pg-one-phone body:not(.pg-app-v3) .pgce-mix .pgv3-mxp__p { grid-template-columns: 36px 78px 1fr 40px; }

/* The Band view's levels menu (player-v3.js levelsOnly, Phil 11-25 plan): no speaker column, and a line under the rows
   saying where muting lives now. */
.pgv3-mxp__p.is-lvl { grid-template-columns: 96px minmax(0, 1fr) 40px !important; }
.pgv3-mxp__tip { margin: 6px 0 2px; padding: 8px 12px 2px; border-top: 1px solid #e5e7eb; font-size: 12.5px; line-height: 1.4; color: #6b7280; }
body.pg-app--dark .pgv3-mxp__tip { border-top-color: #2c3743; color: #9aa6b2; }

/* Display key differs from Key (a capo or tune-down on): a small dot on the field's corner, not a blue fill (Phil 11-27). */
body.pg-app-v3 #pg-practice-shell label.pg-app-dkf.pg-app-dk-diff:not(.pg-app-kf)::after { content: ""; position: absolute; top: -3px; right: -3px; width: 8px; height: 8px; border-radius: 50%; background: #1E4F75; box-shadow: 0 0 0 2px #fff; pointer-events: none; }
body.pg-app-v3.pg-app--dark #pg-practice-shell label.pg-app-dkf.pg-app-dk-diff:not(.pg-app-kf)::after { background: #8bb8dc; box-shadow: 0 0 0 2px #1e2328; }

/* ONE LOOK FOR KEY AND DISPLAY KEY (Phil 11-27: 'the key showing in the dropdown is a different font in each'): The Player's
   and Chord Engine's fields letter their key as the song screen's Key pill does, 14px bold, under an 11px grey label. The
   value used to copy its select's font (10px grey in The Player, 16px regular in Chord Engine); !important beats that. */
body.pg-app-v3 #pg-practice-shell#pg-practice-shell label.pg-app-dkf.pg-app-dkf > .pg-app-dkf__v { font: 700 14px/1.2 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important; color: #111 !important; }
body.pg-app-v3 #pg-practice-shell#pg-practice-shell label.pg-app-dkf.pg-app-dkf > :is(.pgpt__console-key-lbl, .pgbk2__lbl) { font: 500 11px/1.1 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important; color: #6b7280 !important; }
body.pg-app-v3.pg-app--dark #pg-practice-shell#pg-practice-shell label.pg-app-dkf.pg-app-dkf > .pg-app-dkf__v { color: var(--n-ink, #e9e6e0) !important; }
body.pg-app-v3.pg-app--dark #pg-practice-shell#pg-practice-shell label.pg-app-dkf.pg-app-dkf > :is(.pgpt__console-key-lbl, .pgbk2__lbl) { color: #9aa3ad !important; }


/* NIGHT MODE (11-27): The Player's and Chord Engine's Key and Display key fields were white with light letters, and
   Chord Engine's song title stayed near-black: the fields get the dark raised look, the title the night ink. */
body.pg-app-v3.pg-app--dark #pg-practice-shell#pg-practice-shell label.pg-app-dkf.pg-app-dkf { background: var(--n-raised, #232930) !important; border-color: var(--n-line, #3a424b) !important; }
body.pg-app--dark #pg-practice-shell#pg-practice-shell#pg-practice-shell .pgtb__title.pgtb__title { color: var(--n-ink, #e9e6e0) !important; }

/* ACCOUNT, TIDIED (Phil 11-28: "It just looks ugly"): the Circle tab's look. No boxes: each group is set off by a gray
   band and has a plain title; bigger type and taller rows; you at the top with a bigger photo; one green button
   (Become a member), the rest outlined; the invite with the site's gift. */
body.pg-app-v3 [data-view="account"] .pg-app__body { padding: 0 0 24px; background: var(--pg-white, #fff); }
body.pg-app-v3 [data-view="account"] .pgv3-me { flex-direction: column; align-items: center; gap: 10px; margin: 0; padding: 26px 18px 20px; border: 0; border-radius: 0; background: none; text-align: center; }
body.pg-app-v3 [data-view="account"] .pgv3-me::after { content: "Edit your profile"; margin: 0; font-size: 15px; font-weight: 600; color: #2e7d4f; }
body.pg-app-v3 [data-view="account"] .pgv3-me .pg-app__me-av { width: 76px; height: 76px; font-size: 28px; flex: none; }
body.pg-app-v3 [data-view="account"] .pgv3-me .pg-app__me-av img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
body.pg-app-v3 [data-view="account"] .pgv3-me .pg-app__me-txt { display: flex; flex-direction: column; align-items: center; gap: 2px; }
body.pg-app-v3 [data-view="account"] .pgv3-me .pg-app__me-txt b { font-size: 21px; }
body.pg-app-v3 [data-view="account"] .pgv3-me .pg-app__me-txt small { font-size: 15px; color: var(--pg-text-muted, #6b7280); }
body.pg-app-v3 [data-view="account"] .pgv3-me .pg-app__me-mail { font-size: 14px; }
body.pg-app-v3 [data-view="account"] .pg-app__section { margin: 0; padding: 16px 18px; border: 0; border-top: 8px solid var(--pg-bg-muted, #f1f2f0); border-radius: 0; background: none; box-shadow: none; }
body.pg-app-v3 [data-view="account"] .pg-app__section-title { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-size: 18px; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--pg-text, #1f2937); }
body.pg-app-v3 [data-view="account"] .pgv3-gift { flex: none; color: #2e7d4f; }
body.pg-app-v3 [data-view="account"] .pg-app__section-desc { margin: 0 0 12px; font-size: 15.5px; line-height: 1.45; color: var(--pg-text-muted, #5d6975); }
body.pg-app-v3 [data-view="account"] .pgv3-list { margin: 8px -18px -16px; border-top: 1px solid var(--pg-border, #eef0f2); }
body.pg-app-v3 [data-view="account"] .pgv3-list:first-child { margin-top: -16px; border-top: 0; }
body.pg-app-v3 [data-view="account"] #pg-app-acct-disp .pgv3-list { margin-top: 4px; }
body.pg-app-v3 [data-view="account"] .pgv3-row { min-height: 54px; padding: 0 18px; font-size: 17px; font-weight: 500; }
body.pg-app-v3 [data-view="account"] .pg-app__action-btn { display: inline-flex; align-items: center; justify-content: center; width: auto; min-height: 44px; padding: 0 20px; border-radius: 10px; font-size: 16px; font-weight: 600; }
body.pg-app-v3 [data-view="account"] #pg-app-offline-btn,
body.pg-app-v3 [data-view="account"] #pg-app-feedback-send { background: none; border: 1.5px solid #3F9A5C; color: #2e7d4f; }
body.pg-app-v3 [data-view="account"] .pg-app__offline-delete { display: inline-block; margin: 0 0 0 14px; padding: 0; border: 0; background: none; font-size: 14.5px; font-weight: 500; color: var(--pg-text-muted, #6b7280); text-decoration: underline; }
body.pg-app-v3 [data-view="account"] .pg-app__offline-delete[hidden] { display: none; }
body.pg-app-v3 [data-view="account"] .pg-app__share-actions { justify-content: flex-start; margin: 0; }
body.pg-app-v3 [data-view="account"] .pg-app__share-btn { min-height: 44px; padding: 0 18px; border-radius: 10px; border: 1.5px solid #3F9A5C; background: none; color: #2e7d4f; font-size: 16px; font-weight: 600; }
body.pg-app-v3 [data-view="account"] .pg-app__share-btn--primary { background: #53A96B; border-color: #53A96B; color: #fff; }
body.pg-app-v3 [data-view="account"] .pg-app__share-url { display: none; }
body.pg-app-v3 [data-view="account"] .pgv3-fb-sec { padding-top: 0; padding-bottom: 0; }
body.pg-app-v3 [data-view="account"] .pgv3-fb-sec .pgv3-list { margin: 0 -18px; }
body.pg-app-v3 [data-view="account"] .pgv3-fb-sec #pgv3-fb-box { padding: 16px 0; }
body.pg-app-v3 [data-view="account"] .pgv3-logout-sec { padding: 0 !important; }
body.pg-app-v3 [data-view="account"] .pg-app__action-btn.pgv3-logout { display: flex; width: 100%; min-height: 54px; justify-content: flex-start; padding: 0 18px; border-radius: 0; background: none; border: 0; font-size: 17px; font-weight: 500; }
body.pg-app-v3 [data-view="account"] #pgv3-version { padding-bottom: 8px; }
body.pg-app-v3.pg-app--dark [data-view="account"] .pg-app__body { background: transparent; }
body.pg-app-v3.pg-app--dark [data-view="account"] .pg-app__section { background: none; border-top-color: #12161a; }
body.pg-app-v3.pg-app--dark [data-view="account"] .pgv3-me { background: none; }

/* Your photo: tap to add or change it (Phil 11-28). A camera badge on its corner; Edit your profile its own link. */
body.pg-app-v3 [data-view="account"] .pgv3-me::after { content: none; }
body.pg-app-v3 [data-view="account"] .pgv3-me-photo { position: relative; display: block; overflow: visible; cursor: pointer; -webkit-tap-highlight-color: transparent; }
body.pg-app-v3 [data-view="account"] .pgv3-me-img { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; }
body.pg-app-v3 [data-view="account"] .pgv3-me-img img { width: 100%; height: 100%; object-fit: cover; }
body.pg-app-v3 [data-view="account"] .pgv3-me-cam { position: absolute; right: -2px; bottom: -2px; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: #53A96B; color: #fff; border: 2px solid var(--pg-white, #fff); box-sizing: border-box; }
body.pg-app-v3 [data-view="account"] .pgv3-me-photo.is-busy .pgv3-me-img { opacity: .55; }
body.pg-app-v3 [data-view="account"] .pgv3-me-edit { font-size: 15px; font-weight: 600; color: #2e7d4f; text-decoration: none; }
body.pg-app-v3 [data-view="account"] .pgv3-me-msg { font-size: 14px; color: var(--pg-text-muted, #6b7280); }
body.pg-app-v3 [data-view="account"] .pgv3-me-msg.is-bad { color: #b42318; }
body.pg-app-v3 [data-view="account"] .pgv3-me-add { padding: 8px 18px; border: 1.5px solid #3F9A5C; border-radius: 999px; background: none; color: #2e7d4f; font: inherit; font-size: 15px; font-weight: 600; }
body.pg-app-v3 [data-view="account"] .pgv3-me-add[hidden] { display: none; }
/* The page viewer's bar (Edit your profile, jam and band pages) in the app's own header look, not the old dark blue (Phil 11-28). */
body.pg-app-v3:not(.pg-app--dark) .pg-app__web-bar { background: var(--pg-white, #fff); color: #111827; border-bottom: 1px solid #eceef1; }
body.pg-app-v3 .pg-app__web-title { font-size: 17px; font-weight: 700; }

/* ONE LIBRARY in the app (Phil 11-30): the Library heading's counts, and Create in the site green. */
body.pgv3-pl2 .pg-app__pl-libn { margin-left: 8px; font-size: 13px; font-weight: 500; color: var(--pg-text-muted, #6b7280); }
body.pg-app-v3 .pg-app__pl-namego { background: #53A96B; color: #fff; }
body.pg-app-v3.pg-app--dark .pg-app__pl-namego { background: #3f8f57; color: #fff; }

/* Theme color row in the settings menu (Phil 11-30): the label, then the eight swatches on their own line. */
.pg-app-theme-row { flex-wrap: wrap; row-gap: 10px; cursor: default; }
.pg-app-theme-row > span:not(.pg-app-hlrow) { flex: 1; }
.pg-app-hlrow { flex: 1 0 100%; display: flex; flex-wrap: wrap; gap: 9px; padding-left: 30px; }
.pg-app-hlsw { width: 26px; height: 26px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.pg-app-hlsw[aria-pressed="true"] { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #16202b; }
body.pg-app--dark .pg-app-hlsw[aria-pressed="true"] { box-shadow: 0 0 0 2px #1c2129, 0 0 0 4px #e6eaf0; }
/* ...two even rows of four. */
.pg-app-hlrow { display: grid; grid-template-columns: repeat(4, 26px); gap: 10px 12px; }

/* The theme color inks the chord names and the section names, as on the site (one.css, html[data-one-ink]); Blue leaves
   everything as it was (Phil 11-30). */
html[data-app-ink] body.pg-app .pg-chord-inline,
html[data-app-ink] body.pg-app .pg-rt-chart__label,
html[data-app-ink] body.pg-app #pg-practice-shell .pgsg__label,
html[data-app-ink] body.pg-app #pg-practice-shell .pgp3__seg > span,
html[data-app-ink] body.pg-app #pg-practice-shell .pgps__bar-mnum,
html[data-app-ink] body.pg-app #pg-practice-shell .pgps__over { color: var(--pg-app-ink) !important; }

/* Theme color as a row like the others (Phil 11-30): one circle in the color at the right; a tap moves to the next. */
.pg-app-theme-row { flex-wrap: nowrap; cursor: pointer; }
.pg-app-themedot { display: inline-block; width: 18px; height: 18px; border-radius: 50%; background: #1E4F75; box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); vertical-align: middle; }
.pg-app-theme-row > .pg-app-theme-state { flex: none; margin-left: auto; display: inline-flex; align-items: center; }
.pg-app-theme-row > .pg-app-theme-state { justify-content: flex-end; min-width: 0; width: auto; }   /* the circle pinned right, under Off / Standard (Phil 11-30) */
