/* The same tailor's circle at three scales. A label always carries the meaning. */
:root{--wc-load-art:url('brand/magic-circle.svg');--wc-load-small:url('brand/magic-circle-compact.svg');--wc-load-filter:brightness(.72) saturate(1.12)}
html[data-theme="dark"],[data-app][data-theme="dark"]{--wc-load-filter:brightness(1.22)}
.wc-loading-symbol{display:block;flex:none;width:var(--wc-load-size,104px);height:var(--wc-load-size,104px);background:var(--wc-load-art) center/contain no-repeat;filter:var(--wc-load-filter);pointer-events:none}
.wc-loading-screen{box-sizing:border-box;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:22px;padding:32px;min-height:240px;text-align:center;color:var(--ink,#272039);background:var(--bg,#f8f6fc);font-family:'Plus Jakarta Sans',sans-serif}
.wc-loading-screen[hidden]{display:none!important}
.wc-loading-screen .wc-loading-symbol{--wc-load-size:256px}
.wc-loading-screen p{margin:0;max-width:28em;font-size:15px;line-height:1.6;font-weight:600;color:inherit}
[data-v2boot].wc-loading-screen{position:fixed;inset:0;z-index:400;background:var(--page1,var(--bg,#f8f6fc))!important}
#v2-loading.wc-loading-screen{background:var(--bg,#f8f6fc)!important;min-height:100dvh}
[data-app][data-theme="dark"] .wc-loading-screen,html[data-theme="dark"] .wc-loading-screen{background:var(--page1,var(--bg,#191520))!important;color:var(--ink,#f3eefb)}
body:has([data-app][data-theme="dark"])>#v2-loading.wc-loading-screen{background:#191520!important;color:#f3eefb}
#faithful-loading{position:fixed;inset:63px 0 0;z-index:90;animation:wc-load-arrive .18s ease .16s both}
.wc-loading-message::before,[data-askdots]::before,.wb-metric-busy::before{content:"";display:inline-block;flex:none;width:24px;height:24px;vertical-align:middle;background:var(--wc-load-small) center/contain no-repeat;filter:var(--wc-load-filter);pointer-events:none}
.wc-loading-inline{display:inline-flex!important;align-items:center;justify-content:inherit;gap:8px;vertical-align:middle}
button.wc-loading-inline::before{width:20px;height:20px}
button.wc-loading-inline{justify-content:center}
.wc-loading-block{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:148px;box-sizing:border-box;padding:22px!important;text-align:center!important;line-height:1.6}
.wc-loading-block::before{width:104px;height:104px;background-image:var(--wc-load-art)}
/* Native AI progress text and elapsed time stay intact; only replace the dots. */
[data-askdots]{display:inline-flex!important;align-items:center;padding:0!important;gap:0!important}
[data-askdots]>i{display:none!important;animation:none!important}
[data-askdots]::before{width:28px;height:28px}
/* Keep the native skeleton's footprint and value cleanup logic. */
[data-app] .wb-metric-busy{position:relative;background:none!important;animation:none!important}
[data-app] .wb-metric-busy::before{position:absolute;inset:0;margin:auto;width:30px;height:30px}
[data-app] .wb-skel{background:none!important;animation:none!important}
[data-app] .wb-skel:last-child{background:var(--wc-load-small) center/32px 32px no-repeat!important;filter:var(--wc-load-filter)}
@keyframes wc-load-arrive{from{opacity:0}to{opacity:1}}
@media(max-width:600px){.wc-loading-screen{padding:24px}.wc-loading-screen .wc-loading-symbol{--wc-load-size:208px}}
@media(prefers-reduced-motion:reduce){:root{--wc-load-art:url('brand/magic-circle-still.svg');--wc-load-small:url('brand/magic-circle-compact-still.svg')}#faithful-loading{animation:none}}
html[data-loading-motion="reduce"]{--wc-load-art:url('brand/magic-circle-still.svg');--wc-load-small:url('brand/magic-circle-compact-still.svg')}
/* Presentation must respect the native completion/visibility state. */
:is(.wc-loading-inline,.wc-loading-block,[data-askdots])[hidden],
:is(.wc-loading-inline,.wc-loading-block,[data-askdots])[style*="display: none"],
:is(.wc-loading-inline,.wc-loading-block,[data-askdots])[style*="display:none"]{display:none!important}
