/* TODO: Review box-shadow values - consider using design system shadow variables (--shadow-xs, --shadow-sm, etc.) */
/**
 * Encounter Scene Image Styles
 * Styles for AI-generated encounter scene images
 */

.encounter-image-container {
    width: 100%;
    margin: 1rem 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(var(--color-bg-primary-rgb, 26, 26, 26), 0.3);
    background: var(--color-bg-secondary, var(--color-bg-primary));

.encounter-scene-image {
    width: 100%;
    height: auto;
    display: block;
    max-height: 504px;
    object-fit: cover;

/* In chat/log messages */
.game-log .encounter-image-container {
    margin: 0.75rem 0;
    max-width: 100%;

.game-log .encounter-scene-image {
    max-height: 400px;
    border-radius: calc(var(--radius-sm) * 1.5);

/* In solo mode chat */
#chat-log .encounter-image-container {
    margin: 0.5rem 0;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;

#chat-log .encounter-scene-image {
    max-height: 352px;
    border-radius: calc(var(--radius-sm) * 1.5);

/* Scenario Opening Scene */
.scenario-opening-scene-container {
    width: 100%;
    margin: 1.5rem 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(var(--color-bg-primary-rgb, 26, 26, 26), 0.4);
    background: var(--color-bg-secondary, var(--color-bg-primary));

.scenario-opening-scene-image {
    width: 100%;
    height: auto;
    display: block;
    max-height: 600px;
    object-fit: cover;

/* Responsive */
@media (max-width: 768px) {
    .encounter-scene-image {
        max-height: 304px;

    .scenario-opening-scene-image {
        max-height: 400px;

    #chat-log .encounter-scene-image {
        max-height: 248px;

/* Loading state */
.encounter-image-container.loading {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-secondary, var(--color-bg-primary));

.encounter-image-container.loading::after {
    content: 'Generating scene...';
    color: var(--color-text-secondary, var(--color-text-secondary));
    font-style: italic;

}}}}}}}}}}}}}}