/* Pacome components adapt the existing app without replacing its data/audio IDs. */
body.y-pacome-shell #barre-1 {
  background:var(--y-bg); border-bottom:1px solid var(--y-line);
  display:flex; justify-content:center; padding:10px 12px;
}
body.y-pacome-shell #icon-menu {
  top:8px; left:12px; width:44px; height:44px; border:1px solid var(--y-line);
  border-radius:50%; display:flex; align-items:center; justify-content:center;
}
body.y-pacome-shell #img-menu { width:28px; height:28px!important; }
body.y-pacome-shell #icon-central { position:absolute; top:8px; left:50%; transform:translateX(-50%); margin:0; display:flex; justify-content:center; align-items:center; min-height:44px; }
body.y-pacome-shell #icon-central img { height:32px!important; width:auto; }
body.y-pacome-shell #y-header-shop { position:absolute; top:8px; right:12px; }
body.y-pacome-shell .y-shop { color:var(--y-ink); }
body.y-pacome-shell #icon-pro { top:8px; left:12px; right:auto; width:44px; height:44px; padding:0; border:1px solid var(--y-yellow); border-radius:50%!important; background:var(--y-yellow); color:var(--y-ink); font:700 12px/44px var(--y-body)!important; text-align:center; cursor:pointer; }
body.y-pacome-shell.y-pro-open #icon-pro { display:none!important; }
body.y-pacome-shell #icon-music { top:70px; right:16px; }
body.y-pacome-shell #icon-music img { width:44px; height:44px!important; object-fit:contain; }
body.y-pacome-shell #title { left:16px; width:calc(100% - 86px); font-family:var(--y-mono); font-size:14px!important; text-align:left; }
body.y-pacome-shell #barre-2.y-nav { width:100%; height:auto; padding:0; background:none; border:0; box-shadow:none; }
body.y-pacome-shell #barre-2 .y-nav-items { max-width:100%; min-height:76px; gap:0; padding:8px 8px max(8px,env(safe-area-inset-bottom)); }
body.y-pacome-shell #barre-2 button {
  position:static; display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:4px; width:100%; min-width:0; min-height:56px; padding:0; border:0; border-radius:8px;
  background:transparent; color:var(--y-ink); font-family:var(--y-body); font-size:12px; font-weight:700;
}
body.y-pacome-shell #barre-2 .mn {
  width:34px!important; height:34px!important; margin:0; border:0!important;
  border-radius:50%; object-fit:contain; box-shadow:none; background:transparent!important; padding:0;
  filter:none!important;
}
body.y-pacome-shell #barre-2 button[aria-current=page] .mn { background:var(--y-yellow)!important; outline:3px solid var(--y-yellow); }
body.y-pacome-shell #barre-2 button span { font-family:var(--y-body); font-size:12px; line-height:1.2; }
.y-commerce { width:min(92vw,480px); max-height:85dvh; overflow:auto; padding:28px; border:1px solid var(--y-line);
  border-radius:16px; background:var(--y-bg); color:var(--y-fg); font-family:var(--y-body); font-size:16px; line-height:1.5; }
.y-commerce::backdrop { background:rgba(0,0,0,.75); }
.y-commerce h2 { margin:12px 44px 20px 0; }
.y-commerce .y-dialog-close { position:absolute; top:12px; right:12px; color:var(--y-fg); font-size:24px; }
.y-shop-status { border:1px solid var(--y-line); padding:12px; border-radius:8px; color:var(--y-muted); }
#y-profile-pro-entry { margin:12px 16px; }
.y-checkout-parts { display:grid; gap:8px; margin:16px 0; }
.y-checkout-parts[hidden] { display:none; }
.y-commerce .y-checkout-part { width:100%; min-height:44px; padding:10px; border:1px solid var(--y-line); border-radius:6px; background:var(--y-bg2); color:var(--y-fg); text-align:left; font:700 14px/1.4 var(--y-body); }
.y-commerce .y-checkout-part[aria-pressed=true] { border-color:var(--y-yellow); color:var(--y-yellow); }

/* Discovery settings are retained for a later release. */
body.y-pacome-shell[data-y-settings=disabled] :is(#icon-menu,#menu,#display-menu) { display:none!important; }
#y-share-dialog { width:min(92vw,420px); }
#y-share-dialog .y-share-networks { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin:20px 0; }
#y-share-dialog .y-share-networks a { display:flex; align-items:center; justify-content:center; min-height:44px; padding:10px; border:1px solid var(--y-line); border-radius:24px; color:var(--y-fg); background:var(--y-card); font:700 13px var(--y-body); text-decoration:none; }
#y-share-dialog [data-share-copy] { width:100%; }
#y-share-dialog [role=status] { font:400 13px/1.5 var(--y-body); color:var(--y-yellow); }
