/* Hallmark · component: site examples · genre: atmospheric · theme: existing media page · v2.0.0 */
/* Critique: real page captures and direct links; preserve the existing tool picker and sheet. */
:root { --examples-focus: #ffffff; --examples-ink: #f7f5ff; --examples-line: #77708c; --examples-hover: #32265d; }
html, body { overflow-x: clip; }
.sheet h2 { text-wrap: balance; overflow-wrap: break-word; min-width: 0; }
.site-example-link { display: flex; align-items: center; justify-content: center; min-height: 44px; margin: 12px auto 4px; padding: 8px 16px; width: fit-content; border: 1px solid var(--examples-line); border-radius: 10px; color: var(--examples-ink); text-underline-offset: 4px; }
.site-example-link:hover { background: var(--examples-hover); }
.site-example-link:active { text-decoration-thickness: 3px; }
.site-example-link:focus-visible, .site-example-nav button:focus-visible, .ex-site:focus-visible { outline: 3px solid var(--examples-focus); outline-offset: 3px; }
.site-example-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 12px; }
.site-example-nav button { min-width: 44px; min-height: 44px; border: 1px solid var(--examples-line); border-radius: 10px; padding: 8px 12px; color: var(--examples-ink); }
.site-example-nav button[aria-current="true"] { background: var(--examples-hover); border-color: var(--examples-ink); }
.site-example-nav button:hover { text-decoration: underline; }
.site-example-nav button:active { text-decoration-thickness: 3px; }
.ex-slide { min-width: 0; }
.sheet[data-site-examples] .ex-site { width: min(100%, 280px); height: min(38dvh, 360px); border-radius: 4px; box-shadow: none; border: 1px solid var(--examples-line); }
.sheet[data-site-examples] .ex-dots { display: none; }
.site-examples-fallback { margin: 20px 0; padding: 16px; border: 1px solid var(--examples-line); }
.site-examples-fallback a { display: block; padding: 12px 0; }
@media (prefers-reduced-motion: reduce) { .sheet[data-site-examples] .ex-track { scroll-behavior: auto; } }
