.full-photo-gallery{box-sizing:border-box;width:100vw;max-width:none;height:100dvh;max-height:none;padding:env(safe-area-inset-top,0px) 0 env(safe-area-inset-bottom,0px);color:#fff6e4;overscroll-behavior:contain;background:#040a13;border:0;grid-template-rows:auto minmax(120px,1fr) auto auto auto;margin:0;font:17px/1.5 Arial,sans-serif;position:fixed;inset:0;overflow:auto}.full-photo-gallery[open]{display:grid}.full-photo-gallery::backdrop{background:#020710f5}.full-photo-gallery header{justify-content:space-between;align-items:center;gap:12px;padding:8px 12px;display:flex}.full-photo-gallery header strong{overflow-wrap:anywhere;font-size:18px}.full-photo-gallery button{border:1px solid rgb(var(--brand-gold-rgb) / .4);color:#ffe6b3;cursor:pointer;min-width:48px;min-height:48px;font:inherit;touch-action:manipulation;background:#101e30;border-radius:12px;place-items:center;display:inline-grid}.full-photo-gallery button:disabled{opacity:.35;cursor:default}.full-photo-gallery :focus-visible{outline-offset:2px;outline:3px solid #fff1bc}.full-photo-stage{touch-action:none;-webkit-user-select:none;user-select:none;place-items:center;min-height:0;display:grid;position:relative;overflow:hidden}.full-photo-stage>img{object-fit:contain;pointer-events:none;transform-origin:50%;width:100%;height:100%;min-height:0;display:block}.full-photo-stage>div{text-align:center;padding:20px}.full-photo-stage>div button{margin:16px auto;display:block}.full-photo-tools{flex-wrap:wrap;justify-content:center;align-items:center;gap:6px;padding:10px 8px;display:flex}.full-photo-tools span{text-align:center;min-width:45px;font-size:16px}.full-photo-thumbs{justify-content:center;gap:8px;padding:4px 12px;display:flex;overflow-x:auto}.full-photo-thumbs button{border:2px solid #0000;flex-shrink:0;width:74px;height:54px;padding:0;overflow:hidden}.full-photo-thumbs button[aria-pressed=true]{border-color:var(--brand-gold)}.full-photo-thumbs img{object-fit:cover;width:100%;height:100%}.full-photo-help{text-align:center;color:#cbd7e4;margin:8px 12px;font-size:14px}@media (max-width:420px){.full-photo-tools{gap:3px}.full-photo-tools button{min-width:44px;min-height:44px}.full-photo-tools span{min-width:36px}.full-photo-help{font-size:13px}}@media (max-height:450px){.full-photo-gallery{grid-template-rows:auto minmax(100px,1fr) auto}.full-photo-thumbs,.full-photo-help{display:none}.full-photo-tools{padding:2px}.full-photo-gallery header{padding:2px 8px}}
