.gallery-page {
    background:
        radial-gradient(circle at 8% 16%, rgba(200, 154, 69, .09), transparent 28%),
        radial-gradient(circle at 92% 32%, rgba(93, 111, 58, .08), transparent 24%),
        var(--paper);
}

.gallery-main {
    min-height: 80vh;
    padding: 155px 0 110px;
}

.gallery-profile {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: clamp(42px, 7vw, 100px);
    align-items: center;
    max-width: 1060px;
}

.gallery-profile-image {
    position: relative;
    display: grid;
    place-items: center;
}

.gallery-profile-image::before,
.gallery-profile-image::after {
    position: absolute;
    content: "";
    border-radius: 50%;
}

.gallery-profile-image::before {
    inset: -12px;
    background: conic-gradient(from 180deg, var(--forest), var(--gold), #a94858, var(--olive), var(--forest));
    box-shadow: 0 20px 55px rgba(23, 59, 43, .18);
}

.gallery-profile-image::after {
    inset: -6px;
    background: var(--paper);
}

.gallery-profile-image > span {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 1;
    border: 5px solid var(--white);
    border-radius: 50%;
    background: var(--forest);
}

.gallery-profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-profile-content {
    min-width: 0;
}

.gallery-profile-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.gallery-profile-kicker {
    display: block;
    margin-bottom: 8px;
    color: var(--olive);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.gallery-profile-title h1 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--forest);
    font: 400 clamp(36px, 5vw, 60px)/1 Georgia, "Times New Roman", serif;
    letter-spacing: -.055em;
}

.gallery-profile-title h1 i {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    border-radius: 50%;
    background: var(--forest);
    color: var(--gold-light);
    font: 900 13px/1 Arial, sans-serif;
}

.gallery-profile-title strong {
    display: block;
    margin-top: 8px;
    color: var(--ink);
    font-size: 14px;
}

.gallery-profile-title > a {
    display: inline-flex;
    min-width: max-content;
    align-items: center;
    gap: 14px;
    padding: 13px 19px;
    border: 1px solid var(--line);
    border-radius: 99px;
    background: rgba(255, 253, 248, .7);
    color: var(--forest);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .06em;
    transition: .25s ease;
}

.gallery-profile-title > a:hover {
    border-color: var(--gold);
    background: var(--forest);
    color: white;
    transform: translateY(-2px);
}

.gallery-profile-stats {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(24px, 5vw, 58px);
    margin: 30px 0 25px;
    color: var(--muted);
    font-size: 13px;
}

.gallery-profile-stats span {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
}

.gallery-profile-stats b {
    color: var(--forest);
    font: 600 18px/1 Georgia, serif;
}

.gallery-profile-bio {
    color: #434c45;
    font-size: 14px;
    line-height: 1.8;
}

.gallery-profile-signature {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
}

.gallery-profile-signature span {
    color: var(--forest);
    font-size: 13px;
    font-weight: 900;
}

.gallery-profile-signature small {
    color: var(--muted);
    font: italic 13px Georgia, serif;
}

.gallery-profile-socials {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 13px;
    margin-top: 15px;
}

.gallery-profile-socials > small {
    color: #9a9e99;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.gallery-profile-socials > div {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.gallery-profile-socials a {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    gap: 7px;
    padding: 0 11px;
    border: 1px solid rgba(23, 59, 43, .12);
    border-radius: 999px;
    color: var(--forest);
    background: rgba(255, 255, 255, .7);
    box-shadow: 0 7px 20px rgba(23, 59, 43, .05);
    font-size: 8px;
    font-weight: 850;
    transition: transform .25s ease, color .25s ease, border-color .25s ease, background .25s ease;
}

.gallery-profile-socials a:hover {
    color: #fff;
    border-color: var(--forest);
    background: var(--forest);
    transform: translateY(-2px);
}

.gallery-profile-socials svg {
    width: 14px;
    height: 14px;
}

.gallery-highlights {
    display: flex;
    max-width: 1060px;
    gap: clamp(18px, 4vw, 46px);
    margin-top: 70px;
    overflow-x: auto;
    padding: 5px 4px 18px;
    scrollbar-width: none;
}

.gallery-highlights::-webkit-scrollbar {
    display: none;
}

.gallery-highlights a {
    display: grid;
    min-width: 100px;
    justify-items: center;
    gap: 10px;
}

