/* Showcase bar and About panel. Uses the application's own tokens (paper, ink, hairline, Inter). */
.sc-bar { position: fixed; top: 0; left: 0; right: 0; z-index: 70; height: 36px; display: flex; align-items: center; gap: 12px; padding: 0 12px 0 16px;
  background: var(--surface); border-bottom: 1px solid var(--line); color: var(--ink-2); font: 500 12.5px/1 var(--font-text); }
.sc-bar .sc-dot { width: 6px; height: 6px; border-radius: 50%; border: 1px solid var(--attention); flex: none; }
.sc-bar.playing .sc-dot { background: var(--accent); border-color: var(--accent); animation: sc-pulse 1.2s ease-in-out infinite; }
.sc-bar .sc-msg { min-width: 0; flex: 1 1 auto; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-bar .sc-actions { display: flex; gap: 6px; flex: none; }
.sc-btn { font: 500 12px/1 var(--font-text); color: var(--ink); background: transparent; border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 11px; cursor: pointer; white-space: nowrap; }
.sc-btn:hover { background: var(--surface-2); }
.sc-btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.sc-btn.primary:hover { filter: brightness(1.08); background: var(--accent); }
.sc-btn:focus-visible, .sc-x:focus-visible, .sc-chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sc-x { flex: none; width: 26px; height: 26px; border: 0; border-radius: 50%; background: transparent; color: var(--ink-3); font-size: 18px; line-height: 1; cursor: pointer; }
.sc-x:hover { background: var(--surface-2); color: var(--ink); }
.sc-has-bar body { padding-top: 36px; box-sizing: border-box; }
.sc-has-bar .app { height: calc(100vh - 36px); }
.sc-chip { position: fixed; right: 10px; bottom: 6px; z-index: 70; font: 500 11px/1 var(--font-text); color: var(--ink-2); background: var(--surface); border: 1px solid var(--line-strong); border-radius: 999px; padding: 5px 9px; cursor: pointer; }
.sc-scrim { position: fixed; inset: 0; z-index: 80; background: rgba(28, 26, 22, .32); display: flex; justify-content: flex-end; }
.sc-panel { width: min(520px, 100vw); height: 100%; overflow: auto; background: var(--surface); border-left: 1px solid var(--line); padding: 22px 26px 32px; color: var(--ink-2); font: 400 14px/1.55 var(--font-text); box-sizing: border-box; }
.sc-panel header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.sc-panel h2 { font: 500 24px/1.2 var(--font-display); color: var(--ink); margin: 0; }
.sc-panel h3 { font: 600 11px/1 var(--font-text); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 22px 0 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.sc-panel ul { margin: 0; padding-left: 18px; }
.sc-panel li { margin: 0 0 6px; }
.sc-panel .sc-lede { color: var(--ink); margin: 0; }
.sc-panel .sc-foot { margin: 22px 0 0; padding-top: 14px; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.sc-panel .sc-foot.sc-dim { border: 0; padding: 0; margin-top: 8px; color: var(--ink-3); font-size: 12px; }
.sc-panel a { color: var(--accent); }
.toast.sc-toast { border-radius: 14px; max-width: min(560px, 88vw); line-height: 1.4; }
@keyframes sc-pulse { 50% { opacity: .35; } }
@media (max-width: 720px) {
  .sc-bar { height: auto; min-height: 36px; flex-wrap: wrap; padding: 6px 8px 6px 12px; gap: 6px 8px; }
  .sc-bar .sc-msg { flex-basis: calc(100% - 60px); white-space: normal; line-height: 1.3; font-size: 12px; }
  .sc-bar .sc-x { position: absolute; top: 4px; right: 6px; }
  .sc-has-bar body { padding-top: 76px; }
  .sc-has-bar .app { height: calc(100vh - 76px); }
}
@media (prefers-reduced-motion: reduce) { .sc-bar.playing .sc-dot { animation: none; } }
