/* Stream-build: in-world shell texture dock (center-bottom) */
.jl-stream-tex-dock {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 120000;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.jl-stream-tex-dock--hidden,
#jl-stream-tex-dock.jl-stream-tex-dock--hidden {
    display: none !important;
    visibility: hidden;
    pointer-events: none;
}

.jl-stream-tex-dock__panel {
    pointer-events: auto;
    width: min(920px, 92vw);
    margin-bottom: 1.2vh;
    padding: 10px 12px 8px;
    border-radius: 12px 12px 0 0;
    background: rgba(12, 14, 18, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.45);
    color: #f2f4f7;
}

.jl-stream-tex-dock__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.jl-stream-tex-dock__title {
    font-size: 0.85rem;
    font-weight: 600;
}

.jl-stream-tex-dock__close {
    border: none;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
}

.jl-stream-tex-dock__cats {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.jl-stream-tex-dock__cat {
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    color: #e8ecf1;
    padding: 6px 10px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.72rem;
}

.jl-stream-tex-dock__cat.is-active {
    background: rgba(212, 168, 83, 0.25);
    border-color: rgba(212, 168, 83, 0.55);
}

.jl-stream-tex-dock__tex {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
    gap: 8px;
    max-height: 28vh;
    overflow-y: auto;
    padding-bottom: 4px;
}

.jl-stream-tex-dock__tile {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 4px;
    cursor: pointer;
    color: #e8ecf1;
    text-align: left;
}

.jl-stream-tex-dock__thumb {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 4px;
    background: rgba(80, 90, 110, 0.5) center/cover no-repeat;
}

.jl-stream-tex-dock__tile-title {
    font-size: 0.62rem;
    line-height: 1.15;
    word-break: break-word;
    max-height: 2.4em;
    overflow: hidden;
}

.jl-stream-tex-dock__hint {
    margin-top: 6px;
    font-size: 0.62rem;
    opacity: 0.65;
}