.gallery-highlights a > span {
    display: grid;
    width: 82px;
    overflow: hidden;
    aspect-ratio: 1;
    place-items: center;
    border: 1px solid rgba(23, 59, 43, .13);
    border-radius: 50%;
    background: linear-gradient(145deg, #fff, #eee6d7);
    box-shadow: 0 10px 28px rgba(23, 59, 43, .08);
    transition: .3s ease;
}

.gallery-highlights a:hover > span {
    border-color: var(--gold);
    transform: translateY(-4px) rotate(2deg);
}

.gallery-highlights img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.gallery-highlights strong {
    color: var(--forest);
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .04em;
}

.gallery-feed {
    margin-top: 70px;
    scroll-margin-top: 115px;
    transition: opacity .22s ease, transform .22s ease;
}

.gallery-feed.is-switching {
    opacity: .38;
    pointer-events: none;
    transform: translateY(8px);
}

.gallery-feed.gallery-feed-enter {
    animation: gallery-feed-enter .38s cubic-bezier(.2, .8, .2, 1) both;
}

@keyframes gallery-feed-enter {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-feed-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    padding: 0 0 28px;
    border-bottom: 1px solid var(--line);
}

.gallery-feed-head h2 {
    margin-top: 12px;
    color: var(--forest);
    font-size: clamp(38px, 5vw, 68px);
}

.gallery-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gallery-tabs a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: 99px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .07em;
    text-transform: uppercase;
    transition: .25s ease;
}

.gallery-tabs a svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
}

.gallery-tabs a:hover,
.gallery-tabs a.active {
    border-color: var(--line);
    background: var(--forest);
    color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    margin-top: 5px;
}

.gallery-card {
    position: relative;
    min-width: 0;
    overflow: hidden;
    aspect-ratio: 1;
    background: #e9e2d4;
}

.gallery-card > a {
    display: block;
    width: 100%;
    height: 100%;
}

.gallery-card > a > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .65s cubic-bezier(.2, .8, .2, 1), filter .4s ease;
}

.gallery-card-type {
    position: absolute;
    z-index: 2;
    top: 16px;
    right: 16px;
    display: grid;
    width: 35px;
    height: 35px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 50%;
    background: rgba(13, 30, 22, .42);
    color: white;
    backdrop-filter: blur(10px);
}

.gallery-card-type svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
}

.gallery-card-overlay {
    position: absolute;
    z-index: 2;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    background: rgba(8, 25, 17, .56);
    color: white;
    opacity: 0;
    transition: opacity .3s ease;
}

.gallery-card-overlay span {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 900;
}

.gallery-card-overlay svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.gallery-card-caption {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    padding: 50px 18px 17px;
    background: linear-gradient(transparent, rgba(8, 24, 17, .76));
    color: white;
    opacity: 0;
    transform: translateY(10px);
    transition: .3s ease;
}

.gallery-card-caption strong {
    overflow: hidden;
    font: 400 19px/1.15 Georgia, serif;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gallery-card-caption small {
    min-width: max-content;
    color: rgba(255, 255, 255, .68);
    font-size: 9px;
}

.gallery-card:hover > a > img {
    filter: saturate(.9);
    transform: scale(1.045);
}

.gallery-card:hover .gallery-card-overlay,
.gallery-card:hover .gallery-card-caption {
    opacity: 1;
}

.gallery-card:hover .gallery-card-caption {
    transform: translateY(0);
}

.gallery-empty {
    display: grid;
    min-height: 430px;
    justify-items: center;
    place-content: center;
    padding: 50px 20px;
    text-align: center;
}

.gallery-empty img {
    width: 110px;
    height: 110px;
    margin-bottom: 24px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 16px 40px rgba(23, 59, 43, .15);
}

.gallery-empty h3 {
    color: var(--forest);
    font: 400 30px/1.1 Georgia, serif;
}

.gallery-empty p {
    margin-top: 10px;
    color: var(--muted);
    font-size: 13px;
}

.gallery-pagination {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid var(--line);
    color: var(--forest);
    font-size: 11px;
    font-weight: 900;
}

.gallery-pagination a:last-child {
    justify-self: end;
}

.gallery-pagination strong {
    color: var(--muted);
}

.gallery-modal {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: grid;
    visibility: hidden;
    place-items: center;
    padding: 38px;
    opacity: 0;
    transition: visibility .3s ease, opacity .3s ease;
}

.gallery-modal.open {
    visibility: visible;
    opacity: 1;
}

.gallery-modal-backdrop {
    position: absolute;
    z-index: 0;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(200, 154, 69, .15), transparent 28%),
        rgba(5, 16, 11, .91);
    backdrop-filter: blur(18px);
}

