.rounding-demo-trigger { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 44px; padding: .5rem .8rem; border: 1px solid #bd681e; border-radius: 6px; background: transparent; color: #9a4808; font: inherit; font-size: .85rem; font-weight: 600; line-height: 1.3; cursor: pointer; text-decoration: none; }
.rounding-demo-trigger:hover { background: #fff3e5; }
.rounding-demo-trigger:focus-visible, .rounding-demo-close:focus-visible { outline: 3px solid #c66a16; outline-offset: 3px; }
.app-shell > .site-header { flex-wrap: wrap; }
.rounding-demo-open { overflow: hidden; }
.rounding-demo-dialog { box-sizing: border-box; width: min(560px, calc(100vw - 24px)); max-width: none; max-height: calc(100dvh - 24px); margin: auto; padding: 16px; border: 1px solid #555b5e; border-radius: 12px; background: #202426; color: #f5f1e8; box-shadow: 0 18px 60px #0008; overflow: auto; font-family: var(--font-display, Arial), sans-serif; }
.rounding-demo-dialog::backdrop { background: #000b; }
.rounding-demo-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.rounding-demo-dialog .rounding-demo-heading h2 { margin: 0; color: inherit; font-size: 18px; line-height: 1.3; }
.rounding-demo-close { flex: none; min-height: 44px; padding: 8px 12px; border: 1px solid #a87539; border-radius: 6px; background: #303537; color: #ffca70; font: inherit; cursor: pointer; }
.rounding-demo-dialog video { display: block; width: 100%; height: min(620px, calc(100dvh - 210px)); min-height: 120px; object-fit: contain; background: #080b09; }
.rounding-demo-dialog p { margin: 12px 0 0; color: #eee; font-size: 14px; line-height: 1.5; }
.rounding-demo-dialog .rounding-demo-help { color: #b4bab7; font-size: 12px; }
@media (prefers-reduced-motion: reduce) { .rounding-demo-dialog, .rounding-demo-trigger { animation: none; transition: none; } }

.rounding-demo-dialog [data-video-focus] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
