/* 收纳大师 · 仅本游戏专属样式；通用布局/弹层复用 quest-core.css */
.st-tray,
.st-bins {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    width: 100%;
}
.st-tray {
    min-height: 92px;
    padding: 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px dashed rgba(125, 130, 150, 0.35);
    align-content: flex-start;
}
.st-bins {
    margin-top: 14px;
    gap: 12px;
}
.st-item {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
    cursor: grab;
    touch-action: none;
    user-select: none;
    transition: transform 0.12s ease;
    position: relative;
}
.st-item:active { cursor: grabbing; transform: scale(1.06); }
.st-item.is-hint {
    outline: 3px solid #fbbf24;
    outline-offset: 2px;
    animation: stPulse 0.9s ease-in-out infinite;
}
.st-item.st-ghost { opacity: 0.92; cursor: grabbing; }
.st-size-S::after,
.st-size-M::after,
.st-size-L::after {
    content: attr(data-size);
    position: absolute;
    right: -2px;
    bottom: -4px;
    font-size: 10px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border-radius: 6px;
    padding: 0 3px;
    line-height: 1.3;
}
@keyframes stPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.6); }
    50% { box-shadow: 0 0 0 8px rgba(251, 191, 36, 0); }
}
.st-bin {
    flex: 1 1 140px;
    min-width: 130px;
    padding: 10px 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(125, 130, 150, 0.28);
    transition: border-color 0.15s, background 0.15s, transform 0.1s, opacity 0.15s;
}
.st-bin.is-hint { border-color: #fbbf24; background: rgba(251, 191, 36, 0.1); }
.st-bin.is-full { border-color: rgba(34, 197, 94, 0.65); }
.st-bin.is-locked { opacity: 0.5; }
.st-bin.is-wrong { animation: stShake 0.32s; border-color: #ef4444; }
@keyframes stShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-6px); }
    75% { transform: translateX(6px); }
}
.st-bin-head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--qink, #e7e9f2);
}
.st-bin-dot {
    width: 24px;
    height: 24px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: #fff;
}
.st-bin-shape { color: #fff; }
.st-bin-label { font-weight: 700; }
.st-bin-lock { margin-left: 2px; }
.st-bin-count { margin-left: auto; opacity: 0.85; font-variant-numeric: tabular-nums; }
.st-bin-slots {
    margin-top: 10px;
    height: 8px;
    border-radius: 6px;
    background: rgba(125, 130, 150, 0.18);
    overflow: hidden;
}
.st-bin.is-full .st-bin-slots { background: rgba(34, 197, 94, 0.4); }
@media (max-width: 560px) {
    .st-item { width: 42px; height: 42px; }
    .st-bin { flex-basis: 100%; }
}
