.base-radiogram {
    position: fixed;
    z-index: 9990;
    left: max(10px, env(safe-area-inset-left));
    bottom: calc(12px + env(safe-area-inset-bottom));
    width: min(300px, calc(100% - 24px));
    display: flex;
    align-items: flex-start;
    box-sizing: border-box;
    color: #222;
    background: #fbf3df;
    border: 1px solid #d6c9aa;
    border-radius: 6px;
    box-shadow: 0 3px 12px #0002;
    font: 13px/1.3 system-ui, sans-serif;
}
.base-radiogram[hidden] { display: none !important; }

.base-radiogram .base-radiogram__link {
    display: flex;
    gap: 8px;
    align-items: center;
    flex: 1;
    min-width: 0;
    padding: 8px 0 8px 8px;
    color: inherit;
    text-decoration: none;
    overflow-wrap: anywhere;
}
.base-radiogram__link:hover strong { text-decoration: underline; }

.base-radiogram .base-radiogram__link img {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    aspect-ratio: 1;
    object-fit: contain;
    border-radius: 3px;
    background: #fff9;
}

.base-radiogram small {
    display: block;
    margin-top: 2px;
    color: #534c3d;
    font-size: 11px;
}

.base-radiogram button {
    flex: 0 0 34px;
    width: 34px;
    min-height: 34px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #222;
    font: 20px/1 system-ui, sans-serif;
    cursor: pointer;
}

.base-radiogram button:hover,
.base-radiogram button:focus {
    color: #222;
    background: #2221;
}