.gallery-modal-fall,
.gallery-detail-fall {
    position: absolute;
    z-index: 1;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.gallery-modal-fall .meyra-fall,
.gallery-detail-fall .meyra-fall {
    position: absolute;
    z-index: 1;
    opacity: .36;
}

.gallery-modal-fall .meyra-fall > span,
.gallery-detail-fall .meyra-fall > span {
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .22));
}

.gallery-modal-shell {
    position: relative;
    z-index: 3;
    width: min(1440px, 94vw);
    height: min(880px, 90vh);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 26px;
    background: #fffdf8;
    box-shadow: 0 45px 130px rgba(0, 0, 0, .48);
    transform: translateY(20px) scale(.985);
    transition: transform .38s cubic-bezier(.2, .8, .2, 1);
}

.gallery-modal.open .gallery-modal-shell {
    transform: translateY(0) scale(1);
}

.gallery-modal-loading {
    position: absolute;
    z-index: 2;
    inset: 0;
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 16px;
    background: var(--paper);
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
}

.gallery-modal-loading[hidden] {
    display: none;
}

.gallery-modal-loading img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    animation: galleryPulse 1.3s ease-in-out infinite;
}

@keyframes galleryPulse {
    50% { transform: scale(.94); opacity: .68; }
}

.gallery-modal-shell > [data-gallery-modal-content],
.gallery-modal-shell > [data-gallery-modal-content] > .gallery-post-panel {
    width: 100%;
    height: 100%;
}

.gallery-post-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(420px, .78fr);
    overflow: hidden;
    background: var(--white);
}

.gallery-post-media {
    position: relative;
    display: grid;
    min-width: 0;
    min-height: 0;
    place-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 50%, rgba(200, 154, 69, .1), transparent 42%),
        #07140e;
}

.gallery-post-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gallery-media-brand {
    position: absolute;
    z-index: 4;
    top: 18px;
    left: 18px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 11px 7px 7px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 99px;
    background: rgba(7, 20, 14, .48);
    color: white;
    font-size: 10px;
    font-weight: 900;
    backdrop-filter: blur(12px);
}

.gallery-media-brand img {
    width: 27px;
    height: 27px;
    border-radius: 50%;
    object-fit: cover;
}

.gallery-media-watermark {
    position: absolute;
    z-index: 4;
    right: 18px;
    bottom: 15px;
    color: rgba(255, 255, 255, .6);
    font: italic 12px Georgia, serif;
    letter-spacing: .04em;
    pointer-events: none;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .5);
}

.gallery-video {
    position: relative;
    width: 100%;
    height: 100%;
    background: #050d09;
}

.gallery-video video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gallery-video-center {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    display: grid;
    width: 76px;
    height: 76px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .38);
    border-radius: 50%;
    background: rgba(8, 25, 17, .58);
    color: white;
    cursor: pointer;
    transform: translate(-50%, -50%);
    backdrop-filter: blur(14px);
    transition: .25s ease;
}

.gallery-video-center:hover {
    background: var(--gold);
    color: var(--forest);
    transform: translate(-50%, -50%) scale(1.06);
}

.gallery-video-center svg {
    width: 34px;
    height: 34px;
    fill: currentColor;
    stroke: none;
}

.gallery-video.playing .gallery-video-center {
    visibility: hidden;
    opacity: 0;
}

.gallery-video-controls {
    position: absolute;
    z-index: 4;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: auto auto auto auto minmax(80px, 1fr) auto 80px auto;
    align-items: center;
    gap: 10px;
    padding: 46px 18px 15px;
    background: linear-gradient(transparent, rgba(0, 0, 0, .82));
    color: white;
    opacity: 0;
    transform: translateY(8px);
    transition: .25s ease;
}

.gallery-video:hover .gallery-video-controls,
.gallery-video:focus-within .gallery-video-controls,
.gallery-video:not(.playing) .gallery-video-controls {
    opacity: 1;
    transform: translateY(0);
}

