.oracle-wrap[aria-hidden="true"] {
    display: none;
}

.oracle-wrap {
    position: fixed;
    inset: 0;
    z-index: 999999;
}

.oracle-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.oracle-box {
    position: absolute;
    right: 24px;
    bottom: 24px;
    width: min(520px, 94vw);
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    padding: 16px;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.oracle-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.oracle-title {
    font-weight: 600;
    font-size: 16px;
}

.oracle-close {
    position: absolute;
    top: 8px;
    right: 10px;
    border: 0;
    background: transparent;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.oracle-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.oracle-option {
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    border-radius: 999px;
    padding: 6px 10px;
    cursor: pointer;
}

.oracle-form {
    display: grid;
    gap: 8px;
}

.oracle-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    resize: vertical;
}

.oracle-submit {
    align-self: start;
    padding: 10px 14px;
    border-radius: 8px;
    border: 0;
    background: #52b9b9;
    color: #fff;
    cursor: pointer;
}

.oracle-status {
    margin-top: 6px;
    font-size: 12px;
    color: #6b7280;
}

.oracle-answer {
    margin-top: 10px;
    line-height: 1.5;
}

.oracle-answer ul {
    margin: 0 0 0 18px;
}