/* Absolute status layer: preserve message nodes, composer geometry and scroll. */
.wob-loading-region { position:relative; }
.wob-loading-region > :not(.wob-loading):not(#reply-history-controls):not(.news-prev):not(.news-next):not(.news-dots):not(.news-pause),
.wob-loading-region > :not(.wob-loading):not(#reply-history-controls):not(.news-prev):not(.news-next):not(.news-dots):not(.news-pause) * { visibility:hidden; }
.wob-loading-region > #reply-history-controls { visibility:visible;position:relative;z-index:13; }
.news-carousel.wob-loading-region > :is(.news-prev,.news-next,.news-dots,.news-pause) { visibility:visible;z-index:13; }
#forum-view:has(#thread-list.wob-loading-region) #empty-threads { visibility:hidden; }
.wob-loading { position:absolute;inset:0;z-index:12;background:var(--foam);pointer-events:auto; }
.wob-loading-content { display:flex;flex-direction:column;align-items:center;padding:48px 24px;width:100%;box-sizing:border-box;opacity:0; }
.wob-loading.is-visible .wob-loading-content { opacity:1; }
.wob-loading-sr { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0; }
.wob-loading-lines { display:grid;gap:14px;width:100%; }
.wob-loading-lines i { position:relative;overflow:hidden;contain:paint;height:14px;border-radius:4px;background:var(--line);opacity:.65; }
/* Constant speed; three small, temporary compositor layers, removed with the loader. */
.wob-loading-lines i::after { content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,color-mix(in srgb,var(--sea) 32%,transparent),transparent);will-change:transform;transform:translate3d(-100%,0,0);animation:wob-loading-shimmer 1.6s linear infinite;animation-delay:var(--wob-loading-phase,0ms); }
.wob-loading-lines i:first-child { width:72%;height:24px;margin-bottom:4px; }
.wob-loading-lines i:nth-child(3) { width:88%; }
@keyframes wob-loading-shimmer { from { transform:translate3d(-100%,0,0); } to { transform:translate3d(100%,0,0); } }
#side-dm-list .wob-loading-content { padding:24px 12px; }
#side-dm-list .wob-loading { background:var(--nav); }
#side-dm-list .wob-loading-lines { gap:9px; }
#side-dm-list .wob-loading-lines i { height:10px; }
#side-dm-list .wob-loading-lines i:first-child { height:16px;margin-bottom:0; }
#news-article-content.wob-loading-region { height:220px;min-height:220px;overflow:hidden; }
.news-article-dialog .dialog-close { z-index:13; }
@media(max-width:650px) {
 .wob-loading-content { padding:32px 16px; }
 .wob-loading-lines { gap:12px; }
 .wob-loading-lines i { height:12px; }
 .wob-loading-lines i:first-child { height:20px; }
}
.data-saver .wob-loading-lines i::after { animation:none;display:none; }
@media(prefers-reduced-motion:reduce) { .wob-loading-lines i::after { animation:none;display:none; } }
