.photo-open { display: block; width: 100%; padding: 0; margin: 0; border: 0; border-radius: 8px; background: #111827; cursor: zoom-in; touch-action: pan-y pinch-zoom; }
.photo-open:focus-visible { outline: 2px solid #f8d783; outline-offset: 4px; }
.photo-open img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; max-height: 340px; object-fit: contain; box-sizing: border-box; background: #111827; border: 1px solid #78634388; border-radius: 8px; }
.photo-viewer { width: min(1120px, calc(100vw - 24px)); max-width: none; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); padding: 16px; box-sizing: border-box; color: #ece7dc; background: #101924; border: 1px solid #786343; border-radius: 12px; }
.photo-viewer::backdrop { background: rgba(0, 0, 0, .88); }
.photo-viewer-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.photo-viewer-header h2 { margin: 0; font-size: 1.2rem; color: #f8d783; }
.photo-viewer figure { margin: 0; touch-action: pan-y pinch-zoom; }
.photo-viewer img { display: block; width: 100%; height: auto; max-height: calc(100vh - 220px); max-height: calc(100dvh - 220px); object-fit: contain; background: #090f16; }
.photo-viewer figcaption { margin-top: 10px; color: #c2baa9; font-size: .85rem; }
.photo-viewer .skill-button { padding: 8px 12px; margin: 0; border: 1px solid #6b7280; border-radius: 8px; background: #111827; color: #f3f4f6; font: inherit; cursor: pointer; }
.photo-viewer .skill-button:hover, .photo-viewer .skill-button:focus-visible { border-color: #fbbf24; color: #fbbf24; }
.photo-viewer .saga-switch { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.photo-viewer .saga-switch[hidden] { display: none; }
.photo-viewer .saga-date { font-size: .8rem; color: #c2baa9; }
