/* Shared helpers for every design page (added by the gallery). */
.back-to-gallery{
    position: fixed;
    left: 12px;
    bottom: 12px;
    z-index: 9999;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.82);
    color: #fff;
    font: 600 13px/1.2 Arial, Helvetica, sans-serif;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    opacity: 0.85;
    transition: opacity 0.2s ease;
}
.back-to-gallery:hover,
.back-to-gallery:focus-visible{
    opacity: 1;
    color: #fff;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible{
    outline: 3px solid #f59e0b;
    outline-offset: 2px;
}
@media print{
    .back-to-gallery{
        display: none;
    }
}
