.gym-photo-card { display:flex; align-items:center; gap:16px; width:100%; max-width:480px; margin:24px 0; padding:12px; text-align:left; border:1px solid #9e7163; background:#25201e; color:#f5f0e8; cursor:pointer; }
.gym-photo-card[hidden] { display:none; }
.gym-photo-card:hover { background:#342822; border-color:#e1af96; }
.gym-photo-card > img { width:88px; height:76px; object-fit:cover; flex-shrink:0; }
.gym-photo-card > span:nth-child(2) { flex:1; }
.gym-photo-card strong { display:block; font:600 16px/1.4 var(--body); }
.gym-photo-card small { display:block; margin-top:6px; color:#c8bcb5; font-size:13px; }
body.gym-photos-open { overflow:hidden; }
dialog.gym-photo-viewer { width:min(1080px,calc(100% - 24px)); max-height:calc(100dvh - 24px); padding:16px; background:#111313; overflow:auto; }
.gym-photo-viewer::backdrop { background:#000e; }
.gym-photo-head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px; }
.gym-photo-head h2 { font:600 20px/1.4 var(--body); margin:0; }
.gym-photo-viewer button { min-width:44px; min-height:44px; border:1px solid #51534e; background:#222521; color:#fff; cursor:pointer; }
.gym-photo-head button { font-size:28px; }
.gym-photo-stage { height:min(62dvh,720px); background:#090a09; display:flex; justify-content:center; }
.gym-photo-stage img { display:block; width:100%; height:100%; object-fit:contain; filter:none; }
.gym-photo-controls { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:12px 0; }
.gym-photo-controls p { font-size:14px; line-height:1.4; margin:0; text-align:center; }
.gym-photo-thumbs { display:flex; gap:8px; overflow-x:auto; padding:2px; }
.gym-photo-thumbs button { flex:0 0 64px; padding:2px; }
.gym-photo-thumbs button[aria-pressed=true] { border:2px solid #e1af96; }
.gym-photo-thumbs img { width:56px; height:48px; object-fit:cover; display:block; }
@media(max-width:600px) { dialog.gym-photo-viewer { width:calc(100% - 12px); max-height:calc(100dvh - 12px); padding:10px; } .gym-photo-stage { height:58dvh; } .gym-photo-head h2 { font-size:17px; } .gym-photo-card { gap:12px; } }
