.namelie-store-dock {
    position: fixed;
    z-index: 50;
    left: 50%;
    bottom: calc(max(14px, env(safe-area-inset-bottom, 0px) + 6px) + var(--namelie-store-lift, 0px));
    transform: translateX(-50%);
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 8px 8px 10px;
    border: 1px solid #e7dfe8;
    border-radius: 17px;
    background: #fffdfa;
    box-shadow: 0 3px 12px rgb(57 41 66 / 10%);
}

.namelie-store-dock[hidden] {
    display: none;
}

.namelie-store-dock__link {
    display: block;
    flex: none;
    height: 48px;
    border-radius: 7px;
}

.namelie-store-dock__link img {
    display: block;
    width: auto;
    height: 48px;
    max-width: none;
}

.namelie-store-dock--google .namelie-store-dock__link {
    width: 161.5px;
    overflow: hidden;
}

/* The official PNGs include transparent margins. Keep the visible artwork 48px high. */
.namelie-store-dock--google .namelie-store-dock__link img {
    height: 62.5px;
    transform: translateY(-7.25px);
}

.namelie-store-dock--google-en .namelie-store-dock__link {
    width: 161.15px;
}

.namelie-store-dock--google-en .namelie-store-dock__link img {
    height: 71.43px;
    transform: translate(-11.71px, -11.71px);
}

.namelie-store-dock__dismiss {
    position: relative;
    isolation: isolate;
    appearance: none;
    display: grid;
    flex: none;
    place-items: center;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #66536c;
    font: 500 18px/1 system-ui, sans-serif;
    cursor: pointer;
}

.namelie-store-dock__dismiss::before {
    position: absolute;
    z-index: -1;
    inset: 10px;
    border-radius: 50%;
    background: #f3edf4;
    content: "";
}

.namelie-store-dock__dismiss:is(:hover, :active)::before {
    background: #ebe2ed;
}

.namelie-store-dock :is(a, button):focus-visible {
    outline: 2px solid #8b335d;
    outline-offset: 2px;
}

@media print {
    .namelie-store-dock {
        display: none;
    }
}
