.profile-vitaly .profile-photos{border-top:1px solid var(--line);padding-top:36px;margin:0 0 60px}
.profile-vitaly .profile-photos-heading{display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin-bottom:28px}
.profile-vitaly .profile-photos-heading h2{font-size:clamp(30px,3.3vw,46px);line-height:1.12;margin:0}
.profile-vitaly .profile-photos-heading>span{font-size:15px;color:var(--muted);white-space:nowrap}
.profile-vitaly .profile-photo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.profile-vitaly .profile-photo{display:block;aspect-ratio:1;background:#edf2f2;border-radius:12px;overflow:hidden;cursor:zoom-in;border:0;transition:box-shadow .18s}
.profile-vitaly .profile-photo[hidden]{display:none}
.profile-vitaly .profile-photo img{display:block;width:100%;height:100%;margin:0;border-radius:0;float:none;max-width:none}
.profile-vitaly .profile-photo:hover{box-shadow:0 0 0 3px #147781}
.profile-vitaly .profile-photo:focus-visible,.profile-vitaly .profile-photos-toggle:focus-visible{outline:3px solid #147781;outline-offset:4px}
.profile-vitaly .profile-photos-toggle{display:block;margin:26px auto 0;padding:12px 24px;border:1px solid #147781;border-radius:100px;background:transparent;color:#147781;font:inherit;font-size:16px;line-height:1.4;cursor:pointer}
.profile-vitaly .profile-photos-toggle[hidden]{display:none}
.profile-vitaly .profile-photos-toggle:hover{background:#edf5f5}
html.profile-photo-viewing{overflow:hidden}
#profile-photo-viewer{position:fixed;inset:0;box-sizing:border-box;width:100%;height:100%;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:#11191b;color:#fff;overflow:hidden}
#profile-photo-viewer[open]{display:flex;flex-direction:column}
#profile-photo-viewer::backdrop{background:#11191b}
#profile-photo-viewer .profile-photo-toolbar{display:flex;align-items:center;gap:24px;padding:12px 20px;min-height:64px;box-sizing:border-box;flex:none}
#profile-photo-viewer .profile-photo-toolbar p{flex:1;font-size:16px;line-height:1.35;margin:0;color:#fff}
#profile-photo-viewer #profile-photo-count{font-size:15px;white-space:nowrap;font-variant-numeric:tabular-nums;color:#d6dfe0}
#profile-photo-viewer button{display:flex;align-items:center;justify-content:center;width:48px;height:48px;min-width:48px;padding:0;border:1px solid #536266;border-radius:50%;background:#1c282bd9;color:#fff;font:inherit;font-size:25px;cursor:pointer;touch-action:manipulation}
#profile-photo-viewer button:hover{background:#344448}
#profile-photo-viewer button:focus-visible{outline:3px solid #7ed7de;outline-offset:3px}
#profile-photo-viewer .profile-photo-close{font-size:32px}
#profile-photo-viewer .profile-photo-stage{position:relative;flex:1;min-height:0;padding:0 80px 24px;touch-action:pan-y}
#profile-photo-viewer .profile-photo-image-wrap{position:relative;width:100%;height:100%;display:flex;align-items:center;justify-content:center}
#profile-photo-viewer .profile-photo-large{display:block;float:none;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;margin:0;border-radius:0}
#profile-photo-viewer .profile-photo-stage>button{position:absolute;top:50%;transform:translateY(-50%);z-index:2}
#profile-photo-viewer .profile-photo-prev{left:16px}
#profile-photo-viewer .profile-photo-next{right:16px}
#profile-photo-viewer .profile-photo-message{position:absolute;inset:auto 10px 8px;text-align:center;margin:0;color:#fff;font-size:15px;background:#11191bcc;border-radius:8px;padding:6px 10px;pointer-events:none}
#profile-photo-viewer .profile-photo-message:empty{display:none}
@media(max-width:600px){.profile-vitaly .profile-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.profile-vitaly .profile-photos{padding-top:28px;margin-bottom:40px}.profile-vitaly .profile-photos-heading{margin-bottom:22px}#profile-photo-viewer .profile-photo-toolbar{gap:12px;padding:8px 10px;min-height:64px}#profile-photo-viewer .profile-photo-toolbar p{font-size:14px}#profile-photo-viewer button{width:44px;height:44px;min-width:44px}#profile-photo-viewer .profile-photo-stage{padding:0 4px 70px}#profile-photo-viewer .profile-photo-stage>button{top:auto;bottom:12px;transform:none}#profile-photo-viewer .profile-photo-prev{left:calc(50% - 58px)}#profile-photo-viewer .profile-photo-next{right:calc(50% - 58px)}}
@media(prefers-reduced-motion:reduce){.profile-vitaly .profile-photo{transition:none}}
