.frame-photo-modal{z-index:1200;overscroll-behavior:contain;background:#111111ad;place-items:center;padding:16px;display:grid;position:fixed;top:0;bottom:0;left:0;right:0}.frame-photo-modal__panel{background:#fffaf4;border-radius:22px;gap:12px;width:min(94vw,760px);max-height:calc(100dvh - 32px);padding:16px;display:grid;overflow:auto;box-shadow:0 24px 70px #00000047}.frame-photo-modal__header{justify-content:space-between;align-items:center;gap:14px;display:flex}.frame-photo-modal__header h2{color:#17231f;margin:0;font-size:20px;font-weight:900;line-height:1.15}.frame-photo-modal__header button{color:#111;cursor:pointer;background:#fff;border:1px solid #11111124;border-radius:50%;width:38px;height:38px;font-size:15px;font-weight:900}.frame-photo-modal__flip{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.frame-photo-modal__flip button{color:#1c342f;cursor:pointer;background:#e8f3ed;border:1px solid #1c342f29;border-radius:999px;justify-content:center;align-items:center;gap:7px;min-height:38px;padding:0 14px;font-size:13px;font-weight:900;display:inline-flex}.frame-photo-modal__flip svg,.frame-photo-modal__actions svg,.frame-photo-modal__zoom svg{stroke-width:2.5px;width:17px;height:17px}.frame-photo-modal__stage{background:#f0eee8;border-radius:18px;place-items:center;gap:8px;min-height:0;padding:10px;display:grid}.frame-photo-modal__gesture-hint{color:#4d5752;text-align:center;font-size:12px;font-weight:800;line-height:1.3}.frame-photo-modal canvas{touch-action:none;-webkit-user-select:none;user-select:none;background:#efefef;border-radius:12px;width:auto;max-width:min(100%,420px);height:auto;max-height:min(44vh,360px);display:block}.frame-photo-modal__adjustments{gap:8px;display:grid}.frame-photo-modal__range{background:#ffffffbd;border:1px solid #203c341f;border-radius:12px;grid-template-columns:70px minmax(0,1fr) 82px;align-items:center;gap:8px;min-width:0;min-height:40px;padding:8px 10px;display:grid}.frame-photo-modal__range span,.frame-photo-modal__range strong{color:#4d5752;font-size:12px;font-weight:900}.frame-photo-modal__range strong{text-align:right}.frame-photo-modal__range input[type=range]{accent-color:#1c342f;width:100%}.frame-photo-modal__zoom{grid-template-columns:34px minmax(0,1fr) 34px;align-items:center;gap:7px;display:grid}.frame-photo-modal__zoom button{color:#1c342f;cursor:pointer;background:#fff;border:1px solid #203c3424;border-radius:50%;place-items:center;width:34px;height:34px;display:inline-grid}.frame-photo-modal__actions{justify-content:flex-end;align-items:center;gap:8px;display:flex}.frame-photo-modal__actions>button,.frame-photo-modal__change,.frame-photo-modal__main-actions button{cursor:pointer;border-radius:999px;justify-content:center;align-items:center;gap:7px;min-height:42px;padding:0 16px;font-size:13px;font-weight:900;text-decoration:none;display:inline-flex}.frame-photo-modal__actions>button{color:#1c342f;background:#e8f3ed;border:1px solid #203c3429}.frame-photo-modal__main-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.frame-photo-modal__change,.frame-photo-modal__main-actions button{color:#111;background:#fff;border:1px solid #11111129}.frame-photo-modal__change input{display:none}.frame-photo-modal__main-actions button:last-child{color:#fff;background:#111;border-color:#111}@media (max-width:640px){.frame-photo-modal{padding:8px}.frame-photo-modal__panel{border-radius:18px;gap:9px;width:min(94vw,420px);max-height:calc(100dvh - 16px);padding:10px}.frame-photo-modal__header h2{font-size:17px}.frame-photo-modal__header button{width:34px;height:34px}.frame-photo-modal__flip button{min-height:34px;padding:0 11px;font-size:12px}.frame-photo-modal__stage{border-radius:14px;padding:7px}.frame-photo-modal canvas{border-radius:10px;max-width:100%;max-height:min(34vh,260px)}.frame-photo-modal__range{grid-template-columns:54px minmax(0,1fr) 62px;gap:6px;min-height:36px;padding:6px 8px}.frame-photo-modal__range span,.frame-photo-modal__range strong{font-size:11px}.frame-photo-modal__zoom{grid-template-columns:30px minmax(0,1fr) 30px;gap:5px}.frame-photo-modal__zoom button{width:30px;height:30px}.frame-photo-modal__actions{grid-template-columns:1fr;gap:8px;display:grid}.frame-photo-modal__actions>button,.frame-photo-modal__main-actions,.frame-photo-modal__change,.frame-photo-modal__main-actions button{width:100%}.frame-photo-modal__main-actions{grid-template-columns:1fr;display:grid}}
