/* Blur conveys an in-progress user action without changing layout. */
.gd-action-loading main{filter:blur(3px);transition:filter .16s ease;pointer-events:none}.gd-action-loader{position:fixed;inset:0;z-index:10000;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:14px;background:#ecf5f330;color:#153f37;font:600 16px/1.4 system-ui;pointer-events:all}.gd-action-loader[hidden]{display:none!important}.gd-action-spinner{width:34px;height:34px;border:3px solid #86bdb2;border-top-color:#00796b;border-radius:50%;animation:gd-action-spin .8s linear infinite}html[data-theme=night] .gd-action-loader{background:#10162145;color:#d5efe8}@keyframes gd-action-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.gd-action-loading main{transition:none}.gd-action-spinner{animation:none}}

.gd-action-loading dialog[open]>:not(.gd-action-loader),.gd-action-loading .vt-sheet{filter:blur(3px);pointer-events:none}

.gd-brand-loader{display:block;flex:0 0 48px;width:48px;height:48px;overflow:hidden;border-radius:12px}
.gd-brand-loader svg{display:block;width:100%;height:100%}
.gd-brand-progress{stroke-dasharray:24 76;animation:gd-brand-progress 1.1s linear infinite}
@keyframes gd-brand-progress{to{stroke-dashoffset:-100}}
.gd-action-loader{box-sizing:border-box;padding:32px;gap:18px;text-align:center;line-height:1.5}
@media(prefers-reduced-motion:reduce){.gd-brand-progress{animation:none}}

/* Keep attention on the foreground loader until the action finishes. */
html:is(.gd-action-loading,.gd-owner-refreshing,.gd-owner-pulling,.gd-refreshing,.gd-pulling) body main{filter:blur(16px) saturate(.45)!important;opacity:.32!important;pointer-events:none}
html.gd-action-loading body dialog[open]>:not(.gd-action-loader),html.gd-action-loading body .vt-sheet{filter:blur(16px) saturate(.45)!important;opacity:.32!important}
html body .gd-action-loader{background:#f2f6f9a6}html[data-theme=night] body .gd-action-loader{background:#101621b3}

html body :is(#gdOwnerRefresh,.pull-refresh){top:clamp(160px,25svh,240px)!important}
