/* Photo page. Common assets and the metallic panel frame follow the profile design. */
.photo-page{--ink:#253448;--muted:#687e99;--line:#bac7d8;--green:#00af58;--nav:clamp(250px,17.5vw,300px);--info:clamp(250px,17.5vw,300px);margin:0;min-width:320px;overflow-x:clip}
.photo-main button,.photo-main input,.photo-main select,.photo-main textarea{font-family:inherit;font-size:inherit;color:inherit}
.photo-main button,.photo-main a,.photo-main select{-webkit-tap-highlight-color:transparent}
.photo-page [hidden]{display:none!important}
.photo-main :focus-visible{outline:3px solid #02a96a;outline-offset:4px}
.photo-main button:disabled{cursor:default}
.photo-main img{max-width:100%}
.photo-sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.photo-skip{position:fixed;z-index:100;top:10px;left:10px;padding:10px 16px;background:#087c4c;color:#fff;transform:translateY(-160%)}
.photo-skip:focus{transform:none}
.photo-mobile-bar{display:none}
.photo-main{padding:16px 24px 0;--photo-header-gap:16px;color:var(--ink);font-family:Arial;font-size:14px;line-height:1.45}
.photo-layout{max-width:1848px;margin:auto;padding:20px;display:grid;grid-template-columns:var(--nav) minmax(0,1fr) var(--info);grid-template-areas:'nav photo info' 'nav sections .';gap:20px;align-items:start;background:#e4e8f0;border:1px solid #c8d1df;border-radius:14px;transition:grid-template-columns .2s ease;position:relative}
.photo-navigation{grid-area:nav;position:sticky;top:16px;min-width:0;z-index:15;align-self:start;overflow:visible}
.photo-intro{grid-area:photo;min-width:0}
.photo-info{grid-area:info;min-width:0}
.photo-content{grid-area:sections;min-width:0;display:flex;flex-direction:column;gap:20px}
.photo-nav{background:#fff;border:1px solid #bac8d9;border-radius:13px;overflow:hidden;width:100%}
.photo-nav__back{display:flex;align-items:center;gap:16px;padding:8px 16px;min-height:84px;color:#fff;border-radius:11px 11px 0 0;background:linear-gradient(135deg,#8395ad,#596e88 58%,#455b76);box-shadow:inset 0 2px 3px #dae6f3a6,inset 0 -1px #51647e}
.photo-nav__back img{width:64px;height:64px;flex:0 0 64px}
.photo-nav__back>span{text-shadow:0 1px 1px #1d2d43}
.photo-nav__collapse{display:flex;align-items:center;gap:24px;padding:20px 24px;min-height:86px;width:100%;text-align:left;white-space:nowrap}
.photo-nav__collapse img{width:38px;height:38px;flex:0 0 38px}
.photo-nav__link{display:flex;align-items:center;gap:15px;min-height:83px;width:100%;padding:8px 14px;text-align:left;border-top:1px solid #a6b8ce;position:relative;transition:background .15s,color .15s}
.photo-nav__link>img{width:66px;height:66px;flex:0 0 66px;object-fit:contain}
.photo-nav__link>span{min-width:0}
.photo-nav__link small{display:block;margin-top:3px}
.photo-nav__link small em{font-style:normal;color:#00a65a}
.photo-nav__link small b{}
.photo-nav__link:hover,.photo-nav__link.is-active{background:#edf2f8}
.photo-nav__stat{cursor:default}
.photo-nav__stat:hover{background:#fff}
.photo-nav__favorite[aria-pressed='true']{background:#e9f8ed;color:#008f4d}
.photo-nav__up{display:flex;align-items:center;gap:24px;padding:60px 24px 24px}
.photo-nav__up img{width:38px;height:38px;flex:0 0 38px}
.photo-layout.is-menu-collapsed{--nav:76px}
.is-menu-collapsed .photo-nav__back>span,.is-menu-collapsed .photo-nav__link>span,.is-menu-collapsed .photo-nav__collapse>span,.is-menu-collapsed .photo-nav__up>span{display:none}
.is-menu-collapsed .photo-nav__back,.is-menu-collapsed .photo-nav__link{justify-content:center;padding:7px 5px;gap:0;min-height:65px}
.is-menu-collapsed .photo-nav__back img{width:52px;height:52px;flex-basis:52px}
.is-menu-collapsed .photo-nav__link>img{width:50px;height:50px;flex-basis:50px}
.is-menu-collapsed .photo-nav__collapse,.is-menu-collapsed .photo-nav__up{justify-content:center;min-height:60px;padding:12px 5px;gap:0}
.is-menu-collapsed .photo-nav__collapse img{transform:rotate(180deg);width:32px;height:32px;flex-basis:32px}
.photo-title-wrap{display:flex;align-items:center;gap:18px;padding:22px 34px;min-height:88px;background:#fff;border:1px solid #bdc9da;border-radius:13px;margin-bottom:16px}
.photo-title-wrap h1{font-size:clamp(24px,1.65vw,32px);line-height:1.2;font-weight:700;color:#0b0b0b;min-width:0}
.photo-title-upload{display:none;margin-left:auto;width:74px;flex:0 0 74px;align-items:center;justify-content:center;border-radius:11px;background:linear-gradient(#526174,#273448)}
.photo-title-upload img{width:65px;height:65px;object-fit:contain}
.photo-meta{display:flex;align-items:center;gap:20px;min-height:60px;padding:8px 14px;background:#fff;border:1px solid #bdc9da;border-radius:12px;margin-bottom:16px;line-height:1.2;color:#536b89;font-size:11px}
.photo-meta__favorite,.photo-meta__item{display:flex;align-items:center;gap:9px;flex-shrink:0;text-align:left}
.photo-meta__favorite img,.photo-meta__item>img,.photo-like>img{display:block;width:38px;height:38px;flex:0 0 38px;border:0;border-radius:50%;background:none}
.photo-meta__favorite[aria-pressed='true']{color:#008e4c}
.photo-meta__favorite[aria-pressed='true'] img{box-shadow:0 0 0 2px #15b773;filter:sepia(.4) hue-rotate(70deg)}
.photo-meta__item strong{font-weight:400}
.photo-meta__stats{display:flex;align-items:center;justify-content:flex-end;gap:18px;margin-left:auto;font-size:14px}
.photo-meta__views{display:inline-flex;align-items:center;gap:9px;white-space:nowrap}
.photo-meta__views img{width:23px;height:auto;flex:0 0 23px}
.photo-like{display:flex;align-items:center;gap:8px}
.photo-like__count,.photo-pill{display:inline-block;min-width:60px;padding:8px 12px;border:1px solid #a6b7cf;border-radius:24px;background:#e5ebf3;font-size:14px;font-weight:700;text-align:center;line-height:1.2}
.photo-like[aria-pressed='true'] .photo-like__count{color:#715018;border-color:#d5ad40;background:#fff0b6}
.photo-like[aria-pressed='true']>img{filter:sepia(1) saturate(2.8) hue-rotate(350deg);background:#fff0ae;box-shadow:0 0 0 2px #e2b947,0 0 12px #f0ca6180}
.photo-figure{padding:9px;margin:0;background:#fff;border:1px solid #bdc9da;border-radius:13px}
.photo-figure__open{position:relative;display:block;width:100%;border-radius:4px;overflow:hidden;cursor:zoom-in}
.photo-figure__open>img{display:block;width:100%;height:auto;aspect-ratio:1051/669;object-fit:cover;object-position:50% 50%}
.photo-figure__zoom{position:absolute;right:16px;bottom:16px;padding:9px 15px;border:1px solid #ffffff70;border-radius:20px;background:#14253acc;color:#fff;font-size:12px;opacity:0;transition:opacity .15s}
.photo-figure__open:hover .photo-figure__zoom,.photo-figure__open:focus-visible .photo-figure__zoom{opacity:1}
.photo-related{min-width:0;margin-top:14px;padding:12px 14px 14px;border:1px solid #bdc9da;border-radius:11px;background:#fff}
.photo-related__heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:10px}
.photo-related h2{font-size:14px;font-weight:700;color:#526981}
.photo-related__controls{display:flex;gap:8px}
.photo-related__controls button{width:30px;height:28px;border:1px solid #afbed1;border-radius:16px;background:linear-gradient(#fff,#e3eaf3);font-size:25px;line-height:1;color:#425b77}
.photo-related__controls button:disabled{opacity:.3}
.photo-related__viewport{overflow:hidden;min-width:0;touch-action:pan-y;--thumb-height:120px}
.photo-related__track{position:relative;display:flex;align-items:stretch;gap:10px;width:max-content;transform:translateX(0);transition:transform .32s ease;will-change:transform}
.photo-related__item{display:block;height:var(--thumb-height);aspect-ratio:var(--ratio);width:auto;flex:0 0 auto;border-radius:5px;overflow:hidden;position:relative;background:#d2deeb}
.photo-related__item img{display:block;height:100%;width:auto;max-width:none;object-fit:cover;transition:filter .18s}
.photo-related__item:hover img{filter:brightness(1.15)}
.photo-related__item:focus-visible{outline-offset:-4px}
.photo-section{border:1px solid #bbc8d8;border-radius:13px;background:#fff;overflow:hidden;box-shadow:0 0 2px #9eacbc25}
.photo-section__head{position:relative;display:flex;align-items:center;gap:26px;min-height:88px;padding:5px 18px 5px 36px;border-radius:12px 12px 0 0;background:#8e9fb5 url('../img/photo-page/section-heading.png') 50% 50%/100% 100% no-repeat;color:#fff;isolation:isolate}
.photo-section__icon{width:78px;height:78px;flex:0 0 78px;object-fit:contain}
.photo-section__head h2{font-size:28px;font-weight:700;line-height:1.15;text-shadow:0 1px 2px #465d78;min-width:0}
.photo-section__body{padding:48px clamp(36px,4vw,120px);color:#111}
.photo-description{font-size:14px;line-height:1.55;padding-top:46px;padding-bottom:54px}
.photo-description p+p{margin-top:24px}
.photo-tags{display:flex;flex-wrap:wrap;gap:10px;padding-block:38px 44px}
.photo-tag{display:block;padding:11px 24px;border:1px solid #a7b9d1;border-radius:28px;background:linear-gradient(#edf1f7,#dce4ef);color:#31465e;font-size:14px;line-height:1.2;transition:transform .16s,box-shadow .16s,background .16s,border-color .16s}
.photo-tag:hover,.photo-tag:focus-visible{transform:translateY(-2px);border-color:#6c8eb6;background:linear-gradient(#fff,#cbdcf1);box-shadow:0 4px 9px #48678624;color:#163759}
.photo-add-button{display:inline-flex;align-items:center;justify-content:space-between;gap:14px;min-height:54px;padding:7px 10px 7px 24px;border-radius:30px;background:linear-gradient(to top,#2e3747,#515c6d);color:#fff!important;font-size:14px!important;font-weight:700;line-height:1.15;text-align:left;transition:filter .15s,transform .15s}
.photo-add-button>img{width:38px;height:38px;flex:0 0 38px}
.photo-section__head>.photo-add-button{margin-left:auto;white-space:nowrap}
.photo-add-button:hover{filter:brightness(1.1)}
.photo-add-button:active{transform:translateY(1px)}
.photo-comments{padding-top:32px;padding-bottom:0}
.photo-comments__sort{display:flex;gap:28px;align-items:center;justify-content:space-between;margin-bottom:36px;overflow:clip}
.photo-comments__sort button{white-space:nowrap;text-decoration:underline;text-underline-offset:4px;font-size:18px}
.photo-comments__sort button.is-active{color:var(--green);text-decoration:none}
.photo-comment{margin-bottom:34px;padding-bottom:32px;border-bottom:1px solid #b1bdcb}
.photo-comment:last-child{margin-bottom:0;border-bottom:0}
.photo-comment__top{display:flex;align-items:center;gap:24px;margin-bottom:20px}
.photo-comment__avatar{display:block;width:86px;height:86px;flex:0 0 86px;object-fit:cover;padding:2px;border:1px solid #8ea5c2;border-radius:50%}
.photo-comment__author h3{font-size:21px;line-height:1.25;color:var(--ink);margin-bottom:5px}
.photo-comment__nickname{font-size:13px;line-height:1.4;color:#516782;white-space:nowrap}
.photo-online{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border:1px solid #dce3ed;border-radius:5px;background:#f0f3f8;color:#496079;font-size:11px;line-height:1.2;white-space:nowrap}
.photo-online::before{content:'';width:6px;height:6px;flex:0 0 6px;border-radius:50%;background:#00d47b}
.photo-online_small{padding:0;border:0;background:none;margin-left:10px;font-size:11px}
.photo-comment__date{margin-left:auto;align-self:flex-end;white-space:nowrap;padding-bottom:12px;font-size:12px;color:#344d69}
.photo-comment__text{font-size:14px;line-height:1.55}
.photo-comment__text>p{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.photo-comment__text.is-expanded>p{display:block;overflow:visible}
.photo-comment__more{color:#008bc4;font-size:13px;text-decoration:underline;text-underline-offset:2px}
.photo-comment__bottom{display:flex;justify-content:flex-end;margin-top:20px;color:#617a99;font-size:12px}
.photo-comment__views{display:inline-flex;align-items:center;gap:10px}
.photo-comment__views>img{display:block;width:17px;height:10px;flex:0 0 17px}
.photo-comments__footer{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:30px clamp(36px,4vw,120px);border-top:1px solid #c8d0dc;font-size:13px}
.photo-comments__load{display:flex;align-items:center;gap:18px;font-size:13px!important}
.photo-comments__load>span{text-decoration:underline;text-underline-offset:3px}
.photo-pill{min-width:55px;font-size:13px;font-weight:400}
.photo-comments__add{display:flex;align-items:center;gap:16px;color:#00ae58!important;font-size:13px!important}
.photo-comments__add>span{text-decoration:underline;text-underline-offset:3px}
.photo-comments__add>img{width:38px;height:38px;flex:0 0 38px}
.photo-dark-button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;margin-left:auto;padding:12px 22px;border-radius:28px;color:#fff;background:linear-gradient(#596d83,#27364a);border:1px solid #50647d;font-size:14px;font-weight:700;line-height:1.15;text-align:center}
.photo-dark-button:hover{filter:brightness(1.12)}
.photo-map{padding:18px}
.photo-map iframe{display:block;width:100%;height:600px;max-height:65vw;border:7px solid #c4cdd9;background:#e6ece6}
.photo-map{display:flex;flex-direction:column;gap:0}
.photo-map-card{position:relative;left:auto;bottom:auto;display:flex;align-items:center;gap:12px;width:100%;max-width:none;box-sizing:border-box;padding:12px 16px;border:1px solid #d0d9e5;border-top:0;border-radius:0 0 8px 8px;background:#fff;box-shadow:none;color:#253448;text-decoration:none;z-index:2}
.photo-map-card img{display:block;width:58px;height:58px;object-fit:cover;border-radius:7px}
.photo-map-card span{font-weight:700;line-height:1.25}
.photo-map-card:hover,.photo-map-card:focus-visible{background:#f4f8fc;box-shadow:0 4px 12px #172b4620}
@media(max-width:639px){.photo-map-card{font-size:12px}.photo-map-card img{width:48px;height:48px}}
.photo-upload{display:flex;align-items:center;gap:16px;min-height:88px;margin-bottom:16px;padding:5px 14px;border:1px solid #8290a4;border-radius:13px;background:linear-gradient(#556477,#283448);box-shadow:inset 0 1px 2px #ffffff80;color:#fff;font-size:18px;line-height:1.12;font-weight:700;text-transform:uppercase}
.photo-upload>img{width:72px;height:72px;flex:0 0 72px}
.photo-author-card{padding:24px 20px 18px;border:1px solid #bdc9da;border-radius:13px;background:#fff}
.photo-author{display:flex;align-items:center;gap:16px;min-width:0}
.photo-author>img{width:84px;height:84px;flex:0 0 84px;padding:2px;border:1px solid #8da3c0;border-radius:50%}
.photo-author__info{min-width:0}
.photo-author__label{display:block;font-size:13px;line-height:1.25;margin-bottom:3px}
.photo-author h2{font-size:17px;font-weight:700;line-height:1.2}
.photo-author__nickname{display:block;font-size:12px;line-height:1.3;margin-top:5px;margin-bottom:8px}
.photo-author-favorite{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:48px;margin-top:12px;padding:9px 2px;border-bottom:1px solid #c6cfdb;box-shadow:0 6px 6px -6px #527090;font-size:12px!important;line-height:1.3}
.photo-author-favorite>img{width:16px;height:19px;flex:0 0 16px;opacity:.85}
.photo-author-favorite[aria-pressed='true']{color:#009a50!important}
.photo-details{padding:10px 0 20px}
.photo-details>div{position:relative;min-height:82px;padding:18px 3px 18px 62px;font-size:13px;line-height:1.25}
.photo-details>div+div{border-top:1px solid #e2e7ee}
.photo-details dt{font-size:12px;margin-bottom:2px}
.photo-details dt>img{position:absolute;top:20px;left:3px;display:block;width:40px;height:40px}
.photo-download{display:grid;gap:14px;padding:20px 16px 15px;border:1px solid #d5dce8;border-radius:7px;background:#f0f2f7}
.photo-download__choice>label:first-child{display:block;font-size:13px;margin-bottom:14px}
.photo-download select{display:block;appearance:auto;width:100%;padding:12px 10px;border:1px solid #ccd6e5;border-radius:6px;background:#fff;color:#70839b;font-size:12px;min-height:46px;line-height:1.3}
.photo-download__consent{display:flex;align-items:flex-start;gap:10px;margin-top:14px;font-size:10px;line-height:1.3;cursor:pointer}
.photo-download__consent input{appearance:auto;width:20px;height:20px;flex:0 0 20px;accent-color:#00b868;cursor:pointer}
.photo-download__button{display:flex;align-items:center;justify-content:center;gap:16px;width:100%;min-height:86px;padding:11px 16px;border:1px solid #00ad58;border-bottom:5px solid #087b42;border-radius:10px;background:linear-gradient(#50e89b,#12c66d 55%,#05b75e);box-shadow:inset 0 2px 2px #c2ffe0;color:#fff!important;font-size:16px!important;font-weight:700;text-transform:uppercase;text-align:left;line-height:1.1}
.photo-download__button>img{width:56px;height:56px;flex:0 0 56px;object-fit:contain}
.photo-download__button:hover{filter:brightness(1.06)}
.photo-copy{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;margin-top:16px;font-size:12px!important;line-height:1.2}
.photo-copy>img{width:24px;height:24px;flex:0 0 24px}
.photo-copy>span{border-bottom:1px dotted #526b89}
.photo-download__message{grid-column:1/-1;color:#a14c46;font-size:12px;line-height:1.35}
.photo-download__message:empty{display:none}
.photo-editor{margin:0 0 0;border-top:1px solid #b8c7d8;background:#edf1f7}
.photo-editor .photo-section__head{border-radius:0;min-height:78px;padding-left:32px;background-image:url('../img/personal-account/my-profile/bg-label-big.webp');color:#253448}
.photo-editor .photo-section__head h2{color:#293f5b;text-shadow:0 1px 1px #fff;font-size:24px}
.photo-editor .photo-section__icon{width:64px;height:64px;flex-basis:64px}
.photo-editor__close{margin-left:auto;width:36px;height:36px;flex:0 0 36px;border:1px solid #6e85a2;border-radius:50%;color:#344f70!important;background:#ffffff80;font-size:27px!important;line-height:1}
.photo-editor__body{padding:28px clamp(36px,4vw,120px) 36px}
.photo-editor__user{display:flex;align-items:center;gap:12px;margin-bottom:22px;font-size:15px;color:#2c4361}
.photo-editor__user>img{width:44px;height:44px;flex:0 0 44px;border-radius:50%;padding:1px;border:1px solid #8da2bf}
.photo-editor__user .photo-online_small{margin-left:0}
.photo-comment-form>label{display:block;font-size:14px;font-weight:700;margin-bottom:10px}
.photo-bb-editor{border:1px solid #9eb2cc;border-radius:9px;overflow:hidden;background:#fff;box-shadow:inset 0 1px 3px #485b751a}
.photo-bb-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:4px;padding:8px;border-bottom:1px solid #b2c1d5;background:linear-gradient(#f8fafc,#dce5f1)}
.photo-bb-toolbar button{min-height:34px;min-width:34px;padding:7px 10px;border:1px solid transparent;border-radius:5px;color:#344d6c;font-size:13px!important;line-height:1}
.photo-bb-toolbar button:hover,.photo-bb-toolbar button:focus-visible{border-color:#90a9c9;background:#fff;box-shadow:0 1px 3px #58708e20}
.photo-bb-toolbar u{text-decoration:underline}
.photo-bb-editor textarea{display:block;width:100%;min-height:160px;padding:16px 18px;resize:vertical;line-height:1.6;color:#263f5d;border:0;background:#fff;outline:none;font-size:14px}
.photo-bb-editor textarea:focus-visible{outline:none;box-shadow:inset 0 0 0 2px #78a0ce}
.photo-bb-editor__bottom{display:flex;justify-content:space-between;gap:14px;padding:9px 14px;border-top:1px solid #d9e1ec;background:#f5f7fb;color:#7a8da5;font-size:11px}
.photo-comment-form__buttons{display:flex;align-items:center;gap:24px;margin-top:20px}
.photo-add-button_submit{min-width:260px}
.photo-add-button_submit:disabled{opacity:.6}
.photo-editor__status{margin-top:20px;padding:17px 20px;border:1px solid #8bc6a6;border-radius:8px;background:linear-gradient(#f6fff8,#e1f3e7);box-shadow:inset 0 1px #fff;color:#216442;font-size:14px;line-height:1.5}
.photo-editor__status.is-error{border-color:#d2a09d;background:#fff1ee;color:#9b413c}
.photo-editor__anonymous{display:flex;align-items:center;gap:20px;padding:10px 0;color:#486382;font-size:15px;line-height:1.6}
.photo-editor__anonymous img{width:60px;height:60px;flex:0 0 60px}
.photo-editor__anonymous a{color:#008c5a;text-decoration:underline;text-underline-offset:3px}
.photo-lightbox{position:fixed;inset:0;margin:auto;padding:7px;max-width:min(96vw,1500px);max-height:94dvh;border:1px solid #96a8be;border-radius:10px;background:#fff;overflow:visible}
.photo-lightbox::backdrop{background:#0c1725e8}
.photo-lightbox>img{display:block;width:auto;height:auto;max-width:100%;max-height:88dvh;object-fit:contain}
.photo-lightbox>button{position:absolute;right:-10px;top:-15px;width:40px;height:40px;border:1px solid #9aadc6;border-radius:50%;background:#253448;color:#fff;font-size:28px;line-height:1}
.photo-toast{position:fixed;bottom:26px;left:50%;z-index:100;max-width:calc(100vw - 24px);padding:12px 24px;border:1px solid #7289a4;border-radius:26px;background:#263a52;color:#fff;font-size:14px;text-align:center;box-shadow:0 5px 20px #12243940;opacity:0;transform:translate(-50%,15px);pointer-events:none;transition:opacity .18s,transform .18s}
.photo-toast.is-visible{opacity:1;transform:translate(-50%,0)}
.photo-mobile-shade{position:fixed;inset:0;background:#11223e85;z-index:45}
.photo-page :is(#description,#tags,#comments,#add-comment,#comment-editor,#photo-map){scroll-margin-top:20px}
@media(max-width:1499px){
 .photo-page{--nav:clamp(250px,21vw,300px)}
 .photo-layout{grid-template-columns:var(--nav) minmax(0,1fr);grid-template-areas:'nav photo' 'nav info' 'nav sections';padding:16px;gap:18px}.photo-title-upload{display:flex}.photo-title-wrap{padding:8px 12px 8px 30px;min-height:83px}.photo-title-wrap h1{font-size:28px}.photo-upload{display:none}
 .photo-author-card{display:grid;grid-template-columns:200px minmax(0,1fr);gap:28px;padding:24px}.photo-author-main{border-right:1px solid #cbd5e2;box-shadow:6px 0 7px -6px #5b7899;padding-right:24px}.photo-author{align-items:flex-start;flex-direction:column;gap:12px}.photo-author>img{width:84px;height:84px;flex-basis:84px}.photo-author-favorite{margin-top:15px;border:0;box-shadow:none;justify-content:flex-start;padding:9px 0;font-size:11px!important}.photo-author__label{font-size:12px}.photo-author h2{font-size:16px}.photo-author__nickname{font-size:11px}.photo-author .photo-online{font-size:10px}
 .photo-details{padding:0 0 20px;display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:14px}.photo-details>div{padding:8px 0 8px 46px;min-height:65px;font-size:12px}.photo-details>div+div{border:0}.photo-details dt{font-size:11px}.photo-details dt>img{top:10px;left:0;width:35px;height:35px}
 .photo-download{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:24px;padding:22px 24px}.photo-download__choice>label:first-child{font-size:13px}.photo-download__button{min-height:86px;font-size:16px!important;padding:10px 15px}.photo-download__button>img{width:52px;height:52px;flex-basis:52px}.photo-copy{font-size:12px!important}
 .photo-section__head{min-height:83px;gap:22px;padding-left:32px}.photo-section__icon{width:72px;height:72px;flex-basis:72px}.photo-section__head h2{font-size:27px}.photo-add-button{min-height:50px;font-size:13px!important;padding-left:20px;gap:12px}.photo-add-button>img{width:34px;height:34px;flex-basis:34px}.photo-comments__sort button{font-size:17px}.photo-comment__date{font-size:11px}.photo-section__body{padding-inline:clamp(38px,5vw,90px)}.photo-comments__footer{padding-inline:clamp(38px,5vw,90px)}
}
@media(max-width:1199px){
 .photo-page{--nav:72px}.photo-layout,.photo-layout.is-menu-collapsed{grid-template-columns:72px minmax(0,1fr);gap:16px}
 .photo-layout.is-menu-expanded .photo-nav{width:278px;box-shadow:14px 10px 24px #3c557744}.photo-navigation{z-index:25}.is-menu-collapsed .photo-nav__back,.is-menu-collapsed .photo-nav__link{min-height:62px;padding:7px 4px}.is-menu-collapsed .photo-nav__link>img{width:46px;height:46px;flex-basis:46px}.is-menu-collapsed .photo-nav__back img{width:46px;height:46px;flex-basis:46px}.is-menu-collapsed .photo-nav__collapse,.is-menu-collapsed .photo-nav__up{min-height:54px;padding-block:10px}.photo-nav__collapse{}
 .photo-title-wrap h1{font-size:26px}.photo-title-wrap{min-height:78px}.photo-title-upload{width:68px;flex-basis:68px}.photo-title-upload img{width:60px;height:60px}.photo-meta{gap:16px;font-size:11px}.photo-meta__stats{gap:14px;font-size:13px}.photo-meta__favorite>img,.photo-meta__item>img,.photo-like>img{width:34px;height:34px;flex-basis:34px}.photo-like__count{min-width:54px;padding:7px 12px;font-size:13px}.photo-meta__views>img{width:21px;flex-basis:21px}
 .photo-author-card{grid-template-columns:180px minmax(0,1fr);gap:24px;padding:24px}.photo-author-main{padding-right:20px}.photo-details{gap:10px}.photo-details>div{font-size:11px;padding-left:43px}.photo-details dt{font-size:10px}.photo-download{gap:16px;padding:20px}.photo-download__button{gap:12px;font-size:14px!important;padding:10px 12px}.photo-download__button>img{width:48px;height:48px;flex-basis:48px}.photo-copy{font-size:11px!important}
 .photo-comments__sort{gap:18px}.photo-comments__sort button{font-size:16px}.photo-comment__author h3{font-size:20px}.photo-comment__date{font-size:10px}.photo-comment__top{gap:20px}.photo-comment__avatar{width:80px;height:80px;flex-basis:80px}.photo-section__head{padding-left:28px;gap:20px}.photo-section__head h2{font-size:25px}.photo-add-button{font-size:12px!important;padding-left:18px;gap:10px}.photo-map iframe{height:550px}
}
@media(max-width:899px){
 .photo-main{padding:12px 18px 0;--photo-header-gap:12px}.photo-layout,.photo-layout.is-menu-collapsed{grid-template-columns:64px minmax(0,1fr);padding:14px;gap:16px}.photo-title-wrap{padding:7px 9px 7px 24px;min-height:72px}.photo-title-wrap h1{font-size:23px}.photo-title-upload{width:62px;flex-basis:62px}.photo-title-upload img{width:54px;height:54px}.photo-meta{gap:12px;padding:8px 12px;min-height:55px;font-size:10px}.photo-meta__favorite>span{}.photo-meta__favorite>img,.photo-meta__item>img,.photo-like>img{width:32px;height:32px;flex-basis:32px}.photo-meta__item{gap:7px}.photo-meta__stats{gap:10px;font-size:12px}.photo-meta__views{gap:6px}.photo-like__count{min-width:48px;padding:7px 10px;font-size:12px}
 .photo-related__viewport{--thumb-height:105px}.photo-related{padding:10px 12px 12px}.photo-related h2{font-size:13px}
 .photo-author-card{display:block;padding:22px}.photo-author-main{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:0 0 18px;margin-bottom:8px;border-right:0;border-bottom:1px solid #c2cddd;box-shadow:0 6px 7px -6px #627c9d}.photo-author{flex-direction:row;align-items:center;gap:18px}.photo-author>img{width:78px;height:78px;flex-basis:78px}.photo-author__label{font-size:12px}.photo-author h2{font-size:16px}.photo-author__nickname{font-size:11px;margin:4px 0 7px}.photo-author-favorite{width:145px;flex:0 0 145px;flex-direction:row-reverse;text-align:right;font-size:11px!important;margin:0}.photo-author-favorite>img{margin-left:6px}.photo-details{padding-top:10px;gap:16px}.photo-details>div{font-size:11px;padding-left:42px}.photo-details dt{font-size:10px}.photo-details dt>img{width:33px;height:33px}.photo-download{padding:20px;gap:22px}.photo-download__choice>label:first-child{font-size:12px}.photo-download__button{font-size:14px!important}.photo-download__button>img{width:47px;height:47px;flex-basis:47px}.photo-copy{font-size:11px!important}
 .photo-section__head{min-height:76px;padding-left:24px;gap:18px}.photo-section__icon{width:66px;height:66px;flex-basis:66px}.photo-section__head h2{font-size:24px}.photo-add-button{font-size:11px!important;min-height:44px;padding:7px 8px 7px 15px;gap:8px}.photo-add-button>img{width:30px;height:30px;flex-basis:30px}.photo-section__body{padding:36px 42px}.photo-description{font-size:14px;line-height:1.55}.photo-tags{gap:9px;padding-block:32px 38px}.photo-tag{font-size:13px;padding:11px 22px}.photo-comments{padding-top:28px;padding-bottom:0}.photo-comments__sort{gap:22px;margin-bottom:32px;justify-content:flex-start;overflow:hidden}.photo-comments__sort button{font-size:14px}.photo-comment__top{gap:20px;flex-wrap:wrap;margin-bottom:20px}.photo-comment__author h3{font-size:20px}.photo-comment__avatar{width:80px;height:80px;flex-basis:80px}.photo-comment__date{margin:-22px 0 0 100px;padding:0;flex:0 0 calc(100% - 100px);font-size:11px}.photo-comment__nickname{font-size:12px}.photo-online_small{font-size:11px}.photo-comment__text{font-size:14px;line-height:1.6}.photo-comment{padding-bottom:30px;margin-bottom:32px}.photo-comments__footer{padding:26px 42px;font-size:12px;gap:18px}.photo-comments__load{font-size:12px!important;gap:12px}.photo-comments__add{font-size:12px!important;gap:12px}.photo-comments__add>img{width:34px;height:34px;flex-basis:34px}.photo-pill{min-width:49px;font-size:12px}.photo-dark-button{font-size:12px;padding:11px 16px;min-height:43px}.photo-map{padding:16px}.photo-map iframe{height:480px;max-height:none;border-width:6px}.photo-editor__body{padding-inline:36px}.photo-editor .photo-section__head h2{font-size:22px}.photo-editor__user{font-size:14px}
}
@media(max-width:639px){
 .photo-mobile-bar{display:grid;grid-template-columns:58px 1fr 58px;align-items:center;gap:8px;padding:5px 10px 10px}.photo-mobile-bar__back,.photo-mobile-bar__upload{display:flex;align-items:center;justify-content:center;height:55px;border:1px solid #8b9bb0;border-radius:10px;background:linear-gradient(#53667d,#26384f)}.photo-mobile-bar__back img{width:46px;height:46px}.photo-mobile-bar__upload img{width:49px;height:49px}.photo-mobile-bar>span{display:flex;align-items:center;justify-content:center;min-height:55px;border:1px solid #d2dce8;border-radius:9px;background:#fff;color:#111;font-size:22px;font-weight:700}
 .photo-main{padding:7px 8px 0;--photo-header-gap:7px}.photo-layout,.photo-layout.is-menu-collapsed{display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:'photo' 'info' 'sections';gap:14px;padding:10px;border-radius:12px}.photo-navigation{display:none}.photo-layout.is-mobile-menu-open .photo-navigation{display:block;position:fixed;top:calc(var(--photo-header-height, 88px) + 80px);left:12px;width:278px;z-index:55}.photo-layout.is-mobile-menu-open .photo-nav{width:278px;box-shadow:12px 12px 30px #172b4660}.photo-layout.is-mobile-menu-open .photo-nav__back{min-height:64px;padding:6px 12px;gap:14px}.photo-layout.is-mobile-menu-open .photo-nav__back img{width:48px;height:48px;flex-basis:48px}.photo-layout.is-mobile-menu-open .photo-nav__back>span{display:block}.photo-layout.is-mobile-menu-open .photo-nav__collapse{display:none}.photo-layout.is-mobile-menu-open .photo-nav__link{min-height:58px;padding:5px 12px;gap:14px;justify-content:flex-start}.photo-layout.is-mobile-menu-open .photo-nav__link>img{width:46px;height:46px;flex-basis:46px}.photo-layout.is-mobile-menu-open .photo-nav__link>span{display:block}.photo-layout.is-mobile-menu-open .photo-nav__link small{}.photo-layout.is-mobile-menu-open .photo-nav__up{padding:14px 22px;min-height:56px;justify-content:flex-start;gap:20px}.photo-layout.is-mobile-menu-open .photo-nav__up>span{display:block}.photo-nav__stat:hover{background:#fff}
 .photo-title-wrap{min-height:77px;padding:18px 20px;margin-bottom:12px;border-radius:10px}.photo-title-wrap h1{font-size:23px;line-height:1.15}.photo-title-upload{display:none}.photo-meta{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9px 8px;padding:10px 12px;margin-bottom:12px;min-height:101px;border-radius:10px;font-size:10.5px}.photo-meta__category{}.photo-meta__number{}.photo-meta__item{min-width:0;gap:7px}.photo-meta__item>img,.photo-meta__favorite>img,.photo-like>img{width:33px;height:33px;flex-basis:33px}.photo-meta__favorite{justify-self:start;z-index:1}.photo-meta__favorite>span{}.photo-meta__stats{justify-self:stretch;width:100%;margin:0;gap:14px;font-size:12px}.photo-meta__views{gap:7px}.photo-meta__views>img{width:21px;flex-basis:21px}.photo-like{gap:8px}.photo-like__count{font-size:13px;min-width:51px;padding:8px 10px}.photo-figure{padding:7px;border-radius:10px}.photo-figure__open>img{aspect-ratio:1.15;height:auto;object-fit:cover;object-position:45% 50%}.photo-figure__zoom{display:none}
 .photo-related{margin-top:12px;padding:10px}.photo-related__heading{margin-bottom:9px}.photo-related h2{font-size:12px}.photo-related__viewport{--thumb-height:91px}.photo-related__track{gap:8px}.photo-related__controls button{width:28px;height:26px;font-size:23px}
 .photo-author-card{padding:22px 20px 18px;border-radius:10px}.photo-author-main{display:block;padding-bottom:14px;margin-bottom:5px}.photo-author{gap:18px}.photo-author>img{width:78px;height:78px;flex-basis:78px}.photo-author__label{font-size:13px}.photo-author h2{font-size:17px}.photo-author__nickname{font-size:11px}.photo-author .photo-online{font-size:10px}.photo-author-favorite{flex-direction:row;width:100%;justify-content:center;gap:12px;text-align:center;min-height:36px;padding:9px 0 0;font-size:11px!important}.photo-author-favorite>img{margin:0}.photo-details{grid-template-columns:1fr 1fr;padding:10px 0 20px;gap:16px 12px}.photo-details>div{padding:9px 0 9px 43px;font-size:12px;min-height:57px}.photo-details>div:first-child{grid-column:1/-1;min-height:70px;padding-left:43px}.photo-details dt{font-size:11px}.photo-details dt>img{top:10px;width:34px;height:34px}.photo-details>div:first-child dt>img{top:16px}.photo-download{display:flex;flex-direction:column;padding:20px 16px;gap:18px}.photo-download__choice>label:first-child{font-size:13px;margin-bottom:14px}.photo-download select{font-size:12px;min-height:47px;padding:12px 10px}.photo-download__consent{font-size:10px;gap:10px;margin-top:14px}.photo-download__button{font-size:16px!important;min-height:84px;gap:18px;padding:10px 16px}.photo-download__button>img{width:56px;height:56px;flex-basis:56px}.photo-copy{font-size:12px!important;margin-top:18px}
 .photo-content{gap:16px}.photo-section{border-radius:10px}.photo-section__head{min-height:69px;padding:5px 12px 5px 16px;gap:14px;border-radius:9px 9px 0 0}.photo-section__icon{width:58px;height:58px;flex-basis:58px}.photo-section__head h2{font-size:22px}.photo-section__body{padding:30px 28px}.photo-description{font-size:14px;line-height:1.6}.photo-description p+p{margin-top:24px}.photo-tags{padding:30px 24px;gap:8px}.photo-tag{font-size:12px;padding:10px 17px}.photo-section__head>.photo-add-button{position:absolute;top:calc(100% + 16px);left:24px;right:24px;margin:0;min-height:47px;padding:8px 10px 8px 22px;font-size:12px!important;z-index:2}.photo-section__head>.photo-add-button>img{width:31px;height:31px;flex-basis:31px}.photo-comments{padding:87px 28px 0}.photo-comments__sort{gap:22px;margin-bottom:28px;overflow:hidden;justify-content:flex-start}.photo-comments__sort button{font-size:14px}.photo-comment__top{gap:16px;margin-bottom:20px}.photo-comment__avatar{width:74px;height:74px;flex-basis:74px}.photo-comment__author h3{font-size:20px}.photo-comment__nickname{font-size:11px}.photo-comment__nickname .photo-online_small{font-size:10.5px;margin-left:7px;gap:4px}.photo-comment__date{margin:-19px 0 0 90px;flex-basis:calc(100% - 90px);font-size:10px;white-space:normal}.photo-comment__text{font-size:14px;line-height:1.6}.photo-comment__text>p{-webkit-line-clamp:7}.photo-comment__more{font-size:12px}.photo-comment{padding-bottom:25px;margin-bottom:28px}.photo-comment__bottom{margin-top:18px;font-size:11px}.photo-comment__views{gap:8px}.photo-comment__views>img{width:15px;height:auto;flex-basis:15px}.photo-comments__footer{padding:24px 28px;flex-wrap:wrap;gap:18px;font-size:12px}.photo-comments__load{font-size:12px!important;gap:15px}.photo-comments__add{font-size:12px!important;gap:14px}.photo-comments__add>img{width:34px;height:34px;flex-basis:34px}.photo-pill{font-size:12px;min-width:48px;padding:7px 11px}.photo-dark-button{font-size:10px;min-height:36px;padding:9px 12px}.photo-map-section .photo-section__head{flex-wrap:wrap;row-gap:4px;padding-bottom:10px}.photo-map-section .photo-section__head h2{flex:1}.photo-map-section .photo-dark-button{margin-left:72px;margin-right:0}.photo-map{padding:12px}.photo-map iframe{height:370px;max-height:none;border-width:5px}
 .photo-editor .photo-section__head{min-height:68px;padding-left:18px;gap:12px}.photo-editor .photo-section__head h2{font-size:20px}.photo-editor .photo-section__icon{width:52px;height:52px;flex-basis:52px}.photo-editor__close{width:30px;height:30px;flex-basis:30px;font-size:24px!important}.photo-editor__body{padding:24px 22px 28px}.photo-editor__user{font-size:13px;gap:10px;margin-bottom:18px}.photo-editor__user .photo-online{font-size:10px}.photo-bb-toolbar{gap:2px;padding:7px}.photo-bb-toolbar button{padding:8px;font-size:12px!important;min-height:33px;min-width:30px}.photo-bb-editor textarea{padding:14px;font-size:14px;min-height:190px}.photo-bb-editor__bottom{font-size:10px;padding:8px 10px}.photo-comment-form__buttons{flex-wrap:wrap;gap:18px}.photo-add-button_submit{min-width:0;width:100%;font-size:12px!important;padding:8px 10px 8px 20px;min-height:48px}.photo-add-button_submit>img{width:32px;height:32px;flex-basis:32px}.photo-editor__anonymous{gap:14px;font-size:14px}.photo-editor__anonymous>img{width:48px;height:48px;flex-basis:48px}.photo-editor__status{padding:15px;font-size:13px}.photo-lightbox{padding:4px;max-width:96vw}.photo-lightbox>button{right:0;top:-44px}
}
@media(max-width:389px){.photo-mobile-bar{grid-template-columns:52px 1fr 52px;gap:8px;padding-inline:8px}.photo-mobile-bar>span{font-size:20px}.photo-main{padding-inline:6px}.photo-layout,.photo-layout.is-menu-collapsed{padding:8px}.photo-title-wrap h1{font-size:21px}.photo-title-wrap{padding:17px 18px;min-height:78px}.photo-meta{font-size:9.5px;padding:10px;gap:9px 5px}.photo-meta__favorite>img,.photo-meta__item>img,.photo-like>img{width:31px;height:31px;flex-basis:31px}.photo-meta__item{gap:6px}.photo-meta__stats{gap:11px;font-size:11px}.photo-like__count{min-width:47px;font-size:12px}.photo-section__head{padding-left:12px;gap:12px}.photo-section__head h2{font-size:21px}.photo-section__icon{width:55px;height:55px;flex-basis:55px}.photo-section__body{padding-inline:24px}.photo-comments{padding-top:87px;padding-bottom:0}.photo-comment__top{gap:12px}.photo-comment__avatar{width:68px;height:68px;flex-basis:68px}.photo-comment__author h3{font-size:19px}.photo-comment__date{margin-left:80px;flex-basis:calc(100% - 80px);margin-top:-17px}.photo-comment__nickname{font-size:10px}.photo-comment__nickname .photo-online_small{font-size:10px}.photo-comment__text{font-size:13px}.photo-description{font-size:13px}.photo-tags{gap:7px;padding-inline:20px}.photo-tag{font-size:11px;padding:9px 14px}.photo-comments__footer{padding-inline:24px}.photo-author-card{padding:20px 18px}.photo-author{gap:14px}.photo-author>img{width:74px;height:74px;flex-basis:74px}.photo-author h2{font-size:16px}.photo-author__label{font-size:12px}.photo-details>div{font-size:11px;padding-left:39px}.photo-details dt{font-size:10px}.photo-details dt>img{width:31px;height:31px}.photo-download{padding:18px 14px}.photo-download__button{font-size:14px!important;gap:14px}.photo-download__button>img{width:50px;height:50px;flex-basis:50px}.photo-editor__user{flex-wrap:wrap}.photo-editor__user .photo-online{margin-left:54px;margin-top:-18px}.photo-editor .photo-section__head h2{font-size:18px}.photo-editor__body{padding-inline:18px}.photo-map iframe{height:340px}
}
@media(prefers-reduced-motion:reduce){.photo-main *,.photo-main *::before,.photo-main *::after{transition:none!important;animation:none!important}}
@media(min-width:640px) and (max-width:759px){
 .photo-meta{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:9px 12px;min-height:100px}
 .photo-meta__category{}.photo-meta__number{}.photo-meta__item{min-width:0}
 .photo-meta__favorite{justify-self:start;z-index:1}.photo-meta__stats{justify-self:stretch;width:100%;margin:0}
}
/* Native header stays absolute as in the original profile. Reserve its measured height. */
.photo-main{padding-top:calc(var(--photo-header-height, 124px) + var(--photo-header-gap, 16px))}
/* Use the original profile sidebar's typography and the same font breakpoints. */
.photo-nav{font-family:Arial;font-size:1.125rem;font-weight:400;line-height:1}
.photo-nav :is(.photo-nav__link,.photo-nav__back,.photo-nav__collapse){font-family:inherit;font-size:1.125rem;font-weight:400;line-height:1.25;letter-spacing:normal}
.photo-nav .photo-nav__back>span,.photo-nav .photo-nav__link small,.photo-nav .photo-nav__link small b{font:inherit}
.photo-nav .photo-nav__up{font:inherit;line-height:1}
@media(max-width:116.25em){.photo-nav{}.photo-nav :is(.photo-nav__link,.photo-nav__back,.photo-nav__collapse){font-size:1rem}}
@media(max-width:99.99875em){.photo-nav{font-size:1rem}}
@media(max-width:85.37375em){.photo-nav{font-size:.875rem}}
/* Vector arrows keep a consistent shape instead of depending on a text glyph. */
.photo-related__controls button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;border-radius:50%;color:#526c8a;transition:border-color .15s,background .15s,box-shadow .15s}
.photo-related__controls svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.photo-related__controls button:hover:not(:disabled){border-color:#7e99b9;background:linear-gradient(#fff,#d5e2f2);box-shadow:0 2px 5px #3e5b7a1c}
/* The previous bitmap contained a white fill, which hid the white button labels. */
.photo-add-button{border:1px solid #485c74;box-shadow:inset 0 1px 1px #ffffff50;color:#fff!important}
.photo-comments__footer{flex-wrap:wrap}
.photo-comments__footer .photo-comments__add{flex:0 0 auto}
.photo-comments__load:disabled{opacity:.65;cursor:wait}
.photo-comments__load-status{flex-basis:100%;color:#9b413c;font-size:12px;line-height:1.4}
@media(max-width:899px){
 .photo-meta{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));grid-template-areas:none;gap:10px 0;align-items:center}
 .photo-meta__category{grid-area:1 / 1 / 2 / 7;min-width:0}
 .photo-meta__number{grid-area:1 / 7 / 2 / 13;min-width:0}
 .photo-meta__item>span{min-width:0;overflow-wrap:anywhere}
 .photo-meta__favorite{grid-area:2 / 1 / 3 / 6;justify-self:start;min-width:0;z-index:auto}
 .photo-meta__favorite>span{display:block;min-width:0;font-size:10px;line-height:1.2}
 .photo-meta__stats{display:contents;margin:0;padding:0}
 .photo-meta__views{grid-area:2 / 6 / 3 / 9;justify-self:center;gap:6px}
 .photo-like{grid-area:2 / 9 / 3 / 13;justify-self:end;gap:7px}
}

