/* 只補這一頁需要的樣式，版面骨架沿用 ../backgrounds/style.css。 */

.dustlist {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 8px;
}

.dustlist li {
    display: flex;
    flex-wrap: wrap;        /* .mult 要靠這個才換得到下一行，否則名字會被擠成直的 */
    align-items: center;
    gap: 4px 10px;
    padding: 8px 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.dustlist img { width: 44px; height: 44px; object-fit: contain; flex: none; }
.dustlist .nm { font-weight: 600; flex: 1; }

.dustlist .dust {
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: #b45309;
}
.dustlist .dust::before { content: "✨ "; }

.dustlist .mult {
    flex-basis: 100%;      /* 換到下一行，數字才不會被擠掉 */
    padding-left: 54px;
    color: var(--muted);
    font-size: .78rem;
}

/* 前三名稍微強調一下，一眼就看得出差距 */
.dustlist li:nth-child(-n+3) { border-color: #fcd34d; background: #fffbeb; }

@media (max-width: 560px) {
    .dustlist { grid-template-columns: 1fr; }
}
