html.legendary .capture-app {
    width: 100%;
    box-sizing: border-box;
    margin-top: var(--space-6);
    padding: var(--space-5);
    text-align: left;
    background: var(--surface-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg, 16px);
    color: var(--text-color);
    overflow-wrap: anywhere;
}
html.legendary .capture-app h2 { font-size: var(--text-xl); margin: 0 0 var(--space-3); }
html.legendary .capture-app p { line-height: 1.6; margin: var(--space-3) 0; }
html.legendary .capture-app details { border-top: 1px solid var(--border-color); }
html.legendary .capture-app summary { cursor: pointer; padding: 14px 0; font-weight: 600; min-height: 44px; box-sizing: border-box; }
html.legendary .capture-app ol { padding-left: 1.5rem; margin: 0 0 var(--space-4); }
html.legendary .capture-app li { line-height: 1.6; margin-bottom: var(--space-3); }
html.legendary .capture-app-note { font-size: var(--text-sm); }
html.legendary .capture-app summary:focus-visible { outline: 2px solid var(--accent-color); outline-offset: 3px; }
html.legendary .capture-app [hidden], html.legendary .capture-share-status[hidden] { display: none !important; }
html.legendary .capture-share-status { margin: 0; font-size: var(--text-sm); }
html.legendary #capture-url { font-size: 16px; min-width: 0; }
html.legendary #capture-install, html.legendary #capture-btn { min-height: 44px; }
@media (max-width: 380px) {
    html.legendary #capture-form { flex-direction: column; align-items: stretch; }
    html.legendary #capture-btn { min-height: 44px; }
}
