.gc-floating-dock {
    position: fixed;
    z-index: 900;
    top: 50%;
    right: max(12px, env(safe-area-inset-right));
    display: flex;
    width: 68px;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid #dbe4ec;
    border-radius: 6px;
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(18, 32, 51, 0.18);
    transform: translateY(-50%);
}

.gc-floating-toggle {
    display: none;
}

.gc-floating-actions {
    display: flex;
    width: 100%;
    flex-direction: column;
}

.gc-floating-actions[hidden] {
    display: none !important;
}

.gc-floating-action {
    display: flex;
    width: 100%;
    min-width: 0;
    min-height: 64px;
    padding: 8px 4px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    border: 0;
    border-bottom: 1px solid #e7edf2;
    border-radius: 0;
    background: #ffffff;
    color: #304158;
    cursor: pointer;
    font: inherit;
    text-align: center;
    text-decoration: none;
    transition: background-color 160ms ease, color 160ms ease;
}

.gc-floating-action:last-child {
    border-bottom: 0;
}

.gc-floating-action > i {
    color: #16717c;
    font-size: 19px;
}

.gc-floating-action--app > i {
    color: #1769e0;
}

.gc-floating-action--totp > i {
    color: #8b5c15;
}

.gc-floating-action--service > i {
    color: #0f7b60;
}

.gc-floating-action--top > i {
    color: #536174;
}

.gc-floating-action > span {
    max-width: 100%;
    color: inherit;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.gc-floating-action:hover {
    background: #f0f6f8;
    color: #0e6570;
    text-decoration: none;
}

.gc-floating-action:focus-visible {
    position: relative;
    z-index: 1;
    outline: 3px solid rgba(23, 105, 224, 0.3);
    outline-offset: -3px;
}

.gc-floating-action.is-disabled {
    opacity: 0.62;
}

.gc-floating-action[hidden] {
    display: none !important;
}

@media (max-width: 767.98px) {
    .gc-market-body {
        padding-bottom: calc(62px + env(safe-area-inset-bottom));
    }

    .gc-floating-dock {
        top: auto;
        right: max(10px, env(safe-area-inset-right));
        bottom: max(10px, env(safe-area-inset-bottom));
        width: auto;
        overflow: visible;
        border: 0;
        background: transparent;
        box-shadow: none;
        transform: none;
    }

    .gc-floating-toggle {
        display: grid;
        width: 50px;
        height: 50px;
        padding: 0;
        place-items: center;
        border: 1px solid #ffffff;
        border-radius: 50%;
        background: #102035;
        box-shadow: 0 10px 28px rgba(18, 32, 51, 0.28);
        color: #ffffff;
        cursor: pointer;
        font-size: 18px;
    }

    .gc-floating-toggle:hover,
    .gc-floating-toggle[aria-expanded="true"] {
        background: #0e6570;
    }

    .gc-floating-toggle:focus-visible {
        outline: 3px solid rgba(23, 105, 224, 0.35);
        outline-offset: 2px;
    }

    .gc-floating-actions {
        position: absolute;
        right: 0;
        bottom: calc(100% + 8px);
        display: flex;
        width: min(calc(100vw - 20px), 312px);
        overflow: hidden;
        flex-direction: row;
        border: 1px solid #dbe4ec;
        border-radius: 6px;
        background: #ffffff;
        box-shadow: 0 12px 34px rgba(18, 32, 51, 0.2);
    }

    .gc-floating-action {
        min-height: 54px;
        flex: 1 1 0;
        padding: 6px 3px;
        border-right: 1px solid #e7edf2;
        border-bottom: 0;
        gap: 2px;
    }

    .gc-floating-action:last-child {
        border-right: 0;
    }

    .gc-floating-action > i {
        font-size: 17px;
    }

    .gc-floating-action > span {
        font-size: 10px;
        white-space: nowrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gc-floating-action,
    .gc-floating-toggle {
        transition: none;
    }
}