.gallery-video-controls button {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: white;
    cursor: pointer;
}

.gallery-video-controls button:hover {
    background: rgba(255, 255, 255, .14);
}

.gallery-video-controls button span {
    font-size: 9px;
    font-weight: 900;
}

.gallery-video-controls svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.gallery-video-controls .video-play-icon {
    fill: currentColor;
    stroke: none;
}

.video-pause-icon,
.video-muted-icon,
.gallery-video.playing .video-play-icon,
.gallery-video.muted .video-volume-icon {
    display: none;
}

.gallery-video.playing .video-pause-icon,
.gallery-video.muted .video-muted-icon {
    display: block;
}

.gallery-video-time {
    min-width: 75px;
    font-size: 9px;
    font-variant-numeric: tabular-nums;
}

.gallery-video-progress,
.gallery-video-volume {
    height: 4px;
    accent-color: var(--gold);
    cursor: pointer;
}

.gallery-post-side {
    display: flex;
    min-width: 0;
    min-height: 0;
    flex-direction: column;
    border-left: 1px solid var(--line);
    background: rgba(255, 253, 248, .98);
}

.gallery-post-author {
    display: flex;
    min-height: 82px;
    align-items: center;
    gap: 12px;
    padding: 14px 19px;
    border-bottom: 1px solid var(--line);
}

.gallery-author-image {
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    overflow: hidden;
    padding: 2px;
    border-radius: 50%;
    background: conic-gradient(var(--forest), var(--gold), #a94858, var(--forest));
}

.gallery-author-image img {
    width: 100%;
    height: 100%;
    border: 2px solid var(--white);
    border-radius: 50%;
    object-fit: cover;
}

.gallery-post-author > div {
    min-width: 0;
    flex: 1;
}

.gallery-post-author strong {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--forest);
    font-size: 12px;
}

.gallery-post-author strong span {
    display: grid;
    width: 15px;
    height: 15px;
    place-items: center;
    border-radius: 50%;
    background: var(--forest);
    color: var(--gold-light);
    font-size: 8px;
}

