.scene-asset-actions { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; margin-top:9px; }
.scene-asset-actions button { display:grid; place-items:center; height:44px; min-width:0; padding:0; border:1px solid #c9ad86; border-radius:11px; background:#f8ead1; color:var(--ink); cursor:pointer; }
.scene-asset-actions button[aria-pressed="true"] { background:var(--leaf); color:white; border-color:var(--leaf-dark); }
.scene-asset-actions button:disabled { opacity:.45; cursor:not-allowed; }
.scene-asset-actions button:focus-visible { outline:2px solid #2563eb; outline-offset:2px; }
.scene-action-label { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; }
.scene-transform-dialog { width:min(420px,calc(100vw - 32px)); max-height:calc(100dvh - 32px); overflow:auto; box-sizing:border-box; border:1px solid #d4d9df; border-radius:16px; padding:24px; color:#1e293b; background:white; }
.scene-transform-dialog::backdrop { background:rgba(2,6,23,.68); }
.scene-transform-dialog h2 { margin:0 0 12px; font-size:20px; }
.scene-transform-dialog p { font-size:14px; color:#64748b; line-height:1.5; }
.scene-transform-dialog label { display:block; margin:14px 0; font-weight:600; }
.scene-transform-dialog input { display:block; box-sizing:border-box; width:100%; margin-top:6px; padding:10px; border:1px solid #94a3b8; border-radius:8px; font:inherit; }
.scene-transform-dialog small { color:#64748b; font-weight:normal; }

.scene-transform-close { position:absolute; right:12px; top:8px; border:0; background:transparent; color:inherit; font-size:26px; cursor:pointer; }
.scene-transform-dialog h2 { padding-right:24px; }

.scene-asset-actions button { transition:background .15s ease,transform .1s ease,box-shadow .15s ease; }
.scene-asset-actions button:hover:not(:disabled) { background:#f0dcb4; box-shadow:0 3px 10px rgba(76,51,32,.14); }
.scene-asset-actions button:active:not(:disabled) { transform:translateY(1px); }

.global-modal-card.scene-audio-card { max-height: 90vh; max-height: 90dvh; overflow-y: auto; display: grid; gap: 12px; }
.scene-audio-card > div:not(.global-modal-actions), .scene-audio-card section { display: grid; gap: 8px; }
.scene-audio-card fieldset { min-width: 0; display: grid; gap: 8px; margin: 8px 0; padding: 12px; border: 1px solid var(--line); border-radius: 8px; }
.scene-audio-card fieldset label { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.scene-audio-card select, .scene-audio-card input[type="file"] { max-width: 100%; }
.scene-audio-card audio { width: 100%; max-width: 100%; }
.scene-audio-card .global-modal-actions { position: sticky; bottom: -14px; background: white; padding: 12px 0; }
