.event-photo{box-sizing:border-box;width:100%;min-width:0;display:grid;gap:14px;padding:20px;border:1px solid var(--c-divider);border-radius:14px;background:var(--c-surface)}
.event-photo *, .event-photo *::before, .event-photo *::after{box-sizing:border-box}
.event-photo__head{display:grid;gap:5px}
.event-photo__title{font-size:17px;font-weight:700;color:var(--c-text)}
.event-photo__sub,.event-photo__meta,.event-photo__message{font-size:13px;line-height:1.5;color:var(--c-muted)}
.event-photo__pickrow{display:flex;align-items:center;gap:12px;flex-wrap:wrap;min-width:0}
.event-photo__picker{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 17px;border-radius:9px;background:var(--ink);color:#fff;font-size:14px;font-weight:600;cursor:pointer;transition:opacity .15s}
.event-photo__picker:hover{opacity:.85}.event-photo__picker:focus-within{outline:2px solid #a88950;outline-offset:3px}
.event-photo__picker input{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden}
.event-photo__picker svg{width:18px;height:18px;flex:none}
.event-photo__filename{min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px;color:var(--c-text-2)}
.event-photo__frames{min-width:0;display:grid;gap:14px}
.event-photo__frames[hidden]{display:none}
.event-photo__frame{min-width:0;overflow:hidden;border:1px solid var(--c-divider);border-radius:11px;background:var(--c-bg)}
.event-photo__framehead{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:12px 14px}
.event-photo__framehead strong{display:block;font-size:14px;color:var(--c-text)}
.event-photo__framehead small{display:block;margin-top:2px;font-size:12px;color:var(--c-muted)}
.event-photo__controls{display:flex;gap:5px;flex:none}
.event-photo__controls button{width:34px;height:34px;border:1px solid var(--c-border-ctrl);border-radius:8px;background:var(--c-surface);color:var(--c-text);font-size:20px;line-height:1;cursor:pointer}
.event-photo__controls button:hover{border-color:var(--c-text)}
.event-photo canvas{display:block;width:100%;height:auto;max-width:100%;background:#17191b;touch-action:none;cursor:grab}
.event-photo canvas.is-dragging{cursor:grabbing}
.event-photo__foot{margin:0;padding:10px 14px;font-size:12px;line-height:1.45;color:var(--c-muted)}
.event-photo__message:empty{display:none}
@media(max-width:520px){.event-photo{padding:14px}.event-photo__framehead{padding:10px}.event-photo__foot{padding:9px 10px}}
