/* LVGL old-version banner */
#lvgl-version-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    height: 40px;
    line-height: 40px;
    background: rgba(255, 255, 255, 0.65);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    backdrop-filter: blur(14px) saturate(180%);
    color: #1f2937;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 14px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 4px 12px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
    padding: 0 48px 0 16px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

#lvgl-version-banner a {
    color: #111827;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
}

#lvgl-version-banner a:hover {
    text-decoration: none;
}

#lvgl-version-banner-close {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 0;
    color: #6b7280;
    font-size: 20px;
    line-height: 40px;
    cursor: pointer;
    padding: 0;
}

#lvgl-version-banner-close:hover {
    background: rgba(0, 0, 0, 0.06);
    color: #1f2937;
}

html.lvgl-banner-shown body {
    padding-top: 41px !important;
}
