.carousel-slide::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(transparent 35%, rgba(0, 2, 50, .9)); }
.gallery-caption { position: absolute; inset-inline: 20px; bottom: 58px; z-index: 3; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; color: white; text-shadow: 0 1px 3px #000; }
.gallery-caption > span { font-size: 17px; font-weight: 600; }
.gallery-caption a { pointer-events: auto; color: #fff; font-size: 12px; text-decoration: none; padding: 8px 12px; border: 1px solid rgba(255,255,255,.6); border-radius: 999px; background: rgba(0,2,50,.45); transition: background-color 180ms ease; }
.gallery-caption a:hover { background: #3d42c8; }
.gallery-caption a:focus-visible, .active-filters a:focus-visible, .profile-section-nav a:focus-visible { outline: 3px solid #daad4c; outline-offset: 3px; }
.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 20px; font-size: 12px; }
.active-filters > span { color: #64637d; }
.active-filters a { display: inline-flex; gap: 10px; align-items: center; color: #2d308f; background: #eeedff; border: 1px solid #d5d4f3; border-radius: 999px; padding: 7px 12px; text-decoration: none; }
.active-filters a:hover { background: #e0def9; }
.active-filters .clear-filters { background: transparent; border-color: transparent; text-decoration: underline; }
.public-profile .content-area { overflow: visible; min-width: 0; }
.profile-section-nav { position: sticky; top: 84px; z-index: 900; display: flex; gap: 6px; max-width: 100%; overflow-x: auto; padding: 10px; margin-bottom: 24px; background: #fff; border: 1px solid #e5e4ef; border-radius: 14px; box-shadow: 0 5px 20px rgba(0,2,50,.08); }
.profile-section-nav a { flex-shrink: 0; padding: 9px 14px; border-radius: 9px; color: #2d308f; text-decoration: none; font-size: 13px; transition: background-color 180ms, color 180ms; }
.profile-section-nav a:hover { background: #eeedff; }
.profile-section-nav a[aria-current] { background: #2d308f; color: #fff; }
.public-profile section[id] { scroll-margin-top: var(--profile-scroll-offset, 160px); }
.public-profile section[id]:focus { outline: none; }
.profile-share-dialog { width: min(440px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; border: 1px solid #dcdbea; border-radius: 20px; padding: 24px; color: #252750; box-shadow: 0 24px 80px #0005; }
.profile-share-dialog::backdrop { background: rgba(0,2,40,.6); }
.share-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.share-heading h2 { font-size: 19px; margin: 0; }
.profile-share-dialog button { border: 0; border-radius: 9px; padding: 10px 16px; background: #2d308f; color: white; cursor: pointer; font: inherit; }
.share-heading button { color: #252750; background: #f0eff8; font-size: 22px; padding: 3px 12px; }
.profile-share-dialog > p { font-size: 13px; margin-top: 16px; }
.profile-share-dialog > img { display: block; margin: 16px auto; max-width: 100%; height: auto; image-rendering: pixelated; }
.profile-share-dialog label { display: block; font-size: 12px; margin-bottom: 6px; }
.profile-share-dialog input { width: 100%; font-size: 12px; padding: 10px; border: 1px solid #cccbe2; border-radius: 8px; }
.share-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.share-status { min-height: 1.5em; color: #2d308f; }
@media (max-width: 480px) { .gallery-caption { inset-inline: 14px; bottom: 54px; gap: 5px; } .gallery-caption > span { font-size: 13px; } .gallery-caption a { font-size: 10px; padding: 5px 8px; } .profile-section-nav a { padding: 8px 10px; font-size: 12px; } }
@media (prefers-reduced-motion: reduce) { .gallery-caption a, .profile-section-nav a { transition: none; } }
