.subs-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}
.subs-header .title { font-size: 20px; font-weight: 700; }
.subs-header .count { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.subs-header .filter-btn {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
}

/* Compact, content-sized filter pills — matches the transaction-history page
   (overrides the full-width bar style shop's .filter-pills provides). */
.subs-screen .filter-pills {
  background: transparent;
  border: 0;
  padding: 0;
  gap: 8px;
  justify-content: flex-start;
  margin: 8px 0 14px;
  overflow-x: auto;
  scrollbar-width: none;
}
.subs-screen .filter-pills::-webkit-scrollbar { display: none; }
.subs-screen .filter-pills .pill {
  flex: 0 0 auto;
  white-space: nowrap;
  padding: 8px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 13px;
}
.subs-screen .filter-pills .pill.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
}

.sub-list { display: flex; flex-direction: column; gap: 14px; }

.sub-list-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
}
.sub-list-card .top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sub-list-card .status {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--accent-soft);
  color: var(--accent);
}
.sub-list-card .status.expiring { background: rgba(245, 158, 11, 0.15); color: var(--warning); }
.sub-list-card .status.expired { background: rgba(239, 68, 68, 0.15); color: var(--danger); }
.sub-list-card .label { font-weight: 600; }
.sub-list-card .bar-cap {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-secondary);
}
.sub-list-card .bar-cap small { color: var(--text-muted); font-size: 11px; }
.sub-list-card .track {
  height: 8px;
  background: var(--surface-2);
  border-radius: var(--radius-full);
  overflow: hidden;
}
.sub-list-card .track > span {
  display: block;
  height: 100%;
  background: var(--accent);
  border-radius: var(--radius-full);
}
.sub-list-card.expiring .track > span { background: var(--warning); }
.sub-list-card.expired .track > span { background: var(--danger); }
.sub-list-card .btns { display: flex; gap: 8px; }
.sub-list-card .btns button {
  flex: 1;
  padding: 10px;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.sub-list-card .btns .renew { background: var(--accent); color: var(--on-accent); }
.sub-list-card .btns .renew:disabled {
  background: var(--surface-2);
  color: var(--text-muted);
  box-shadow: none;
  cursor: not-allowed;
}
.sub-list-card .btns .copy {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text-primary);
}

.buy-new {
  width: 100%;
  margin-top: 14px;
  background: var(--accent);
  color: var(--on-accent);
  border-radius: var(--radius-full);
  padding: 14px;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 6px 18px rgba(255, 106, 0, 0.35);
}

.empty-state {
  padding: 32px 14px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  color: var(--text-muted);
  font-size: 13px;
}
