.photo-share {
    margin-top: 24px;
}

.photo-share[hidden],
.photo-share-fallback[hidden] {
    display: none;
}

.photo-share-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.photo-share-button {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 18px;
    margin: 0;
    border: 1px solid var(--border-color);
    border-radius: 0;
    background: var(--surface-bg);
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.8px;
    cursor: pointer;
    transition:
        color 0.18s ease,
        background-color 0.18s ease,
        border-color 0.18s ease;
}

.photo-share-button:focus-visible,
.photo-share-url:focus-visible {
    outline: 2px solid var(--focus-outline);
    outline-offset: 3px;
}

.photo-share-status {
    margin: 10px 0 0;
    color: var(--text-secondary);
    font-family: var(--font-primary);
    font-size: 12px;
    line-height: 1.5;
}

.photo-share-status:empty {
    margin: 0;
}

.photo-share-fallback {
    max-width: 560px;
    margin-top: 12px;
}

.photo-share-label {
    display: block;
    margin-bottom: 6px;
    color: var(--text-secondary);
    font-family: var(--font-display);
    font-size: 9px;
    letter-spacing: 0.6px;
}

.photo-share-url {
    box-sizing: border-box;
    display: block;
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: 0;
    background: var(--card-bg);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.4;
}

.photo-modal .photo-share {
    margin: 16px 0 20px;
}

@media (hover: hover) {
    .photo-share-button:hover {
        border-color: var(--accent-cyan);
        background: var(--card-bg);
        color: var(--text-accent);
    }
}

@media (prefers-reduced-motion: reduce) {
    .photo-share-button {
        transition: none;
    }
}