.gallery-post-author small {
    display: block;
    overflow: hidden;
    margin-top: 3px;
    color: var(--muted);
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gallery-post-scroll {
    min-height: 0;
    flex: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.gallery-post-caption {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 11px;
    padding: 20px 19px 16px;
}

.gallery-comment-avatar {
    display: grid;
    width: 36px;
    height: 36px;
    overflow: hidden;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #e7eadf;
    color: var(--forest);
    font-size: 11px;
    font-weight: 900;
}

.gallery-comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-post-caption p {
    color: #3d443e;
    font-size: 11px;
    line-height: 1.65;
}

.gallery-post-caption p strong {
    margin-right: 4px;
    color: var(--forest);
}

.gallery-post-caption time,
.gallery-comment-copy time {
    display: inline-block;
    margin-top: 7px;
    color: #9a9e99;
    font-size: 8px;
    text-transform: uppercase;
}

.gallery-post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 8px;
    margin-top: 9px;
}

.gallery-post-tags span {
    color: var(--olive);
    font-size: 10px;
    font-weight: 800;
}

.gallery-comments {
    display: grid;
    gap: 3px;
    padding: 0 19px 18px;
}

.gallery-comment {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 11px;
    padding: 9px 0;
}

.gallery-comment-copy > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.gallery-comment-copy strong {
    color: var(--forest);
    font-size: 10px;
}

.gallery-comment-copy time {
    margin: 0;
}

.gallery-comment-copy p {
    margin-top: 4px;
    color: #454c46;
    font-size: 11px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.gallery-comments-empty {
    display: grid;
    min-height: 150px;
    place-content: center;
    text-align: center;
}

.gallery-comments-empty strong {
    color: var(--forest);
    font: 400 22px/1.1 Georgia, serif;
}

.gallery-comments-empty span {
    margin-top: 6px;
    color: var(--muted);
    font-size: 10px;
}

.gallery-post-footer {
    min-width: 0;
    flex: 0 0 auto;
    overflow-x: hidden;
    border-top: 1px solid var(--line);
    background: var(--white);
}

.gallery-post-actions {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 9px 13px 3px;
}

.gallery-post-actions button {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--forest);
    cursor: pointer;
    transition: .2s ease;
}

.gallery-post-actions button:hover {
    background: rgba(23, 59, 43, .07);
    transform: translateY(-2px);
}

.gallery-post-actions button.active {
    color: #a6404f;
}

.gallery-post-actions button.active svg {
    fill: currentColor;
}

.gallery-post-actions svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.gallery-like-summary {
    display: block;
    padding: 0 19px;
    color: var(--forest);
    font-size: 11px;
}

.gallery-post-insight {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 12px;
    padding: 6px 19px 10px;
    color: var(--muted);
    font-size: 9px;
}

.gallery-post-insight b {
    color: var(--forest);
}

.gallery-post-insight time {
    margin-left: auto;
    color: #969a96;
    font-size: 8px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.gallery-inline-interaction {
    width: auto;
    max-width: calc(100% - 26px);
    overflow: hidden;
    margin: 8px 13px 4px;
    padding: 11px 12px;
    border: 1px solid rgba(200, 154, 69, .28);
    border-radius: 16px;
    background:
        radial-gradient(circle at 100% 0, rgba(239, 215, 160, .24), transparent 45%),
        #fffaf0;
    box-shadow: 0 12px 30px rgba(23, 59, 43, .08);
    opacity: 0;
    transform: translateY(7px);
    transition: opacity .2s ease, transform .2s ease;
}

.gallery-inline-interaction[hidden] {
    display: none;
}

.gallery-inline-interaction.open {
    opacity: 1;
    transform: translateY(0);
}

.gallery-inline-head {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 30px;
    align-items: center;
    gap: 9px;
}

.gallery-inline-icon {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgba(200, 154, 69, .24);
    border-radius: 11px;
    background: rgba(239, 215, 160, .24);
    color: var(--forest);
}

.gallery-inline-interaction[data-mode="auth-like"] .gallery-inline-icon {
    background: rgba(169, 72, 88, .08);
    color: #a6404f;
}

.gallery-inline-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.gallery-inline-icon svg[hidden] {
    display: none;
}

.gallery-inline-head > div {
    min-width: 0;
}

.gallery-inline-head strong {
    display: block;
    color: var(--forest);
    font-size: 10px;
    font-weight: 900;
}

.gallery-inline-head small {
    display: block;
    overflow: hidden;
    margin-top: 2px;
    color: var(--muted);
    font-size: 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gallery-inline-head > button {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: rgba(23, 59, 43, .06);
    color: var(--forest);
    cursor: pointer;
    transition: .2s ease;
}

.gallery-inline-head > button:hover {
    background: var(--forest);
    color: white;
}

.gallery-inline-head > button svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
}

.gallery-inline-comment-form {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin-top: 9px;
}

.gallery-inline-comment-form[hidden],
.gallery-inline-auth[hidden] {
    display: none;
}

.gallery-inline-comment-form textarea {
    display: block;
    width: 100%;
    min-height: 52px;
    max-height: 96px;
    resize: none;
    padding: 10px 11px;
    overflow-y: auto;
    border: 1px solid rgba(23, 59, 43, .12);
    border-radius: 12px;
    outline: 0;
    background: rgba(255, 255, 255, .82);
    color: var(--ink);
    font-size: 11px;
    line-height: 1.45;
    transition: .2s ease;
}

.gallery-inline-comment-form textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(200, 154, 69, .1);
}

.gallery-inline-comment-form textarea::placeholder {
    color: #969a95;
}

.gallery-inline-form-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 7px;
}

.gallery-inline-form-bottom > span {
    color: var(--muted);
    font-size: 8px;
    font-variant-numeric: tabular-nums;
}

.gallery-inline-form-bottom button {
    display: flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 13px;
    border: 0;
    border-radius: 10px;
    background: var(--forest);
    color: white;
    cursor: pointer;
    font-size: 9px;
    font-weight: 900;
    transition: .2s ease;
}

.gallery-inline-form-bottom button:hover {
    background: var(--forest-2);
    transform: translateY(-1px);
}

.gallery-inline-form-bottom button:disabled {
    cursor: wait;
    opacity: .5;
    transform: none;
}

.gallery-inline-form-bottom button svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.gallery-inline-error {
    margin-top: 6px;
    color: #a6404f;
    font-size: 8px;
    font-weight: 800;
}

