.ivt-page-loading {
    position: fixed;
    inset: 0 0 auto;
    z-index: 2000;
    height: 4px;
    overflow: hidden;
    background: #d6f3ef;
    pointer-events: none;
}
.ivt-page-loading:not([data-initial])::after {
    content: "";
    display: block;
    width: 35%;
    height: 100%;
    background: linear-gradient(90deg, #138278, #63ddc8);
    animation: ivt-loading-slide 1s ease-in-out infinite alternate;
}
.ivt-page-loading:not([data-initial]) > span { display: none; }
.ivt-connection-status {
    position: fixed;
    z-index: 1900;
    inset: auto 12px calc(80px + env(safe-area-inset-bottom)) auto;
    display: flex;
    align-items: center;
    gap: 9px;
    max-width: calc(100% - 24px);
    padding: 11px 14px;
    border: 1px solid #b9dfdb;
    border-radius: 12px;
    background: #143c48;
    color: white;
    font: 600 14px/1.4 system-ui, sans-serif;
    box-shadow: 0 12px 32px #122c4040;
}
.ivt-connection-status .icon { width: 18px; height: 18px; flex: none; }
.ivt-page-loading[hidden], .ivt-connection-status[hidden] { display: none; }
@keyframes ivt-loading-slide { from { transform: translateX(-100%); } to { transform: translateX(285%); } }
@media (prefers-reduced-motion: reduce) {
    .ivt-page-loading:not([data-initial])::after { animation: none; width: 100%; }
}
@media print {
    .ivt-page-loading, .ivt-connection-status { display: none; }
}
