/*
 * designer-bingkai_diorama.css — "Bingkai Diorama" designer (partials/designers/bingkai_diorama.php,
 * assets/js/designer-bingkai_diorama.js). The tabs, dropzone and glossy stage come from designer-gantungan_nama.css.
 */
.designer-bingkai_diorama.rl-tabbed .rl-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.bd-view { position: absolute; left: 12px; bottom: 12px; z-index: 3; display: inline-flex; flex-wrap: wrap; padding: 3px; gap: 2px; border-radius: 999px;
    background: rgba(255, 255, 255, .88); box-shadow: 0 4px 14px -6px rgba(40, 20, 80, .35); }
.bd-view button { appearance: none; border: 0; background: transparent; font: inherit; font-size: .78rem; font-weight: 650; color: var(--ink-2);
    padding: 6px 12px; border-radius: 999px; cursor: pointer; }
.bd-view button[aria-pressed="true"] { background: var(--accent); color: #fff; }
.bd-view button:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 45%, transparent); outline-offset: 1px; }

.bd-scenes .bd-scene > span { display: grid; justify-items: center; gap: 4px; padding: 6px; }
.bd-scene canvas { width: 72px; height: 54px; border-radius: 8px; display: block; }
.bd-scene .icon { width: 30px; height: 30px; margin: 12px 0; }
.bd-scenes { margin-bottom: 10px; }

.bd-crop { display: block; width: 100%; max-width: 320px; height: auto; margin: 10px auto 4px; border-radius: 10px; border: 1px solid var(--line);
    background: var(--bg-alt); cursor: grab; touch-action: none; image-rendering: auto; }
.bd-crop:active { cursor: grabbing; }

.bd-presets { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.bd-preset { appearance: none; display: grid; justify-items: center; gap: 3px; padding: 6px 8px; border-radius: 10px; border: 1px solid var(--line);
    background: var(--surface); font: inherit; cursor: pointer; }
.bd-preset:hover, .bd-preset:focus-visible { border-color: var(--accent); }
.bd-preset small { font-size: .72rem; color: var(--ink-2); }
.bd-preset-dots { display: inline-flex; gap: 2px; }
.bd-dot { display: inline-block; width: 13px; height: 13px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); }

.bd-crow { margin-top: 8px; }
.bd-cnum { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--tint-2); font-size: .75rem; }
