/* webp_attachment */
img[data-webp-attachment-pending="1"]:not([data-webp-attachment-loaded="1"]){visibility:hidden}
.post-content img[data-webp-attachment="1"][data-webp-attachment-hash]{max-width:100%;max-height:none;height:auto}
.webp-attachment-load:before{-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27currentColor%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Crect x=%273%27 y=%273%27 width=%2718%27 height=%2718%27 rx=%272%27/%3E%3Ccircle cx=%278.5%27 cy=%278.5%27 r=%271.5%27/%3E%3Cpath d=%27m21 15-5-5L5 21%27/%3E%3C/svg%3E") center/14px 14px no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27currentColor%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Crect x=%273%27 y=%273%27 width=%2718%27 height=%2718%27 rx=%272%27/%3E%3Ccircle cx=%278.5%27 cy=%278.5%27 r=%271.5%27/%3E%3Cpath d=%27m21 15-5-5L5 21%27/%3E%3C/svg%3E") center/14px 14px no-repeat}
.webp-attachment-load[aria-disabled="true"]{opacity:.6;cursor:default}
.webp-attachment-settings-section{display:grid;gap:10px;margin:0 0 12px}
.webp-attachment-settings-section>strong{font-size:var(--font-size-sm)}
.webp-attachment-settings-note{margin:0;color:var(--text-muted);font-size:var(--font-size-sm);line-height:1.7}
.webp-attachment-settings-actions{display:flex;flex-wrap:wrap;gap:8px}
.webp-attachment-clear-button{border-color:var(--danger);color:var(--danger)}
.webp-attachment-clear-button:hover{border-color:var(--danger);background:var(--danger-soft);color:var(--danger)}
.webp-attachment-head-actions{display:flex;flex-direction:column;align-items:flex-end;gap:8px;min-width:0;text-align:right}
.webp-attachment-head-stats{display:grid;gap:2px;max-width:100%;color:var(--text-muted);font-size:var(--font-size-xs);line-height:1.55}
.webp-attachment-head-stats strong{color:var(--text);font-weight:600}
.webp-attachment-fill{display:grid;gap:8px;margin:14px 0 0;padding:12px;border:1px solid var(--line-soft);border-radius:var(--radius-sm);background:var(--panel)}
.webp-attachment-fill[hidden]{display:none}
.webp-attachment-fill-head{display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:6px 12px;font-size:var(--font-size-sm)}
.webp-attachment-fill-head>span:first-child{color:var(--text);font-weight:600}
.webp-attachment-fill-status{color:var(--text-muted);font-size:var(--font-size-xs);line-height:1.6;text-align:right}
.webp-attachment-fill-progress{display:block;width:100%;height:3px;border:0;border-radius:999px;background:var(--line-soft);overflow:hidden;appearance:none;-webkit-appearance:none}
.webp-attachment-fill-progress::-webkit-progress-bar{background:var(--line-soft)}
.webp-attachment-fill-progress::-webkit-progress-value{background:var(--brand);border-radius:999px}
.webp-attachment-fill-progress::-moz-progress-bar{background:var(--brand);border-radius:999px}
.webp-attachment-fill-detail{color:var(--text-subtle);font-size:var(--font-size-xs);line-height:1.6}
.webp-attachment-cache-more{display:flex;align-items:center;justify-content:center;gap:10px;min-height:34px;margin:4px 0 0;color:var(--text-muted);font-size:var(--font-size-xs)}
.webp-attachment-cache-more[hidden],.webp-attachment-cache-more [hidden]{display:none}
.webp-attachment-cache-loading{color:var(--text-muted);font-size:var(--font-size-xs)}
.webp-attachment-cache-retry{margin:0}
.webp-attachment-cache-list{min-width:0}
.webp-attachment-cache-toolbar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin:0 0 10px}
.webp-attachment-cache-tabs{margin:0}
.webp-attachment-cache-actions{display:flex;align-items:center;gap:8px;margin-left:auto}
.webp-attachment-cache-clean{border-color:var(--danger);color:var(--danger)}
.webp-attachment-cache-clean:hover:not(:disabled){border-color:var(--danger);background:var(--danger-soft);color:var(--danger)}
.webp-attachment-cache-clean:disabled{opacity:.55;cursor:not-allowed}
.webp-attachment-cache-day{display:block;width:100%;margin:0 0 26px}
.webp-attachment-cache-date{display:block;margin:0 0 10px;text-align:left;color:var(--text);font-size:var(--font-size-md);font-weight:700;line-height:1.4}
.webp-attachment-cache-date small{margin-left:8px;color:var(--text-subtle);font-size:var(--font-size-xs);font-weight:500}
.webp-attachment-cache-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(128px,1fr));gap:10px}
.webp-attachment-cache-card{display:block;min-width:0;color:var(--text);text-decoration:none}
.webp-attachment-cache-thumb{position:relative;display:block;width:100%;aspect-ratio:1;overflow:hidden;border:1px solid var(--line-soft);border-radius:var(--radius-sm);background:var(--line-soft)}
.webp-attachment-cache-thumb img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .25s ease}
.webp-attachment-cache-card:hover .webp-attachment-cache-thumb img{transform:scale(1.035)}
.webp-attachment-cache-badge{position:absolute;right:6px;bottom:6px;padding:2px 6px;border-radius:999px;background:var(--backdrop);color:var(--inverse-text);font-size:var(--font-size-xxs);line-height:1.4;pointer-events:none}
.webp-attachment-cache-badge.is-invalid{top:6px;right:auto;bottom:auto;left:6px;background:var(--danger);color:var(--inverse-text)}
.webp-attachment-cache-caption{display:block;min-width:0;margin-top:6px;line-height:1.4}
.webp-attachment-cache-caption strong{display:block;overflow:hidden;color:var(--text);font-size:var(--font-size-sm);font-weight:500;text-overflow:ellipsis;white-space:nowrap}
.webp-attachment-cache-caption small{display:block;overflow:hidden;margin-top:2px;color:var(--text-subtle);font-size:var(--font-size-xs);text-overflow:ellipsis;white-space:nowrap}
.webp-attachment-cache-card.is-invalid .webp-attachment-cache-thumb{border-color:var(--danger-soft)}
.webp-attachment-cache-card.is-invalid .webp-attachment-cache-caption strong{color:var(--text-muted)}
.webp-attachment-cache-panel .empty-state{margin:16px 0 0}
.webp-attachment-profile-reply-image{display:block;width:100%;max-width:100%;height:auto;border-radius:var(--radius-sm)}
.profile-reply-excerpt .webp-attachment-profile-reply-image{margin:0 0 8px}
.webp-attachment-profile-reply-text{display:block;color:var(--text-muted);font-size:var(--font-size-sm);line-height:1.6}
@media (max-width:720px){.webp-attachment-head-actions{align-items:flex-start;text-align:left}.webp-attachment-fill-head{flex-direction:column}.webp-attachment-fill-status{text-align:left}.webp-attachment-cache-toolbar{align-items:flex-start}.webp-attachment-cache-actions{margin-left:0}.webp-attachment-cache-grid{grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:6px}.webp-attachment-cache-caption small{font-size:var(--font-size-xxs)}}