/* Install hint + share toast (static/cb-pwa.js) */
.cb-install-hint { position: fixed; left: 0.75rem; right: 0.75rem; bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px)); z-index: 1200;
  display: flex; align-items: center; gap: 0.625rem; padding: 0.625rem 0.5rem 0.625rem 0.75rem; max-width: 30rem; margin: 0 auto;
  background: #1a1d27; color: #e4e4e7; border: 1px solid #2a2d37; border-radius: 0.875rem; box-shadow: 0 8px 24px rgba(0,0,0,0.45);
  font-size: 0.875rem; line-height: 1.35; animation: cbIhIn .25s ease-out; }
.cb-install-hint img { border-radius: 0.5rem; flex-shrink: 0; }
.cb-install-hint p { flex: 1; margin: 0; }
.cb-ih-install { flex-shrink: 0; min-height: 2.5rem; padding: 0 0.875rem; border: 0; border-radius: 0.5rem; background: #3b82f6; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.cb-ih-close { flex-shrink: 0; width: 2.5rem; height: 2.5rem; border: 0; background: transparent; color: #a1a1aa; font-size: 1.5rem; line-height: 1; cursor: pointer; border-radius: 0.5rem; }
html[data-density="large"] .cb-install-hint { font-size: 1rem; padding: 0.75rem 0.5rem 0.75rem 0.875rem; }
html[data-density="large"] .cb-ih-install, html[data-density="large"] .cb-ih-close { min-height: 3rem; height: 3rem; }
html[data-density="large"] .cb-ih-close { width: 3rem; }
body.light-mode .cb-install-hint { background: #fff; color: #18181b; border-color: #e4e4e7; box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
@keyframes cbIhIn { from { transform: translateY(1rem); opacity: 0; } to { transform: none; opacity: 1; } }
.cb-share-toast { position: fixed; left: 50%; bottom: 1.5rem; transform: translateX(-50%); z-index: 1300; background: #111827; color: #fff;
  border: 1px solid #374151; padding: 0.6rem 1rem; border-radius: 0.6rem; opacity: 0; transition: opacity .2s; pointer-events: none; }
.cb-share-toast.visible { opacity: 1; }
