:root[data-theme] .shop-brand::before,
:root[data-theme] .shop-drawer__brand::before {
    content: none;
}

:root[data-theme] .shop-brand img,
:root[data-theme] .shop-drawer__brand img {
    display: block;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border: 1px solid var(--moon-gold);
    border-radius: 50%;
    object-fit: cover;
}

img[src="/favicon.ico"] {
    content: url("./moon-cat.png");
}

.moon-avatar-picker {
    display: block;
    width: 100%;
    margin-top: .7rem;
}

.moon-avatar-picker__hint {
    color: var(--uc-ink-med, #61465f);
    margin: 0 0 .65rem;
    line-height: 1.5;
    font-size: .85rem;
}

.moon-avatar-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(76px, 1fr));
    gap: .5rem;
    max-width: 540px;
}

.moon-avatar-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .35rem;
    padding: .5rem .2rem;
    border: 1px solid var(--moon-line, #d5b8cc);
    border-radius: 10px;
    background: var(--moon-surface, #fff7fc);
    color: var(--uc-ink, #361f36);
    font: inherit;
    font-size: .76rem;
    letter-spacing: 0;
    cursor: pointer;
}

.moon-avatar-option img {
    display: block;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
}

.moon-avatar-option:hover,
.moon-avatar-option[aria-pressed="true"] {
    border-color: var(--md-primary);
    background: var(--md-primary-container);
}

.moon-avatar-option[aria-pressed="true"] {
    box-shadow: inset 0 0 0 1px var(--md-primary);
}

.moon-avatar-option:focus-visible {
    outline: 2px solid var(--uc-focus);
    outline-offset: 2px;
}

@media (max-width: 575px) {
    .moon-avatar-options {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
