.mio-embed {
    margin: 1.25rem 0;
    padding: 1rem 1.1rem;
    border: 1px solid var(--fz-line, #e5e7eb);
    border-radius: 12px;
    background: var(--fz-room, #fff);
}
.mio-embed__head {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-bottom: 0.65rem;
}
.mio-embed__avatar {
    border-radius: 50%;
    flex-shrink: 0;
}
.mio-embed__title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.35;
}
.mio-embed__sub {
    margin: 0.2rem 0 0;
    font-size: 0.85rem;
    color: var(--fz-muted, #3c4043);
}
.mio-embed__disclaimer {
    font-size: 0.72rem;
    color: var(--fz-muted, #3c4043);
    margin: 0 0 0.75rem;
    line-height: 1.45;
}
.mio-embed__label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}
.mio-embed__input {
    width: 100%;
    min-height: 4.5rem;
    resize: vertical;
    padding: 0.55rem 0.65rem;
    border: 1px solid var(--fz-line, #e5e7eb);
    border-radius: 8px;
    font: inherit;
    box-sizing: border-box;
}
.mio-embed__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.5rem;
}
.mio-embed__count {
    font-size: 0.75rem;
    color: var(--fz-muted, #3c4043);
}
.mio-embed__btn {
    border: 0;
    border-radius: 999px;
    padding: 0.45rem 1rem;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    background: var(--mio-embed-accent, #4338ca);
    color: #fff;
}
.mio-embed__btn:disabled {
    opacity: 0.6;
    cursor: wait;
}
.mio-embed__hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
.mio-embed__error,
.mio-embed__ok {
    margin-top: 0.65rem;
    font-size: 0.82rem;
    padding: 0.5rem 0.65rem;
    border-radius: 8px;
}
.mio-embed__error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}
.mio-embed__ok {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}
.mio-embed__answer {
    margin-top: 0.85rem;
    padding: 0.75rem 0.85rem;
    border-radius: 10px;
    background: var(--mio-embed-soft, #eef2ff);
    border: 1px solid var(--fz-line, #e5e7eb);
}
.mio-embed__answer-label {
    margin: 0 0 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--fz-muted, #3c4043);
}
.mio-embed__answer-body {
    font-size: 0.88rem;
    line-height: 1.5;
    white-space: pre-wrap;
}
.mio-embed__answer-note {
    margin: 0.5rem 0 0;
    font-size: 0.72rem;
    color: var(--fz-muted, #3c4043);
}

.mio-community {
    margin: 1rem 0 1.25rem;
}
.mio-community__details {
    border: 1px solid var(--fz-line, #e5e7eb);
    border-radius: 10px;
    background: var(--fz-room, #fff);
    padding: 0.35rem 0.85rem 0.85rem;
}
.mio-community__summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    list-style: none;
}
.mio-community__summary::-webkit-details-marker {
    display: none;
}
.mio-community__list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.mio-community__item {
    padding: 0.75rem 0;
    border-top: 1px solid var(--fz-line, #e5e7eb);
}
.mio-community__item:first-child {
    border-top: 0;
}
.mio-community__q {
    margin: 0 0 0.35rem;
    font-weight: 600;
    font-size: 0.88rem;
}
.mio-community__a {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--fz-muted, #3c4043);
}

@media (max-width: 640px) {
    .mio-embed {
        padding: 0.85rem;
    }
    .mio-embed__row {
        flex-wrap: wrap;
    }
    .mio-embed__btn {
        width: 100%;
    }
}
