.platform-tabs {
  display: flex;
  gap: 8px;
  margin: 0 0 18px;
  padding-bottom: 4px;
  overflow-x: auto;
}

.status-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--muted);
  cursor: pointer;
}

.status-toggle input {
  width: 18px;
  height: 18px;
  accent-color: var(--mint);
}

.platform-tab {
  flex: 0 0 auto;
  background: var(--panel);
  white-space: nowrap;
}

.platform-tab span {
  margin-left: 5px;
  color: var(--muted);
  font-size: .78rem;
}

.platform-tab.active {
  background: var(--mint);
  border-color: var(--mint);
  color: #07130f;
}

.platform-tab.active span {
  color: #25483b;
}

.sale-type { display:inline-flex; border-radius:99px; padding:4px 8px; font-size:.76rem; font-weight:750; white-space:nowrap; }
.sale-type.long { background:#17382e; color:var(--mint); }
.sale-type.limited { background:#49351c; color:var(--amber); }
.sale-type.unknown { background:#253044; color:var(--muted); }
tr:has(.sale-type.limited) td:nth-child(8) div:last-child::before { content:"截止 "; color:var(--amber); font-weight:750; }
.product-name-row { display:flex; align-items:center; gap:8px; }
.artist-cell{display:flex;align-items:center;gap:7px}.artist-star{border:0;background:transparent;color:#566174;padding:2px;font-size:1.15rem;line-height:1}.artist-star:hover,.artist-star.active{color:var(--amber)}
.product-title-link { color:inherit; text-decoration:none; }
.product-title-link:hover { color:var(--mint); text-decoration:underline; }
.history-btn { white-space:nowrap; color:var(--amber); }
.history-list { display:grid; gap:10px; max-height:34vh; overflow:auto; margin-bottom:18px; }
.history-card { border:1px solid var(--line); border-radius:10px; padding:12px; background:var(--panel2); }
.history-card>div:first-child { display:flex; justify-content:space-between; gap:10px; }
.history-card>a { display:block; margin-top:7px; color:var(--mint); overflow-wrap:anywhere; }
.history-card p { margin:7px 0 0; white-space:pre-wrap; }
.history-actions { display:flex; justify-content:flex-end; gap:7px; margin-top:9px; }
.history-images,.history-image-preview { display:flex; flex-wrap:wrap; gap:9px; margin-top:10px; }
.history-image { position:relative; display:block; }
.history-image img { width:92px; height:92px; object-fit:cover; border-radius:8px; border:1px solid var(--line); }
.history-image label { position:absolute; left:5px; bottom:5px; padding:3px 6px; border-radius:5px; background:rgba(10,14,18,.82); color:#fff; font-size:12px; }
.history-image-preview .new-image { opacity:.88; }
#historyForm { border-top:1px solid var(--line); padding-top:18px; }
#historyForm textarea { display:block; width:100%; margin-top:6px; color:var(--text); border:1px solid var(--line); background:var(--panel2); border-radius:9px; padding:9px 12px; resize:vertical; }