.gallery-inline-error[hidden] {
    display: none;
}

.gallery-inline-auth {
    display: flex;
    min-width: 0;
    max-width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
    padding-top: 9px;
    border-top: 1px solid rgba(23, 59, 43, .08);
}

.gallery-inline-auth > p {
    min-width: 0;
    color: var(--muted);
    font-size: 8px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.gallery-inline-auth > div {
    display: flex;
    min-width: 0;
    max-width: 100%;
    flex: 0 0 auto;
    gap: 6px;
}

.gallery-inline-auth a {
    display: flex;
    min-height: 31px;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border: 1px solid rgba(23, 59, 43, .14);
    border-radius: 9px;
    color: var(--forest);
    font-size: 8px;
    font-weight: 900;
    white-space: nowrap;
    transition: .2s ease;
}

.gallery-inline-auth a.primary {
    border-color: var(--forest);
    background: var(--forest);
    color: white;
}

.gallery-inline-auth a:hover {
    border-color: var(--gold);
    transform: translateY(-1px);
}

.gallery-post-neighbors {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 38px;
    padding: 0 18px;
    border-top: 1px solid var(--line);
    color: var(--olive);
    font-size: 9px;
    font-weight: 900;
}

.gallery-detail-main {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    padding: 150px 0 110px;
    background:
        radial-gradient(circle at 15% 20%, rgba(200, 154, 69, .13), transparent 30%),
        linear-gradient(145deg, #102f22, #071b12);
}

.gallery-detail-fall .meyra-fall {
    opacity: .22;
}

.gallery-detail-wrap {
    position: relative;
    z-index: 2;
}

.gallery-detail-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, .6);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.gallery-detail-breadcrumbs a {
    color: var(--gold-light);
}

.gallery-detail-breadcrumbs strong {
    max-width: 450px;
    overflow: hidden;
    color: white;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gallery-post-panel-page {
    min-height: 760px;
    max-height: 860px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 28px;
    box-shadow: 0 42px 120px rgba(0, 0, 0, .4);
}

.gallery-notice {
    position: fixed;
    z-index: 1300;
    right: 22px;
    bottom: 24px;
    max-width: min(360px, calc(100vw - 44px));
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 14px;
    background: var(--forest);
    color: white;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .24);
    font-size: 11px;
    font-weight: 800;
    opacity: 0;
    transform: translateY(15px);
    transition: .25s ease;
}

.gallery-notice.show {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1100px) {
    .gallery-post-panel {
        grid-template-columns: minmax(0, 1.2fr) minmax(370px, .8fr);
    }

    .gallery-video-controls {
        grid-template-columns: auto auto auto auto minmax(60px, 1fr) auto auto;
    }

    .gallery-video-volume {
        display: none;
    }
}

@media (max-width: 900px) {
    .gallery-main {
        padding-top: 125px;
    }

    .gallery-profile {
        grid-template-columns: 160px minmax(0, 1fr);
        gap: 35px;
    }

    .gallery-feed-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .gallery-modal {
        padding: 0;
    }

    .gallery-modal-shell {
        width: 100vw;
        height: 100dvh;
        border: 0;
        border-radius: 0;
    }

    .gallery-post-panel {
        display: block;
        overflow-x: hidden;
        overflow-y: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .gallery-post-media {
        min-height: min(70vh, 680px);
        aspect-ratio: 1;
    }

    .gallery-post-side {
        min-height: 620px;
        overflow-x: hidden;
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .gallery-post-scroll {
        max-height: 330px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    html.gallery-detail-root,
    body.gallery-detail-body {
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    html.gallery-detail-root::-webkit-scrollbar,
    body.gallery-detail-body::-webkit-scrollbar,
    .gallery-modal-shell::-webkit-scrollbar,
    .gallery-post-panel::-webkit-scrollbar,
    .gallery-post-side::-webkit-scrollbar,
    .gallery-post-scroll::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }

    .gallery-post-panel-page {
        max-height: none;
    }
}

@media (max-width: 700px) {
    .gallery-main {
        padding: 100px 0 75px;
    }

    .gallery-profile {
        grid-template-columns: 96px minmax(0, 1fr);
        gap: 22px;
        width: min(100% - 30px, 1060px);
        align-items: start;
    }

    .gallery-profile-image {
        margin-top: 5px;
    }

    .gallery-profile-image::before {
        inset: -7px;
    }

    .gallery-profile-image::after {
        inset: -3px;
    }

    .gallery-profile-image > span {
        border-width: 3px;
    }

    .gallery-profile-title > a {
        display: none;
    }

    .gallery-profile-kicker {
        font-size: 8px;
    }

    .gallery-profile-title h1 {
        gap: 6px;
        font-size: 31px;
    }

    .gallery-profile-title h1 i {
        width: 18px;
        height: 18px;
        font-size: 9px;
    }

    .gallery-profile-title strong {
        font-size: 12px;
    }

    .gallery-profile-stats {
        grid-column: 1 / -1;
        gap: 15px;
        margin: 18px 0 14px;
        font-size: 10px;
    }

    .gallery-profile-stats b {
        font-size: 15px;
    }

    .gallery-profile-bio {
        grid-column: 1 / -1;
        font-size: 11px;
    }

    .gallery-profile-signature {
        grid-column: 1 / -1;
    }

    .gallery-highlights {
        width: min(100% - 20px, 1060px);
        gap: 14px;
        margin-top: 40px;
    }

    .gallery-highlights a {
        min-width: 78px;
    }

    .gallery-highlights a > span {
        width: 68px;
    }

    .gallery-feed {
        width: 100%;
        margin-top: 40px;
    }

    .gallery-feed-head {
        gap: 20px;
        padding: 0 16px 18px;
    }

    .gallery-feed-head h2 {
        font-size: 39px;
    }

    .gallery-tabs {
        width: 100%;
        overflow-x: auto;
    }

    .gallery-tabs a {
        min-width: max-content;
        min-height: 40px;
        padding: 0 13px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2px;
        margin-top: 2px;
    }

    .gallery-card-type {
        top: 9px;
        right: 9px;
        width: 29px;
        height: 29px;
    }

    .gallery-card-type svg {
        width: 15px;
        height: 15px;
    }

    .gallery-card-caption {
        display: none;
    }

    .gallery-card-overlay {
        gap: 14px;
    }

    .gallery-card-overlay span {
        font-size: 11px;
    }

    .gallery-pagination {
        padding: 20px 16px 0;
    }

    .gallery-post-media {
        min-height: auto;
        aspect-ratio: 1;
    }

    .gallery-media-brand {
        top: 10px;
        left: 10px;
    }

    .gallery-video-center {
        width: 62px;
        height: 62px;
    }

    .gallery-video-controls {
        grid-template-columns: auto auto auto minmax(70px, 1fr) auto auto;
        gap: 4px;
        padding: 40px 9px 9px;
    }

    .gallery-video-controls button[data-video-skip="10"],
    .gallery-video-time {
        display: none;
    }

    .gallery-post-side {
        min-height: 570px;
    }

    .gallery-post-author {
        min-height: 70px;
        padding: 11px 14px;
    }

    .gallery-post-scroll {
        max-height: 300px;
    }

    .gallery-detail-main {
        padding: 110px 0 65px;
    }

    .gallery-detail-wrap {
        width: min(100% - 20px, 1320px);
    }

    .gallery-post-panel-page {
        border-radius: 18px;
    }
}

@media (max-width: 430px) {
    .gallery-profile {
        grid-template-columns: 84px minmax(0, 1fr);
    }

    .gallery-profile-title h1 {
        font-size: 27px;
    }

    .gallery-profile-stats {
        gap: 11px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-post-side {
        min-height: 540px;
    }
}

@media (max-width: 560px) {
    .gallery-inline-interaction {
        max-width: calc(100% - 20px);
        margin-right: 10px;
        margin-left: 10px;
    }

    .gallery-inline-auth {
        align-items: stretch;
        flex-direction: column;
        gap: 8px;
    }

    .gallery-inline-auth > div {
        width: 100%;
    }

    .gallery-inline-auth a {
        min-width: 0;
        flex: 1;
    }

}

@media (prefers-reduced-motion: reduce) {
    .gallery-feed,
    .gallery-card > a > img,
    .gallery-modal,
    .gallery-modal-shell,
    .gallery-inline-interaction,
    .gallery-highlights a > span {
        transition: none;
    }

    .gallery-feed.gallery-feed-enter,
    .gallery-modal-loading img {
        animation: none;
    }
}