#my-first-shop{padding-bottom:68px}
.race-photo-link{position:absolute;bottom:17px;right:clamp(24px,6vw,80px);z-index:3;display:inline-flex;align-items:center;gap:9px;min-height:44px;padding:10px 15px;background:#fff;color:#252925;border:1px solid #b8aa8c;text-decoration:none;font:13px Arial,sans-serif;letter-spacing:0}
.race-photo-link svg{width:18px;height:18px}.race-hover-photo{position:absolute;inset:0 clamp(24px,6vw,80px);width:calc(100% - 2 * clamp(24px,6vw,80px));height:100%;object-fit:contain;background:#fff;opacity:0;pointer-events:none;z-index:2;transition:opacity .25s}
@media(hover:hover) and (pointer:fine){#my-first-shop:hover .race-hover-photo{opacity:1}}
#race-photo-viewer{position:fixed;inset:0;width:100%;max-width:none;height:100%;height:100dvh;max-height:none;margin:0;padding:60px 16px 16px;background:#111;color:#fff;border:0;z-index:999}
#race-photo-viewer::backdrop{background:#111}#race-photo-viewer img{display:block;width:100%;height:calc(100% - 64px);object-fit:contain;touch-action:pan-y}
#race-photo-viewer button{min-height:44px;min-width:44px;background:#fff;color:#222;border:1px solid #b8aa8c;cursor:pointer;font:20px Arial,sans-serif}
#race-photo-viewer .race-photo-close{position:absolute;top:8px;right:16px;padding:8px 16px;font-size:14px}.race-photo-controls{display:flex;justify-content:center;align-items:center;gap:16px;height:64px}.race-photo-caption{text-align:center;font:14px/1.4 Arial,sans-serif;margin:0;max-width:65%}
@media(prefers-reduced-motion:reduce){.race-hover-photo{transition:none}}

/* Keep both story actions visible without overlap on phones and desktop. */
#my-first-shop{padding-bottom:100px}
.race-story-actions{position:absolute;bottom:17px;left:clamp(24px,6vw,80px);right:clamp(24px,6vw,80px);display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;z-index:3}
.race-story-actions .race-photo-link{position:static;margin:0;max-width:100%;box-sizing:border-box}
@media(max-width:600px){#my-first-shop{padding-bottom:155px}.race-story-actions{flex-direction:column;align-items:flex-start}.race-story-actions .race-photo-link{min-height:44px}}
