/* Visitor prints and the hosts' private photo desk; inactive until the server gate opens. */
.visitor-prints{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}.visitor-print{min-width:0}.visitor-print button.photo-open{display:block;width:100%;border:0;background:transparent;padding:0}.visitor-print img{display:block;width:100%;aspect-ratio:1;object-fit:cover}.visitor-print small{font-size:11px;display:block;margin-top:9px;overflow-wrap:anywhere}.photo-empty{border:2px dashed var(--rule);padding:25px 16px;margin:18px 0}.photo-hint{font-size:12px;color:var(--muted);line-height:1.5}.photo-add{min-height:48px}.photo-thumbs{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.photo-thumb{width:76px;height:76px;position:relative}.photo-thumb img{width:100%;height:100%;object-fit:cover}.photo-thumb button{position:absolute;right:-7px;top:-7px;background:var(--ink);color:var(--paper);border:0;width:28px;height:28px;border-radius:50%}.photo-picker{display:flex;width:76px;height:76px;align-items:center;justify-content:center;border:2px dashed var(--rule);font-size:28px;cursor:pointer}.photo-note{border-left:4px solid var(--sk-bg);background:var(--tint);padding:12px 14px;font-size:12px;line-height:1.55}.photo-declaration{display:flex;gap:10px;align-items:start;margin:22px 0;font-size:14px}.photo-declaration input{width:22px;height:22px;flex-shrink:0}.photo-form label:not(.photo-declaration):not(.photo-picker){display:block;font-size:13px;font-weight:700;margin:18px 0 8px}.photo-form textarea,.photo-tool textarea,.photo-tool input{width:100%;max-width:100%;border:2px solid var(--ink);background:var(--paper);padding:10px;font:inherit;box-sizing:border-box}.photo-result{display:grid;grid-template-columns:76px minmax(0,1fr);gap:14px;align-items:start;border-bottom:1px solid var(--rule);padding:16px 0}.photo-result .photo-preview{position:relative;aspect-ratio:1;overflow:hidden}.photo-preview img{width:100%;height:100%;object-fit:cover}.photo-preview .photo-cup{position:absolute;width:38px;height:38px;top:24%;left:24%}.photo-chip{display:inline-block;font:800 10px var(--sans);letter-spacing:.08em;border:1px solid var(--ink);padding:4px 7px;margin:0 0 7px;text-transform:uppercase}.photo-chip.live{background:var(--sk-bg);color:var(--paper);border-color:var(--sk-bg)}.photo-chip.cup{background:var(--mast)}.photo-result p{font-size:13px;line-height:1.45;margin:2px 0 0}.photo-result-duo{width:100px;float:right}.own-photo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.own-photo{border:2px solid var(--ink);padding:10px;min-width:0}.own-photo .photo-preview{position:relative;width:100%;aspect-ratio:4/3}.own-photo h3{font-size:15px;line-height:1.2;margin:10px 0}.own-photo button{min-height:44px}.photo-desk-tabs{display:flex;gap:5px;flex-wrap:wrap;margin:20px 0}.photo-desk-tabs button{min-height:44px;padding:8px 10px;font-weight:700;border:2px solid var(--ink);background:transparent;color:inherit}.photo-desk-tabs button[aria-pressed=true]{background:var(--ink);color:var(--paper)}.queue-row{display:grid;grid-template-columns:76px minmax(0,1fr) auto;gap:12px;align-items:center;padding:14px 0;border-bottom:1px solid var(--rule)}.queue-row img{width:76px;height:76px;object-fit:cover}.queue-row b{font-size:15px}.queue-row small{display:block;font-size:12px;margin:5px 0}.queue-row button{min-width:44px;min-height:44px}.member-row{padding:16px 0;border-bottom:1px solid var(--rule);overflow-wrap:anywhere}.member-row label{display:flex;gap:10px;align-items:center;margin-top:10px;font-size:13px}.member-row input{width:22px;height:22px}.photo-desk-search{width:100%;padding:12px;font:inherit;border:2px solid var(--ink);box-sizing:border-box}.featured-controls{border:2px solid var(--ink);padding:12px;margin:12px 0}.featured-controls img{width:100px;height:76px;object-fit:cover}.featured-choices{display:flex;gap:8px;flex-wrap:wrap}.featured-choices button{padding:4px;border:2px solid var(--ink);min-width:44px;min-height:44px;background:var(--paper)}.photo-tool-card{max-width:1000px!important;background:#17212a!important;color:#f7f0df!important}.photo-tool-card .ovx{color:inherit}.photo-tool h2{font-size:23px}.photo-stage{position:relative;width:100%;touch-action:none;overflow:hidden;user-select:none;background:#0b1116}.photo-stage>img{display:block;width:100%;height:auto;pointer-events:none}.photo-mark{position:absolute;border:2px dashed #f4b226;box-sizing:border-box;touch-action:none;background:transparent;padding:0;cursor:move}.photo-mark img{display:block;width:100%;height:100%;object-fit:fill;pointer-events:none}.photo-mark.not-face{border-color:#89cbaa;opacity:.6}.photo-mark .mark-num{position:absolute;left:0;top:0;min-width:22px;background:#f4b226;color:#111;font-weight:900;text-align:center}.photo-mark .mark-handle{position:absolute;right:-6px;bottom:-6px;width:24px;height:24px;border:2px solid #f7f0df;background:#17212a;touch-action:none}.photo-tools{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.photo-tool .photo-tools button,.photo-tool .btn{min-height:44px;padding:9px 12px;border:2px solid #f7f0df;background:transparent;color:#f7f0df;font:700 13px var(--sans)}.photo-tool .photo-tools button[aria-pressed=true]{background:#f7f0df;color:#17212a}.photo-tool .btn.publish{background:#f4b226;color:#111;border-color:#f4b226}.photo-tool .btn:disabled{opacity:.4}.photo-tools input{width:150px}.photo-tool input,.photo-tool textarea{background:#f7f0df;color:#111;font-size:14px}.photo-tool label{display:block;margin:14px 0 6px;font-size:13px}.photo-tool .checks{display:flex;gap:8px;align-items:start}.photo-tool .checks input{width:22px;height:22px;flex-shrink:0}.photo-tool .merged-preview img{width:100%;height:auto}.photo-tool .photo-status{color:#f4b226;min-height:1.5em}.photo-tool .tool-note{font-size:12px;line-height:1.5}.photo-link{min-height:44px;display:inline-flex;align-items:center;padding:0 8px}.photo-error{color:#b53624;font-size:13px}.photo-desk-card{max-width:850px!important}
@media(max-width:700px){.photo-tool-card{margin:0!important;min-height:100dvh;border-radius:0!important;width:100%!important;padding:18px 14px!important}.photo-tool h2{padding-right:35px}.queue-row{grid-template-columns:64px minmax(0,1fr) auto;gap:9px}.queue-row img{width:64px;height:64px}.visitor-prints{gap:9px}.photo-result p{font-size:12px}.own-photo-grid{gap:10px}.own-photo{padding:8px}.photo-tools button{padding:8px}.photo-desk-tabs{gap:4px}.photo-desk-tabs button{padding:8px;font-size:12px}}
#photoPlane{position:relative;transform-origin:center;will-change:transform}.photo-tool #photoPlane>img{width:100%;height:auto;pointer-events:none}.photo-tool .photo-stage{max-height:none}.photo-mark{border-radius:50%}.photo-tool select{max-width:100%;padding:10px;background:#f7f0df;color:#111;font:inherit}.photo-tool-card{box-sizing:border-box}

.photo-tools button{min-height:44px}.photo-desk-card p,.photo-tool-card p,.photo-form p{text-align:left}.photo-tool-card h2{text-align:left}.photo-declaration{font-weight:500}.photo-picker:focus-within{outline:3px solid var(--act);outline-offset:3px}@media(max-width:700px){.photo-tool-card{max-height:100dvh!important}.photo-tool-card .photo-tools{gap:6px}}
.photo-tool-card .photo-tool p{color:#e4dccd}.photo-tool-card .photo-status{color:#f4b226!important}
@media(max-width:700px){.photo-tool-card{padding-top:calc(18px + env(safe-area-inset-top,0px))!important;padding-bottom:calc(18px + env(safe-area-inset-bottom,0px))!important}}
#photoDeskBody{min-width:0;max-width:100%}.photo-desk-card .sel{width:100%;max-width:100%;min-width:0;box-sizing:border-box}.featured-controls{min-width:0;overflow-wrap:anywhere}.photo-desk-tabs{min-width:0}.photo-tools>.checks{flex-basis:100%}
#regularInviteUrl{min-width:0;max-width:100%;overflow-wrap:anywhere;word-break:break-word;text-align:left}

/* One public collection of editorial and approved member photos (L29). */
.combined-photos[hidden]{display:none}.combined-photos>h2{display:flex;align-items:center;gap:8px}.combined-photos h2 small{margin-left:auto;font-size:12px;letter-spacing:0}
.combined-print small:lang(ja){text-wrap:nowrap;word-break:normal}
.combined-prints{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 12px;margin:16px 0}.combined-print{min-width:0}.combined-print .photo-open{display:block;position:relative;width:100%;padding:0;border:0;background:transparent;cursor:zoom-in}.combined-print img{display:block;width:100%;aspect-ratio:1;object-fit:cover}.combined-print small{display:block;margin-top:8px;font-size:10px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.photo-see-all{aspect-ratio:1;border:2px dashed var(--rule);background:transparent;color:var(--ink);cursor:pointer;display:grid;align-content:center;gap:8px;font-size:11px}.photo-see-all b{font-size:26px}.combined-print button:focus-visible,.photo-see-all:focus-visible{outline:3px solid var(--act);outline-offset:3px}
.card.combined-photo-viewer{position:fixed;inset:0;width:100%;max-width:none;height:100dvh;max-height:100dvh;border:0;box-sizing:border-box;padding:calc(14px + env(safe-area-inset-top,0px)) max(16px,env(safe-area-inset-right,0px)) calc(16px + env(safe-area-inset-bottom,0px)) max(16px,env(safe-area-inset-left,0px));display:flex;flex-direction:column;gap:12px;background:#141819;color:#f4ede0;overflow:auto;overscroll-behavior:contain}
.combined-photo-viewer .ovx{position:absolute;top:calc(10px + env(safe-area-inset-top,0px));right:max(10px,env(safe-area-inset-right,0px));width:44px;height:44px;color:inherit;margin:0;background:#141819e0;flex:none}.combined-viewer-head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:44px;padding-right:48px;flex:none}.combined-viewer-head h2{margin:0;font-size:16px;line-height:1.2;min-width:0}.combined-viewer-head output{white-space:nowrap;font-size:12px}.combined-viewer-photo{margin:0;min-height:0;flex:1;display:flex;flex-direction:column;justify-content:center;gap:12px}.combined-viewer-photo>img{display:block;min-height:0;max-height:100%;width:100%;flex:1;object-fit:contain;touch-action:pan-y}.combined-viewer-photo figcaption{flex:none;font-size:13px;line-height:1.5}.combined-viewer-photo p{margin:0 0 4px}.combined-viewer-photo small{color:#c7c3ba}.combined-viewer-controls{display:flex;justify-content:space-between;align-items:center;gap:12px;flex:none}.combined-viewer-controls button,.combined-viewer-actions button{border:1px solid #f4ede077;color:#f4ede0;background:transparent;min-width:44px;min-height:44px;padding:0 12px;font:700 13px var(--sans);cursor:pointer}.combined-viewer-controls button:first-child,.combined-viewer-controls button:last-child{font-size:24px}.combined-viewer-actions{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;flex:none}.combined-photo-viewer .combined-prints{gap:18px 14px}.combined-photo-viewer .photo-see-all{color:inherit}.published-photo-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.published-photo-choices article{display:grid;gap:8px;min-width:0}.published-photo-choices img{width:100%;aspect-ratio:1;object-fit:cover}.published-photo-choices small{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.published-photo-choices button{padding:5px;font-size:11px}
@media(max-width:700px){.combined-prints{gap:12px 9px}.combined-print small{font-size:9px}.combined-photo-viewer .combined-prints{gap:16px 10px}.combined-viewer-head h2{font-size:14px}.combined-viewer-head output{font-size:11px}.combined-viewer-actions button{font-size:11px;padding:0 9px}.published-photo-choices{grid-template-columns:repeat(2,minmax(0,1fr))}}
.photo-section-icon{width:34px;height:34px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round;flex:none}
.combined-photo-viewer .combined-viewer-photo figcaption p{color:#f4ede0}
.combined-print small{text-wrap:nowrap}

.photo-thumb button{top:4px!important;right:4px!important;width:22px!important;height:22px!important;min-width:22px!important;min-height:22px!important;font-size:18px!important;padding:0}.photo-picker-issues{font-size:13px;line-height:1.45;background:var(--note-bg);padding:8px 12px}.photo-picker-issues p{margin:4px 0}.photo-tool .sheet-primary-footer{background:#17212a}.photo-tool .sheet-primary-footer>.btn.publish{width:100%;min-height:52px}

.combined-photo-viewer .combined-viewer-photo figcaption,.combined-photo-viewer .combined-viewer-photo figcaption p,.combined-photo-viewer .combined-viewer-photo figcaption small{text-align:left}
.combined-photo-viewer .combined-viewer-photo{touch-action:none;will-change:transform}

/* Approved compact collection and centred primary controls (L33 / #68). */
.photo-add-tile{aspect-ratio:1;border:2px dashed var(--rule);background:transparent;color:var(--ink);font:400 36px var(--sans);cursor:pointer}.photo-add-small{border:0;background:transparent;color:var(--ink);font:700 12px var(--sans);min-height:44px;padding:0 5px;cursor:pointer}.photo-add-tile:focus-visible,.photo-add-small:focus-visible{outline:3px solid var(--act);outline-offset:3px}.combined-photos>.combined-prints{margin:12px 0}.combined-photos>h2{margin-bottom:0}

.photo-mark:focus-visible{outline:3px solid var(--ink);outline-offset:4px}
/* D-R2: a full-screen, photo-first host desk. */
.photo-desk-card,.photo-tool-card{align-content:start}
button.queue-row{width:100%;text-align:left;color:inherit;background:transparent;border:0;border-bottom:1px solid var(--rule);font:inherit;cursor:pointer;grid-template-columns:64px minmax(0,1fr) 24px}.queue-row img{width:64px;height:64px}.queue-row .queue-chevron{font-size:28px;text-align:center}.queue-row .photo-chip{font-size:12px;font-weight:600;letter-spacing:0;text-transform:none;margin:0;border:0;background:var(--tint);color:var(--ink)}.queue-row .photo-chip.cup{background:var(--mast)}
button.ticket-row{display:grid;grid-template-columns:minmax(0,1fr) 24px;gap:12px;min-height:92px;padding:14px 0;align-items:center}.ticket-row-copy{display:block;min-width:0}.ticket-row-copy b{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ticket-row .ticket-excerpt{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;line-height:1.4;overflow-wrap:anywhere;margin:5px 0}.ticket-row small{font-size:11px;color:var(--muted)}.ticket-row .queue-chevron{justify-self:end}
.photo-review-head{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:8px;position:sticky;top:0;background:#17212a;z-index:4;min-height:56px}.photo-review-head h2{margin:0;font-size:17px!important;padding:0!important}.photo-review-head button{width:44px;height:44px;border:0;background:transparent;color:inherit;font-size:24px}.photo-review-head small{font-size:12px;white-space:nowrap}.photo-tool-card .ovx{display:none}.photo-tool-card{padding:0 16px!important}.photo-review-body{padding-bottom:12px}.photo-frame{position:relative;background:#0b1116;min-height:100px;display:grid;place-items:center}.photo-tool .photo-stage{height:auto;max-height:58dvh;display:flex;align-items:center;justify-content:center;min-height:100px}.photo-stage[hidden],.merged-preview[hidden]{display:none!important}.photo-tool #photoPlane{flex:none;max-width:100%}.photo-tool #photoPlane>img{width:100%;height:100%;object-fit:contain}.photo-tool .merged-preview{width:100%;height:58dvh;max-height:600px;display:grid;place-items:center}.photo-tool .merged-preview img{display:block;width:100%;height:100%;max-height:58dvh;object-fit:contain}.photo-mode{position:absolute;right:8px;top:8px;display:flex;background:#17212a;z-index:3;border-radius:3px}.photo-mode button{border:1px solid #f7f0df55;background:transparent;color:#f7f0df;min-height:36px;padding:0 12px;font:700 13px var(--sans)}.photo-mode button[aria-pressed=true]{background:#f4b226;color:#111}.photo-tool .compact-tools{flex-wrap:nowrap;justify-content:space-between;margin:10px 0}.photo-tool .compact-tools button{flex:1;font-size:12px;padding:8px 5px}.photo-mark .mark-handle{width:26px;height:26px;border-radius:50%;border:2px solid #111;background:#f4b226;right:-13px;bottom:-13px;padding:0;min-width:26px;min-height:26px;cursor:nwse-resize}.photo-mark img{object-fit:fill}.photo-tool .photo-caption{display:flex;align-items:center;gap:8px;font-size:14px}.photo-caption button{margin-left:auto;min-width:44px;min-height:44px;color:inherit;background:transparent;border:0;font-size:22px}.photo-review-footer{position:sticky;bottom:0;display:grid;grid-template-columns:120px minmax(0,1fr);gap:10px;background:#17212a;z-index:5;padding:12px 0 max(12px,env(safe-area-inset-bottom,0px));margin-top:12px}.photo-tool .photo-review-footer>.btn{min-height:52px;display:grid;place-items:center}.photo-action-toast{position:fixed;z-index:250;left:16px;right:16px;bottom:calc(90px + env(safe-area-inset-bottom,0px));margin:auto;max-width:500px;background:var(--mast);color:#141414;padding:12px 16px;display:flex;gap:12px;align-items:center;box-shadow:0 4px 18px #0006;font:700 14px var(--sans)}.photo-action-toast button{margin-left:auto;border:1px solid #141414;background:transparent;min-height:44px;padding:0 12px;font:inherit}
@media(pointer:coarse){#markKeys{display:none}}
@media(max-width:700px){.card.photo-desk-card,.card.photo-tool-card{position:fixed;inset:0;width:100%!important;height:100dvh;max-width:none!important;max-height:100dvh!important;margin:0!important;border:0!important;border-radius:0;padding:calc(12px + env(safe-area-inset-top,0px)) 16px max(12px,env(safe-area-inset-bottom,0px))!important;overflow:auto;overscroll-behavior:contain;text-align:left}.photo-desk-card #ovTitle{position:sticky;top:calc(-12px - env(safe-area-inset-top,0px));background:var(--paper);z-index:4;margin:0;padding:12px 44px 12px 0;font-size:24px;text-align:left}.photo-desk-card .ovx{position:fixed;top:calc(8px + env(safe-area-inset-top,0px));right:8px;width:44px;height:44px;z-index:6}.photo-desk-tabs{position:sticky;top:48px;z-index:4;display:grid;grid-template-columns:repeat(var(--desk-tabs,4),minmax(0,1fr));gap:3px;margin:0 -16px 16px;padding:6px 12px;background:var(--paper)}.photo-desk-tabs button{padding:6px 2px;font-size:11px;letter-spacing:0;border-width:1px;white-space:nowrap}.photo-tool-card .photo-review-head{top:calc(-12px - env(safe-area-inset-top,0px));padding-top:env(safe-area-inset-top,0px)}.photo-tool-card .photo-tool p{text-align:left}.photo-review-head h2{font-size:16px!important}.photo-tool .photo-stage{max-height:58dvh}#markKeys{display:none}.photo-tool .photo-review-footer{bottom:calc(-12px - env(safe-area-inset-bottom,0px));padding-bottom:max(12px,env(safe-area-inset-bottom,0px))}}
.ticket-image{display:block;width:100%;max-height:55dvh;object-fit:contain;margin:16px 0}.photo-desk-card #ticketReply{display:block;width:100%;max-width:100%;box-sizing:border-box;min-height:110px;padding:10px;background:var(--paper);color:var(--ink);font:inherit}

/* D-R3: compact tabs and sticker choices on the photo. */
.photo-sticker-choice{position:absolute;z-index:6;display:flex;gap:4px;flex-wrap:wrap;max-width:calc(100% - 16px);margin:0;background:#17212a;padding:3px;border-radius:3px}.photo-sticker-choice[hidden]{display:none}.photo-sticker-choice button{min-height:28px;padding:3px 8px;border:1px solid #f7f0df88;background:#17212a;color:#f7f0df;font:700 11px var(--sans)}.photo-sticker-choice button[aria-pressed=true]{background:#f7f0df;color:#17212a}.photo-sticker-choice .checks{flex-basis:100%;margin:3px 0;font-size:11px}.photo-tool .result-hint{grid-column:1/-1;margin:0;color:#f4b226;font-size:12px}.photo-tool .result-hint[hidden]{display:none}
@media(max-width:700px){.photo-desk-tabs{padding:6px 12px;gap:0}.photo-desk-tabs button{height:40px;min-height:40px;max-height:40px;padding:0 2px;font:700 12px var(--sans);text-transform:uppercase;letter-spacing:0;border:1px solid var(--ink)}.photo-desk-tabs button+button{border-left:0}}
/* The same host actions in the viewer and café editor. */

.combined-viewer-actions [aria-pressed=true],.editor-photo-picks [aria-pressed=true]{background:var(--ink);color:var(--paper)}
.photo-more-menu{display:grid;gap:6px}.photo-more-menu button,.photo-cafe-picker button{min-height:44px;text-align:left;padding:10px 4px}
.photo-more-menu .danger{color:var(--score)}
.photo-cafe-picker{display:grid;max-height:45vh;overflow:auto;margin:10px 0}.photo-cafe-picker button{border-bottom:1px solid var(--rule)}
#photoCafeSearch{width:100%;box-sizing:border-box;min-height:44px}
.photo-is-hidden>img,.photo-is-hidden>span{opacity:.4;filter:grayscale(1)}
.photo-undo-notice{position:fixed;z-index:10020;bottom:calc(20px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);background:var(--paper,#f4ede0);color:var(--ink,#242b2b);padding:8px 16px;border:1px solid var(--rule);border-radius:12px;box-shadow:0 4px 20px #0003;max-width:calc(100vw - 40px);display:flex;gap:12px;align-items:center;white-space:nowrap}.photo-undo-notice button{min-height:44px}
.editor-photo-picks .photo-link,.combined-viewer-actions .photo-link,.photo-more-menu .photo-link,.photo-cafe-picker .photo-link,.photo-undo-notice .photo-link{border:0;background:transparent;color:inherit;font:inherit;text-decoration:underline;cursor:pointer}
.photo-more-menu .photo-link{display:flex;width:100%;text-align:left;justify-content:flex-start;border-bottom:1px solid var(--rule);text-decoration:none}.photo-more-menu .danger{color:var(--score)}



/* L70: straight photos and one café strip immediately below the title. */
.visitor-print button.photo-open,.visitor-print:nth-child(even) button.photo-open,.combined-print .photo-open,.combined-print:nth-child(even) .photo-open{padding:0;background:transparent;box-shadow:none;transform:none}
.combined-print img,.visitor-print img{aspect-ratio:4/5;object-fit:cover}
.cafe-top+.combined-photos{margin-top:-22px}
.cafe-photo-strip{display:flex;gap:0;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-inline:16px;padding:16px 16px 0;scrollbar-width:none;touch-action:pan-x pan-y}
.cafe-photo-strip::-webkit-scrollbar{display:none}
.cafe-photo-tile{flex:0 0 152px;min-width:0;margin:0;scroll-snap-align:start}
.cafe-photo-tile button{position:relative;display:block;width:100%;padding:0;border:0;background:var(--tint);cursor:zoom-in}
.cafe-photo-tile button:focus-visible,.cafe-photo-strip:focus-visible{outline:3px solid var(--act);outline-offset:2px}
.cafe-photo-tile img{display:block;width:100%;aspect-ratio:4/5;object-fit:cover;opacity:0}.cafe-photo-tile.ready img{opacity:1}
.cafe-photo-strip.single .cafe-photo-tile{flex-basis:100%}.cafe-photo-strip.single img{aspect-ratio:4/3}
.cafe-photo-strip.pair .cafe-photo-tile{flex-basis:50%}
.cafe-photo-actions{display:flex;flex-wrap:nowrap;gap:8px;align-items:start;justify-content:space-between;padding:10px 16px 0}
.cafe-photo-actions button{border:0;background:transparent;color:var(--ink);display:flex;align-items:center;padding:0;min-height:44px;margin:-14px 0;font:700 12px/16px var(--sans);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.cafe-photo-actions button span{display:block;line-height:16px}
.combined-photos:not([hidden])+.verdict{margin-top:-6px}
@media(max-width:960px){.cafe-top+.combined-photos{margin:-22px -16px 0}}
#photoMoveBack{border:0;background:transparent;color:inherit;font:inherit;text-decoration:underline;cursor:pointer}
#photoCafeSearch{background:var(--paper);color:var(--ink);border:2px solid var(--ink);padding:8px;font:inherit}

#ovcard .photo-move-title{padding-inline:44px;overflow-wrap:anywhere}

.photo-housekeeping{border-top:1px solid var(--line,#ddd);padding-top:16px;margin-top:16px}.photo-housekeeping .btn{min-height:44px}.photo-storage{font-size:11px;line-height:1.5;margin:18px 0 0}

#confirmTidyHistory,#cancelTidyHistory{min-height:44px}
/* L67: inspect a full-size quick-look card before the single-tap decision. */
.quick-look-card{border:1px solid var(--rule);padding:10px;margin:10px 0 16px;background:var(--paper)}
.quick-look-image{display:block;width:100%;border:0;background:#17212a;padding:0;cursor:zoom-in}
.quick-look-image img{display:block;width:100%;height:min(42vh,340px);object-fit:contain}
.quick-look-meta{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;padding:10px 0 6px}
.quick-look-meta b{font-size:15px}.quick-look-meta small{font-size:12px;color:var(--muted)}.quick-look-meta .photo-chip{margin:0 0 0 auto}
.quick-look-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.quick-look-actions button{min-height:44px;padding:6px;font:700 12px var(--sans);border:1px solid var(--ink);background:var(--paper);color:var(--ink)}
.quick-look-actions .quick-publish{grid-column:1/-1;min-height:50px;background:var(--ink);color:var(--paper);font-size:14px}
.quick-look-actions button:disabled{opacity:.45}
@media(max-width:360px){.quick-look-card{margin-left:-4px;margin-right:-4px;padding:8px}.quick-look-image img{height:min(36vh,290px)}.quick-look-actions button{font-size:11px}}

/* L80: anonymous finds share the Members tab without adding a tab. */
.member-find-row{padding:14px 0;border-bottom:1px solid #cfc5b4;overflow-wrap:anywhere}.member-find-row .photo-tools{flex-wrap:wrap}.member-find-row .photo-link{min-height:44px}#memberFinds{margin-bottom:24px}

.cafe-photo-actions #addVisitorPhoto{margin-left:auto}

/* L92: desktop strip and its actions start at the café column edge. */
@media(min-width:960px){.cafe-top+.combined-photos{margin-inline:0}.cafe-photo-strip{padding-inline:0;scroll-padding-inline:0}.cafe-photo-actions{padding-inline:0}}
/* L106: Comments tab in the Editorial desk */
.desk-comment{display:grid;gap:6px;padding:12px 0;border-bottom:1.5px solid var(--rule)}
.desk-comment p{margin:0;white-space:pre-line;overflow-wrap:anywhere}
.desk-comment small{color:var(--muted)}
/* L106: with the Comments tab the row can be wider than a 320 px phone: let it scroll instead of squeezing the labels. */
@media(max-width:700px){.photo-desk-tabs.with-comments{display:flex;flex:0 0 auto;flex-wrap:nowrap;overflow-x:auto;min-height:52px;scrollbar-width:none}.photo-desk-tabs.with-comments::-webkit-scrollbar{display:none}.photo-desk-tabs.with-comments button{flex:0 0 auto;min-width:64px;padding:0 10px;white-space:nowrap}}
