.tgca-floating {
    position: fixed;
    right: 24px;
    top: 140px;
    z-index: 99999;
    font-size: 15px;
}

.tgca-launcher {
    position: absolute;
    right: 0;
    top: 0;
    width: 54px;
    height: 54px;
    border: 0;
    border-radius: 999px;
    background: #14324a;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    display: none;
    align-items: center;
    justify-content: center;
}

.tgca-floating.tgca-minimised .tgca-launcher {
    display: flex;
}

.tgca-launcher-icon {
    font-size: 28px;
    line-height: 1;
    font-weight: 700;
}

.tgca-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: #b00020;
    color: #fff;
    font-size: 12px;
    line-height: 22px;
    font-weight: 700;
}

.tgca-panel {
    border: 1px solid #d7dde5;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 8px 28px rgba(0,0,0,0.16);
    overflow: hidden;
    width: 380px;
    max-width: calc(100vw - 32px);
}

.tgca-floating.tgca-minimised .tgca-panel {
    display: none !important;
}

.tgca-header {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    align-items: flex-start;
    padding: 14px 16px;
    background: #f5f7fa;
    border-bottom: 1px solid #d7dde5;
}

.tgca-header strong {
    display: block;
    font-size: 17px;
    color: #0d2b45;
}

.tgca-header span {
    display: block;
    margin-top: 3px;
    font-size: 13px;
    opacity: 0.8;
}

.tgca-close {
    border: 0;
    background: transparent;
    color: #52677a;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    padding: 0 0 0 8px;
}

.tgca-body {
    padding: 14px 16px;
    max-height: 55vh;
    overflow-y: auto;
}

.tgca-body ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.tgca-body li {
    position: relative;
    padding: 9px 10px 9px 34px;
    margin: 8px 0;
    border-radius: 6px;
    line-height: 1.35;
}

.tgca-body li::before {
    position: absolute;
    left: 11px;
    top: 9px;
    font-weight: 700;
}

.tgca-ok { background: #edf8ef; color: #174f24; }
.tgca-ok::before { content: "✓"; }
.tgca-warn { background: #fff6df; color: #6b4700; }
.tgca-warn::before { content: "!"; }
.tgca-hard { background: #fdecec; color: #7a1d1d; }
.tgca-hard::before { content: "×"; }
.tgca-info { background: #eef5ff; color: #16456f; }
.tgca-info::before { content: "i"; }

.tgca-small {
    margin: 12px 0 0;
    font-size: 13px;
    opacity: 0.75;
}

@media (max-width: 768px) {
    .tgca-floating {
        right: 12px;
        top: auto;
        bottom: 14px;
    }
    .tgca-panel {
        width: calc(100vw - 24px);
    }
    .tgca-body {
        max-height: 50vh;
    }
}

/* v1.0.6 mobile journey improvements */
@media (max-width: 768px) {
    .tgca-floating {
        right: 14px;
        bottom: 18px;
        top: auto;
        font-size: 14px;
    }
    .tgca-launcher {
        width: auto;
        min-width: 72px;
        height: 48px;
        padding: 0 14px;
        gap: 6px;
        border-radius: 999px;
    }
    .tgca-launcher-icon {
        font-size: 0;
    }
    .tgca-launcher-icon::after {
        content: "Help";
        font-size: 15px;
        font-weight: 700;
    }
    .tgca-panel {
        width: min(330px, calc(100vw - 28px));
        max-height: 58vh;
        border-radius: 14px;
    }
    .tgca-header {
        padding: 11px 13px;
    }
    .tgca-header strong {
        font-size: 15px;
    }
    .tgca-header span {
        font-size: 12px;
    }
    .tgca-body {
        padding: 10px 12px;
        max-height: 42vh;
    }
    .tgca-body li {
        margin: 6px 0;
        padding: 8px 9px 8px 30px;
        font-size: 13px;
    }
    .tgca-small {
        display: none;
    }
}
