/* Ativo apenas no experimento; a variante polaroid anterior continua intacta. */
.arena-gallery[data-gallery=photography] .gallery-panel { background: transparent; border: 0; }
.photo-modes { display: flex; gap: 18px; }
.photo-mode { border: 0; border-bottom: 1px solid transparent; padding: 0 0 4px; background: none; color: var(--muted); font: inherit; cursor: pointer; transition: color .3s, border-color .3s; }
.photo-mode[aria-pressed=true] { color: var(--gold); border-color: var(--gold); }
.photo-footer { display: grid; min-height: 54px; }
.photo-footer > * { grid-area: 1 / 1; }
.photo-lens-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 54px; }
.photo-reveal { min-height: 44px; padding: 10px 16px; border: 1px solid var(--gold); color: var(--ink); background: #b69b721c; font: inherit; font-size: .875rem; cursor: pointer; transition: background .3s; }
.photo-reveal:not(:disabled):hover { background: #b69b7240; }
.photo-reveal:disabled { opacity: .6; cursor: wait; }
.photo-reveal-count { font-size: .75rem; color: var(--muted); }
.arena-gallery :is(.photo-mode,.photo-reveal):focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.photo-lens-layer { position: absolute; inset: 0; z-index: 6; overflow: hidden; background: #211d17; pointer-events: none; }
.photo-lens-backdrop { position: absolute; inset: 0; }
.photo-lens-background { display: block; width: 100%; height: 100%; object-fit: contain; opacity: .75; }
.photo-viewfinder { position: absolute; inset: 12% 18%; border: 1px solid #e8dfcd45; border-radius: 2px; }
.photo-viewfinder::before, .photo-viewfinder::after { content: ''; position: absolute; top: 50%; left: 50%; background: #e8dfcd90; }
.photo-viewfinder::before { width: 20px; height: 1px; translate: -50% 0; }
.photo-viewfinder::after { width: 1px; height: 20px; translate: 0 -50%; }
.photo-polaroid-deck { position: absolute; inset: 0; }
.photo-polaroid {
  position: absolute; right: 6%; top: 9%; width: 45%; height: 80%; max-width: 300px; margin: 0;
  display: grid; grid-template-rows: minmax(0, 1fr) 32px; padding: 10px 10px 4px;
  background: var(--gallery-paper); color: #342b20; box-shadow: 0 12px 26px #0005; rotate: 3deg; z-index: 2;
}
.photo-portrait-image { display: block; width: 100%; height: 100%; object-fit: contain; background: #d8cebb; }
.photo-polaroid figcaption { align-self: center; font: .8125rem/1.2 var(--serif); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.photo-polaroid-back { rotate: -4deg; translate: -12px 4px; z-index: 1; }
.photo-polaroid-back > * { opacity: .55; }
.photo-portrait-pending { display: flex; flex-direction: column; gap: 16px; align-items: center; justify-content: center; text-align: center; padding: 12px; border: 1px solid #b69b7270; background: #d8cebb; }
.photo-portrait-pending span { font: clamp(1.1rem, 2.4vw, 2rem)/1.1 var(--serif); }
.photo-portrait-pending small { font-size: .7rem; line-height: 1.5; color: #645744; }
.arena-gallery[data-photo-mode=lens] > .gallery-stage > .gallery-panel { visibility: hidden; }
.arena-gallery[data-photo-mode=lens] .gallery-stage { cursor: default; }
@media (max-width: 767px) {
  .arena-gallery[data-gallery=photography] .gallery-topline { min-height: 28px; }
  .photo-polaroid { right: 7%; top: 8%; width: 54%; height: 82%; padding: 7px 7px 3px; grid-template-rows: minmax(0, 1fr) 26px; }
  .photo-polaroid-back { display: none; }
  .photo-reveal-count { max-width: 100px; font-size: .6875rem; }
  .photo-modes { gap: 12px; }
}
@media print {
  .photo-lens-layer, .photo-lens-actions, .photo-modes { display: none !important; }
  .arena-gallery[data-photo-mode=lens] > .gallery-stage > .gallery-panel { visibility: visible; }
}
