html {
height: -webkit-fill-available;
}
body {
padding: 0;
margin: 0;
}
needle-engine {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
/* Sit above Needle Engine’s bottom menu / controls (DOM overlay) */
#asset-picker {
position: fixed;
left: 0;
right: 0;
bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
z-index: 600;
pointer-events: auto;
display: flex;
justify-content: center;
padding: 12px;
box-sizing: border-box;
}
#asset-picker .asset-picker__inner {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 12px;
max-width: min(100%, 36rem);
padding: 10px 14px;
border-radius: 12px;
background: rgba(15, 15, 20, 0.82);
color: #f2f2f7;
font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
font-size: 0.95rem;
box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
backdrop-filter: blur(8px);
}
#asset-picker button {
pointer-events: auto;
touch-action: manipulation;
cursor: pointer;
border: none;
border-radius: 8px;
padding: 8px 14px;
font: inherit;
font-weight: 600;
color: #0f0f14;
background: #e8e8ed;
}
#asset-picker button:disabled {
opacity: 0.45;
cursor: not-allowed;
}
#asset-picker .asset-picker__label {
flex: 1;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
text-align: center;
}
#asset-picker .asset-picker__index {
flex-shrink: 0;
opacity: 0.85;
font-variant-numeric: tabular-nums;
font-size: 0.85rem;
}