/* What a picture carries on itself, on every page (docs/PHOTO-RIGHTS.md): an AI-generated
   image its label, a credited photograph its credit, in the same corner (`macros/image.html`
   disclosure). A picture is never both, so the two never meet. */
.photo-mark {
    position:absolute; right:8px; bottom:8px; z-index:2;
    display:inline-flex; align-items:center; gap:4px; padding:3px 8px; border-radius:20px;
    background:rgba(0,0,0,.6); color:var(--white); font-size:.66rem; font-weight:600;
    letter-spacing:.02em; pointer-events:none;
}
.photo-mark svg { width:11px; height:11px; }
.photo-mark.is-small { right:4px; bottom:4px; padding:2px 5px; font-size:.55rem; }
/* A credit is small print, not a label: no plate, faded, a soft shadow so it holds
   on a bright sky. The AI label keeps its plate, since the law asks that it be seen. */
.photo-mark.is-credit {
    padding:0; background:none; border-radius:0;
    max-width:calc(100% - 16px); font-size:10px; font-weight:400; letter-spacing:0;
    color:rgba(255,255,255,.72); text-shadow:0 0 3px rgba(0,0,0,.65), 0 0 1px rgba(0,0,0,.5);
    white-space:nowrap; overflow:hidden; text-overflow:ellipsis; pointer-events:auto;
}
.photo-mark.is-credit a { color:inherit; text-decoration:none; }
.photo-mark.is-credit a:hover { text-decoration:underline; }
.photo-mark.is-credit.is-small { max-width:calc(100% - 8px); font-size:8px; pointer-events:none; }
.photo-rights-preview {
    position:fixed; left:50%; bottom:16px; transform:translateX(-50%); z-index:2000;
    padding:8px 14px; border-radius:20px; background:rgba(0,0,0,.82); color:var(--white);
    font-size:.78rem; font-weight:600; text-decoration:none;
}
