/* Double exposure (/double-exposure): the picture on the focus stage (a drag moves the scene), the status line over its
   foot, and the two photos (Portrait, Scene) above the controls. Tiles, panels and buttons come from the app kit
   (css/app-kit, docs/app-kit.md). Loaded only on this app's page (StylePaths). */

.de-landing-app .de-frame {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1 1 0;
    min-height: 0;
}

.de-landing-app .de-canvas {
    display: block;
    width: 100%;
    flex: 1 1 0;
    min-height: 260px;
    cursor: grab;
    touch-action: none;
}

.de-landing-app .de-canvas.is-dragging { cursor: grabbing; }

.de-landing-app .de-status {
    position: absolute;
    inset-inline: 0;
    bottom: 14px;
    width: max-content;
    max-width: calc(100% - 32px);
    margin: 0 auto;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--ak-overlay, rgba(255, 255, 255, 0.94));
    border: 1px solid var(--ak-overlay-border, rgba(15, 23, 42, 0.12));
    box-shadow: var(--ak-overlay-shadow, 0 4px 16px rgba(15, 23, 42, 0.16));
    color: var(--ak-text);
    font-size: var(--ak-fs-sm, 0.85rem);
    text-align: center;
    pointer-events: none;
}

/* The two photos: a thumbnail and its name (picked: where the visitor's own photos and drops go) and Open. */
.de-landing-app .de-photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--ak-space-2, 0.5rem);
}

.de-landing-app .de-slot {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 6px;
    border: 1px solid var(--ak-border);
    border-radius: var(--ak-radius, 10px);
    background: var(--ak-field, transparent);
    min-width: 0;
}

.de-landing-app .de-slot.is-active {
    border-color: var(--ak-accent);
    box-shadow: 0 0 0 1px var(--ak-accent);
}

.de-landing-app .de-slot-pick {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 0;
    border: 0;
    background: none;
    color: var(--ak-text);
    font: inherit;
    text-align: start;
    cursor: pointer;
}

.de-landing-app .de-thumb {
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: var(--ak-hover, #e5e7eb) center / cover no-repeat;
    box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 14%, transparent);
}

.de-landing-app .de-slot-name {
    font-weight: 600;
    font-size: var(--ak-fs-sm, 0.9rem);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.de-landing-app .de-color-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

.de-landing-app .de-color-input {
    width: 44px;
    height: 30px;
    padding: 0;
    border: 1px solid var(--ak-border);
    border-radius: 8px;
    background: none;
    cursor: pointer;
}

.de-landing-app .de-actions { display: flex; flex-direction: row; flex-wrap: wrap; gap: var(--ak-space-2, 0.5rem); }
