.taotao-pwa-panel {
    position: fixed;
    left: 18px;
    bottom: 20px;
    z-index: 2147483000;
    width: min(380px, calc(100vw - 36px));
    padding: 14px;
    border: 1px solid rgba(112, 103, 232, .22);
    border-radius: 8px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 16px 42px rgba(25, 30, 70, .2);
    color: #202336;
    font-family: inherit;
}

.taotao-pwa-panel[hidden],
.taotao-pwa-ios-guide[hidden] {
    display: none !important;
}

.taotao-pwa-heading {
    display: flex;
    align-items: center;
    gap: 11px;
    padding-right: 24px;
}

.taotao-pwa-heading img {
    flex: 0 0 44px;
    border-radius: 8px;
    object-fit: cover;
}

.taotao-pwa-heading strong {
    display: block;
    margin-bottom: 3px;
    font-size: 15px;
    line-height: 1.25;
}

.taotao-pwa-heading p {
    margin: 0;
    color: #676b7b;
    font-size: 12px;
    line-height: 1.45;
}

.taotao-pwa-close {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #777b8c;
    font-size: 22px;
    line-height: 28px;
    cursor: pointer;
}

.taotao-pwa-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 12px;
}

.taotao-pwa-button {
    min-height: 40px;
    padding: 8px 10px;
    border: 1px solid transparent;
    border-radius: 7px;
    font-size: 13px;
    line-height: 1.25;
    cursor: pointer;
    white-space: normal;
}

.taotao-pwa-button i {
    margin-right: 5px;
}

.taotao-pwa-button:disabled {
    cursor: not-allowed;
    opacity: .62;
}

.taotao-pwa-button-install {
    border-color: #dcd9ff;
    background: #f2f1ff;
    color: #554bc7;
}

.taotao-pwa-button-notify {
    background: #7067e8;
    color: #fff;
}

.taotao-pwa-ios-guide {
    margin-top: 12px;
    padding: 11px 12px;
    border-left: 3px solid #7067e8;
    background: #f7f7fc;
    color: #414557;
    font-size: 12px;
    line-height: 1.55;
}

.taotao-pwa-ios-guide ol {
    margin: 6px 0 0 18px;
    padding: 0;
}

@media (max-width: 575.98px) {
    .taotao-pwa-panel {
        right: 12px;
        bottom: calc(140px + env(safe-area-inset-bottom));
        left: 12px;
        width: auto;
    }
}

@media (display-mode: standalone) {
    .taotao-pwa-button-install {
        display: none;
    }
}
