.post-tools{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:18px 0}.post-tools p{font-size:12px;color:#737968;margin:0}.post-tools button{font-size:12px}.post-tools [hidden]{display:none}.caption-selected{outline:3px solid #bb653c;outline-offset:3px}.caption-selecting .image-link{cursor:crosshair}.post-selection-number{position:absolute;bottom:8px;left:8px;background:#303e31;color:white;border-radius:50%;width:26px;height:26px;display:grid;place-items:center;font-size:12px;font-weight:700;pointer-events:none;z-index:3}
.gallery .card.caption-selected{outline:none}
.post-downloads{display:flex;flex-direction:column;gap:10px;margin:12px 0;font-size:13px}.post-downloads[hidden]{display:none}
.gallery .caption-selected .photo-wrap::after{content:'';position:absolute;inset:0;border:3px solid #bb653c;border-radius:inherit;box-shadow:inset 0 0 0 1px #fff9;z-index:4;pointer-events:none}
dialog.post-panel{position:fixed;inset:0 0 0 auto;margin:0;width:min(480px,100vw);height:100dvh;max-height:100dvh;max-width:100vw;padding:20px;border:0;border-radius:0;background:#f5f3ed;overflow:auto;overscroll-behavior:contain;box-shadow:-12px 0 60px #0003}
.post-panel::backdrop{background:#17201755}.post-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.post-heading h2{font:28px Georgia,serif;margin:0}.post-panel button{float:none}.post-close{font-size:28px;padding:0;width:44px;height:44px;min-height:44px}
.post-instagram{border:1px solid #dbddd5;background:white;border-radius:12px;overflow:hidden;color:#151515}.post-brand{display:flex;align-items:center;gap:10px;padding:12px 14px;font-size:13px}.post-avatar{width:36px;height:36px;border-radius:50%;background:#eee;display:grid;place-items:center;overflow:hidden;font-family:Georgia,serif;font-size:23px;flex-shrink:0}.post-panel .post-avatar img{width:100%;height:100%;margin:0;object-fit:cover}.post-more{margin-left:auto;letter-spacing:2px}
.post-media{position:relative}.post-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;touch-action:pan-x pan-y;overscroll-behavior-x:contain}.post-track::-webkit-scrollbar{display:none}.post-slide{flex:0 0 100%;width:100%;aspect-ratio:2/3;scroll-snap-align:start;scroll-snap-stop:always;background:#eee}.post-panel .post-slide img,.post-panel .post-slide video{display:block;width:100%;height:100%;object-fit:cover;margin:0;background:#111}.post-counter{position:absolute;right:12px;top:12px;border-radius:20px;padding:5px 9px;background:#0009;color:white;font-size:11px;pointer-events:none}.post-arrow{position:absolute;top:50%;transform:translateY(-50%);border:0;background:#ffffffdf;color:#222;border-radius:50%;width:32px;height:32px;min-height:32px;padding:0;font-size:24px;line-height:1;box-shadow:0 1px 6px #0003}.post-arrow:disabled{visibility:hidden}.post-prev{left:10px}.post-next{right:10px}
.post-footer{padding:12px 14px}.post-social{display:flex;gap:14px;align-items:center}.post-social svg{width:23px;height:23px}.post-social svg:last-child{margin-left:auto}.post-dots{position:absolute;z-index:5;left:50%;bottom:10px;display:flex;justify-content:center;gap:5px;flex-wrap:wrap;margin:0;padding:5px 7px;border-radius:20px;background:#1117;transform:translateX(-50%);pointer-events:none}.post-dot{width:6px;height:6px;border-radius:50%;background:#ffffff80;box-shadow:0 1px 2px #0004}.post-dot.active{background:#fff}.post-panel label{font-size:12px}.post-panel textarea{display:block;width:100%;margin:8px 0 12px;padding:10px;resize:vertical;border:1px solid #d2d5c9;border-radius:7px;background:#fff;font:14px/1.6 Arial,sans-serif;min-height:160px}.post-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.post-actions button{font-size:12px}.post-panel p{font-size:12px;line-height:1.5}.post-panel #caption-status:empty{display:none}
@media(max-width:760px){.post-tools{position:sticky;top:0;z-index:5;padding:10px 0;background:#f5f3ed}.post-tools p{flex-basis:100%}.post-panel{padding:14px!important}.post-panel textarea{font-size:16px}.post-track{max-height:65dvh}.post-slide{height:min(65dvh,calc((100vw - 30px)*1.5));aspect-ratio:auto}}
.post-arrow{display:flex;align-items:center;justify-content:center}.post-arrow svg{display:block;flex-shrink:0}
.photo-actions-menu{position:fixed;z-index:100;inset:auto;margin:0;padding:7px;width:238px;max-width:calc(100vw - 16px);border:1px solid var(--theme-border,#d2d5c9);border-radius:11px;background:var(--theme-bg,#f5f3ed);color:var(--theme-ink,#282923);box-shadow:0 10px 32px #10181032;overflow:hidden}.photo-actions-menu::backdrop{background:#0003}.photo-actions-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:2px 3px 6px 7px;border-bottom:1px solid var(--theme-border,#d2d5c9);font-size:11px}.photo-actions-heading button{display:grid;place-items:center;padding:0;width:25px;height:25px;min-height:25px;border:0;border-radius:6px;background:transparent!important;color:inherit!important;font-size:18px}.photo-actions-folder{display:grid;grid-template-columns:minmax(0,1fr) 31px;gap:4px;padding:6px 0;border-bottom:1px solid var(--theme-border,#d2d5c9)}.photo-actions-folder[hidden]{display:none}.photo-actions-menu select{height:31px;min-height:31px;margin:0;padding:4px 25px 4px 8px;border-radius:7px;font-size:11px}.photo-actions-folder button{display:grid;place-items:center;width:31px;height:31px;min-height:31px;padding:0;border-radius:7px;font-size:16px}.photo-actions-list{display:grid;gap:1px;padding-top:4px}.photo-actions-list button,body[data-theme] .photo-actions-list button{display:flex;align-items:center;gap:8px;width:100%;min-height:31px;padding:5px 8px;border:0;border-radius:7px;background:transparent!important;color:var(--theme-ink,#282923)!important;box-shadow:none!important;font-size:11px;text-align:left}.photo-actions-list button:hover{background:var(--theme-soft,#e7eadf)!important;filter:none}.photo-actions-list button>span{display:grid;place-items:center;width:17px;flex:0 0 17px;font-size:16px}.photo-actions-list button:disabled{opacity:.42}.photo-actions-menu p{margin:5px 6px 2px;font-size:10px;line-height:1.35}.photo-actions-menu p:empty{display:none}#post-touch-select{display:none}@media(hover:none),(pointer:coarse){#post-touch-select{display:inline-block}.post-tools>p{display:none}.photo-actions-menu{inset:auto 10px 16px!important;margin:0 auto;width:min(440px,calc(100vw - 20px));padding:12px;border-radius:16px}.photo-actions-heading{font-size:13px}.photo-actions-folder{padding:9px 0}.photo-actions-menu select{height:40px;min-height:40px;font-size:16px}.photo-actions-folder button{width:40px;height:40px;min-height:40px}.photo-actions-list{gap:3px;padding-top:7px}.photo-actions-list button{min-height:42px;font-size:13px}}
.post-share-help{display:grid;gap:3px;margin:12px 0;padding:10px 12px;border:1px solid var(--theme-border,#d2d5c9);border-radius:9px;background:var(--theme-soft,#e7eadf);color:var(--theme-ink,#283325);font-size:11px;line-height:1.45}.post-share-help strong{font-size:11px}.post-share-help span{color:var(--theme-main,#566350)}
.caption-save-status{min-height:20px;margin:12px 0 3px!important;color:var(--theme-main,#52634b);font-size:11px!important;font-weight:600}.caption-save-status:empty{display:block!important}.post-actions{margin-top:5px}#caption-save[data-state=saved]:disabled{opacity:1;background:var(--theme-soft,#e4eadf)!important;border-color:var(--theme-border,#cbd2c0)!important;color:var(--theme-main,#303e31)!important}#caption-save[data-state=loading]{cursor:wait}
.post-actions button{display:inline-flex;align-items:center;gap:6px;padding:9px 11px;min-height:38px}.post-actions button svg{width:16px;height:16px;flex:0 0 16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.post-select-toggle{position:absolute;right:8px;bottom:8px;z-index:7;display:grid;place-items:center;width:27px;height:27px;min-height:27px;padding:0;border:0;border-radius:6px;background:#ffffffeb!important;color:#34422f!important;box-shadow:0 1px 5px #0005}.post-select-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.post-select-toggle svg path{display:none}.post-select-toggle[aria-pressed=true]{background:var(--theme-main,#303e31)!important;color:#fff!important}.post-select-toggle[aria-pressed=true] svg path{display:block}.gallery .actions button[data-field=used]{top:0;left:auto;right:32px}.gallery .actions button[data-field=used][aria-pressed=true]{color:#b9d99f}.gallery .actions button[data-field=used] .status-used-icon{width:21px;height:21px}.gallery.compact-mobile .post-select-toggle{width:24px;height:24px;min-height:24px;right:5px;bottom:5px}.gallery.compact-mobile .post-select-toggle svg{width:18px;height:18px}
.gallery .actions button[data-field=used] .status-used-x{display:none}.gallery .actions button[data-field=used][aria-pressed=true]{color:#f0c681}.gallery .actions button[data-field=used][aria-pressed=true] .status-used-x{display:block}.photo-zoom{position:absolute;left:8px;bottom:8px;z-index:7;display:grid;place-items:center;width:27px;height:27px;min-height:27px;padding:0;border:0;border-radius:50%;background:#ffffffeb!important;color:#34422f!important;box-shadow:0 1px 5px #0005}.photo-zoom svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}.post-selection-number{left:42px}.gallery.compact-mobile .photo-zoom{width:24px;height:24px;min-height:24px;left:5px;bottom:5px}.gallery.compact-mobile .photo-zoom svg{width:16px;height:16px}.gallery.compact-mobile .post-selection-number{left:34px}
#post-touch-select{display:none!important}
body.post-open main{margin-right:480px;padding-left:3vw;padding-right:3vw}.post-drag-hint{display:flex;align-items:center;gap:7px;margin:-5px 0 12px!important;padding:9px 11px;border:1px dashed var(--theme-border,#cbd2c0);border-radius:10px;background:var(--theme-soft,#e8ece2);color:var(--theme-main,#303e31);font-size:10px!important}.post-drag-hint span{font-size:16px}.post-panel{z-index:32}.post-panel.is-drop{box-shadow:inset 0 0 0 3px var(--theme-main,#303e31),-12px 0 60px #0003}.post-panel.is-drop .post-drag-hint{border-style:solid;background:var(--theme-main,#303e31);color:#fff}.post-slide{position:relative;cursor:grab}.post-slide:active{cursor:grabbing}.post-media-remove{position:absolute;right:9px;bottom:9px;z-index:4;display:grid;place-items:center;width:30px;height:30px;min-height:30px;padding:0;border:0;border-radius:50%;background:#111b!important;color:#fff!important;font-size:20px;box-shadow:0 2px 8px #0004}.post-media-remove:hover{background:#111e!important}@media(max-width:900px){body.post-open main{margin-right:0}.post-panel{width:100vw}}
.photo-actions-new-toggle,body[data-theme] .photo-actions-new-toggle{grid-column:1/-1;display:flex;align-items:center;gap:7px;width:100%;min-height:29px;padding:4px 7px;border:0;border-radius:7px;background:transparent!important;color:var(--theme-main,#303e31)!important;box-shadow:none!important;font-size:11px;text-align:left}.photo-actions-new-toggle:hover{background:var(--theme-soft,#e7eadf)!important}.photo-actions-new-toggle>span{font-size:15px}.photo-actions-new-form{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px}.photo-actions-new-form[hidden]{display:none}.photo-actions-new-form input{width:100%;height:31px;min-height:31px;margin:0;padding:4px 8px;border-radius:7px;font-size:11px}.photo-actions-new-form button{width:auto;min-width:52px;height:31px;min-height:31px;margin:0;padding:4px 8px;border-radius:7px;font-size:10px}.post-media-remove svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}@media(hover:none),(pointer:coarse){.photo-actions-new-toggle{min-height:38px;font-size:13px}.photo-actions-new-form input{height:40px;min-height:40px;font-size:16px}.photo-actions-new-form button{height:40px;min-height:40px;font-size:12px}}
