/* Mobile homepage pull-to-refresh; enabled only while home is mounted. */
html.codex-home-refresh-enabled,html.codex-home-refresh-enabled body{overscroll-behavior-y:contain}
.codex-home-refresh-indicator{position:fixed;top:env(safe-area-inset-top,0px);left:0;right:0;z-index:2000;display:flex;align-items:center;justify-content:center;gap:8px;height:54px;padding:0;border-radius:0;box-sizing:border-box;background:rgba(255,255,255,.98);color:#d92b30;font-size:14px;font-weight:600;box-shadow:0 2px 8px #0000000d;pointer-events:none;opacity:0;visibility:hidden;transform:translateY(calc(var(--codex-home-pull-y,0px) - 54px));transition:opacity .15s ease}
body.codex-home-pulling .codex-home-refresh-indicator,body.codex-home-refreshing .codex-home-refresh-indicator{opacity:1;visibility:visible}
.codex-home-refresh-indicator:before{content:"↓";display:inline-block;font-size:18px;line-height:18px}
body.codex-home-refreshing .codex-home-refresh-indicator:before{content:"";width:14px;height:14px;border:2px solid #f3b8bc;border-top-color:#d92b30;border-radius:50%;animation:codex-home-refresh-spin .7s linear infinite}
@keyframes codex-home-refresh-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.codex-home-refresh-indicator{transition:none}body.codex-home-refreshing .codex-home-refresh-indicator:before{animation:none}}
