.tms-connection-status {
    position: fixed;
    top: max(12px, env(safe-area-inset-top));
    left: 50%;
    transform: translateX(-50%);
    z-index: 2147483647;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    box-sizing: border-box;
    width: max-content;
    max-width: calc(100vw - 24px);
    padding: 14px 18px;
    border: 1px solid #e9b949;
    border-radius: 10px;
    background: #fff8e1;
    color: #664d03;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .18);
    font: 14px/1.5 system-ui, sans-serif;
    pointer-events: none;
}

.tms-connection-status[hidden] { display: none; }
.tms-connection-status strong { display: block; font-size: 15px; }
.tms-connection-indicator {
    flex: 0 0 10px;
    height: 10px;
    margin-top: 6px;
    border-radius: 50%;
    background: currentColor;
}
.tms-connection-status.is-restored {
    background: #eaf7ee;
    border-color: #83c99b;
    color: #185c32;
}
