.question-option-body {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    gap: 10px;
}

.question-option-text {
    color: inherit;
    line-height: 1.65;
}

.question-option-media {
    position: relative;
    display: block;
    width: 152px;
    max-width: 100%;
    aspect-ratio: 3 / 2;
    padding: 0;
    overflow: hidden;
    border: 1px solid #dce5f2;
    border-radius: 12px;
    background: #f8fafc;
    cursor: zoom-in;
    text-align: left;
}

.question-option-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
}

.question-option-media-hint {
    position: absolute;
    right: 8px;
    bottom: 8px;
    padding: 3px 7px;
    color: #344054;
    border: 1px solid rgba(255,255,255,.82);
    border-radius: 999px;
    background: rgba(255,255,255,.9);
    box-shadow: 0 2px 8px rgba(15,23,42,.12);
    font-size: 10px;
    line-height: 1.2;
    backdrop-filter: blur(6px);
}

.question-option-media.is-error {
    min-height: 100px;
    cursor: default;
}

.question-option-media.is-error .question-option-media-hint {
    inset: 0;
    display: flex;
    padding: 12px;
    align-items: center;
    justify-content: center;
    color: #667085;
    border: 0;
    border-radius: 0;
    background: #f8fafc;
    box-shadow: none;
    font-size: 13px;
}

.question-media-viewer {
    position: fixed;
    z-index: 9999;
    inset: 0;
    display: flex;
    padding: 24px;
    align-items: center;
    justify-content: center;
    background: rgba(15,23,42,.84);
    backdrop-filter: blur(4px);
}

.question-media-viewer[hidden] { display: none; }
.question-media-viewer img { max-width: min(1100px, 96vw); max-height: 88vh; border-radius: 14px; background: #fff; box-shadow: 0 24px 70px rgba(0,0,0,.35); object-fit: contain; }
.question-media-viewer-close { position: fixed; top: 18px; right: 18px; width: 44px; height: 44px; color: #fff; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: rgba(15,23,42,.56); font-size: 28px; line-height: 1; cursor: pointer; }

@media (max-width: 640px) {
    .question-option-media { width: 140px; }
    .question-media-viewer { padding: 14px; }
}

@media (prefers-reduced-motion: reduce) {
    .question-media-viewer { backdrop-filter: none; }
}
